Detailed Description

A frame of a GIF.

Inheritance diagram for Gif.GifFrame:
Spa.SPASprite

Public Member Functions

 GifFrame (Gif gif, int id)
 
- Public Member Functions inherited from Spa.SPASprite
 SPASprite (SPA animation, int id)
 Creates an empty sprite. More...
 
 SPASprite (SPA animation, SPAReader reader, int id)
 Loads a new sprite from the given binary stream. More...
 
void SetSprite (Texture2D sprite, int totalFrameCount)
 Sets the given sprite texture to this SPA sprite. More...
 

Public Attributes

Gif Gif
 Parent gif. Jif? Jif. More...
 
int OffsetY
 Y offset. More...
 
int OffsetX
 X offset. More...
 
int TransparencyIndex
 Index of the transparent pixel. More...
 
int DisposalMethod
 Disposal method to use. More...
 
- Public Attributes inherited from Spa.SPASprite
int ID
 Which number sprite this is in the spa. Starts from 0. More...
 
int Width
 The width of the sprite. More...
 
int Height
 The height of the sprite. More...
 
float Delay
 The delay to apply for this particular sprite. More...
 
SPA Animation
 The animation this sprite belongs to. More...
 
int FrameCount
 How many frames this sprite holds. More...
 
Texture2D Sprite
 The sprite graphic itself. More...
 
Vector2 TextureScale
 The scale of the sprite that should be used when the sprite is applied to a material. More...
 
int VerticalFrameCount
 How many frames are down the height of the image.Sprite height/Frame height. More...
 

Additional Inherited Members

- Properties inherited from Spa.SPASprite
Blaze.TextureAtlas Atlas [get]
 Gets this sprite as a texture atlas. More...
 

Constructor & Destructor Documentation

Gif.GifFrame.GifFrame ( Gif  gif,
int  id 
)
inline

Member Data Documentation

int Gif.GifFrame.DisposalMethod

Disposal method to use.

Gif Gif.GifFrame.Gif

Parent gif. Jif? Jif.

int Gif.GifFrame.OffsetX

X offset.

int Gif.GifFrame.OffsetY

Y offset.

int Gif.GifFrame.TransparencyIndex

Index of the transparent pixel.