|
HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.1
|
Base class for unsafe debug draw implementations - i.e. those that use pointers. More...


Protected Member Functions | |
| DebugDrawUnsafeBase () | |
| Constructor for DebugDrawUnsafeBase. | |
| unsafe void | DrawPolygon (Vec2 *vertices, int vertexCount, HexColor color, nint context) |
| Callback function to draw a closed polygon provided in CCW order. | |
| unsafe void | DrawSolidPolygon (Transform transform, Vec2 *vertices, int vertexCount, float radius, HexColor color, nint context) |
| Callback function to draw a solid closed polygon provided in CCW order. | |
| void | DrawCircle (Vec2 center, float radius, HexColor color, nint context) |
| Callback function to draw a circle. | |
| void | DrawSolidCircle (Transform transform, float radius, HexColor color, nint context) |
| Callback function to draw a solid circle. | |
| void | DrawSolidCapsule (Vec2 center1, Vec2 center2, float radius, HexColor color, nint context) |
| Callback function to draw a solid capsule. | |
| void | DrawSegment (Vec2 point1, Vec2 point2, HexColor color, nint context) |
| Callback function to draw a line segment. | |
| void | DrawTransform (Transform transform, nint context) |
| Callback function to draw a transform. Choose your own length scale. | |
| void | DrawPoint (Vec2 ppsition, float size, HexColor color, nint context) |
| Callback function to draw a point. | |
| void | DrawString (Vec2 position, nint text, HexColor color, nint context) |
| Callback function to draw a string in world space. | |
Additional Inherited Members | |
Properties inherited from Box2D.DebugDraw | |
| 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 unsafe debug draw implementations - i.e. those that use pointers.