Méthode | Description | |
---|---|---|
Add ( |
Adds a clipped or stretched version of the texture to the batcher, with the specified color.
|
|
Add ( |
Adds a clipped or stretched version of the texture to the batcher, with the specified color.
|
|
Add ( |
Add a pre-transformed texture to the batcher.
|
|
Add ( |
Adds the texture to the batcher, drawn at the (x, y) location.
|
|
Add ( |
Adds the texture to the batcher, drawn at the (x, y) location with the specified color.
|
|
Add ( |
Adds a rotated image to the batcher.
|
|
AddVerts ( |
Adds verts to the batcher, must be a quad (for now).
|
|
Flush ( ) : void |
Renders it all to screen, clearing out it's current buffer.
|
|
SetBlendMode ( BlendMode mode ) : void |
Sets the batcher to use the specified blend mode.
|
|
SpriteBatch ( RenderTarget target ) : System |
Méthode | Description | |
---|---|---|
Flush ( PrimitiveType type ) : void | ||
Flush ( |
||
RotateX ( float x, float y, float cos, float sin ) : float | ||
RotateY ( float x, float y, float cos, float sin ) : float |
public Add ( |
||
tex | ||
source | FloatRect | |
dest | FloatRect | |
color | System.Color | |
Résultat | void |
public Add ( |
||
tex | ||
source | IntRect | |
dest | FloatRect | |
color | System.Color | |
Résultat | void |
public Add ( |
||
tex | ||
transform | ||
Résultat | void |
public Add ( |
||
tex | ||
x | float | |
y | float | |
Résultat | void |
public Add ( |
||
tex | ||
x | float | |
y | float | |
color | System.Color | |
Résultat | void |
public Add ( |
||
tex | ||
x | float | |
y | float | |
color | System.Color | |
r | double | |
Résultat | void |
public AddVerts ( |
||
verts | ||
count | int | |
type | PrimitiveType | |
Résultat | void |
public SetBlendMode ( BlendMode mode ) : void | ||
mode | BlendMode | |
Résultat | void |
public SpriteBatch ( RenderTarget target ) : System | ||
target | RenderTarget | |
Résultat | System |