PhysicsWorld.DrawOptions
Draw Options limits what gets drawn to a broad selection.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Enum
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
[Flags]public enum PhysicsWorld.DrawOptions
Fields
Value | Description |
|---|---|
| AllBodies | Draw all bodies in the world. |
| AllContactForces | Draw all the contact forces in the world. |
| AllContactFriction | Draw all the contact friction (tangent) in the world. |
| AllContactNormal | Draw all the contact normals in the world. |
| AllContactPoints | Draw all the contact points in the world. |
| AllCustom | Draw all the custom drawing. |
| AllJoints | Draw all the joints in the world. |
| AllShapeBounds | Draw all the shape bounds in the world. |
| AllShapes | Draw all the shapes in the world. |
| 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. |
| Off | No drawing. |
| SelectedBodies | Draw the selected bodies. |
| SelectedJoints | Draw the selected joints. |
| SelectedShapeBounds | Draw the selected shape bounds. |
| SelectedShapes | Draw the selected shapes. |