set anim speed
This commit is contained in:
@@ -43,6 +43,7 @@ public:
|
||||
std::vector<glm::mat4> m_finalMatrices;
|
||||
AnimationId_t m_animation;
|
||||
float m_time;
|
||||
float m_speed;
|
||||
bool m_looped;
|
||||
|
||||
public:
|
||||
@@ -60,6 +61,8 @@ public:
|
||||
void PlayAnimation(AnimationId_t id, bool looped);
|
||||
void StopAnimation();
|
||||
|
||||
void SetAnimationSpeed(float speed);
|
||||
|
||||
AnimationId_t GetCurrentAnimation();
|
||||
float GetCurrentTime();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user