getAnimationCurrentTime
Script::getAnimationCurrentTime
Returns the current playing time of an Animation played by an Entity.
Declaration
float getAnimationCurrentTime(Entity entity);
Parameters
Name |
Type |
Description |
|---|---|---|
entity |
The Entity the Animation is played on. It must have a Renderable Component. |
Returns
The current time of an animation, in seconds.