RoomleConfigurator.Internal.default-20

configurator-core/src/roomle-configurator.internal.default

Hierarchy

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

• new default(creator)

Parameters

Name
Type

creator

string

Properties

_creator_

• _creator_: string

Implementation of

Context.creator

Accessors

materialQueue

• get materialQueue(): PromiseQueue<void>

Returns

PromiseQueue<void>

Methods

Editor3ChangedMesh

â–¸ Editor3ChangedMesh(runtimeComponentId, meshId, geometryName, meshAttributes): void

Parameters

Name
Type

runtimeComponentId

number

meshId

number

geometryName

string

meshAttributes

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3ChangedMesh


Editor3dAddDockPreview

â–¸ Editor3dAddDockPreview(componentId, previewId): void

Parameters

Name
Type

componentId

number

previewId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dAddDockPreview


Editor3dAddMesh

â–¸ Editor3dAddMesh(runtimeComponentId, meshId, geometryName, environmentGeometry, meshAttributes, meshBuffer): void

Parameters

Name
Type

runtimeComponentId

number

meshId

number

geometryName

string

environmentGeometry

boolean

meshAttributes

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dAddMesh


Editor3dBeginConstruction

â–¸ Editor3dBeginConstruction(componentId, isDeltaUpdate): void

Parameters

Name
Type

componentId

number

isDeltaUpdate

boolean

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dBeginConstruction


Editor3dComponentCreated

â–¸ Editor3dComponentCreated(id, position, eulerAngles, isRootComponent, parentObjectRuntimeId): void

Parameters

Name
Type

id

number

eulerAngles

isRootComponent

boolean

parentObjectRuntimeId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dComponentCreated


Editor3dComponentDocked

â–¸ Editor3dComponentDocked(componentId, isRootComponent, parentId, componentPosition, componentRotation): void

Parameters

Name
Type

componentId

number

isRootComponent

boolean

parentId

number

componentPosition

componentRotation

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dComponentDocked


Editor3dEndConstruction

â–¸ Editor3dEndConstruction(id): void

Parameters

Name
Type

id

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dEndConstruction


Editor3dGeometryNotReady

â–¸ Editor3dGeometryNotReady(id): void

Parameters

Name
Type

id

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dGeometryNotReady


Editor3dGeometryReady

â–¸ Editor3dGeometryReady(id): void

Parameters

Name
Type

id

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dGeometryReady


Editor3dPlanObjectConstructionDone

â–¸ Editor3dPlanObjectConstructionDone(planObjectId): void

Parameters

Name
Type

planObjectId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dPlanObjectConstructionDone


Editor3dPreviewConstructionDone

â–¸ Editor3dPreviewConstructionDone(componentId, _objectId): void

Parameters

Name
Type

componentId

number

_objectId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dPreviewConstructionDone


Editor3dRemoveMesh

â–¸ Editor3dRemoveMesh(runtimeComponentId, meshId): void

Parameters

Name
Type

runtimeComponentId

number

meshId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dRemoveMesh


Editor3dSetPreviewLineAssociations

â–¸ Editor3dSetPreviewLineAssociations(dockLines, previewId): void

Parameters

Name
Type

dockLines

any

previewId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dSetPreviewLineAssociations


Editor3dSetPreviewPointAssociations

â–¸ Editor3dSetPreviewPointAssociations(dockPairs, previewId): void

Parameters

Name
Type

dockPairs

any

previewId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dSetPreviewPointAssociations


_changeAnimationValue

â–¸ _changeAnimationValue(component, parameterKey, value, animate): void

Parameters

Name
Type

parameterKey

string

value

string

animate

boolean

Returns

void


changeAnimationValue

â–¸ changeAnimationValue(elementId, parameterKey, value, applyToChildren, animate): void

Parameters

Name
Type

elementId

number

parameterKey

string

value

string

applyToChildren

boolean

animate

boolean

Returns

void

Implementation of

ConfiguratorKernelCallbackI.changeAnimationValue


clearRootComponent

â–¸ clearRootComponent(): void

Returns

void


componentConfigurationUpdated

â–¸ componentConfigurationUpdated(runtimeComponentId, geometryChanged): void

Parameters

Name
Type

runtimeComponentId

number

geometryChanged

boolean

Returns

void

Implementation of

ConfiguratorKernelCallbackI.componentConfigurationUpdated


componentDeleted

â–¸ componentDeleted(componentId): void

Parameters

Name
Type

componentId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.componentDeleted


componentMetaUpdated

â–¸ componentMetaUpdated(kernelComponent): void

Parameters

Name
Type

kernelComponent

Returns

void

Implementation of

ConfiguratorKernelCallbackI.componentMetaUpdated


configurationLoaded

â–¸ configurationLoaded(conversationId, objectId, componentId, _hash, _errors): void

Parameters

Name
Type

conversationId

number

objectId

number

componentId

number

_hash

string

_errors

any

Returns

void

Implementation of

ConfiguratorKernelCallbackI.configurationLoaded


constructComponents

â–¸ constructComponents(planObjectId): void

Parameters

Name
Type

planObjectId

number

Returns

void


debugSceneGraph

â–¸ debugSceneGraph(id?): void

Parameters

Name
Type

id?

number

Returns

void


dockComponentWithPosition

â–¸ dockComponentWithPosition(previewComponent, component?): void

Parameters

Name
Type

previewComponent

component?

Returns

void


finishParameterChange

â–¸ finishParameterChange(resolve, _reject): void

Parameters

Name
Type

resolve

() => void

_reject

() => void

Returns

void

Implementation of

ConfiguratorKernelCallbackI.finishParameterChange


getBoundingBox

â–¸ getBoundingBox(): Box3

Returns

Box3


getBoundingBoxOfGeometry

â–¸ getBoundingBoxOfGeometry(): Box3

Returns

Box3


getBoundingBoxWithPreviews

â–¸ getBoundingBoxWithPreviews(): Box3

Returns

Box3


getComponent

â–¸ getComponent(componentId): RoomleComponent

Parameters

Name
Type

componentId

number

Returns

RoomleComponent


getComponents

â–¸ getComponents(): RoomleComponent[]

Returns

RoomleComponent[]


getComponentsForIds

â–¸ getComponentsForIds(ids): RoomleComponent[]

Parameters

Name
Type

ids

number[]

Returns

RoomleComponent[]


getNumberOfPossibleChildrenForComponent

â–¸ getNumberOfPossibleChildrenForComponent(componentId): number

Parameters

Name
Type

componentId

number

Returns

number


getPreviews

â–¸ getPreviews(): PreviewComponent[]

Returns

PreviewComponent[]


hasPreviewLines

â–¸ hasPreviewLines(): boolean

Returns

boolean


hasPreviews

â–¸ hasPreviews(): boolean

Returns

boolean


isPreview

â–¸ isPreview(obj): boolean

Parameters

Name
Type

Returns

boolean


isPreviewLine

â–¸ isPreviewLine(obj): boolean

Parameters

Name
Type

Returns

boolean


planObjectConfigurationUpdated

â–¸ planObjectConfigurationUpdated(planObjectId, _configuration, _hash, pendingDocking): void

Parameters

Name
Type

planObjectId

number

_configuration

string

_hash

string

pendingDocking

boolean

Returns

void

Implementation of

ConfiguratorKernelCallbackI.planObjectConfigurationUpdated


planObjectCreated

â–¸ planObjectCreated(conversationId, planObjectId): void

Parameters

Name
Type

conversationId

number

planObjectId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.planObjectCreated


planObjectUpdated

â–¸ planObjectUpdated(planObject, pendingDocking): void

Parameters

Name
Type

planObject

pendingDocking

boolean

Returns

void

Implementation of

ConfiguratorKernelCallbackI.planObjectUpdated


removeDockingComponent

â–¸ removeDockingComponent(): void

Returns

void


removeGeometriesMergedListener

â–¸ removeGeometriesMergedListener(): void

Returns

void


removePreviews

â–¸ removePreviews(): void

Returns

void


requestSubPartConstruction

â–¸ requestSubPartConstruction(partId): Promise<Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>>

Parameters

Name
Type

partId

number

Returns

Promise<Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>>


sceneCleared

â–¸ sceneCleared(): void

Returns

void

Implementation of

ConfiguratorKernelCallbackI.sceneCleared


setGeometriesMergedListener

â–¸ setGeometriesMergedListener(fun): void

Parameters

Name
Type

fun

() => void

Returns

void


setInvalidateRenderCallback

â–¸ setInvalidateRenderCallback(invalidateRenderCallback): void

Parameters

Name
Type

invalidateRenderCallback

() => void

Returns

void


setListener

â–¸ setListener(listener): void

Parameters

Returns

void


setMergeThreshold

â–¸ setMergeThreshold(threshold): void

Parameters

Name
Type

threshold

number

Returns

void


setRequestRenderCallback

â–¸ setRequestRenderCallback(requestRenderCallback): void

Parameters

Name
Type

requestRenderCallback

() => void

Returns

void


setRequestRenderSceneUpdateCallback

â–¸ setRequestRenderSceneUpdateCallback(requestRenderSceneUpdateCallback): void

Parameters

Name
Type

requestRenderSceneUpdateCallback

() => void

Returns

void


tryToMergeComponents

â–¸ tryToMergeComponents(): void

Returns

void


updateAnimationParameters

â–¸ updateAnimationParameters(elementId, parameters): void

Parameters

Name
Type

elementId

number | number[]

parameters

Returns

void

Implementation of

ConfiguratorKernelCallbackI.updateAnimationParameters

Last updated