class GmAnimation |
The animation class encapsulates a set of animation segments and provides complex translation, rotation and scaling movements for visual glam components
GmAnimation (GmTypes::AnimationType animationType) Standard constructor. | |
virtual void | addSegment (GmAnimationSegment* animationSegment) Adds an animation segment to the end of the animation. |
virtual void | applyAnimationTransforms () Applies all animation motions associated with this animation |
float | getLength () Gets the total temporal length of this animation in seconds. |
virtual bool | isFinished () The current state of animation playback can be determined by calling this method. |
virtual void | registerAnimHandler (GmAnimationEventHandler* eventHandler) Registers an animation event handler with this animation. |
virtual void | startAnimation () Starts running this animation using the current time as the starting time. |
virtual void | unregisterAnimHandler (GmAnimationEventHandler* eventHandler) Unregisters an animation event handler from this animation. |
virtual | ~GmAnimation () Standard destructor |
vector<GmAnimationEventHandler*> | mAnimHandlers A set of animation event handlers that have registered themselves with this animation. |
unsigned int | mAnimLength Total animation length in milliseconds |
unsigned int* | mAnimTimecodes [2] Animation segment time codes for the end of each animation segment. |
GmTypes::AnimationType | mAnimationType The type of animation this animation object encompasses |
vector<GmAnimationSegment*> | mSegments A set of animation segments that constitute a complete animation |
unsigned int | mStartTime The time that this animation started playback, the value is in milliseconds since application started |
unsigned int | mTimecodeOffset The current timecode offset, which is the current animation segment being played back. |
virtual void | recalculateAnimLength () Recalculates the length of the animation as well as several internal variables that are used for housekeeping |
The animation class encapsulates a set of animation segments and provides complex translation, rotation and scaling movements for visual glam components
Alphabetic index HTML hierarchy of classes or Java