Animator.AnimTimeline Class
Internal Animator class for keeping track of animations. AnimTimelines are pooled internally, so please only keep references to them while they are actively playing an animation.
Constructor
Animator.AnimTimeline
(
-
clip
-
callback
-
speed
Parameters:
-
clip
PIXI.MovieClip | Pixi.SpineThe AnimTimeline's clip
-
callback
FunctionThe function to call when the clip is finished playing
-
speed
IntThe speed at which the clip should be played
Item Index
Methods
Methods
Properties
_paused
Bool
private
If this animation is paused.
clip
PIXI.MovieClip | PIXI.Spine
public
The clip for this AnimTimeLine
isSpine
Bool
public
Whether the clip is a PIXI.Spine
loop
Bool
public
Not used by Animator, but potentially useful for other code to keep track of what type of animation is being played
paused
Bool
public
Sets and gets the animation's paused status.
playSound
Bool
public
If the timeline will, but has yet to, play a sound
soundInst
Object
public
A sound instance object from cloudkid.Sound or cloudkid.Audio, used for tracking sound position.
useCaptions
Bool
If this timeline plays captions