Type Alias: SceneEvents<EntityType>
type SceneEvents<EntityType> = {
on-entities-created: EntitiesCreatedEvent<EntityType>;
on-entities-deleted: EntitiesDeletedEvent;
on-scene-settings-updated: SceneSettingsUpdatedEvent;
};
Defined in: livelink.clients/livelink.js/sources/scene/SceneEvents.ts:50
The events dispatched by Scene.
Declared key by key rather than aliasing the shared map so every entry points at the flavour the
browser SDK actually publishes — an alias would leave on-entities-created pointing at the
shared base class, which has no documented identity here. Structurally identical to the shared
map, so Scene needs no bridge: its inherited listener methods already carry these types.
livelink.js/tests/EventMaps.test.ts fails to compile if the two ever diverge.
Type Parameters
| Type Parameter | Default type |
|---|---|
EntityType extends Entity | Entity |
Properties
on-entities-created
on-entities-created: EntitiesCreatedEvent<EntityType>;
Defined in: livelink.clients/livelink.js/sources/scene/SceneEvents.ts:51
on-entities-deleted
on-entities-deleted: EntitiesDeletedEvent;
Defined in: livelink.clients/livelink.js/sources/scene/SceneEvents.ts:52
on-scene-settings-updated
on-scene-settings-updated: SceneSettingsUpdatedEvent;
Defined in: livelink.clients/livelink.js/sources/scene/SceneEvents.ts:53