docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WingedEdgeEnumerator

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

    Inheritance
    object
    WingedEdgeEnumerator
    Implements
    IEnumerator<WingedEdge>
    IEnumerator
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.ProBuilder
    Assembly: Unity.ProBuilder.dll
    Syntax
    public sealed class WingedEdgeEnumerator : IEnumerator<WingedEdge>, IEnumerator, IDisposable

    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

    Methods

    Dispose()

    Releases all resources used by the WingedEdgeEnumerator.

    Declaration
    public void Dispose()

    MoveNext()

    Advances the enumerator to the next WingedEdge in the collection.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    bool

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

    Reset()

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

    Declaration
    public void Reset()

    Implements

    IEnumerator<T>
    IEnumerator
    IDisposable
    In This Article
    Back to top
    Copyright © 2024 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)