PixiAnimator.AnimTimeline Class
[Pixi Only] Internal PixiAnimator class for keeping track of animations
Constructor
PixiAnimator.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
init
(
PixiAnimator.AnimTimeline
-
clip
-
callback
-
speed
Initialize the AnimTimeline
Parameters:
Returns:
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 PixiAnimator, 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