Skip to content

Home > @esengine/ecs-framework-monorepo > ComponentIndexManager > query

ComponentIndexManager.query() method

查询包含指定组件的实体

Signature:

typescript
query(componentType: ComponentType): Set<Entity>;

Parameters

Parameter

Type

Description

componentType

ComponentType

Returns:

Set<Entity>

基于 MIT 许可证发布