Свойство | Type | Description | |
---|---|---|---|
CellHeight | int | ||
CellWidth | int | ||
CurrentDirection | SpriteAnimDirection | ||
CurrentFrame | int | ||
CurrentFrameTime | double | ||
Loop | bool | ||
NumFrames | int | ||
Offset | Vector2 | ||
PingPong | bool | ||
SheetRow | int | ||
SpriteSheet | Microsoft.Xna.Framework.Graphics.Texture2D | ||
State | SpriteAnimState | ||
TargetFrameTime | double |
Méthode | Description | |
---|---|---|
Draw ( |
||
Draw ( |
||
Draw ( |
||
Draw ( |
||
Draw ( |
||
Pause ( ) : void | ||
Play ( ) : void | ||
Reset ( ) : void | ||
SpriteAnim ( Microsoft.Xna.Framework.Graphics.Texture2D sheet, int row, int numframes, int width, int height, double frametime ) : System | ||
SpriteAnim ( Microsoft.Xna.Framework.Graphics.Texture2D sheet, int row, int numframes, int width, int height, double frametime, Vector2 offset ) : System | ||
SpriteAnim ( Microsoft.Xna.Framework.Graphics.Texture2D sheet, int row, int numframes, int width, int height, double frametime, Vector2 offset, bool loop, bool pingpong, int startframe ) : System | ||
Update ( |
public Draw ( |
||
sb | ||
pos | Vector2 | |
Résultat | void |
public Draw ( |
||
sb | ||
pos | Vector2 | |
effects | SpriteEffects | |
Résultat | void |
public Draw ( |
||
sb | ||
pos | Vector2 | |
effects | SpriteEffects | |
scale | float | |
Résultat | void |
public Draw ( |
||
sb | ||
pos | Vector2 | |
effects | SpriteEffects | |
scale | float | |
rotation | float | |
Résultat | void |
public Draw ( |
||
sb | ||
pos | Vector2 | |
effects | SpriteEffects | |
scale | float | |
rotation | float | |
tint | Color | |
Résultat | void |
public SpriteAnim ( Microsoft.Xna.Framework.Graphics.Texture2D sheet, int row, int numframes, int width, int height, double frametime ) : System | ||
sheet | Microsoft.Xna.Framework.Graphics.Texture2D | |
row | int | |
numframes | int | |
width | int | |
height | int | |
frametime | double | |
Résultat | System |
public SpriteAnim ( Microsoft.Xna.Framework.Graphics.Texture2D sheet, int row, int numframes, int width, int height, double frametime, Vector2 offset ) : System | ||
sheet | Microsoft.Xna.Framework.Graphics.Texture2D | |
row | int | |
numframes | int | |
width | int | |
height | int | |
frametime | double | |
offset | Vector2 | |
Résultat | System |
public SpriteAnim ( Microsoft.Xna.Framework.Graphics.Texture2D sheet, int row, int numframes, int width, int height, double frametime, Vector2 offset, bool loop, bool pingpong, int startframe ) : System | ||
sheet | Microsoft.Xna.Framework.Graphics.Texture2D | |
row | int | |
numframes | int | |
width | int | |
height | int | |
frametime | double | |
offset | Vector2 | |
loop | bool | |
pingpong | bool | |
startframe | int | |
Résultat | System |
public Update ( |
||
gameTime | ||
Résultat | void |
public SpriteAnimDirection CurrentDirection | ||
Résultat | SpriteAnimDirection |
public Texture2D,Microsoft.Xna.Framework.Graphics SpriteSheet | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |