Skip to content

QueryEnumerator

Namespace Mc.Scripting · Kind struct (ref)

public ref struct QueryEnumerator

Iterates archetype chunks. Disposing early releases the native iterator.

Member Description
QueryChunk Current { get; } The current chunk.
public QueryChunk Current { get; }

The current chunk.

Member Description
void Dispose() Releases the native iterator when abandoning the loop early.
bool MoveNext() Advances to the next chunk.
public void Dispose()

Releases the native iterator when abandoning the loop early.

public bool MoveNext()

Advances to the next chunk.

Returns bool

QueryChunk