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

GetEnumerator()

Gets the enumerator over a query.

public QueryEnumerator<T> GetEnumerator()

Returns

QueryEnumerator<T>

MoveNext()

Moves to the next component tuple in this enumeration.

public bool MoveNext()

Returns

bool

true when its possible to enumerate further, otherwise false.