C# 클래스 Project290.Physics.DebugView

파일 보기 프로젝트 열기: scastle/Solitude

공개 메소드들

메소드 설명
AppendFlags ( DebugViewFlags flags ) : void

Append flags to the current flags.

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

Draw a circle.

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

Draw a closed polygon provided in CCW order.

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

Draw a line segment.

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

Draw a solid circle.

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

Draw a solid closed polygon provided in CCW order.

DrawTransform ( Transform &transform ) : void

Draw a transform. Choose your own length scale.

RemoveFlags ( DebugViewFlags flags ) : void

Remove flags from the current flags.

보호된 메소드들

메소드 설명
DebugView ( World world ) : System

메소드 상세

AppendFlags() 공개 메소드

Append flags to the current flags.
public AppendFlags ( DebugViewFlags flags ) : void
flags DebugViewFlags The flags.
리턴 void

DebugView() 보호된 메소드

protected DebugView ( World world ) : System
world Project290.Physics.Dynamics.World
리턴 System

DrawCircle() 공개 추상적인 메소드

Draw a circle.
public abstract DrawCircle ( Vector2 center, float radius, float red, float blue, float green ) : void
center Vector2 The center.
radius float The radius.
red float The red value.
blue float The blue value.
green float The green value.
리턴 void

DrawPolygon() 공개 추상적인 메소드

Draw a closed polygon provided in CCW order.
public abstract DrawPolygon ( Vector2 vertices, int count, float red, float blue, float green ) : void
vertices Vector2 The vertices.
count int The vertex count.
red float The red value.
blue float The blue value.
green float The green value.
리턴 void

DrawSegment() 공개 추상적인 메소드

Draw a line segment.
public abstract DrawSegment ( Vector2 start, Vector2 end, float red, float blue, float green ) : void
start Vector2 The start.
end Vector2 The end.
red float The red value.
blue float The blue value.
green float The green value.
리턴 void

DrawSolidCircle() 공개 추상적인 메소드

Draw a solid circle.
public abstract DrawSolidCircle ( Vector2 center, float radius, Vector2 axis, float red, float blue, float green ) : void
center Vector2 The center.
radius float The radius.
axis Vector2 The axis.
red float The red value.
blue float The blue value.
green float The green value.
리턴 void

DrawSolidPolygon() 공개 추상적인 메소드

Draw a solid closed polygon provided in CCW order.
public abstract DrawSolidPolygon ( Vector2 vertices, int count, float red, float blue, float green ) : void
vertices Vector2 The vertices.
count int The vertex count.
red float The red value.
blue float The blue value.
green float The green value.
리턴 void

DrawTransform() 공개 추상적인 메소드

Draw a transform. Choose your own length scale.
public abstract DrawTransform ( Transform &transform ) : void
transform Transform The transform.
리턴 void

RemoveFlags() 공개 메소드

Remove flags from the current flags.
public RemoveFlags ( DebugViewFlags flags ) : void
flags DebugViewFlags The flags.
리턴 void