Struct EcsQuery<TArchetype>.EcsQueryEnumerator
Iterates pre-collected query results, yielding read-only EntityRefs with zero-copy component access. Entities returned by query enumeration are opened as read-only — use OpenMut(EntityId) for writes.
public ref struct EcsQuery<TArchetype>.EcsQueryEnumerator
- Inherited Members
Properties
Current
The EntityRef resolved at the current position.
public EntityRef Current { get; }
Property Value
Methods
Dispose()
No-op; the enumerator holds no resources requiring release.
public void Dispose()
MoveNext()
Advances to the next matching entity, applying the WHERE post-filter; returns false at the end.
public bool MoveNext()