Skeleton animation.
More...
List of all members.
Public Member Functions |
void | addBoneTrack (BoneTrack *boneTrack) |
| Adds a new bone track.
|
const String & | getName () const |
| Returns the animation name.
|
void | Play (bool once) |
| Plays the animation.
|
void | Stop () |
| Stops the animation.
|
void | setSpeed (Number speed) |
| Sets the animation multiplier speed.
|
Detailed Description
Member Function Documentation
void SkeletonAnimation::addBoneTrack |
( |
BoneTrack * |
boneTrack | ) |
|
Adds a new bone track.
- Parameters:
-
boneTrack | New bone track to add. |
void SkeletonAnimation::setSpeed |
( |
Number |
speed | ) |
|
Sets the animation multiplier speed.
- Parameters:
-
speed | Number to multiply the animation speed by. |