Struct RigidBodyAspect.Enumerator
Enumerable and Enumerator of the enclosing aspect.
Implements
Inherited Members
Namespace: Unity.Physics.Aspects
Assembly: Unity.Physics.dll
Syntax
public struct RigidBodyAspect.Enumerator : IEnumerator<RigidBodyAspect>, IEnumerator, IDisposable, IEnumerable<RigidBodyAspect>, IEnumerable
Properties
Current
Get current entity aspect.
Declaration
public RigidBodyAspect Current { get; }
Property Value
Type | Description |
---|---|
RigidBodyAspect |
Methods
Dispose()
Dispose of this enumerator.
Declaration
public void Dispose()
GetEnumerator()
Get the Enumerator from itself as a Enumerable.
Declaration
public RigidBodyAspect.Enumerator GetEnumerator()
Returns
Type | Description |
---|---|
RigidBodyAspect.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. |