getAnimationSpeed

Script::getAnimationSpeed

Returns the speed of an Animation played by an Entity.

Declaration

float getAnimationSpeed(Entity entity);

Parameters

Name

Type

Description

entity

Entity

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

Returns

The speed of an animation, in seconds.