C# 클래스 FarseerPhysics.DebugViewXNA.DebugViewXNA

A debug view that works in XNA. A debug view shows you what happens inside the physics engine. You can view bodies, joints, fixtures and more.
상속: DebugView, IDisposable
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultShapeColor Color
InactiveShapeColor Color
KinematicShapeColor Color
SleepingShapeColor Color
StaticShapeColor Color
TextColor Color

공개 메소드들

메소드 설명
DebugViewXNA ( World world ) : System
Dispose ( ) : void
DrawAABB ( AABB &aabb, Color color ) : void
DrawCircle ( Vector2 center, float radius, Color color ) : void
DrawCircle ( Vector2 center, float radius, float red, float green, float blue ) : void
DrawPoint ( Vector2 p, float size, Color color ) : void
DrawPolygon ( Vector2 vertices, int count, Color color ) : void
DrawPolygon ( Vector2 vertices, int count, float red, float green, float blue ) : void
DrawSegment ( Vector2 start, Vector2 end, Color color ) : void
DrawSegment ( Vector2 start, Vector2 end, float red, float green, float blue ) : void
DrawSolidCircle ( Vector2 center, float radius, Vector2 axis, Color color ) : void
DrawSolidCircle ( Vector2 center, float radius, Vector2 axis, float red, float green, float blue ) : void
DrawSolidPolygon ( Vector2 vertices, int count, Color color ) : void
DrawSolidPolygon ( Vector2 vertices, int count, Color color, bool outline ) : void
DrawSolidPolygon ( Vector2 vertices, int count, float red, float green, float blue ) : void
DrawString ( int x, int y, string s ) : void
DrawTransform ( Transform &transform ) : void
LoadContent ( GraphicsDevice device, Microsoft.Xna.Framework.Content.ContentManager content ) : void
RenderDebugData ( Matrix &projection ) : void
RenderDebugData ( Matrix &projection, Matrix &view ) : void

비공개 메소드들

메소드 설명
DrawDebugData ( ) : void

Call this to draw shapes and other debug draw data.

DrawDebugPanel ( ) : void
DrawJoint ( Joint joint ) : void
DrawShape ( Fixture fixture, Transform xf, Color color ) : void
PreSolve ( Contact contact, Manifold &oldManifold ) : void

메소드 상세

DebugViewXNA() 공개 메소드

public DebugViewXNA ( World world ) : System
world FarseerPhysics.Dynamics.World
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrawAABB() 공개 메소드

public DrawAABB ( AABB &aabb, Color color ) : void
aabb FarseerPhysics.Collision.AABB
color Color
리턴 void

DrawCircle() 공개 메소드

public DrawCircle ( Vector2 center, float radius, Color color ) : void
center Vector2
radius float
color Color
리턴 void

DrawCircle() 공개 메소드

public DrawCircle ( Vector2 center, float radius, float red, float green, float blue ) : void
center Vector2
radius float
red float
green float
blue float
리턴 void

DrawPoint() 공개 메소드

public DrawPoint ( Vector2 p, float size, Color color ) : void
p Vector2
size float
color Color
리턴 void

DrawPolygon() 공개 메소드

public DrawPolygon ( Vector2 vertices, int count, Color color ) : void
vertices Vector2
count int
color Color
리턴 void

DrawPolygon() 공개 메소드

public DrawPolygon ( Vector2 vertices, int count, float red, float green, float blue ) : void
vertices Vector2
count int
red float
green float
blue float
리턴 void

DrawSegment() 공개 메소드

public DrawSegment ( Vector2 start, Vector2 end, Color color ) : void
start Vector2
end Vector2
color Color
리턴 void

DrawSegment() 공개 메소드

public DrawSegment ( Vector2 start, Vector2 end, float red, float green, float blue ) : void
start Vector2
end Vector2
red float
green float
blue float
리턴 void

DrawSolidCircle() 공개 메소드

public DrawSolidCircle ( Vector2 center, float radius, Vector2 axis, Color color ) : void
center Vector2
radius float
axis Vector2
color Color
리턴 void

DrawSolidCircle() 공개 메소드

public DrawSolidCircle ( Vector2 center, float radius, Vector2 axis, float red, float green, float blue ) : void
center Vector2
radius float
axis Vector2
red float
green float
blue float
리턴 void

DrawSolidPolygon() 공개 메소드

public DrawSolidPolygon ( Vector2 vertices, int count, Color color ) : void
vertices Vector2
count int
color Color
리턴 void

DrawSolidPolygon() 공개 메소드

public DrawSolidPolygon ( Vector2 vertices, int count, Color color, bool outline ) : void
vertices Vector2
count int
color Color
outline bool
리턴 void

DrawSolidPolygon() 공개 메소드

public DrawSolidPolygon ( Vector2 vertices, int count, float red, float green, float blue ) : void
vertices Vector2
count int
red float
green float
blue float
리턴 void

DrawString() 공개 메소드

public DrawString ( int x, int y, string s ) : void
x int
y int
s string
리턴 void

DrawTransform() 공개 메소드

public DrawTransform ( Transform &transform ) : void
transform Transform
리턴 void

LoadContent() 공개 정적인 메소드

public static LoadContent ( GraphicsDevice device, Microsoft.Xna.Framework.Content.ContentManager content ) : void
device GraphicsDevice
content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

RenderDebugData() 공개 메소드

public RenderDebugData ( Matrix &projection ) : void
projection Matrix
리턴 void

RenderDebugData() 공개 메소드

public RenderDebugData ( Matrix &projection, Matrix &view ) : void
projection Matrix
view Matrix
리턴 void

프로퍼티 상세

DefaultShapeColor 공개적으로 프로퍼티

public Color DefaultShapeColor
리턴 Color

InactiveShapeColor 공개적으로 프로퍼티

public Color InactiveShapeColor
리턴 Color

KinematicShapeColor 공개적으로 프로퍼티

public Color KinematicShapeColor
리턴 Color

SleepingShapeColor 공개적으로 프로퍼티

public Color SleepingShapeColor
리턴 Color

StaticShapeColor 공개적으로 프로퍼티

public Color StaticShapeColor
리턴 Color

TextColor 공개적으로 프로퍼티

public Color TextColor
리턴 Color