Interface IScenesServiceApi

Api for scenes management

Implemented by

Hierarchy

  • IScenesServiceApi

Index

Properties

activeScene

activeScene: ISceneApi

activeSceneId

activeSceneId: string

itemAdded

itemAdded: Observable<ISceneItem>

itemRemoved

itemRemoved: Observable<ISceneItem>

itemUpdated

itemUpdated: Observable<ISceneItem>

sceneAdded

sceneAdded: Observable<IScene>

sceneRemoved

sceneRemoved: Observable<IScene>

sceneSwitched

sceneSwitched: Observable<IScene>

scenes

scenes: ISceneApi[]

Methods

createScene

getModel

getSceneByName

getScenes

makeSceneActive

  • makeSceneActive(id: string): boolean

removeScene

  • removeScene(id: string): IScene

suggestName

  • suggestName(name: string): string