The Timeline class represents a
Name | Type | Description |
---|---|---|
Target |
PIXI.DisplayObject |
The target for this string of tweens. |
Extends
- Array
Members
-
target PIXI.DisplayObject
-
The target DisplayObject.
Methods
-
Add a single keyframe that doesn't tween.
Name Type Description properties
Object The properties to set.
startFrame
int The starting frame index.
-
Adds one or more tweens (or timelines) to this timeline. The tweens will be paused (to remove them from the normal ticking system) and managed by this timeline. Adding a tween to multiple timelines will result in unexpected behaviour.
Name Type Description tween
The tween(s) to add. Accepts multiple arguments.
Returns:
Tween The first tween that was passed in. -
Extend the last frame of the tween.
Name Type Description endFrame
int The ending frame index.
-
Get the value for a property
Name Type Description prop
string