C# 클래스 SharpNeat.DomainsExtra.Box2D.OpenGLDebugDraw

Box2DX debug drawing class that redirects drawing calls to Open GL.
상속: Box2DX.Dynamics.DebugDraw
파일 보기 프로젝트 열기: colgreen/sharpneat

공개 메소드들

메소드 설명
DrawCircle ( Vec2 center, float radius, Color color ) : void

Draw a circle.

DrawPolygon ( Vec2 vertices, int vertexCount, Color color ) : void

Draw a closed polygon provided in CCW order.

DrawSegment ( Vec2 p1, Vec2 p2, Color color ) : void

Draw a line segment.

DrawSolidCircle ( Vec2 center, float radius, Vec2 axis, Color color ) : void

Draw a solid circle.

DrawSolidPolygon ( Vec2 vertices, int vertexCount, Color color ) : void

Draw a solid closed polygon provided in CCW order.

DrawXForm ( XForm xf ) : void

Draw a transform. Choose your own length scale.

메소드 상세

DrawCircle() 공개 메소드

Draw a circle.
public DrawCircle ( Vec2 center, float radius, Color color ) : void
center Box2DX.Common.Vec2
radius float
color Box2DX.Dynamics.Color
리턴 void

DrawPolygon() 공개 메소드

Draw a closed polygon provided in CCW order.
public DrawPolygon ( Vec2 vertices, int vertexCount, Color color ) : void
vertices Box2DX.Common.Vec2
vertexCount int
color Box2DX.Dynamics.Color
리턴 void

DrawSegment() 공개 메소드

Draw a line segment.
public DrawSegment ( Vec2 p1, Vec2 p2, Color color ) : void
p1 Box2DX.Common.Vec2
p2 Box2DX.Common.Vec2
color Box2DX.Dynamics.Color
리턴 void

DrawSolidCircle() 공개 메소드

Draw a solid circle.
public DrawSolidCircle ( Vec2 center, float radius, Vec2 axis, Color color ) : void
center Box2DX.Common.Vec2
radius float
axis Box2DX.Common.Vec2
color Box2DX.Dynamics.Color
리턴 void

DrawSolidPolygon() 공개 메소드

Draw a solid closed polygon provided in CCW order.
public DrawSolidPolygon ( Vec2 vertices, int vertexCount, Color color ) : void
vertices Box2DX.Common.Vec2
vertexCount int
color Box2DX.Dynamics.Color
리턴 void

DrawXForm() 공개 메소드

Draw a transform. Choose your own length scale.
public DrawXForm ( XForm xf ) : void
xf Box2DX.Common.XForm A transform.
리턴 void