C# Class Project290.Physics.DebugView

Afficher le fichier Open project: scastle/Solitude

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
DebugView ( World world ) : System

Method Details

AppendFlags() public méthode

Append flags to the current flags.
public AppendFlags ( DebugViewFlags flags ) : void
flags DebugViewFlags The flags.
Résultat void

DebugView() protected méthode

protected DebugView ( World world ) : System
world Project290.Physics.Dynamics.World
Résultat System

DrawCircle() public abstract méthode

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.
Résultat void

DrawPolygon() public abstract méthode

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.
Résultat void

DrawSegment() public abstract méthode

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.
Résultat void

DrawSolidCircle() public abstract méthode

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.
Résultat void

DrawSolidPolygon() public abstract méthode

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.
Résultat void

DrawTransform() public abstract méthode

Draw a transform. Choose your own length scale.
public abstract DrawTransform ( Transform &transform ) : void
transform Transform The transform.
Résultat void

RemoveFlags() public méthode

Remove flags from the current flags.
public RemoveFlags ( DebugViewFlags flags ) : void
flags DebugViewFlags The flags.
Résultat void