Table of Contents

Class Query<T>

Namespace
Frent.Systems
Assembly
Frent.dll

A query over entities with the specified component types, which can be enumerated directly in foreach loops.

public class Query<T> : Query

Type Parameters

T
Inheritance
Query
Query<T>
Inherited Members
Extension Methods

Methods

GetEnumerator()

Gets an enumerator over the component references of all entities in this query. Allows this query to be used directly in foreach loops.

public QueryEnumerator<T> GetEnumerator()

Returns

QueryEnumerator<T>

WithEntities()

Enumerates component references and Entity instances for all entities in this query. Intended for use in foreach loops.

public EntityQueryEnumerator<T>.Enumerable WithEntities()

Returns

EntityQueryEnumerator<T>.Enumerable