| Parameter | Description |
|---|---|
| componentTypes | An array or comma-separated list of component types. |
EntityQuery The new or cached query.
Gets the cached query for the specified component types, if one exists; otherwise, creates a new query instance and caches it.
| Parameter | Description |
|---|---|
| componentType | The type of component to query. |
EntityQuery The new or cached query.
Gets the cached query for the specified component type, if one exists; otherwise, creates a new query instance and caches it.
| Parameter | Description |
|---|---|
| componentTypes | An array of component types. |
EntityQuery The new or cached query.
Gets the cached query for the specified component types, if one exists; otherwise, creates a new query instance and caches it.
| Parameter | Description |
|---|---|
| queryDesc | An array of query description objects to be combined to define the query. |
EntityQuery The new or cached query.
Combines an array of query description objects into a single query.
This function looks for a cached query matching the combined query descriptions, and returns it if one exists; otherwise, the function creates a new query instance and caches it.
| Parameter | Description |
|---|---|
| builder | The description builder |
EntityQuery The new or cached query.
Create an entity query from a query description builder.
This function looks for a cached query matching the combined query descriptions, and returns it if one exists; otherwise, the function creates a new query instance and caches it.