C3DMesh::SetAnimationMode

Top  Previous  Next

Syntax:

 

SetAnimationMode(int  mode)

 

Purpose:

Sets the animation mode for an animated mesh.

 

Parameters:

mode - The new mode to set.

 

Returned value(s):

None.

 

Application:

mesh1.SetAnimationMode(ANIM_ONCE)

 

Class Hierarchy

C3DObject

-------C3DMesh

 

Additional Info:

The default mode is ANIM_LOOP.  Currently only MD2 meshes support animation modes.

 

See Also:

Animation Mode Constants