Skip to content

SpatialOptions

Defined in: src/world.ts:24

Options for EcsWorld.enableSpatial.

readonly optional withTag?: TagDef

Defined in: src/world.ts:30

Index only entities that also hold this tag. The index follows the tag being added and removed as well as the component, in either order. Omitted: every entity holding the component is indexed.