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

NameType

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

NameType

runtimeComponentId

number

meshId

number

geometryName

string

meshAttributes

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3ChangedMesh


Editor3dAddDockPreview

Editor3dAddDockPreview(componentId, previewId): void

Parameters

NameType

componentId

number

previewId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dAddDockPreview


Editor3dAddMesh

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

Parameters

NameType

runtimeComponentId

number

meshId

number

geometryName

string

environmentGeometry

boolean

meshAttributes

meshBuffer

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dAddMesh


Editor3dBeginConstruction

Editor3dBeginConstruction(componentId, isDeltaUpdate): void

Parameters

NameType

componentId

number

isDeltaUpdate

boolean

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dBeginConstruction


Editor3dComponentCreated

Editor3dComponentCreated(id, position, eulerAngles, isRootComponent, parentObjectRuntimeId): void

Parameters

NameType

id

number

position

eulerAngles

isRootComponent

boolean

parentObjectRuntimeId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dComponentCreated


Editor3dComponentDocked

Editor3dComponentDocked(componentId, isRootComponent, parentId, componentPosition, componentRotation): void

Parameters

NameType

componentId

number

isRootComponent

boolean

parentId

number

componentPosition

componentRotation

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dComponentDocked


Editor3dEndConstruction

Editor3dEndConstruction(id): void

Parameters

NameType

id

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dEndConstruction


Editor3dGeometryNotReady

Editor3dGeometryNotReady(id): void

Parameters

NameType

id

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dGeometryNotReady


Editor3dGeometryReady

Editor3dGeometryReady(id): void

Parameters

NameType

id

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dGeometryReady


Editor3dPlanObjectConstructionDone

Editor3dPlanObjectConstructionDone(planObjectId): void

Parameters

NameType

planObjectId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dPlanObjectConstructionDone


Editor3dPreviewConstructionDone

Editor3dPreviewConstructionDone(componentId, _objectId): void

Parameters

NameType

componentId

number

_objectId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dPreviewConstructionDone


Editor3dRemoveMesh

Editor3dRemoveMesh(runtimeComponentId, meshId): void

Parameters

NameType

runtimeComponentId

number

meshId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dRemoveMesh


Editor3dSetPreviewLineAssociations

Editor3dSetPreviewLineAssociations(dockLines, previewId): void

Parameters

NameType

dockLines

any

previewId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dSetPreviewLineAssociations


Editor3dSetPreviewPointAssociations

Editor3dSetPreviewPointAssociations(dockPairs, previewId): void

Parameters

NameType

dockPairs

any

previewId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.Editor3dSetPreviewPointAssociations


_changeAnimationValue

_changeAnimationValue(component, parameterKey, value, animate): void

Parameters

NameType

component

parameterKey

string

value

string

animate

boolean

Returns

void


changeAnimationValue

changeAnimationValue(elementId, parameterKey, value, applyToChildren, animate): void

Parameters

NameType

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

NameType

runtimeComponentId

number

geometryChanged

boolean

Returns

void

Implementation of

ConfiguratorKernelCallbackI.componentConfigurationUpdated


componentDeleted

componentDeleted(componentId): void

Parameters

NameType

componentId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.componentDeleted


componentMetaUpdated

componentMetaUpdated(kernelComponent): void

Parameters

NameType

kernelComponent

Returns

void

Implementation of

ConfiguratorKernelCallbackI.componentMetaUpdated


configurationLoaded

configurationLoaded(conversationId, objectId, componentId, _hash, _errors): void

Parameters

NameType

conversationId

number

objectId

number

componentId

number

_hash

string

_errors

any

Returns

void

Implementation of

ConfiguratorKernelCallbackI.configurationLoaded


constructComponents

constructComponents(planObjectId): void

Parameters

NameType

planObjectId

number

Returns

void


debugSceneGraph

debugSceneGraph(id?): void

Parameters

NameType

id?

number

Returns

void


dockComponentWithPosition

dockComponentWithPosition(previewComponent, component?): void

Parameters

NameType

previewComponent

component?

Returns

void


finishParameterChange

finishParameterChange(resolve, _reject): void

Parameters

NameType

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

NameType

componentId

number

Returns

RoomleComponent


getComponents

getComponents(): RoomleComponent[]

Returns

RoomleComponent[]


getComponentsForIds

getComponentsForIds(ids): RoomleComponent[]

Parameters

NameType

ids

number[]

Returns

RoomleComponent[]


getNumberOfPossibleChildrenForComponent

getNumberOfPossibleChildrenForComponent(componentId): number

Parameters

NameType

componentId

number

Returns

number


getPreviews

getPreviews(): PreviewComponent[]

Returns

PreviewComponent[]


hasPreviewLines

hasPreviewLines(): boolean

Returns

boolean


hasPreviews

hasPreviews(): boolean

Returns

boolean


isPreview

isPreview(obj): boolean

Parameters

NameType

obj

Returns

boolean


isPreviewLine

isPreviewLine(obj): boolean

Parameters

NameType

obj

Returns

boolean


planObjectConfigurationUpdated

planObjectConfigurationUpdated(planObjectId, _configuration, _hash, pendingDocking): void

Parameters

NameType

planObjectId

number

_configuration

string

_hash

string

pendingDocking

boolean

Returns

void

Implementation of

ConfiguratorKernelCallbackI.planObjectConfigurationUpdated


planObjectCreated

planObjectCreated(conversationId, planObjectId): void

Parameters

NameType

conversationId

number

planObjectId

number

Returns

void

Implementation of

ConfiguratorKernelCallbackI.planObjectCreated


planObjectUpdated

planObjectUpdated(planObject, pendingDocking): void

Parameters

NameType

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

NameType

partId

number

Returns

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


sceneCleared

sceneCleared(): void

Returns

void

Implementation of

ConfiguratorKernelCallbackI.sceneCleared


setGeometriesMergedListener

setGeometriesMergedListener(fun): void

Parameters

NameType

fun

() => void

Returns

void


setInvalidateRenderCallback

setInvalidateRenderCallback(invalidateRenderCallback): void

Parameters

NameType

invalidateRenderCallback

() => void

Returns

void


setListener

setListener(listener): void

Parameters

Returns

void


setMergeThreshold

setMergeThreshold(threshold): void

Parameters

NameType

threshold

number

Returns

void


setRequestRenderCallback

setRequestRenderCallback(requestRenderCallback): void

Parameters

NameType

requestRenderCallback

() => void

Returns

void


setRequestRenderSceneUpdateCallback

setRequestRenderSceneUpdateCallback(requestRenderSceneUpdateCallback): void

Parameters

NameType

requestRenderSceneUpdateCallback

() => void

Returns

void


tryToMergeComponents

tryToMergeComponents(): void

Returns

void


updateAnimationParameters

updateAnimationParameters(elementId, parameters): void

Parameters

NameType

elementId

number | number[]

parameters

Returns

void

Implementation of

ConfiguratorKernelCallbackI.updateAnimationParameters

Last updated