Méthode | Description | |
---|---|---|
Sprite ( ) : System | ||
Sprite ( Texture2D texture, Rectangle destBounds ) : System | ||
Sprite ( Texture2D texture, Rectangle destBounds, Rectangle sourceBounds ) : System | ||
Sprite ( Texture2D texture, float width, float height ) : System | ||
draw ( SpriteBatch spriteBatch ) : void | ||
draw ( SpriteBatch spriteBatch, int layerDepth ) : void | ||
intersects ( |
public Sprite ( Texture2D texture, Rectangle destBounds ) : System | ||
texture | Texture2D | |
destBounds | Rectangle | |
Résultat | System |
public Sprite ( Texture2D texture, Rectangle destBounds, Rectangle sourceBounds ) : System | ||
texture | Texture2D | |
destBounds | Rectangle | |
sourceBounds | Rectangle | |
Résultat | System |
public Sprite ( Texture2D texture, float width, float height ) : System | ||
texture | Texture2D | |
width | float | |
height | float | |
Résultat | System |
public draw ( SpriteBatch spriteBatch ) : void | ||
spriteBatch | SpriteBatch | |
Résultat | void |
public draw ( SpriteBatch spriteBatch, int layerDepth ) : void | ||
spriteBatch | SpriteBatch | |
layerDepth | int | |
Résultat | void |