Struct Filter.Enumerator
Namespace: KenseiECS
Allocation-free enumerator over the matching entity indices, walking the dense array from the end. Removing the current entity during iteration is safe.
csharp
public ref struct Filter.EnumeratorInherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Current
Entity index at the current position.
csharp
public int Current { get; }Property Value
Methods
MoveNext()
Advances to the previous dense slot.
csharp
public bool MoveNext()Returns
False when all entities have been visited.
