Struct PhysicsDebugDisplayData
Physics Debug Display Data.
Component data containing physics debug display settings.
Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: Unity.Physics.Hybrid.dll
Syntax
public struct PhysicsDebugDisplayData : IComponentData, IQueryTypeParameter
Fields
ColliderAabbDisplayMode
Display mode for the colliders' axis-aligned bounding boxes.
Declaration
public PhysicsDebugDisplayMode ColliderAabbDisplayMode
Field Value
Type | Description |
---|---|
Physics |
ColliderDisplayMode
Display mode for colliders.
Declaration
public PhysicsDebugDisplayMode ColliderDisplayMode
Field Value
Type | Description |
---|---|
Physics |
ColliderEdgesDisplayMode
Display mode for collider edges.
Declaration
public PhysicsDebugDisplayMode ColliderEdgesDisplayMode
Field Value
Type | Description |
---|---|
Physics |
DrawBroadphase
Enable or disable debug display of the colliders' bounding volume used during the Broadphase.
Declaration
public int DrawBroadphase
Field Value
Type | Description |
---|---|
int |
DrawColliderAabbs
Enable or disable debug display of the colliders' axis-aligned bounding boxes.
Declaration
public int DrawColliderAabbs
Field Value
Type | Description |
---|---|
int |
DrawColliderEdges
Enable or disable debug display of collider edges.
Declaration
public int DrawColliderEdges
Field Value
Type | Description |
---|---|
int |
DrawColliders
Enable or disable collider debug display.
Declaration
public int DrawColliders
Field Value
Type | Description |
---|---|
int |
DrawCollisionEvents
Enable or disable the collision events debug display.
Declaration
public int DrawCollisionEvents
Field Value
Type | Description |
---|---|
int |
DrawContacts
Enable or disable debug display of the contacts detected in the Narrowphase.
Declaration
public int DrawContacts
Field Value
Type | Description |
---|---|
int |
DrawJoints
Enable or disable the joints debug display.
Declaration
public int DrawJoints
Field Value
Type | Description |
---|---|
int |
DrawMassProperties
Enable or disable debug display of the mass properties of rigid bodies.
Declaration
public int DrawMassProperties
Field Value
Type | Description |
---|---|
int |
DrawTriggerEvents
Enable or disable the trigger events debug display.
Declaration
public int DrawTriggerEvents
Field Value
Type | Description |
---|---|
int |