Skip to main content

Fields

duration

The duration of the animation.

Methods

advance

Advances the animation by the given time in seconds. Returns true if the animation hasn’t reached its end. If the animation is set to loop or ping pong, it will always return true

setTime

set the animation time in seconds

setTimeFrames

set the animation time in frames

setTimePercentage

set the animation time as a percentage of the duration