프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public Draw ( |
||
sb | ||
pos | Vector2 | |
effects | SpriteEffects | |
리턴 | void |
public Draw ( |
||
sb | ||
pos | Vector2 | |
effects | SpriteEffects | |
scale | float | |
리턴 | void |
public Draw ( |
||
sb | ||
pos | Vector2 | |
effects | SpriteEffects | |
scale | float | |
rotation | float | |
리턴 | void |
public Draw ( |
||
sb | ||
pos | Vector2 | |
effects | SpriteEffects | |
scale | float | |
rotation | float | |
tint | Color | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | System |
public Update ( |
||
gameTime | ||
리턴 | void |
public Texture2D,Microsoft.Xna.Framework.Graphics SpriteSheet | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |