Base class for DebugDrawGeneric implementations - i.e. those that receive a managed type context.
More...
|
| DebugDrawGenericBase (TContext context) |
| Constructor for DebugDrawGenericBase.
|
|
void | DrawPolygon (ReadOnlySpan< Vec2 > vertices, HexColor color, TContext context) |
| Callback function to draw a closed polygon provided in CCW order.
|
|
void | DrawSolidPolygon (Transform transform, ReadOnlySpan< Vec2 > vertices, float radius, HexColor color, TContext context) |
| Callback function to draw a solid closed polygon provided in CCW order.
|
|
void | DrawCircle (Vec2 center, float radius, HexColor color, TContext context) |
| Callback function to draw a circle.
|
|
void | DrawSolidCircle (Transform transform, float radius, HexColor color, TContext context) |
| Callback function to draw a solid circle.
|
|
void | DrawSolidCapsule (Vec2 center1, Vec2 center2, float radius, HexColor color, TContext context) |
| Callback function to draw a solid capsule.
|
|
void | DrawSegment (Vec2 p1, Vec2 p2, HexColor color, TContext context) |
| Callback function to draw a line segment.
|
|
void | DrawTransform (Transform transform, TContext context) |
| Callback function to draw a transform. Choose your own length scale.
|
|
void | DrawPoint (Vec2 p, float size, HexColor color, TContext context) |
| Callback function to draw a point.
|
|
void | DrawString (Vec2 p, string? s, HexColor color, TContext context) |
| Callback function to draw a string in world space.
|
|
|
ref AABB | DrawingBounds [get] |
| Drawing bounds for the debug draw.
|
|
bool | UseDrawingBounds [get, set] |
| Option to restrict drawing to a rectangular region. May suffer from unstable depth sorting.
|
|
bool | DrawShapes [get, set] |
| Option to draw shapes.
|
|
bool | DrawJoints [get, set] |
| Option to draw joints.
|
|
bool | DrawJointExtras [get, set] |
| Option to draw additional information for joints.
|
|
bool | DrawBounds [get, set] |
| Option to draw the bounding boxes for shapes.
|
|
bool | DrawMass [get, set] |
| Option to draw the mass and center of mass of dynamic bodies.
|
|
bool | DrawBodyNames [get, set] |
| Option to draw body names.
|
|
bool | DrawContacts [get, set] |
| Option to draw contact points.
|
|
bool | DrawGraphColors [get, set] |
| Option to visualize the graph coloring used for contacts and joints.
|
|
bool | DrawContactNormals [get, set] |
| Option to draw contact normals.
|
|
bool | DrawContactImpulses [get, set] |
| Option to draw contact normal impulses.
|
|
bool | DrawFrictionImpulses [get, set] |
| Option to draw contact friction impulses.
|
|
bool | DrawContactFeatures [get, set] |
| Option to draw contact feature ids.
|
|
bool | DrawIslands [get, set] |
| Option to draw contact friction impulses.
|
|
Base class for DebugDrawGeneric implementations - i.e. those that receive a managed type context.