Holds the results from a world component query.
Use this in a foreach loop to enumerate over the tuples of components.
public sealed class QueryResult<T> :
IEnumerable<T>,
IEnumerable,
IPoolable,
IDisposable
Inheritance System.Object > QueryResult<T>
Implements System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable, Lazlo.Gocs.IPoolable, System.IDisposable
T
The type of results, either a component or a tuple of components.
This enumerable does not allocate memory when enumerating.
However, it is disposed after a single enumeration and cannot be re-enumerated.