Method | Description | |
---|---|---|
BlendableSprite ( |
||
Draw ( |
Draw the texture into stencil buffer, and then use the stencil to draw a single-colored texture.
|
|
GetTextureRegion ( |
||
Reset ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
BlendableSprite ( ) : Microsoft.Xna.Framework |
public BlendableSprite ( |
||
parent | ||
sprite | ||
color | Microsoft.Xna.Framework.Color | |
return | Microsoft.Xna.Framework |
public Draw ( |
||
batch | Sprite batch | |
disableLayering | bool | Whether to use layer ordering or not. |
return | void |
public GetTextureRegion ( |
||
rect | ||
return | Microsoft.Xna.Framework.Color[] |