#include <motion.h>
Inheritance diagram for iMotionManager:
Public Methods | |
virtual iMotion* | FindByName (const char *name)=0 |
virtual iMotion* | AddMotion (const char *name)=0 |
virtual void | DeleteMotion (const char *name)=0 |
virtual int | ApplyMotion (iSkeletonBone *skel, const char *motion, const char *frameset, bool loop, bool sweep, float rate, int time, bool cache)=0 |
virtual void | RecompileMotion (int idx, bool cache)=0 |
If the skeletal structure for a sprite is modified, then the compiled will become invalid. More... | |
virtual int | ReserveMotion (int idx)=0 |
virtual int | RestoreMotion (int idx)=0 |
virtual void | DeleteAppliedMotion (int idx, bool cached)=0 |
virtual void | SetActiveMotion (int idx, bool loop, bool sweep, float rate)=0 |
virtual void | SetCachedMotion (int idx, bool loop, bool sweep, float rate, int time)=0 |
virtual void | SetReverse (int idx)=0 |
virtual void | SetLoop (int idx, bool loop)=0 |
virtual void | SetSweep (int idx, bool sweep)=0 |
virtual void | SetRate (int idx, float rate)=0 |
virtual void | SetTime (int idx, int time)=0 |
virtual bool | GetLoop (int idx)=0 |
virtual bool | GetSweep (int idx)=0 |
virtual float | GetRate (int idx)=0 |
virtual int | GetTime (int idx)=0 |
virtual bool | IsFirst (int idx)=0 |
virtual bool | IsLast (int idx)=0 |
virtual void | UpdateAll ()=0 |
virtual void | UpdateAll (int time)=0 |
virtual void | SetSlerp (bool setting)=0 |
|
If the skeletal structure for a sprite is modified, then the compiled will become invalid. Recompile motion 'purifies' the motion so that it can be used with the sprite again. This applies to active sprites as well. This assumes the sprite in question still exists. |