Skip to main content

Fields

duration

The duration of the animation.

Methods

advance

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

setTime
set the animation time in seconds

setTimeFrames

setTimeFrames
set the animation time in frames

setTimePercentage

setTimePercentage
set the animation time as a percentage of the duration