C# Class Terraria.DataStructures.DrawData

Datei anzeigen Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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 method

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

DrawData() public method

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
return Microsoft.Xna.Framework

DrawData() public method

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
return Microsoft.Xna.Framework

DrawData() public method

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
return Microsoft.Xna.Framework

DrawData() public method

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
return Microsoft.Xna.Framework

DrawData() public method

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
return Microsoft.Xna.Framework

DrawData() public method

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
return Microsoft.Xna.Framework

DrawData() public method

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
return Microsoft.Xna.Framework

Property Details

color public_oe property

public Color,System color
return System.Color

destinationRectangle public_oe property

public Rectangle destinationRectangle
return Rectangle

effect public_oe property

public SpriteEffects effect
return SpriteEffects

ignorePlayerRotation public_oe property

public bool ignorePlayerRotation
return bool

nullRectangle public_oe static_oe property

public static Rectangle? nullRectangle
return Rectangle?

origin public_oe property

public Vector2,System origin
return System.Vector2

position public_oe property

public Vector2,System position
return System.Vector2

rotation public_oe property

public float rotation
return float

scale public_oe property

public Vector2,System scale
return System.Vector2

shader public_oe property

public int shader
return int

sourceRect public_oe property

public Rectangle? sourceRect
return Rectangle?

texture public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics texture
return Microsoft.Xna.Framework.Graphics.Texture2D

useDestinationRectangle public_oe property

public bool useDestinationRectangle
return bool