class GmAnimationSegment |
An animation segment defines a set of motions (translation, rotation and scale) that occur over a certain period of time.
GmAnimationSegment () Standard constructor | |
virtual void | applyAnimationTransforms (float secondsElapsed) Applies all translation, scaling and rotation associated with this animation segment at the given time period. |
virtual float | getLength () Gets the temporal length of the animation segment. |
GmRotation* | getRotation () Gets the rotation motion for this animation segment. |
GmScale* | getScale () Gets the scaling motion for this animation segment. |
GmTranslation* | getTranslation () Gets the translation motion for this animation segment. |
virtual void | setLength (float seconds) Sets the temporal length of the animation segment in seconds. |
void | setRotation (GmRotation* rotation) Sets the rotation motion for this animation segment. |
void | setScale (GmScale* scale) Sets the scaling motion for this animation segment. |
void | setTranslation (GmTranslation* translation) Sets the translation motion for this animation segment. |
virtual | ~GmAnimationSegment () Standard destructor |
float | mLengthInSeconds The length in seconds of this animation segment |
GmRotation* | mRotation The rotation movement associated with this animation segment. |
GmScale* | mScale The scale changes associated with this animation segment. |
GmTranslation* | mTranslation The translation movement associated with this animation segment. |
An animation segment defines a set of motions (translation, rotation and scale) that occur over a certain period of time. The animation segment is usually chained together with other animation segments to provide complex movements for glam components.
Alphabetic index HTML hierarchy of classes or Java