class Animation
Holds all high level information related to an animation instance.
File location: framework/cauldron/framework/inc/render/animation.h
Construction
Return type |
Description |
---|---|
Animation ()
Construction with default behavior.
|
Methods
Return type |
Description |
---|---|
const float |
GetDuration () const
Fetches the duration of the “Animation“.
|
void |
SetDuration (float duration)
Sets the duration of the “Animation“.
|
void |
SetNumAnimationChannels (uint32_t numChannels)
Sets the number of “AnimChannel“ s in the “Animation“.
|
const AnimChannel * |
GetAnimationChannel (uint32_t animationIndex) const
Gets a specific “AnimChannel“ in order to query it’s animation data.
|
GetAnimationChannel (uint32_t animationIndex)
|
Detailed description
Holds all high level information related to an animation instance. An animation is made up of various AnimChannel
.
Construction
Animation
Construction with default behavior.
Methods
GetDuration
Fetches the duration of the Animation
.
SetDuration
Sets the duration of the Animation
.
SetNumAnimationChannels
Sets the number of AnimChannel
s in the Animation
.
GetAnimationChannel
const AnimChannel * GetAnimationChannel (uint32_t animationIndex) const
Gets a specific AnimChannel
in order to query it’s animation data.