C3DSprite::SetScaleFactor

Top  Previous  Next

Syntax:

 

SetScaleFactor(float  x, float  y)

 

Purpose:

Sets the scaling factor of the sprite.

 

Parameters:

x, y - The new scaling.

 

Returned value(s):

None.

 

Application:

'Make  sprite twice the size
sprite.SetScaleFactor(2.0,2.0)

 

Class Hierarchy

C3DSprite

 

Additional Info:

The default scaling factors are 1.0, 1.0

 

See Also:

GetScaleFactor