docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CommonEdge

    Contains PolyEdge with it's accompanying common lookup edge.

    Implements
    IEquatable<CommonEdge>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Polybrush
    Assembly: Unity.Polybrush.dll
    Syntax
    public struct CommonEdge : IEquatable<CommonEdge>

    Methods

    Equals(object)

    Equality comparer for CommonEdge

    Declaration
    public override bool Equals(object b)
    Parameters
    Type Name Description
    object b

    System.Object that should be compare to this

    Returns
    Type Description
    bool

    true if the 2 elements are CommonEdge and are equals

    Overrides
    ValueType.Equals(object)

    Equals(CommonEdge)

    Equality comparer for CommonEdge

    Declaration
    public bool Equals(CommonEdge b)
    Parameters
    Type Name Description
    CommonEdge b

    CommonEdge to compare to this

    Returns
    Type Description
    bool

    true if the 2 CommonEdge are equals

    GetHashCode()

    HashCode Generation

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    unique hashcode for CommonEdge

    Overrides
    ValueType.GetHashCode()

    ToString()

    Stringification of the CommonEdge data

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String representing the CommonEdge

    Overrides
    ValueType.ToString()

    Operators

    operator ==(CommonEdge, CommonEdge)

    Equality comparer for CommonEdge with == operator

    Declaration
    public static bool operator ==(CommonEdge a, CommonEdge b)
    Parameters
    Type Name Description
    CommonEdge a

    CommonEdge to compare

    CommonEdge b

    CommonEdge to compare to

    Returns
    Type Description
    bool

    true if the 2 elements are equals

    operator !=(CommonEdge, CommonEdge)

    Equality comparer for CommonEdge with != operator

    Declaration
    public static bool operator !=(CommonEdge a, CommonEdge b)
    Parameters
    Type Name Description
    CommonEdge a

    CommonEdge to compare

    CommonEdge b

    CommonEdge to compare to

    Returns
    Type Description
    bool

    true if the 2 elements are different

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 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)