Class: AnimatorTimeline

PIXI.animate.AnimatorTimeline

new PIXI.animate.AnimatorTimeline ()

Represents a single animation play.

Members

callback function readonly

Callback called when completed (non-looping animation).

end int readonly

Frame number of the ending frame.

instance PIXI.animate.MovieClip readonly

Instance of clip to play.

loop Boolean readonly

true if the timeline is suppose to loop.

progress Number readonly

The progress from 0 to 1 of the playback.

start int readonly

Frame number of the starting farme.

Methods

PIXI.animate.AnimatorTimeline.create (instance, start, end, loop, callback)PIXI.animate.AnimatorTimeline static

Create a new timeline

Name Type Description
instance PIXI.animate.MovieClip
start Number
end Number
loop Boolean
callback function
Returns:
Type Description
PIXI.animate.AnimatorTimeline

Stop the animation, cannot be reused.