C3DSprite::GetRotationCenter

Top  Previous  Next

Syntax:

 

GetRotationCenter(), VECTOR2

 

Purpose:

Returns the current center of rotation of the sprite.

 

Parameters:

None.

 

Returned value(s):

The rotation center in a VECTOR2 UDT.

 

Application:

VECTOR2 v
v = sprite.GetRotationCenter()

 

Class Hierarchy

C3DSprite

 

Additional Info:

The rotation center is relative the to the sprites upper left corner.  The default rotation center is 0, 0

 

See Also:

SetRotationCenter.