19#include "cal3d/global.h"
159 bool blendCycle(
int id,
float weight,
float delay);
160 bool clearCycle(
int id,
float delay);
161 bool executeAction(
int id,
float delayIn,
float delayOut,
float weightTarget = 1.0f,
bool autoLock=
false);
162 bool removeAction(
int id);
163 virtual void updateAnimation(
float deltaTime);
164 virtual void updateSkeleton();
165 float getAnimationTime();
166 float getAnimationDuration();
167 void setAnimationTime(
float animationTime);
168 void setTimeFactor(
float timeFactor);
169 float getTimeFactor();
171 std::vector<CalAnimation *> &getAnimationVector();
172 std::list<CalAnimationAction *> &getAnimationActionList();
173 std::list<CalAnimationCycle *> &getAnimationCycle();
177 std::vector<CalAnimation *> m_vectorAnimation;
178 std::list<CalAnimationAction *> m_listAnimationAction;
179 std::list<CalAnimationCycle *> m_listAnimationCycle;
180 float m_animationTime;
181 float m_animationDuration;
CalAbstractMixer defines the API that CalModel relies on for blending and scheduling animations.
Definition mixer.h:98
virtual void updateAnimation(float deltaTime)=0
Notifies the instance that updateAnimation was last called deltaTime seconds ago.
virtual bool isDefaultMixer()
Is the object an instance of the default mixer (i.e.
Definition mixer.h:111
virtual void updateSkeleton()=0
Updates the skeleton of the corresponding CalModel (as provided to the create method) to match the cu...
Definition animation_action.h:23
Definition animation_cycle.h:23
Definition animation.h:22
virtual bool isDefaultMixer()
Is the object an instance of the default mixer (i.e.
Definition mixer.h:158