docs.unity.cn
    Show / Hide Table of Contents

    Struct ImpulseEvent

    An impulse event.

    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 ImpulseEvent

    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.

    Impulse

    Gets the impulse.

    Declaration
    public readonly float3 Impulse { get; }
    Property Value
    Type Description
    float3

    The impulse.

    JointEntity

    Gets the joint entity.

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

    The joint entity.

    Type

    Gets the ConstraintType.

    Declaration
    public readonly ConstraintType Type { get; }
    Property Value
    Type Description
    ConstraintType

    The constraint type.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023