#include <motion.h>
Inheritance diagram for iMotionTemplate:

Public Methods | |
| virtual const char* | GetName ()=0 |
| Get the name of this motion. | |
| virtual void | SetDuration (float duration)=0 |
| Set the length of this motion. | |
| virtual void | SetLoopCount (int looping)=0 |
| Set the default number of times to looping this motion. More... | |
| virtual void | SetLoopFlip (bool enable)=0 |
| This setting controls whether the motion will be played reversed after each loop. | |
| virtual int | AddBone (const char *name)=0 |
| Add the bone name to the list of handled bones. More... | |
| virtual int | FindBoneByName (const char *name)=0 |
| Find a bone index by name. | |
| virtual void | AddFrameBone (int boneid, float frametime, const csVector3 &position, const csQuaternion &rotation)=0 |
| Add a keyframe to a handled bone by the bones index. | |
This represents a motion that can be used on a skeleton via the iMotionController interface.
|
|
Add the bone name to the list of handled bones. Returns the index of the into the array. |
|
|
Set the default number of times to looping this motion. Setting this value to -1 will loop forever. Setting this value to 0 will disable looping. |