C3DMesh::UpdateAnimation

Top  Previous  Next

Syntax:

 

UpdateAnimation(float  timeNow)

 

Purpose:

Updates the animation for this mesh.

 

Parameters:

timeNow - Current time, in seconds.

 

Returned value(s):

None.

 

Application:

player.UpdateAnimation(timeGetTime() )

 

Class Hierarchy

C3DObject

-------C3DMesh

 

Additional Info:

Animations are interpolated between the start time and the current time. This method requires that an animation track has been specified with either the SetAnimation or SetNamedAnimation methods.

 

See Also:

UpdateAllAnimations