@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / types / WorldEntityView
Type Alias: WorldEntityView
ts
type WorldEntityView = NonNullable<ReturnType<World["getEntityById"]>>;Defined in: types.ts:126
Lightweight, read-only view of an entity returned by World.getEntityById. Contains the entity id and its current component list at the moment of the lookup. Re-query each frame rather than caching across ticks.

