Class PhysicsDebugDisplayAuthoring
Physics Debug Display Authoring.
GameObject component containing physics debug display settings.
Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: Unity.Physics.Hybrid.dll
Syntax
[AddComponentMenu("Entities/Physics/Physics Debug Display")]
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.physics@latest/index.html?subfolder=/api/Unity.Physics.Authoring.PhysicsDebugDisplayAuthoring.html")]
public sealed class PhysicsDebugDisplayAuthoring : MonoBehaviour
Fields
ColliderAabbDisplayMode
The debug display mode of the colliders' axis-aligned bounding boxes.
Declaration
[Tooltip("The debug display mode for the colliders' axis-aligned bounding boxes.\n\n- Pre Integration displays the state of the data at the beginning of the simulation step, before rigid bodies have been integrated.\n- Post Integration displays the state of the data at the end of the simulation step, after rigid bodies have been integrated.")]
public PhysicsDebugDisplayMode ColliderAabbDisplayMode
Field Value
Type | Description |
---|---|
Physics |
ColliderDisplayMode
The debug display mode for colliders.
Declaration
[Tooltip("The debug display mode for colliders.\n\nPre Integration displays the state of the data at the beginning of the simulation step, before rigid bodies have been integrated.\nPost Integration displays the state of the data at the end of the simulation step, after rigid bodies have been integrated.")]
public PhysicsDebugDisplayMode ColliderDisplayMode
Field Value
Type | Description |
---|---|
Physics |
ColliderEdgesDisplayMode
The debug display mode for collider edges.
Declaration
[Tooltip("The debug display mode for collider edges.\n\n- Pre Integration displays the state of the data at the beginning of the simulation step, before rigid bodies have been integrated.\n- Post Integration displays the state of the data at the end of the simulation step, after rigid bodies have been integrated.")]
public PhysicsDebugDisplayMode ColliderEdgesDisplayMode
Field Value
Type | Description |
---|---|
Physics |
DrawBroadphase
Enables the debug display of the colliders' bounding volumes used during the Broadphase.
Declaration
[Tooltip("Enables the debug display of the colliders' bounding volumes used during the Broadphase.")]
public bool DrawBroadphase
Field Value
Type | Description |
---|---|
bool |
DrawColliderAabbs
Enables the debug display of the colliders' axis-aligned bounding boxes.
Declaration
[Tooltip("Enables the debug display of the colliders' axis-aligned bounding boxes.")]
public bool DrawColliderAabbs
Field Value
Type | Description |
---|---|
bool |
DrawColliderEdges
Enables the debug display of the colliders' edges.
Declaration
[Tooltip("Enables the debug display of the colliders' edges.")]
public bool DrawColliderEdges
Field Value
Type | Description |
---|---|
bool |
DrawColliders
Enables the debug display of the colliders.
Declaration
[Tooltip("Enables the debug display of the colliders.")]
public bool DrawColliders
Field Value
Type | Description |
---|---|
bool |
DrawCollisionEvents
Enables the debug display of the collision events.
Declaration
[Tooltip("Enables the debug display of the collision events.")]
public bool DrawCollisionEvents
Field Value
Type | Description |
---|---|
bool |
DrawContacts
Enables the debug display of the contacts detected in the Narrowphase.
Declaration
[Tooltip("Enables the debug display of the contacts detected in the Narrowphase.")]
public bool DrawContacts
Field Value
Type | Description |
---|---|
bool |
DrawJoints
Enables the debug display of the joints.
Declaration
[Tooltip("Enables the debug display of the joints.")]
public bool DrawJoints
Field Value
Type | Description |
---|---|
bool |
DrawMassProperties
Enables the debug display of the rigid body mass properties.
Declaration
[Tooltip("Enables the debug display of the rigid body mass properties.")]
public bool DrawMassProperties
Field Value
Type | Description |
---|---|
bool |
DrawTriggerEvents
Enables the debug display of the trigger events.
Declaration
[Tooltip("Enables the debug display of the trigger events.")]
public bool DrawTriggerEvents
Field Value
Type | Description |
---|---|
bool |