Method WithPresentChunkComponent
WithPresentChunkComponent<T>()
Add a required Chunk Component type to the query, whether or not it is enabled.
Declaration
public SystemAPIQueryBuilder WithPresentChunkComponent<T>()
Returns
Type | Description |
---|---|
SystemAPIQueryBuilder | The builder object that invoked this method. |
Type Parameters
Name | Description |
---|---|
T | Component type to use as a required, read-only Chunk Component |
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.