RoomleConfigurator.Internal.default-38

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

configurationExporter

• get configurationExporter(): ConfigurationExporter

Returns

ConfigurationExporter


kernelContainer

• get kernelContainer(): any

Returns

any


kernelInstance

• get kernelInstance(): ConfiguratorKernelClass

Returns

ConfiguratorKernelClass

Methods

Editor3ChangedMesh

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

Parameters

Name
Type

runtimeComponentId

number

meshId

number

geometryName

string

meshAttributes

Returns

void


Editor3dAddMesh

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

Parameters

Name
Type

runtimeComponentId

number

meshId

number

geometryName

string

environmentGeometry

boolean

meshAttributes

Returns

void


Editor3dBeginConstruction

â–¸ Editor3dBeginConstruction(id, isDeltaUpdate): void

Parameters

Name
Type

id

number

isDeltaUpdate

boolean

Returns

void


Editor3dComponentCreated

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

Parameters

Name
Type

id

number

eulerAngles

isRootComponent

boolean

parentObjectRuntimeId

number

Returns

void


Editor3dComponentDocked

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

Parameters

Name
Type

componentId

number

isRootComponent

boolean

parentId

number

componentPosition

componentRotation

Returns

void


Editor3dEndConstruction

â–¸ Editor3dEndConstruction(id): void

Parameters

Name
Type

id

number

Returns

void


Editor3dGeometryNotReady

â–¸ Editor3dGeometryNotReady(id): void

Parameters

Name
Type

id

number

Returns

void


Editor3dGeometryReady

â–¸ Editor3dGeometryReady(id): void

Parameters

Name
Type

id

number

Returns

void


Editor3dRemoveMesh

â–¸ Editor3dRemoveMesh(runtimeComponentId, meshId): void

Parameters

Name
Type

runtimeComponentId

number

meshId

number

Returns

void


addConfiguratorListener

â–¸ addConfiguratorListener(listener): void

Parameters

Returns

void


addLabelToKernelComponent

â–¸ addLabelToKernelComponent(kernelComponent): void

Parameters

Name
Type

kernelComponent

Returns

void


addUiDataAndPriceToPartList

â–¸ addUiDataAndPriceToPartList(partList, hash): Promise<KernelPartList>

Parameters

Name
Type

hash

string

Returns

Promise<KernelPartList>


addUiDataToPartList

â–¸ addUiDataToPartList(partList, hash): KernelPart[]

Parameters

Name
Type

partList

hash

string

Returns

KernelPart[]


calcPartsPriceSum

â–¸ calcPartsPriceSum(partList): Promise<KernelPartListPrice>

Parameters

Name
Type

Returns

Promise<KernelPartListPrice>


cleanUpCallbacks

â–¸ cleanUpCallbacks(): void

Returns

void


componentDeleted

â–¸ componentDeleted(componentId): void

Parameters

Name
Type

componentId

number

Returns

void


componentMetaUpdated

â–¸ componentMetaUpdated(componentId): void

Parameters

Name
Type

componentId

number

Returns

void


destroy

â–¸ destroy(): void

Returns

void

Implementation of

LifeCycleCallbacks.destroy


dockComponentWithPosition

â–¸ dockComponentWithPosition(parentId, parentDockId, childId, childDockId, position): void

Parameters

Name
Type

parentId

number

parentDockId

number

childId

number

childDockId

number

Returns

void


getConfigurationData

â–¸ getConfigurationData(planObjectId): Promise<RapiConfiguration>

Parameters

Name
Type

planObjectId

number

Returns

Promise<RapiConfiguration>


loadComponent

â–¸ loadComponent(componentIds): void

Parameters

Name
Type

componentIds

string[]

Returns

void


loadItemConfigurations

â–¸ loadItemConfigurations(itemIds): Promise<void>

Parameters

Name
Type

itemIds

string[]

Returns

Promise<void>


pause

â–¸ pause(): void

Returns

void

Implementation of

LifeCycleCallbacks.pause


removeConfiguratorListener

â–¸ removeConfiguratorListener(listener): void

Parameters

Returns

void


requestAssets

â–¸ requestAssets(requestedAssets): void

Parameters

Name
Type

requestedAssets

Returns

void


requestDeleteComponent

â–¸ requestDeleteComponent(componentId): void

Parameters

Name
Type

componentId

number

Returns

void


requestExternalMesh

â–¸ requestExternalMesh(_requestedMeshes): void

Parameters

Name
Type

_requestedMeshes

{ meshId: string ; quality: number }[]

Returns

void


requestMaterialProperties

â–¸ requestMaterialProperties(materialIds): Promise<void>

Parameters

Name
Type

materialIds

string[]

Returns

Promise<void>


requestMaterialsInGroup

â–¸ requestMaterialsInGroup(groupIds): void

Parameters

Name
Type

groupIds

string[]

Returns

void


requestPartListAndUpdatePricesOfParts

â–¸ requestPartListAndUpdatePricesOfParts(hash?, _prices?): Promise<void>

Parameters

Name
Type

hash?

string

_prices?

Map<string, RapiPrice>

Returns

Promise<void>


requestPlanComponentConstruction

â–¸ requestPlanComponentConstruction(id, useDeltaUpdates?): void

Parameters

Name
Type
Default value

id

number

undefined

useDeltaUpdates

boolean

USE_DELTA_COMPONENT_UPDATES

Returns

void


resume

â–¸ resume(): void

Returns

void

Implementation of

LifeCycleCallbacks.resume


sceneCleared

â–¸ sceneCleared(): void

Returns

void

Last updated