C3DSprite::SetFrame

Top  Previous  Next

Syntax:

 

SetFrame(int  frame), int

 

Purpose:

Sets the animation frame of the sprite.

 

Parameters:

frame - The zero based animation frame.

 

Returned value(s):

None.

 

Application:

cavemen.SetFrame(cavemen.GetFrame() + 1)

 

Class Hierarchy

C3DSprite

 

See Also:

GetFrame.