WithAbsent
Specify all read-only component types that must NOT be present.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
WithAbsent<T>()
Specify all read-only component types that must NOT be present.
public QueryEnumerable<T1, T2> WithAbsent<TComponent1>()
Returns
Type | Description |
|---|---|
| QueryEnumerable<T, U> | QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query. |
WithAbsent<T, U>()
Specify all read-only component types that must NOT be present.
public QueryEnumerable<T1, T2> WithAbsent<TComponent1, TComponent2>()
Returns
Type | Description |
|---|---|
| QueryEnumerable<T, U> | QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query. |
WithAbsent<T, U, V>()
Specify all read-only component types that must NOT be present.
public QueryEnumerable<T1, T2> WithAbsent<TComponent1, TComponent2, TComponent3>()
Returns
Type | Description |
|---|---|
| QueryEnumerable<T, U> | QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query. |