docs.unity3d.com
    Show / Hide Table of Contents

    Struct PhysicsCompoundData

    Component that specifies data relating to compound colliders and blobs

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Physics.Authoring
    Syntax
    [BakingType]
    public struct PhysicsCompoundData : IComponentData, IQueryTypeParameter

    Fields

    AssociateBlobToBody

    Indicates if a blob is associated to a collider

    Declaration
    public bool AssociateBlobToBody
    Field Value
    Type Description
    Boolean

    ConvertedBodyInstanceID

    Instance ID of the GameObject associated with the body

    Declaration
    public int ConvertedBodyInstanceID
    Field Value
    Type Description
    Int32

    DeferredCompoundBlob

    A flag to indicate that calculation of a compound blob should be deferred

    Declaration
    public bool DeferredCompoundBlob
    Field Value
    Type Description
    Boolean

    Hash

    A hash associated with a compound collider

    Declaration
    public Hash128 Hash
    Field Value
    Type Description
    Hash128

    RegisterBlob

    A flag to indicate that a compound collider has been calculated

    Declaration
    public bool RegisterBlob
    Field Value
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023