AnimationController::PlayAnimation
Defined in:
Plays an animation from a resource.
C4Models.hPrototype
void PlayAnimation(const char *name, uint32 mode, float rate = 1.0F);
Parameters
name |
The name of the animation resource. |
mode |
An interpolator mode for the animation. |
rate |
The rate multiplier for the animation. |
Description
The PlayAnimation function loads the animation resource specified by the name parameter and plays the animation using the interpolator mode specified by the mode parameter. See the Interpolator class for a description of the modes. The rate parameter specifies the rate multiplier for the animation and must be a positive number.
See Also
