Struct Scheduler.DispatchPair | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Scheduler.DispatchPair

    Namespace: Unity.Physics
    Syntax
    public struct DispatchPair

    Fields

    Invalid

    Declaration
    public static Scheduler.DispatchPair Invalid
    Field Value
    Type Description
    Scheduler.DispatchPair

    Properties

    BodyAIndex

    Declaration
    public int BodyAIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    BodyBIndex

    Declaration
    public int BodyBIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    IsContact

    Declaration
    public bool IsContact { get; }
    Property Value
    Type Description
    System.Boolean

    IsJoint

    Declaration
    public bool IsJoint { get; }
    Property Value
    Type Description
    System.Boolean

    IsValid

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    System.Boolean

    JointAllowsCollision

    Declaration
    public bool JointAllowsCollision { get; }
    Property Value
    Type Description
    System.Boolean

    JointIndex

    Declaration
    public int JointIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    CreateContact(BodyIndexPair)

    Declaration
    public static Scheduler.DispatchPair CreateContact(BodyIndexPair pair)
    Parameters
    Type Name Description
    BodyIndexPair pair
    Returns
    Type Description
    Scheduler.DispatchPair

    CreateJoint(BodyIndexPair, Int32, Int32)

    Declaration
    public static Scheduler.DispatchPair CreateJoint(BodyIndexPair pair, int jointIndex, int allowCollision)
    Parameters
    Type Name Description
    BodyIndexPair pair
    System.Int32 jointIndex
    System.Int32 allowCollision
    Returns
    Type Description
    Scheduler.DispatchPair
    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