C3DSprite::SetRotationCenter

Top  Previous  Next

Syntax:

 

SetRotationCenter(float  x, float  y)

 

Purpose:

Sets the rotation center of the sprite.

 

Parameters:

x, y - The new center of rotation.

 

Returned value(s):

None.

 

Application:

spr2.SetRotationCenter(10,10)

 

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:

GetRotationCenter.