19 #include "cal3d/global.h"
130 virtual void updateAnimation(
float deltaTime) = 0;
148 virtual void updateSkeleton() = 0;
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);
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;
Definition: animation_cycle.h:22
virtual void updateAnimation(float deltaTime)=0
Notifies the instance that updateAnimation was last called deltaTime seconds ago. ...
virtual void updateSkeleton()=0
Updates the skeleton of the corresponding CalModel (as provided to the create method) to match the cu...
virtual bool isDefaultMixer()
Is the object an instance of the default mixer (i.e.
Definition: mixer.h:111
CalAbstractMixer defines the API that CalModel relies on for blending and scheduling animations...
Definition: mixer.h:97
virtual bool isDefaultMixer()
Is the object an instance of the default mixer (i.e.
Definition: mixer.h:158
Definition: animation_action.h:22
Definition: animation.h:21