C# 클래스 Fusion.Engine.Graphics.DebugRender

상속: System.DisposableBase
파일 보기 프로젝트 열기: demiurghg/FusionEngine 1 사용 예제들

공개 메소드들

메소드 설명
DebugRender ( Game game ) : System

Constructor

DrawBasis ( System.Matrix basis, float scale ) : void
DrawBox ( BoundingBox bbox, Color color ) : void
DrawBox ( BoundingBox bbox, System.Matrix transform, Color color ) : void
DrawFrustum ( BoundingFrustum frustum, Color color ) : void
DrawGrid ( int wireCount ) : void

DrawLine ( System.Vector2 p0, System.Vector2 p1, Color color ) : void

Draws line between p0 and p1

DrawLine ( System.Vector3 p0, System.Vector3 p1, Color color ) : void

Draws line between p0 and p1

DrawPoint ( System.Vector3 p, float size, Color color ) : void
DrawRing ( System.Matrix basis, float radius, Color color, float stretch = 1, int numSegments = 32 ) : void
DrawRing ( System.Vector3 origin, float radius, Color color, int numSegments = 32, float angle ) : void
DrawSphere ( System.Vector3 origin, float radius, Color color, int numSegments = 32 ) : void
DrawVector ( Vector3 origin, Vector3 dir, Color color, float scale = 1.0f ) : void
DrawWaypoint ( Vector3 p, float size, Color color ) : void
Render ( RenderTargetSurface colorBuffer, Camera camera ) : void

Trace ( Vector3 position, float size, Color color, int lifeTimeInFrames = 300 ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Dispose

비공개 메소드들

메소드 설명
DrawTracers ( ) : void

메소드 상세

DebugRender() 공개 메소드

Constructor
public DebugRender ( Game game ) : System
game Game
리턴 System

Dispose() 보호된 메소드

Dispose
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DrawBasis() 공개 메소드

public DrawBasis ( System.Matrix basis, float scale ) : void
basis System.Matrix
scale float
리턴 void

DrawBox() 공개 메소드

public DrawBox ( BoundingBox bbox, Color color ) : void
bbox BoundingBox
color Color
리턴 void

DrawBox() 공개 메소드

public DrawBox ( BoundingBox bbox, System.Matrix transform, Color color ) : void
bbox BoundingBox
transform System.Matrix
color Color
리턴 void

DrawFrustum() 공개 메소드

public DrawFrustum ( BoundingFrustum frustum, Color color ) : void
frustum BoundingFrustum
color Color
리턴 void

DrawGrid() 공개 메소드

public DrawGrid ( int wireCount ) : void
wireCount int
리턴 void

DrawLine() 공개 메소드

Draws line between p0 and p1
public DrawLine ( System.Vector2 p0, System.Vector2 p1, Color color ) : void
p0 System.Vector2
p1 System.Vector2
color Color
리턴 void

DrawLine() 공개 메소드

Draws line between p0 and p1
public DrawLine ( System.Vector3 p0, System.Vector3 p1, Color color ) : void
p0 System.Vector3
p1 System.Vector3
color Color
리턴 void

DrawPoint() 공개 메소드

public DrawPoint ( System.Vector3 p, float size, Color color ) : void
p System.Vector3
size float
color Color
리턴 void

DrawRing() 공개 메소드

public DrawRing ( System.Matrix basis, float radius, Color color, float stretch = 1, int numSegments = 32 ) : void
basis System.Matrix
radius float
color Color
stretch float
numSegments int
리턴 void

DrawRing() 공개 메소드

public DrawRing ( System.Vector3 origin, float radius, Color color, int numSegments = 32, float angle ) : void
origin System.Vector3
radius float
color Color
numSegments int
angle float
리턴 void

DrawSphere() 공개 메소드

public DrawSphere ( System.Vector3 origin, float radius, Color color, int numSegments = 32 ) : void
origin System.Vector3
radius float
color Color
numSegments int
리턴 void

DrawVector() 공개 메소드

public DrawVector ( Vector3 origin, Vector3 dir, Color color, float scale = 1.0f ) : void
origin Vector3
dir Vector3
color Color
scale float
리턴 void

DrawWaypoint() 공개 메소드

public DrawWaypoint ( Vector3 p, float size, Color color ) : void
p Vector3
size float
color Color
리턴 void

Render() 공개 메소드

public Render ( RenderTargetSurface colorBuffer, Camera camera ) : void
colorBuffer RenderTargetSurface
camera Camera
리턴 void

Trace() 공개 메소드

public Trace ( Vector3 position, float size, Color color, int lifeTimeInFrames = 300 ) : void
position Vector3
size float
color Color
lifeTimeInFrames int
리턴 void