Contains a set of animations that are played in parallel with the SetKey() method.
More...
#include <gls_animation.h>
|
| GlsAnimation (const std::string &name) |
| Constructor - for base classes only.
|
|
DisplayFrame * | _displayFrame |
| The display frame used for retargeting.
|
|
Contains a set of animations that are played in parallel with the SetKey() method.
disti::GlsAnimationCollection::GlsAnimationCollection |
( |
const std::string & |
name, |
|
|
GlsAnimation * |
animation = 0 |
|
) |
| |
|
explicit |
Constructs a named animation sequence
- Parameters
-
name | The name of the animation sequence |
animation | An optional animation object. If valid, the animation sequence takes ownership of the animation object. |
- Precondition
- animation->GetKeyRange() is not NaN
disti::GlsAnimationCollection::GlsAnimationCollection |
( |
const std::string & |
name, |
|
|
const GlsAnimation::Ptr & |
animation |
|
) |
| |
|
explicit |
Constructs a named animation sequence
- Parameters
-
name | The name of the animation sequence |
animation | An animation object. |
- Precondition
- animation->GetKeyRange() is not NaN
-
animation.get() != 0
void disti::GlsAnimationCollection::Add |
( |
GlsAnimation * |
animation | ) |
|
Adds an animation to an animation sequence
- Parameters
-
animation | The animation to add to the sequence. The animation sequence takes ownership of the animation object. |
- Precondition
- animation != 0
-
Start() has not been called.
-
animation->GetKeyRange() is not NaN
Adds an animation to an animation sequence
- Parameters
-
animation | The animation to add to the sequence. |
- Precondition
- animation.get() != 0
-
Start() has not been called.
-
animation->GetKeyRange() is not NaN
bool disti::GlsAnimationCollection::SetDisplayFrame |
( |
DisplayFrame * |
displayFrame | ) |
|
|
virtual |
Override from GlsAnimation
- Returns
- True indicates that all the given attributes already existed in the display frame, and false indicates that they did not and that SetKey() will not animate them.
Implements disti::GlsAnimation.
The documentation for this class was generated from the following files: