QueryEnumerable<T1, T2, T3, T4>
An enumeration interface for the entities that match an EntityQuery.
Read time 1 minuteLast updated a day ago
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Implements: IEnumerable<ValueTuple<T, T, T, T>>, IEnumerable
public struct QueryEnumerable<T1, T2, T3, T4> : IEnumerable<(T1, T2, T3, T4)>, IEnumerable
Remarks
This feature is primarily intended as a backend implementation for SystemAPI.Query. Application code should prefer to use that interface rather than using this type directly.
Methods
Method | Description |
|---|---|
| GetEnumerator | Returns an enumerator over the entities in this query. |
| WithAbsent | Specify all read-only component types that must NOT be present. |
| WithAll | Specify all read-only component types that must be present AND enabled. |
| WithAny | Specify optional read-only component types (which must be enabled). |
| WithChangeFilter | Only select components in chunks in which the specified component might have changed since the last time the system updated. |
| WithDisabled | Specify all read-only component types that must be present AND disabled. |
| WithEntityAccess | Invoke this method if you wish to retrieve a tuple with an |
| WithNone | Specify component types that must be absent, or present and disabled. |
| WithOptions | Specify your own |
| WithPresent | Specify all read-only component types that must be present, whether enabled or disabled. |
| WithSharedComponentFilter | Only select chunks that have a specified value for a shared component. |