Unity - Scripting API: PhysicsVisualizationSettings
class in UnityEditor
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
This class contains the settings controlling the Physics Debug Visualization.
Static Properties
| articulationBodyColor | Color for Articulation Bodies. |
| baseAlpha | Alpha amount used for transparency blending. |
| colorVariance | Used to disinguish neighboring Colliders. |
| devOptions | Shows extra options used to develop and debug the physics visualization. |
| dirtyCount | Dirty marker used for refreshing the GUI. |
| enableMouseSelect | Enables the mouse-over highlighting and mouse selection modes. |
| forceOverdraw | Forcing the drawing of Colliders on top of any other geometry, regardless of depth. |
| kinematicColor | Color for kinematic Rigidbodies. |
| rigidbodyColor | Color for Rigidbodies, primarily active ones. |
| showCollisionGeometry | Should the PhysicsDebugWindow display the collision geometry. |
| sleepingBodyColor | Color for Rigidbodies that are controlled by the physics simulator, but are not currently being simulated. |
| staticColor | Color for Colliders that do not have a Rigidbody component. |
| terrainTilesMax | Maximum number of mesh tiles available to draw all Terrain Colliders. |
| triggerColor | Color for Colliders that are Triggers. |
| useSceneCam | Controls whether the SceneView or the GameView camera is used. Not shown in the UI. |
| viewDistance | Colliders within this distance will be displayed. |