configurator-core/src/roomle-configurator.
# Implements
# Table of contents
# Constructors
# Properties
# Methods
- addPlugin
- clearScene
- getActivePlugins
- getPlugin
- init
- moveCameraEnd
- moveCameraStart
- needsUiScene
- updateBounds
# Constructors
# constructor
• new default(creator
)
# Parameters
Name | Type |
---|---|
creator | string |
# Properties
# _creator_
• _creator_: string
# Implementation of
# Methods
# addPlugin
▸ addPlugin(plugin
): void
# Parameters
Name | Type |
---|---|
plugin | ScenePlugin |
# Returns
void
# clearScene
▸ clearScene(scene
, uiScene
): void
# Parameters
Name | Type |
---|---|
scene | Scene |
uiScene | Scene |
# Returns
void
# Implementation of
# getActivePlugins
▸ getActivePlugins(): ScenePlugin
[]
# Returns
# getPlugin
▸ getPlugin<T
>(type
): T
# Type parameters
Name | Type |
---|---|
T | extends ScenePlugin |
# Parameters
Name | Type |
---|---|
type | any |
# Returns
T
# init
▸ init(scene
, uiScene
, cameraPosition
): Promise
<void
>
# Parameters
Name | Type |
---|---|
scene | Scene |
uiScene | Scene |
cameraPosition | Vector3 |
# Returns
Promise
<void
>
# moveCameraEnd
▸ moveCameraEnd(position
): void
# Parameters
Name | Type |
---|---|
position | Vector3 |
# Returns
void
# Implementation of
ScenePluginHooks.moveCameraEnd
# moveCameraStart
▸ moveCameraStart(position
): void
# Parameters
Name | Type |
---|---|
position | Vector3 |
# Returns
void
# Implementation of
ScenePluginHooks.moveCameraStart
# needsUiScene
▸ needsUiScene(): boolean
# Returns
boolean
# Implementation of
# updateBounds
▸ updateBounds(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void