메소드 | 설명 | |
---|---|---|
Draw ( |
Outputs the sprite to the screen.
|
|
GetTextureRegion ( |
Get a piece of sprite texture for collision detection.
|
|
Reset ( ) : void |
Reset the sprite.
|
|
SetHotSpot ( HorizontalAlignment horizontal = HorizontalAlignment.Center, VerticalAlignment vertical = VerticalAlignment.Center ) : void |
Set the hotspot to a particular place inside the sprite.
|
|
Update ( ) : void |
Update the sprite.
|
메소드 | 설명 | |
---|---|---|
SpriteBase ( |
||
SpriteBase ( |
public abstract Draw ( |
||
batch | Sprite batch. | |
disableLayering | bool | Whether to use layer ordering or not. |
리턴 | void |
public abstract GetTextureRegion ( |
||
rect | Rectangle to get. | |
리턴 | Microsoft.Xna.Framework.Color[] |
public SetHotSpot ( HorizontalAlignment horizontal = HorizontalAlignment.Center, VerticalAlignment vertical = VerticalAlignment.Center ) : void | ||
horizontal | HorizontalAlignment | |
vertical | VerticalAlignment | |
리턴 | void |
protected SpriteBase ( |
||
parent | ||
리턴 | Microsoft.Xna.Framework |
protected SpriteBase ( |
||
parent | ||
tex | Microsoft.Xna.Framework.Graphics.Texture2D | |
리턴 | Microsoft.Xna.Framework |