Skip to main content

Interface: EntitiesCreatedEvent<EntityType>

Defined in: livelink.clients/livelink.js/sources/scene/SceneEvents.ts:15

Event that is fired when one or more entities are created.

Dispatched by Scene as on-entities-created.

The browser SDK resolves entities as its proxied Entity, so the shared entity-creation event is re-exported here with its type parameter rebound to the browser Entity (the shared base defaults it to the headless entity) — consumers can write EntitiesCreatedEvent and get the browser Entity. Declared as an interface rather than a type alias so the payload it carries is documented on the type consumers actually see.

Extends

  • EntitiesCreatedEvent<EntityType>

Type Parameters

Type ParameterDefault type
EntityType extends EntityEntity

Properties

PropertyModifierTypeDescriptionOverrides
entitiesreadonlyEntityType[]The entities that were created.EntitiesCreatedEventBase.entities