C# Класс Project290.Physics.DebugView

Показать файл Открыть проект

Открытые методы

Метод Описание
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