Class PhysicsVisualizationSettings
Inheritance
PhysicsVisualizationSettings
Assembly: UnityEditor.dll
Syntax
public static class PhysicsVisualizationSettings
Properties
baseAlpha
Declaration
public static float baseAlpha { get; set; }
Property Value
colorVariance
Declaration
public static float colorVariance { get; set; }
Property Value
devOptions
Declaration
public static bool devOptions { get; set; }
Property Value
dirtyCount
Declaration
public static int dirtyCount { get; }
Property Value
dotAlpha
Declaration
public static float dotAlpha { get; set; }
Property Value
enableMouseSelect
Declaration
public static bool enableMouseSelect { get; set; }
Property Value
filterWorkflow
Declaration
public static PhysicsVisualizationSettings.FilterWorkflow filterWorkflow { get; set; }
Property Value
forceDot
Declaration
public static bool forceDot { get; set; }
Property Value
forceOverdraw
Declaration
public static bool forceOverdraw { get; set; }
Property Value
kinematicColor
Declaration
public static Color kinematicColor { get; set; }
Property Value
rigidbodyColor
Declaration
public static Color rigidbodyColor { get; set; }
Property Value
showCollisionGeometry
Declaration
public static bool showCollisionGeometry { get; set; }
Property Value
sleepingBodyColor
Declaration
public static Color sleepingBodyColor { get; set; }
Property Value
staticColor
Declaration
public static Color staticColor { get; set; }
Property Value
terrainTilesMax
Declaration
public static int terrainTilesMax { get; set; }
Property Value
triggerColor
Declaration
public static Color triggerColor { get; set; }
Property Value
useSceneCam
Declaration
public static bool useSceneCam { get; set; }
Property Value
viewDistance
Declaration
public static float viewDistance { get; set; }
Property Value
Methods
ClearMouseHighlight()
Declaration
public static void ClearMouseHighlight()
DeinitDebugDraw()
Declaration
public static void DeinitDebugDraw()
GetShowBoxColliders(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static bool GetShowBoxColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
Parameters
Returns
GetShowCapsuleColliders(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static bool GetShowCapsuleColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
Parameters
Returns
GetShowCollisionLayer(PhysicsVisualizationSettings.FilterWorkflow, Int32)
Declaration
public static bool GetShowCollisionLayer(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, int layer)
Parameters
Returns
GetShowCollisionLayerMask(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static int GetShowCollisionLayerMask(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
Parameters
Returns
GetShowKinematicBodies(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static bool GetShowKinematicBodies(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
Parameters
Returns
GetShowMeshColliders(PhysicsVisualizationSettings.FilterWorkflow, PhysicsVisualizationSettings.MeshColliderType)
Declaration
public static bool GetShowMeshColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, PhysicsVisualizationSettings.MeshColliderType colliderType)
Parameters
Returns
GetShowRigidbodies(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static bool GetShowRigidbodies(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
Parameters
Returns
GetShowSleepingBodies(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static bool GetShowSleepingBodies(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
Parameters
Returns
GetShowSphereColliders(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static bool GetShowSphereColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
Parameters
Returns
GetShowStaticColliders(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static bool GetShowStaticColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkFlow)
Parameters
Returns
GetShowTerrainColliders(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static bool GetShowTerrainColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
Parameters
Returns
GetShowTriggers(PhysicsVisualizationSettings.FilterWorkflow)
Declaration
public static bool GetShowTriggers(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
Parameters
Returns
HasMouseHighlight()
Declaration
public static bool HasMouseHighlight()
Returns
InitDebugDraw()
Declaration
public static void InitDebugDraw()
PickClosestGameObject(Camera, Int32, Vector2, GameObject[], GameObject[], out Int32)
Declaration
public static GameObject PickClosestGameObject(Camera cam, int layers, Vector2 position, GameObject[] ignore, GameObject[] filter, out int materialIndex)
Parameters
Returns
Reset()
Declaration
public static void Reset()
SetShowBoxColliders(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowBoxColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show)
Parameters
SetShowCapsuleColliders(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowCapsuleColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show)
Parameters
SetShowCollisionLayer(PhysicsVisualizationSettings.FilterWorkflow, Int32, Boolean)
Declaration
public static void SetShowCollisionLayer(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, int layer, bool show)
Parameters
SetShowCollisionLayerMask(PhysicsVisualizationSettings.FilterWorkflow, Int32)
Declaration
public static void SetShowCollisionLayerMask(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, int mask)
Parameters
|
Improve this Doc
View Source
SetShowForAllFilters(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowForAllFilters(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool selected)
Parameters
SetShowKinematicBodies(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowKinematicBodies(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show)
Parameters
SetShowMeshColliders(PhysicsVisualizationSettings.FilterWorkflow, PhysicsVisualizationSettings.MeshColliderType, Boolean)
Declaration
public static void SetShowMeshColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, PhysicsVisualizationSettings.MeshColliderType colliderType, bool show)
Parameters
SetShowRigidbodies(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowRigidbodies(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show)
Parameters
SetShowSleepingBodies(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowSleepingBodies(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show)
Parameters
SetShowSphereColliders(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowSphereColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show)
Parameters
SetShowStaticColliders(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowStaticColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show)
Parameters
SetShowTerrainColliders(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowTerrainColliders(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show)
Parameters
SetShowTriggers(PhysicsVisualizationSettings.FilterWorkflow, Boolean)
Declaration
public static void SetShowTriggers(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, bool show)
Parameters
UpdateMouseHighlight(Vector2)
Declaration
public static void UpdateMouseHighlight(Vector2 screenPos)
Parameters
Type |
Name |
Description |
Vector2 |
screenPos |
|