getAnimationCurrentTime

GraphicsModuleInterface::getAnimationCurrentTime

Returns the current playing time of an Animation played by an Entity.

Declaration

virtual float getAnimationCurrentTime(Entity entity) = 0;

Parameters

Name

Type

Description

entity

Entity

The Entity the Animation is played on. It must have a Renderable Component.

Returns

The current time of an animation, in seconds.