Table of Contents

Struct EntityQueryEnumerator<T>

Namespace
Frent.Systems
Assembly
Frent.dll

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

public ref struct EntityQueryEnumerator<T>

Type Parameters

T
Inherited Members

Properties

Current

The current tuple of component references and the Entity instance.

public EntityRefTuple<T> Current { get; }

Property Value

EntityRefTuple<T>

Methods

Dispose()

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

public void Dispose()

MoveNext()

Moves to the next entity and its components in this enumeration.

public bool MoveNext()

Returns

bool

true when its possible to enumerate further, otherwise false.