RoomleConfigurator.Internal.default-10
configurator-core/src/roomle-configurator.internal.default
Hierarchy
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new default(creator
, offset
, mode
)
Parameters
Name | Type |
---|---|
|
|
| |
|
|
Overrides
SceneManager.constructor
Properties
_creator_
• _creator_: string
Overrides
Methods
addComponentHandlers
▸ addComponentHandlers(component
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.addComponentHandlers
addEventListener
▸ addEventListener(_listener
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Inherited from
addPreviewHandlers
▸ addPreviewHandlers(previewComponent
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.addPreviewHandlers
addPreviewLineHandlers
▸ addPreviewLineHandlers(previewLineComponent
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.addPreviewLineHandlers
cameraBehaviourChanged
▸ cameraBehaviourChanged(): void
Returns
void
Overrides
default.cameraBehaviourChanged
cancelComponentSelection
▸ cancelComponentSelection(resetCamera?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
cancelDockings
▸ cancelDockings(): void
Returns
void
cancelPreviousDockings
▸ cancelPreviousDockings(): void
Returns
void
changeEnvironmentMapIntensity
▸ changeEnvironmentMapIntensity(intensity
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
default.changeEnvironmentMapIntensity
changeFloorMaterial
▸ changeFloorMaterial(material
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
changeOffset
▸ changeOffset(offset
): void
Parameters
Name | Type |
---|---|
|
Returns
void
cleanUp
▸ cleanUp(): void
Returns
void
Inherited from
clearScene
▸ clearScene(): void
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.clearScene
Overrides
componentDeleted
▸ componentDeleted(component
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.componentDeleted
componentUpdated
▸ componentUpdated(component
, _kernelComponent
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.componentUpdated
configurationLoaded
▸ configurationLoaded(component
, isFreeFlying
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.configurationLoaded
debugScene
▸ debugScene(): Scene
Returns
Scene
debugSceneGraph
▸ debugSceneGraph(id?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
destroy
▸ destroy(): void
Returns
void
Inherited from
disableConfiguratorEvents
▸ disableConfiguratorEvents(): void
Returns
void
display
▸ display(component
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.display
enableConfiguratorEvents
▸ enableConfiguratorEvents(): void
Returns
void
enableDragIn
▸ enableDragIn(dragEvent
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
enableHD
▸ enableHD(source?
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Inherited from
exportImageFromCamera
▸ exportImageFromCamera(filename
, shouldWaitForAssets?
): Promise
<void
>
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
Returns
Promise
<void
>
Inherited from
getBounds
▸ getBounds(): Box3
Returns
Box3
Overrides
getCameraOffset
▸ getCameraOffset(): CanvasOffset
Returns
Overrides
getComponent
▸ getComponent(componentRuntimeId
): KernelComponent
Parameters
Name | Type |
---|---|
|
|
Returns
getGeometryBounds
▸ getGeometryBounds(): Box3
Returns
Box3
Overrides
getOrthographicOffsetCamera
▸ getOrthographicOffsetCamera(): OrthographicOffsetCamera
Returns
Inherited from
default.getOrthographicOffsetCamera
getScene
▸ getScene(): Scene
Returns
Scene
Inherited from
getScreenXY
▸ getScreenXY(position
): Vector3
Parameters
Name | Type |
---|---|
|
|
Returns
Vector3
handleEvent
▸ handleEvent(evt
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
hideDimensions
▸ hideDimensions(): void
Returns
void
highlightParts
▸ highlightParts(ids
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
loadDynamicLightSetting
▸ loadDynamicLightSetting(source
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
Inherited from
default.loadDynamicLightSetting
loadEnvMap
▸ loadEnvMap(url
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<void
>
Inherited from
loadSceneSettings
▸ loadSceneSettings(sceneSetting
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
Overrides
lockCamera
▸ lockCamera(): void
Returns
void
Inherited from
moveCamera
▸ moveCamera(cameraParameter
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
pause
▸ pause(): void
Returns
void
Overrides
planObjectConstructionDone
▸ planObjectConstructionDone(_planObject
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.planObjectConstructionDone
planObjectUpdated
▸ planObjectUpdated(planObject
, geometryChanged
, pendingDocking
): void
Parameters
Name | Type |
---|---|
| |
|
|
|
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.planObjectUpdated
preparePartImage
▸ preparePartImage(partId
, options
): Promise
<any
>
Parameters
Name | Type |
---|---|
|
|
|
Returns
Promise
<any
>
preparePerspectiveImage
▸ preparePerspectiveImage(options?
): Promise
<Base64Image
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<Base64Image
>
prepareTopImage
▸ prepareTopImage(options?
): Promise
<Base64Image
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<Base64Image
>
previewConstructionDone
▸ previewConstructionDone(_component
, hasPreviews
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
Implementation of
ConfiguratorViewModelCallbackI.previewConstructionDone
removeEventListener
▸ removeEventListener(_listener
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Inherited from
renderImage
▸ renderImage(renderOptions
): Promise
<Base64Image
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<Base64Image
>
requestDeleteSelectedComponent
▸ requestDeleteSelectedComponent(): void
Returns
void
requestDockingsPreview
▸ requestDockingsPreview(userInitiated
, possibleChild?
, dragEvent?
, dragIn?
): void
Parameters
Name | Type |
---|---|
|
|
| |
|
|
|
|
Returns
void
resetCameraPositionToStart
▸ resetCameraPositionToStart(): void
Returns
void
resetPreviews
▸ resetPreviews(): void
Returns
void
resume
▸ resume(): void
Returns
void
Overrides
saveConfigToIdb
▸ saveConfigToIdb(): void
Returns
void
sceneChanged
▸ sceneChanged(): void
Returns
void
Overrides
sceneCleared
▸ sceneCleared(shouldHardReset
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
selectComponent
▸ selectComponent(runtimeId
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
setBackgroundColor
▸ setBackgroundColor(hex
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
setBackgroundImage
▸ setBackgroundImage(url
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
setCameraOffset
▸ setCameraOffset(offset
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Overrides
setEnvironmentMap
▸ setEnvironmentMap(url?
, intensity?
, rotation?
, maxLightSources?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
Returns
void
Inherited from
setSelectionMode
▸ setSelectionMode(mode
): void
Parameters
Name | Type |
---|---|
|
Returns
void
showDimensions
▸ showDimensions(): Promise
<void
>
Returns
Promise
<void
>
showGUI
▸ showGUI(): void
Returns
void
Inherited from
showStats
▸ showStats(): void
Returns
void
Inherited from
unlockCamera
▸ unlockCamera(): void
Returns
void
Inherited from
updateCamera
▸ updateCamera(_changeCamera?
): void
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
Returns
void
Inherited from
updateScene
▸ updateScene(): void
Returns
void
Inherited from
zoomIn
▸ zoomIn(value?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
zoomOut
▸ zoomOut(value?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Last updated