docs.unity3d.com
    Show / Hide Table of Contents

    Class WingedEdgeEnumerator

    Provides a way to enumerate a WingedEdge by walking the next property.

    Inheritance
    Object
    WingedEdgeEnumerator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.ProBuilder
    Syntax
    public sealed class WingedEdgeEnumerator : IEnumerator<WingedEdge>, IDisposable, IEnumerator

    Constructors

    WingedEdgeEnumerator(WingedEdge)

    Initializes the enumeration by specifying which WingedEdge object to start with.

    Declaration
    public WingedEdgeEnumerator(WingedEdge start)
    Parameters
    Type Name Description
    WingedEdge start

    Specify which WingedEdge object to start walking from.

    Properties

    Current

    Gets the WingedEdge in the collection at the current position of the enumerator.

    Declaration
    public WingedEdge Current { get; }
    Property Value
    Type Description
    WingedEdge
    Implements
    IEnumerator<T>.Current

    Methods

    Dispose()

    Releases all resources used by the WingedEdgeEnumerator.

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()

    MoveNext()

    Advances the enumerator to the next WingedEdge in the collection.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

    True if the MoveNext succeeded; false if not (for example, if the enumerator passed the end of the collection).

    Implements
    IEnumerator.MoveNext()

    Reset()

    Sets the enumerator to its initial position: before the first element in the collection.

    Declaration
    public void Reset()
    Implements
    IEnumerator.Reset()

    Explicit Interface Implementations

    IEnumerator.Current

    Declaration
    object IEnumerator.Current { get; }
    Returns
    Type Description
    Object
    Implements
    IEnumerator.Current
    Back to top
    Terms of use
    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