WithPresentChunkComponentRW<T>()
Add a required Chunk Component type to the query, whether or not it is enabled.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public SystemAPIQueryBuilder WithPresentChunkComponentRW<T>()
Returns
Type | Description |
|---|---|
| SystemAPIQueryBuilder | The builder object that invoked this method. |
Remarks
Call this method on the query builder to find entities that have all the specified chunk components. Chunk components are a distinct component type, which are different from adding the same type as a standard component.
To add additional required Chunk Components, call this method multiple times.