docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Physics.dll
    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
    int

    The body index a.

    BodyIndexB

    Gets the body index b.

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

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)