C# Class Terraria.DataStructures.DrawData

Afficher le fichier Open project: EmuDevs/EDTerraria Class Usage Examples

Méthodes publiques

Свойство Type Description
color System.Color
destinationRectangle Rectangle
effect SpriteEffects
ignorePlayerRotation bool
nullRectangle Rectangle?
origin System.Vector2
position System.Vector2
rotation float
scale System.Vector2
shader int
sourceRect Rectangle?
texture Microsoft.Xna.Framework.Graphics.Texture2D
useDestinationRectangle bool

Méthodes publiques

Méthode Description
Draw ( SpriteBatch sb ) : void
DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, Rectangle desRectangle, System.Color c ) : Microsoft.Xna.Framework
DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, Rectangle desRectangle, Rectangle sRect, System.Color c ) : Microsoft.Xna.Framework
DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, Rectangle desRectangle, Rectangle sRect, System.Color c, float rotat, System.Vector2 _origin, SpriteEffects _effect, int inactiveLayerDepth ) : Microsoft.Xna.Framework
DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, System.Vector2 pos, System.Color c ) : Microsoft.Xna.Framework
DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, System.Vector2 pos, Rectangle sRect, System.Color c ) : Microsoft.Xna.Framework
DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, System.Vector2 pos, Rectangle sRect, System.Color c, float rotat, System.Vector2 _origin, System.Vector2 _scale, SpriteEffects spriteEffect, int inactiveLayerDepth ) : Microsoft.Xna.Framework
DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, System.Vector2 pos, Rectangle sRect, System.Color c, float rotat, System.Vector2 _origin, float _scale, SpriteEffects eff, int inactiveLayerDepth ) : Microsoft.Xna.Framework

Method Details

Draw() public méthode

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

DrawData() public méthode

public DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, Rectangle desRectangle, System.Color c ) : Microsoft.Xna.Framework
tex Microsoft.Xna.Framework.Graphics.Texture2D
desRectangle Rectangle
c System.Color
Résultat Microsoft.Xna.Framework

DrawData() public méthode

public DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, Rectangle desRectangle, Rectangle sRect, System.Color c ) : Microsoft.Xna.Framework
tex Microsoft.Xna.Framework.Graphics.Texture2D
desRectangle Rectangle
sRect Rectangle
c System.Color
Résultat Microsoft.Xna.Framework

DrawData() public méthode

public DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, Rectangle desRectangle, Rectangle sRect, System.Color c, float rotat, System.Vector2 _origin, SpriteEffects _effect, int inactiveLayerDepth ) : Microsoft.Xna.Framework
tex Microsoft.Xna.Framework.Graphics.Texture2D
desRectangle Rectangle
sRect Rectangle
c System.Color
rotat float
_origin System.Vector2
_effect SpriteEffects
inactiveLayerDepth int
Résultat Microsoft.Xna.Framework

DrawData() public méthode

public DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, System.Vector2 pos, System.Color c ) : Microsoft.Xna.Framework
tex Microsoft.Xna.Framework.Graphics.Texture2D
pos System.Vector2
c System.Color
Résultat Microsoft.Xna.Framework

DrawData() public méthode

public DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, System.Vector2 pos, Rectangle sRect, System.Color c ) : Microsoft.Xna.Framework
tex Microsoft.Xna.Framework.Graphics.Texture2D
pos System.Vector2
sRect Rectangle
c System.Color
Résultat Microsoft.Xna.Framework

DrawData() public méthode

public DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, System.Vector2 pos, Rectangle sRect, System.Color c, float rotat, System.Vector2 _origin, System.Vector2 _scale, SpriteEffects spriteEffect, int inactiveLayerDepth ) : Microsoft.Xna.Framework
tex Microsoft.Xna.Framework.Graphics.Texture2D
pos System.Vector2
sRect Rectangle
c System.Color
rotat float
_origin System.Vector2
_scale System.Vector2
spriteEffect SpriteEffects
inactiveLayerDepth int
Résultat Microsoft.Xna.Framework

DrawData() public méthode

public DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D tex, System.Vector2 pos, Rectangle sRect, System.Color c, float rotat, System.Vector2 _origin, float _scale, SpriteEffects eff, int inactiveLayerDepth ) : Microsoft.Xna.Framework
tex Microsoft.Xna.Framework.Graphics.Texture2D
pos System.Vector2
sRect Rectangle
c System.Color
rotat float
_origin System.Vector2
_scale float
eff SpriteEffects
inactiveLayerDepth int
Résultat Microsoft.Xna.Framework

Property Details

color public_oe property

public Color,System color
Résultat System.Color

destinationRectangle public_oe property

public Rectangle destinationRectangle
Résultat Rectangle

effect public_oe property

public SpriteEffects effect
Résultat SpriteEffects

ignorePlayerRotation public_oe property

public bool ignorePlayerRotation
Résultat bool

nullRectangle public_oe static_oe property

public static Rectangle? nullRectangle
Résultat Rectangle?

origin public_oe property

public Vector2,System origin
Résultat System.Vector2

position public_oe property

public Vector2,System position
Résultat System.Vector2

rotation public_oe property

public float rotation
Résultat float

scale public_oe property

public Vector2,System scale
Résultat System.Vector2

shader public_oe property

public int shader
Résultat int

sourceRect public_oe property

public Rectangle? sourceRect
Résultat Rectangle?

texture public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics texture
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

useDestinationRectangle public_oe property

public bool useDestinationRectangle
Résultat bool