HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
|
This class holds callbacks you can implement to draw a Box2D world. More...
Properties | |
unsafe DrawPolygonDelegateSafe | DrawPolygon [set] |
Callback function to draw a closed polygon provided in CCW order. | |
unsafe DrawSolidPolygonDelegateSafe | DrawSolidPolygon [set] |
Callback function to draw a solid closed polygon provided in CCW order. | |
DrawCircleDelegateSafe | DrawCircle [set] |
Callback function to draw a circle. | |
DrawSolidCircleDelegateSafe | DrawSolidCircle [set] |
Callback function to draw a solid circle. | |
DrawSolidCapsuleDelegateSafe | DrawSolidCapsule [set] |
Callback function to draw a solid capsule. | |
DrawSegmentDelegateSafe | DrawSegment [set] |
Callback function to draw a line segment. | |
DrawTransformDelegateSafe | DrawTransform [set] |
Callback function to draw a transform. Choose your own length scale. | |
DrawPointDelegateSafe | DrawPoint [set] |
Callback function to draw a point. | |
DrawStringDelegateSafe | DrawString [set] |
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. | |
This class holds callbacks you can implement to draw a Box2D world.