docs.unity3d.com
    Show / Hide Table of Contents

    Interface ISimulationEvent<T>

    An event raised when a pair of bodies interact during solving.

    Inherited Members
    IComparable<T>.CompareTo(T)
    Namespace: Unity.Physics
    Syntax
    public interface ISimulationEvent<T> : IComparable<T>
    Type Parameters
    Name Description
    T

    Generic type parameter.

    Properties

    BodyIndexA

    Gets the body index a.

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

    The body index a.

    BodyIndexB

    Gets the body index b.

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

    The body index b.

    ColliderKeyA

    Gets the collider key a.

    Declaration
    ColliderKey ColliderKeyA { get; }
    Property Value
    Type Description
    ColliderKey

    The collider key a.

    ColliderKeyB

    Gets the collider key b.

    Declaration
    ColliderKey ColliderKeyB { get; }
    Property Value
    Type Description
    ColliderKey

    The collider key b.

    EntityA

    Gets the entity a.

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

    The entity a.

    EntityB

    Gets the entity b.

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

    The entity b.

    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