docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PolyEdge

    PolyEdge defines the edge structure for PolyMesh.

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

    Methods

    Equals(object)

    Equality comparer for PolyEdge

    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 PolyEdge and are equals

    Overrides
    ValueType.Equals(object)

    Equals(PolyEdge)

    Equality comparer for PolyEdge

    Declaration
    public bool Equals(PolyEdge p)
    Parameters
    Type Name Description
    PolyEdge p

    PolyEdge to compare to this

    Returns
    Type Description
    bool

    true if the 2 PolyEdge are equals

    GetHashCode()

    HashCode Generation

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    unique hashcode for PolyEdge

    Overrides
    ValueType.GetHashCode()

    ToString()

    Stringification of the PolyEdge data

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String representing the PolyEdge

    Overrides
    ValueType.ToString()

    Operators

    operator ==(PolyEdge, PolyEdge)

    Equality comparer for PolyEdge with == operator

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

    PolyEdge to compare

    PolyEdge b

    PolyEdge to compare to

    Returns
    Type Description
    bool

    true if the 2 elements are equals

    operator !=(PolyEdge, PolyEdge)

    Equality comparer for PolyEdge with != operator

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

    PolyEdge to compare

    PolyEdge b

    PolyEdge 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)