WithChangeFilter
Only select components in chunks in which the specified component might have changed since the last time the system updated.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
WithChangeFilter<T>()
Only select components in chunks in which the specified component might have changed since the last time the system updated.
public QueryEnumerable<T1, T2, T3, T4> WithChangeFilter<TChangeFilter1>()
Returns
Type | Description |
|---|---|
| QueryEnumerable<T, U, V, W> | QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query. |
WithChangeFilter<T, U>()
Only select components in chunks in which the specified component might have changed since the last time the system updated.
public QueryEnumerable<T1, T2, T3, T4> WithChangeFilter<TChangeFilter1, TChangeFilter2>()
Returns
Type | Description |
|---|---|
| QueryEnumerable<T, U, V, W> | QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query. |