Advanced
Readonly
durationThe total time to play the animation in milliseconds
Readonly
framesAnimation frames
Readonly
heightHeight of the animation
Readonly
texturesTextures
Readonly
totalTotal number of frames in the animation
Readonly
widthWidth of the animation
Destroy animation data and don't use after this
Static
fromCreate an animated GIF animation from a GIF image's ArrayBuffer. The easiest way to get the buffer is to use Assets.
GIF image arraybuffer from Assets.
Optional
options: GifBufferOptionsOptional options to use when building from buffer.
Resource provided to GifSprite instances. This is very similar to using a shared Texture between Sprites. This source contains all the frames and animation needed to support playback.