Properties:
Name | Type | Description |
---|---|---|
animationSpeed |
number |
Speed of the animation |
autoPlay |
boolean |
Whether to start playing right away |
autoUpdate |
boolean |
Set to |
fps |
number |
Fallback FPS if GIF contains no time information |
loop |
boolean |
To enable looping |
onComplete |
null | (() => void) |
The completed callback, optional |
onFrameChange |
null | ((currentFrame: number) => void) |
The frame callback, optional |
onLoop |
null | (() => void) |
The loop callback, optional |
scaleMode |
PIXI.SCALE_MODE |
Scale Mode to use for the texture |
Members
Speed of the animation
Whether to start playing right away
Set to false
to manage updates yourself
Fallback FPS if GIF contains no time information
To enable looping
The completed callback, optional
The frame callback, optional
The loop callback, optional
Scale Mode to use for the texture