Methods
addPluggable
-
Parameters
Returns Promise<any>
configure
-
Parameters
Returns any
- The current configuration
enableAudio
- enableAudio(sceneName: string, provider?: string): any
-
Parameters
-
sceneName: string
-
Default value provider: string = this._defaultProvider
Returns any
enterVR
- enterVR(sceneName: string, provider?: string): any
-
Parameters
-
sceneName: string
-
Default value provider: string = this._defaultProvider
Returns any
exitVR
- exitVR(sceneName: string, provider?: string): any
-
Parameters
-
sceneName: string
-
Default value provider: string = this._defaultProvider
Returns any
getSceneController
- getSceneController(sceneName: string, provider?: string): any
-
Parameters
-
sceneName: string
-
Default value provider: string = this._defaultProvider
Returns any
isMuted
- isMuted(sceneName: string, provider?: string): any
-
Parameters
-
sceneName: string
-
Default value provider: string = this._defaultProvider
Returns any
isSceneLoaded
- isSceneLoaded(sceneName: string, provider?: string): any
-
Parameters
-
sceneName: string
-
Default value provider: string = this._defaultProvider
Returns any
isVRCapable
- isVRCapable(sceneName: string, provider?: string): any
-
Parameters
-
sceneName: string
-
Default value provider: string = this._defaultProvider
Returns any
loadScene
- loadScene(sceneName: string, domElementId: string, sceneOptions?: SceneOptions, provider?: string): Promise<any>
-
Parameters
-
sceneName: string
-
domElementId: string
-
Default value sceneOptions: SceneOptions = {}
-
Default value provider: string = this._defaultProvider
Returns Promise<any>
onSceneEvent
- onSceneEvent(sceneName: string, eventName: string, eventHandler: Function, provider?: string): any
-
Parameters
-
sceneName: string
-
eventName: string
-
eventHandler: Function
-
Default value provider: string = this._defaultProvider
Returns any
setMuted
- setMuted(sceneName: string, muted: boolean, provider?: string): any
-
Parameters
-
sceneName: string
-
muted: boolean
-
Default value provider: string = this._defaultProvider
Returns any
start
- start(sceneName: string, provider?: string): any
-
Parameters
-
sceneName: string
-
Default value provider: string = this._defaultProvider
Returns any
Initialize XR with AWS configurations