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

    Struct Edge

    Inherited Members
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: UnityEditor.Experimental.U2D.Animation
    Syntax
    public struct Edge

    Constructors

    Edge(Int32, Int32)

    Declaration
    public Edge(int inIndex1, int inIndex2)
    Parameters
    Type Name Description
    System.Int32 inIndex1
    System.Int32 inIndex2

    Properties

    index1

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

    index2

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

    Methods

    Contains(Int32)

    Declaration
    public bool Contains(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

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

    Operators

    Equality(Edge, Edge)

    Declaration
    public static bool operator ==(Edge lhs, Edge rhs)
    Parameters
    Type Name Description
    Edge lhs
    Edge rhs
    Returns
    Type Description
    System.Boolean

    Inequality(Edge, Edge)

    Declaration
    public static bool operator !=(Edge lhs, Edge rhs)
    Parameters
    Type Name Description
    Edge lhs
    Edge rhs
    Returns
    Type Description
    System.Boolean
    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