AdvancedReadonlydurationThe total time to play the animation in milliseconds
ReadonlyframesAnimation frames
ReadonlyheightHeight of the animation
ReadonlytexturesTextures
ReadonlytotalTotal number of frames in the animation
ReadonlywidthWidth of the animation
Destroy animation data and don't use after this
StaticfromCreate 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.
Optionaloptions: 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.