Method | Description | |
---|---|---|
Draw ( |
Display the sprite to the screen.
|
|
GetTextureRegion ( |
Get a portion of the current frame's texture as a sequence of colors.
|
|
Sprite ( |
public Draw ( |
||
batch | Sprite batch. | |
disableLayering | bool | Whether to use layer ordering or not. |
return | void |
public GetTextureRegion ( |
||
rect | Rectangle to retrieve. | |
return | Color[] |
public Sprite ( |
||
parent | ||
tex | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | System |