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

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.

AnimChannel *

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

Copied!

Animation ()

Construction with default behavior.


Methods

GetDuration

Copied!

const float GetDuration () const

Fetches the duration of the Animation.


SetDuration

Copied!

void SetDuration (float duration)

Sets the duration of the Animation.


SetNumAnimationChannels

Copied!

void SetNumAnimationChannels (uint32_t numChannels)

Sets the number of AnimChannel s in the Animation.


GetAnimationChannel

Copied!

const AnimChannel * GetAnimationChannel (uint32_t animationIndex) const

Gets a specific AnimChannel in order to query it’s animation data.