getPlayingAnimation
GraphicsModuleInterface::getPlayingAnimation
Returns the index of the animation played by an Entity.
Declaration
virtual Animation* getPlayingAnimation(Entity entity) = 0;
Parameters
Name |
Type |
Description |
|---|---|---|
entity |
The Entity to get the playing Animation’s index of. It must have a Renderable Component. |
Returns
A pointer to the currently playing Animation. If no animation is playing, returns 0xFFFFFFFF.