Query
Live set of entities that have every listed component. Iterate entities; it stays dense.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Query(
components):Query
Parameters
Section titled “Parameters”components
Section titled “components”Returns
Section titled “Returns”Query
Properties
Section titled “Properties”components
Section titled “components”entities
Section titled “entities”
readonlyentities:number[]
version
Section titled “version”version:
number
Changes whenever an entity enters or leaves the query, so systems can cache work derived from entities.
