Appearance
pixi-hm05 (player) / pixi-hm05 / TweenOptions
Interface: TweenOptions
Properties
| Property | Type | Description |
|---|---|---|
clock? | Ticker | TweenRunner | null | What advances it: a pixi Ticker (default Ticker.shared — the player's own clock), a TweenRunner you step yourself, or null = nothing, you call tween.step(ms). |
delay? | number | wait this long before moving (default 0) |
ease? | TweenEase | the curve (default linear) |
from? | TweenProps | start values; absent = what the target holds when it starts moving (after delay) |
onComplete? | () => void | once it reaches the end (never after cancel) |
onUpdate? | (eased, tween) => void | every step, with the eased 0..1 |
seconds? | number | how long it takes (default 0.3) |