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 QueryEnumerableWithEntity<T1, T2, T3> WithChangeFilter<TChangeFilter1>()
Returns
Type | Description |
|---|---|
| QueryEnumerableWithEntity<T, U, V> | QueryEnumerableWithEntity, which allows enumerating over all RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities 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 QueryEnumerableWithEntity<T1, T2, T3> WithChangeFilter<TChangeFilter1, TChangeFilter2>()
Returns
Type | Description |
|---|---|
| QueryEnumerableWithEntity<T, U, V> | QueryEnumerableWithEntity, which allows enumerating over all RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query. |