Class WingedEdgeEnumerator
Provides a way to enumerate a WingedEdge by walking the next property.
Inherited Members
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
Methods
Dispose()
Releases all resources used by the WingedEdgeEnumerator.
Declaration
public void Dispose()
Implements
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
Reset()
Sets the enumerator to its initial position: before the first element in the collection.
Declaration
public void Reset()
Implements
Explicit Interface Implementations
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
Object |