Table of Contents

Struct QueryEnumerator<T>

Namespace
Frent.Systems
Assembly
Frent.dll

Enumerates all component references of the specified types for each Entity in a query.

public ref struct QueryEnumerator<T>

Type Parameters

T
Inherited Members

Properties

Current

The current tuple of component references.

public RefTuple<T> Current { get; }

Property Value

RefTuple<T>

Methods

Dispose()

Indicates to the world that this enumeration is finished; the world might allow structual changes after this.

public void Dispose()

Remarks

This MUST be called when finished with the enumerator!

MoveNext()

Moves to the next entity set of entity references.

public bool MoveNext()

Returns

bool

true when its possible to enumerate further, otherwise false.