Struct ColliderAspect.Enumerator
Enumerable and Enumerator of the enclosing aspect.
Implements
Inherited Members
Namespace: Unity.Physics.Aspects
Assembly: Unity.Physics.dll
Syntax
public struct ColliderAspect.Enumerator : IEnumerator<ColliderAspect>, IEnumerator, IDisposable, IEnumerable<ColliderAspect>, IEnumerable
Properties
Current
Get current entity aspect.
Declaration
public ColliderAspect Current { get; }
Property Value
Type | Description |
---|---|
ColliderAspect |
Methods
Dispose()
Dispose of this enumerator.
Declaration
public void Dispose()
GetEnumerator()
Get the Enumerator from itself as a Enumerable.
Declaration
public ColliderAspect.Enumerator GetEnumerator()
Returns
Type | Description |
---|---|
ColliderAspect.Enumerator | An Enumerator of the enclosing aspect. |
MoveNext()
Move to next entity.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
bool | if this enumerator has not reach the end of the enumeration yet. Current is valid. |