#include <track.h>
Inheritance diagram for gbgraphics::Track:

Public Types | |
| enum | { DELAY, ATTACK, STEADY, DECAY, END } |
| Animation states. More... | |
Public Methods | |
Constructors | |
| Track (SkeletalMotionState *pSMState, const TrackData &data) | |
| . | |
Initializers | |
Operations | |
| virtual void | Update (float dTime)=0 |
| . | |
| virtual void | Decay ()=0 |
| . | |
Accessors | |
| virtual float | GetProgress () |
| Fraction into animation. | |
| virtual float | GetWeight () const=0 |
| . | |
| virtual float | GetLength () const |
| . | |
| unsigned int | GetID () const |
| . | |
| SkeletalMotionState * | GetMotionState () const |
| . | |
| int | GetState () const |
| Returns one of the animation states. | |
| float | GetTime () const |
| Amount of time track has been animating. | |
| float | GetTimeFactor () const |
| . | |
Protected Attributes | |
| TrackData | mData |
| . | |
| int | mState |
| State of the animation. | |
| float | mDecayTime |
| Calculated time of decay from mData.mDecay. | |
| float | mWTime |
| The weight time: affects change in weight. | |
| SkeletalMotionState * | mpSMState |
| Motion being animated. | |
Call Update() to animate the weight. Call Decay() to begin ending the animation.
|
|
Animation states.
|
1.2.17