Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Graphics.SpriteFrame Class Reference

A sprite frame represents a single frame a sprite animation. It contains the region of the texture representing the frame and the time it is supposed to be displayed. More...

Public Member Functions

SpriteFrame Clone ()
 Clone the current sprite frame instance. More...
 

Public Attributes

Rectangle TextureRegion
 The rectangle specifying the region of the texture to use for that frame. More...
 
Vector2 CenterBias
 The bias to the frame center in pixels. More...
 

Detailed Description

A sprite frame represents a single frame a sprite animation. It contains the region of the texture representing the frame and the time it is supposed to be displayed.

Definition at line 14 of file SpriteFrame.cs.

Member Function Documentation

SpriteFrame SiliconStudio.Paradox.Graphics.SpriteFrame.Clone ( )

Clone the current sprite frame instance.

Returns
A new instance of the current sprite frame.

Definition at line 30 of file SpriteFrame.cs.

Member Data Documentation

Vector2 SiliconStudio.Paradox.Graphics.SpriteFrame.CenterBias

The bias to the frame center in pixels.

Definition at line 24 of file SpriteFrame.cs.

Rectangle SiliconStudio.Paradox.Graphics.SpriteFrame.TextureRegion

The rectangle specifying the region of the texture to use for that frame.

Definition at line 19 of file SpriteFrame.cs.


The documentation for this class was generated from the following file: