This class contains the settings controlling the Physics Debug Visualization.
関連項目: PhysicsDebugWindow.
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. |
filterWorkflow | See FilterWorkflow. |
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. |
ClearMouseHighlight | Clears the highlighted Collider. |
DeinitDebugDraw | Deinitializes the physics debug visualization system and tracking of changes Colliders. |
GetShowBoxColliders | Should BoxColliders be shown. |
GetShowCapsuleColliders | Should CapsuleColliders be shown. |
GetShowCollisionLayer | Should the given layer for the given filterWorkflow be considered by the display filter. |
GetShowCollisionLayerMask | Should the mask representing the layers for the given filterWorkflow be considered by the display filter. |
GetShowKinematicBodies | Should the kinematic Rigidbodies for the given filterWorkflow be considered by the display filter. |
GetShowMeshColliders | Should MeshColliders be shown. |
GetShowRigidbodies | Should any Rigidbodies for the given filterWorkflow be considered by the display filter. |
GetShowSleepingBodies | Should the sleeping Rigidbodies for the given filterWorkflow be considered by the display filter. |
GetShowSphereColliders | Should SphereColliders be shown. |
GetShowStaticColliders | Should the Colliders without a Rigidbody component be considered by the display filter for the given filterWorkflow. |
GetShowTerrainColliders | Should TerrainColliders be shown. |
GetShowTriggers | Should the triggers for the given filterWorkflow be considered by the display filter. |
HasMouseHighlight | Returns true if there currently is any kind of physics object highlighted. |
InitDebugDraw | Initializes the physics debug visualization system. The system must be initialized for any physics objects to be visualized. It is normally initialized by the PhysicsDebugWindow. |
Reset | Resets the visualization options to their default state. |
SetShowBoxColliders | Should BoxColliders be shown. |
SetShowCapsuleColliders | Should CapsuleColliders be shown. |
SetShowCollisionLayer | Should the given layer for the given filterWorkflow be considered by the display filter. |
SetShowCollisionLayerMask | Should the mask representing the layers for the given filterWorkflow be considered by the display filter. |
SetShowForAllFilters | Enables or disables all filtering items for the current filterWorkflow. |
SetShowKinematicBodies | Should the kinematic Rigidbodies for the given filterWorkflow be considered by the display filter. |
SetShowMeshColliders | Should MeshColliders be shown. |
SetShowRigidbodies | Should any Rigidbodies for the given filterWorkflow be considered by the display filter. |
SetShowSleepingBodies | Should the sleeping Rigidbodies for the given filterWorkflow be considered by the display filter. |
SetShowSphereColliders | Should SphereColliders be shown. |
SetShowStaticColliders | Should the Colliders without a Rigidbody component be considered by the display filter for the given filterWorkflow. |
SetShowTerrainColliders | Should TerrainColliders be shown. |
SetShowTriggers | Should the triggers for the given filterWorkflow be considered by the display filter. |
UpdateMouseHighlight | Updates the mouse-over highlight at the given mouse position in screen space. |