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 | |
| applyAnimationTransforms (float secondsElapsed) Applies all translation, scaling and rotation associated with this animation segment at the given time period. | |
| getLength () Gets the temporal length of the animation segment. | |
| getRotation () Gets the rotation motion for this animation segment. | |
| getScale () Gets the scaling motion for this animation segment. | |
| getTranslation () Gets the translation motion for this animation segment. | |
| setLength (float seconds) Sets the temporal length of the animation segment in seconds. | |
| setRotation (GmRotation* rotation) Sets the rotation motion for this animation segment. | |
| setScale (GmScale* scale) Sets the scaling motion for this animation segment. | |
| setTranslation (GmTranslation* translation) Sets the translation motion for this animation segment. | |
| ~GmAnimationSegment () Standard destructor |
| mLengthInSeconds The length in seconds of this animation segment | |
| mRotation The rotation movement associated with this animation segment. | |
| mScale The scale changes associated with this animation segment. | |
| 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