C# 클래스 Terraria.DataStructures.DrawData

파일 보기 프로젝트 열기: EmuDevs/EDTerraria 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

메소드 상세

Draw() 공개 메소드

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

DrawData() 공개 메소드

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

DrawData() 공개 메소드

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

DrawData() 공개 메소드

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

DrawData() 공개 메소드

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

DrawData() 공개 메소드

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

DrawData() 공개 메소드

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

DrawData() 공개 메소드

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

프로퍼티 상세

color 공개적으로 프로퍼티

public Color,System color
리턴 System.Color

destinationRectangle 공개적으로 프로퍼티

public Rectangle destinationRectangle
리턴 Rectangle

effect 공개적으로 프로퍼티

public SpriteEffects effect
리턴 SpriteEffects

ignorePlayerRotation 공개적으로 프로퍼티

public bool ignorePlayerRotation
리턴 bool

nullRectangle 공개적으로 정적으로 프로퍼티

public static Rectangle? nullRectangle
리턴 Rectangle?

origin 공개적으로 프로퍼티

public Vector2,System origin
리턴 System.Vector2

position 공개적으로 프로퍼티

public Vector2,System position
리턴 System.Vector2

rotation 공개적으로 프로퍼티

public float rotation
리턴 float

scale 공개적으로 프로퍼티

public Vector2,System scale
리턴 System.Vector2

shader 공개적으로 프로퍼티

public int shader
리턴 int

sourceRect 공개적으로 프로퍼티

public Rectangle? sourceRect
리턴 Rectangle?

texture 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics texture
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

useDestinationRectangle 공개적으로 프로퍼티

public bool useDestinationRectangle
리턴 bool