C# Class UVAnimation, Sisyphus

Afficher le fichier Open project: astrism/Sisyphus Class Usage Examples

Méthodes publiques

Свойство Type Description
framerate float
loopCycles int
loopReverse bool
name string

Protected Properties

Свойство Type Description
curFrame int
frames Vector2[]
numLoops int
stepDir int

Méthodes publiques

Méthode Description
AppendAnim ( Vector2 anim ) : void
BuildUVAnim ( Vector2 start, Vector2 cellSize, int cols, int rows, int totalCells, float fps ) : Vector2[]
GetNextFrame ( Vector2 &uv ) : bool
PlayInReverse ( ) : void
Reset ( ) : void
SetAnim ( Vector2 anim ) : void

Method Details

AppendAnim() public méthode

public AppendAnim ( Vector2 anim ) : void
anim Vector2
Résultat void

BuildUVAnim() public méthode

public BuildUVAnim ( Vector2 start, Vector2 cellSize, int cols, int rows, int totalCells, float fps ) : Vector2[]
start Vector2
cellSize Vector2
cols int
rows int
totalCells int
fps float
Résultat Vector2[]

GetNextFrame() public méthode

public GetNextFrame ( Vector2 &uv ) : bool
uv Vector2
Résultat bool

PlayInReverse() public méthode

public PlayInReverse ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SetAnim() public méthode

public SetAnim ( Vector2 anim ) : void
anim Vector2
Résultat void

Property Details

curFrame protected_oe property

protected int curFrame
Résultat int

framerate public_oe property

public float framerate
Résultat float

frames protected_oe property

protected Vector2[] frames
Résultat Vector2[]

loopCycles public_oe property

public int loopCycles
Résultat int

loopReverse public_oe property

public bool loopReverse
Résultat bool

name public_oe property

public string name
Résultat string

numLoops protected_oe property

protected int numLoops
Résultat int

stepDir protected_oe property

protected int stepDir
Résultat int