docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PhysicsColliderKeyEntityPair

    A buffer element which associates an original Unity.Entities.Entity with a child collider in a CompoundCollider through the child's ColliderKey.

    This buffer is automatically added during baking to rigid body entities whose colliders are regrouped and baked into a compound collider. It contains one entry per child in the resultant compound collider, associating the original Unity.Entities.Entity which contained the collider before creation of the compound with the compound's child collider through the child's collider key.

    .
    Implements
    IBufferElementData
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    [InternalBufferCapacity(0)]
    public struct PhysicsColliderKeyEntityPair : IBufferElementData

    Fields

    Entity

    The entity.

    Declaration
    public Entity Entity
    Field Value
    Type Description
    Entity

    Key

    The key.

    Declaration
    public ColliderKey Key
    Field Value
    Type Description
    ColliderKey

    Implements

    Unity.Entities.IBufferElementData
    In This Article
    Back to top
    Copyright © 2024 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)