docs.unity.cn
    Show / Hide Table of Contents

    Struct CompoundCollider.ColliderBlobInstance

    Input to CompoundCollider.Create(). Represents one child of the compound collider, with its' transform.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Physics
    Syntax
    public struct ColliderBlobInstance

    Fields

    Collider

    The child collider.

    Declaration
    public BlobAssetReference<Collider> Collider
    Field Value
    Type Description
    BlobAssetReference<Collider>

    CompoundFromChild

    The child transform relative to the compound collider.

    Declaration
    public RigidTransform CompoundFromChild
    Field Value
    Type Description
    RigidTransform

    Entity

    The original Entity from a hierarchy that Child is associated with, which is properly populated in Baking time. If creating a CompoundCollider in the code, you can set this field to any value you want and interpret it the way you want to.

    Declaration
    public Entity Entity
    Field Value
    Type Description
    Entity
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023