Struct EcsView<TArchetype>.EntityIdEnumerator
Enumerator that wraps HashMap<long>.Enumerator and yields EntityId. Ref struct (HashMap enumerator is ref struct).
public ref struct EcsView<TArchetype>.EntityIdEnumerator
- Inherited Members
Properties
Current
The EntityId at the current position.
public EntityId Current { get; }
Property Value
Methods
GetEnumerator()
Returns this enumerator, enabling foreach directly over it.
public EcsView<TArchetype>.EntityIdEnumerator GetEnumerator()
Returns
- EcsView<TArchetype>.EntityIdEnumerator
MoveNext()
Advances to the next entity; returns false when the view is exhausted.
public bool MoveNext()