docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PhysicsDebugDisplayData

    Physics Debug Display Data.

    Component data containing physics debug display settings.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    PhysicsDebugDisplayMode

    ColliderDisplayMode

    Display mode for colliders.

    Declaration
    public PhysicsDebugDisplayMode ColliderDisplayMode
    Field Value
    Type Description
    PhysicsDebugDisplayMode

    ColliderEdgesDisplayMode

    Display mode for collider edges.

    Declaration
    public PhysicsDebugDisplayMode ColliderEdgesDisplayMode
    Field Value
    Type Description
    PhysicsDebugDisplayMode

    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

    Implements

    IComponentData
    IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)