11#ifndef CAL_ANIMATION_ACTION_H
12#define CAL_ANIMATION_ACTION_H
15#include "cal3d/global.h"
16#include "cal3d/animation.h"
28 bool execute(
float delayIn,
float delayOut,
float weightTarget = 1.0f,
bool autoLock=
false);
29 bool update(
float deltaTime);
39 CompositionFunction m_compositionFunction;
41 SequencingModeNull = 0,
42 SequencingModeAutomatic,
bool execute(float delayIn, float delayOut, float weightTarget=1.0f, bool autoLock=false)
Executes the animation action instance.
Definition animation_action.cpp:65
bool setCompositionFunction(CompositionFunction)
Sets the composition function, which controls how animation blends with other simultaneous animations...
Definition animation_action.cpp:182
bool setManualAnimationActionWeight(float)
Sets the weight of the manual animation.
Definition animation_action.cpp:161
bool setRampValue(float)
Sets the rampValue of the animation.
Definition animation_action.cpp:214
CalAnimationAction(CalCoreAnimation *pCoreAnimation)
Constructs the animation action instance.
Definition animation_action.cpp:29
bool update(float deltaTime)
Updates the animation action instance.
Definition animation_action.cpp:304
bool setManual()
Configures the action to be a manual action, and on.
Definition animation_action.cpp:98
bool setManualAnimationActionOn(bool p)
Sets the manual animation on or off.
Definition animation_action.cpp:282
float getRampValue()
Gets the RampValue of the animation.
Definition animation_action.cpp:229
float getScale()
Gets the scale of the animation.
Definition animation_action.cpp:243
bool manual()
Tells you whether the animation action is configured to be manual.
Definition animation_action.cpp:144
bool on()
Tells you whether the animation action is on, i.e., should it apply to bones.
Definition animation_action.cpp:126
bool setScale(float)
Sets the scale of the animation.
Definition animation_action.cpp:265
CompositionFunction getCompositionFunction()
Gets the CompositionFunction of the animation.
Definition animation_action.cpp:198
Definition coreanimation.h:24