docs.unity.cn
    Show / Hide Table of Contents

    Struct ModifiableBodyPair

    A modifiable body pair.

    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 ModifiableBodyPair

    Properties

    BodyIndexA

    Gets the body index a.

    Declaration
    public readonly int BodyIndexA { get; }
    Property Value
    Type Description
    Int32

    The body index a.

    BodyIndexB

    Gets the body index b.

    Declaration
    public readonly int BodyIndexB { get; }
    Property Value
    Type Description
    Int32

    The body index b.

    EntityA

    Gets the entity a.

    Declaration
    public readonly Entity EntityA { get; }
    Property Value
    Type Description
    Entity

    The entity a.

    EntityB

    Gets the entity b.

    Declaration
    public readonly Entity EntityB { get; }
    Property Value
    Type Description
    Entity

    The entity b.

    Methods

    Disable()

    Disables this pair.

    Declaration
    public void Disable()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023