Draw Options used to control what is drawn using LowLevelPhysics2D.PhysicsWorld.Draw. Debug Drawing is only available on devices that support Compute Shaders.
Property | Description |
---|---|
Off | No drawing. |
SelectedBodies | Draw the selected bodies. |
SelectedShapes | Draw the selected shapes. |
SelectedShapeBounds | Draw the selected shape bounds. |
SelectedJoints | Draw the selected joints. |
AllBodies | Draw all bodies in the world. |
AllShapes | Draw all the shapes in the world. |
AllShapeBounds | Draw all the shape bounds in the world. |
AllJoints | Draw all the joints in the world. |
AllContactPoints | Draw all the contact points in the world. |
AllContactNormal | Draw all the contact normals in the world. |
AllContactImpulse | Draw all the contact impulses in the world. |
AllContactFriction | Draw all the contact friction (tangent) in the world. |
AllCustom | Draw all the custom drawing. |
AllSolverIslands | Draw all the solver islands in the world. |
DefaultAll | The default drawing when drawing all. Draw all the shapes, joints and custom drawing in the world. |
DefaultSelected | The default drawing when drawing selections. Draw selected shapes, joints and custom drawing in the world. |