Hierarchy

  • Scene

Implements

Index

Constructors

constructor

  • new Scene(sceneId: string): Scene

Properties

id

id: string

name

name: string

nodes

Methods

addFile

  • addFile(path: string, folderId?: string): SceneNode
  • creates sources from file system folders and files source type depends on the file extension

    Parameters

    • path: string
    • Optional folderId: string

    Returns SceneNode

addSource

canAddSource

  • canAddSource(sourceId: string): boolean

clear

  • clear(): void

createAndAddSource

  • createAndAddSource(name: string, type: TSourceType, settings?: Dictionary<any>): SceneItem

createFolder

getFolder

getFolders

getItem

getItems

getModel

getNestedItems

getNestedScenes

  • getNestedScenes(): Scene[]

getNestedSources

  • getNestedSources(): Source[]
  • returns sources of scene + sources of nested scenes result also includes nested scenes

    Returns Source[]

getNode

getNodeByName

getNodes

getRootNodes

getSelection

getSource

makeActive

  • makeActive(): void

remove

  • remove(): void

removeFolder

  • removeFolder(folderId: string): void

removeItem

  • removeItem(sceneItemId: string): void

setName

  • setName(newName: string): void