Struct PhysicsBody.IndexPair | 2D Entities | 0.29.0-preview.3
docs.unity.cn
    Show / Hide Table of Contents

    Struct PhysicsBody.IndexPair

    Namespace: Unity.U2D.Entities.Physics
    Syntax
    public struct IndexPair : IEquatable<PhysicsBody.IndexPair>

    Fields

    PhysicsBodyIndexA

    Declaration
    public int PhysicsBodyIndexA
    Field Value
    Type Description
    Int32

    PhysicsBodyIndexB

    Declaration
    public int PhysicsBodyIndexB
    Field Value
    Type Description
    Int32

    Properties

    Invalid

    Declaration
    public static PhysicsBody.IndexPair Invalid { get; }
    Property Value
    Type Description
    PhysicsBody.IndexPair

    IsValid

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

    Methods

    Equals(PhysicsBody.IndexPair)

    Declaration
    public bool Equals(PhysicsBody.IndexPair other)
    Parameters
    Type Name Description
    PhysicsBody.IndexPair other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 26 August 2020