Table of Contents

Struct EcsQuery<TArchetype>.EcsQueryEnumerator

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

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

EntityRef

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()

Returns

bool