Class Query<T>
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
-
QueryQuery<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
WithEntities()
Enumerates component references and Entity instances for all entities in this query. Intended for use in foreach loops.
public EntityQueryEnumerator<T>.Enumerable WithEntities()