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

creator

string

offset

mode

Overrides

SceneManager.constructor

Properties

_creator_

_creator_: string

Overrides

default.creator

Methods

addComponentHandlers

addComponentHandlers(component): void

Parameters

Name
Type

component

Returns

void

Implementation of

ConfiguratorViewModelCallbackI.addComponentHandlers


addEventListener

addEventListener(_listener): void

Parameters

Name
Type

_listener

Returns

void

Inherited from

default.addEventListener


addPreviewHandlers

addPreviewHandlers(previewComponent): void

Parameters

Name
Type

previewComponent

Returns

void

Implementation of

ConfiguratorViewModelCallbackI.addPreviewHandlers


addPreviewLineHandlers

addPreviewLineHandlers(previewLineComponent): void

Parameters

Name
Type

previewLineComponent

Returns

void

Implementation of

ConfiguratorViewModelCallbackI.addPreviewLineHandlers


animateElement

animateElement(elementId, parameterName, value, applyToChildren, animate): void

Parameters

Name
Type

elementId

number

parameterName

string

value

string

applyToChildren

boolean

animate

boolean

Returns

void


cameraBehaviourChanged

cameraBehaviourChanged(): void

Returns

void

Overrides

default.cameraBehaviourChanged


cancelComponentSelection

cancelComponentSelection(resetCamera?): void

Parameters

Name
Type

resetCamera?

boolean

Returns

void


cancelDockings

cancelDockings(): void

Returns

void


cancelPreviousDockings

cancelPreviousDockings(): void

Returns

void


changeEnvironmentMapIntensity

changeEnvironmentMapIntensity(intensity): void

Parameters

Name
Type

intensity

number

Returns

void

Inherited from

default.changeEnvironmentMapIntensity


changeFloorMaterial

changeFloorMaterial(material): Promise<void>

Parameters

Name
Type

material

Returns

Promise<void>


changeOffset

changeOffset(offset): void

Parameters

Name
Type

offset

Returns

void


cleanUp

cleanUp(): void

Returns

void

Inherited from

default.cleanUp


clearScene

clearScene(): void

Returns

void

Implementation of

ConfiguratorViewModelCallbackI.clearScene

Overrides

default.clearScene


componentDeleted

componentDeleted(component): void

Parameters

Name
Type

component

Returns

void

Implementation of

ConfiguratorViewModelCallbackI.componentDeleted


componentUpdated

componentUpdated(component, _kernelComponent): void

Parameters

Name
Type

component

_kernelComponent

Returns

void

Implementation of

ConfiguratorViewModelCallbackI.componentUpdated


configurationLoaded

configurationLoaded(component, isFreeFlying): void

Parameters

Name
Type

component

isFreeFlying

boolean

Returns

void

Implementation of

ConfiguratorViewModelCallbackI.configurationLoaded


debugScene

debugScene(): Scene

Returns

Scene


debugSceneGraph

debugSceneGraph(id?): void

Parameters

Name
Type

id?

number

Returns

void


destroy

destroy(): void

Returns

void

Inherited from

default.destroy


disableConfiguratorEvents

disableConfiguratorEvents(): void

Returns

void


disableEvents

disableEvents(): void

Returns

void


display

display(component): void

Parameters

Name
Type

component

Returns

void

Implementation of

ConfiguratorViewModelCallbackI.display


enableConfiguratorEvents

enableConfiguratorEvents(): void

Returns

void


enableDragIn

enableDragIn(dragEvent): void

Parameters

Name
Type

dragEvent

DragEvent

Returns

void


enableEvents

enableEvents(): void

Returns

void


enableHD

enableHD(source?): void

Parameters

Name
Type

source?

Returns

void

Inherited from

default.enableHD


exportCanvasScreenshot

exportCanvasScreenshot(quality?): Promise<string>

Parameters

Name
Type
Default value

quality

number

1

Returns

Promise<string>

Inherited from

default.exportCanvasScreenshot


exportImageFromCamera

exportImageFromCamera(filename, shouldWaitForAssets?): Promise<void>

Parameters

Name
Type
Default value

filename

string

undefined

shouldWaitForAssets

boolean

false

Returns

Promise<void>

Inherited from

default.exportImageFromCamera


getBounds

getBounds(): Box3

Returns

Box3

Overrides

default.getBounds


getCameraOffset

getCameraOffset(): CanvasOffset

Returns

CanvasOffset

Overrides

default.getCameraOffset


getComponent

getComponent(componentRuntimeId): KernelComponent

Parameters

Name
Type

componentRuntimeId

number

Returns

KernelComponent


getGeometryBounds

getGeometryBounds(): Box3

Returns

Box3

Overrides

default.getGeometryBounds


getOrthographicOffsetCamera

getOrthographicOffsetCamera(): OrthographicOffsetCamera

Returns

OrthographicOffsetCamera

Inherited from

default.getOrthographicOffsetCamera


getScene

getScene(): Scene

Returns

Scene

Inherited from

default.getScene


getScreenXY

getScreenXY(position): Vector3

Parameters

Name
Type

position

Vector3

Returns

Vector3


handleEvent

handleEvent(evt): void

Parameters

Name
Type

evt

Event

Returns

void

Inherited from

default.handleEvent


hideDimensions

hideDimensions(): void

Returns

void


highlightParts

highlightParts(ids): void

Parameters

Name
Type

ids

number[]

Returns

void


loadDynamicLightSetting

loadDynamicLightSetting(source): Promise<void>

Parameters

Name
Type

source

Returns

Promise<void>

Inherited from

default.loadDynamicLightSetting


loadEnvMap

loadEnvMap(url): Promise<void>

Parameters

Name
Type

url

string

Returns

Promise<void>

Inherited from

default.loadEnvMap


loadSceneSettings

loadSceneSettings(sceneSetting): Promise<void>

Parameters

Name
Type

sceneSetting

Returns

Promise<void>

Overrides

default.loadSceneSettings


lockCamera

lockCamera(): void

Returns

void

Inherited from

default.lockCamera


moveCamera

moveCamera(cameraParameter): Promise<void>

Parameters

Name
Type

cameraParameter

Returns

Promise<void>


pause

pause(): void

Returns

void

Overrides

default.pause


planObjectConstructionDone

planObjectConstructionDone(_planObject): void

Parameters

Name
Type

_planObject

Returns

void

Implementation of

ConfiguratorViewModelCallbackI.planObjectConstructionDone


planObjectUpdated

planObjectUpdated(planObject, geometryChanged, pendingDocking): void

Parameters

Name
Type

planObject

geometryChanged

boolean

pendingDocking

boolean