Skip to content

Query

Query<C>(…components): QueryBuilder<C>

Defined in: ecs/query.ts:329

Match the entities carrying every one of components, yielding the entity followed by each component’s data in the order asked for.

Read-only unless an argument is wrapped in Mut; narrow further with the builder’s with/without, or per-component with Added()/Changed().

C extends QueryArg[]

C

QueryBuilder<C>