C# 클래스 FarseerPhysics.DebugView.DebugViewSilverlight

A debug view shows you what happens inside the physics engine. You can view bodies, joints, fixtures and more.
상속: DebugViewBase, IDisposable
파일 보기 프로젝트 열기: tinco/Farseer-Physics 1 사용 예제들

공개 프로퍼티들

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

공개 메소드들

메소드 설명
DebugViewSilverlight ( System.Windows.Controls.Canvas debugCanvas, System.Windows.Controls.TextBlock txtDebug, 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
DrawDebugData ( ) : void

Call this to draw shapes and other debug draw data.

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, bool closed = true ) : 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
DrawTransform ( FarseerPhysics.Common.Transform &transform ) : void

비공개 메소드들

메소드 설명
DrawDebugPanel ( ) : void
DrawJoint ( Joint joint ) : void
DrawShape ( Fixture fixture, FarseerPhysics.Common.Transform xf, Color color ) : void
PreSolve ( Contact contact, Manifold &oldManifold ) : void

메소드 상세

DebugViewSilverlight() 공개 메소드

public DebugViewSilverlight ( System.Windows.Controls.Canvas debugCanvas, System.Windows.Controls.TextBlock txtDebug, World world ) : System
debugCanvas System.Windows.Controls.Canvas
txtDebug System.Windows.Controls.TextBlock
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

DrawDebugData() 공개 메소드

Call this to draw shapes and other debug draw data.
public DrawDebugData ( ) : void
리턴 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, bool closed = true ) : void
vertices Vector2
count int
red float
green float
blue float
closed bool
리턴 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

DrawTransform() 공개 메소드

public DrawTransform ( FarseerPhysics.Common.Transform &transform ) : void
transform FarseerPhysics.Common.Transform
리턴 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