API ReferenceGlobalsCommonKernelAccessMock

# Class: CommonKernelAccessMock

# Hierarchy

# Implements

# Index

# Constructors

# Properties

# Accessors

# Methods

# Object literals

# Constructors

# constructor

+ new CommonKernelAccessMock(creator: string): CommonKernelAccessMock

Inherited from CommonKernelAccess.constructor

Defined in packages/common-core/src/services/common-kernel-access.ts:167

Parameters:

Name Type
creator string

Returns: CommonKernelAccessMock

# Properties

# creator

creator: string

Implementation of Context.creator

Inherited from CommonKernelAccess.creator

Defined in packages/common-core/src/services/common-kernel-access.ts:88

# Accessors

# kernelContainer

get kernelContainer(): any

Inherited from CommonKernelAccess.kernelContainer

Defined in packages/common-core/src/services/common-kernel-access.ts:199

Returns: any


# kernelInstance

get kernelInstance(): ConfiguratorKernelClass

Inherited from CommonKernelAccess.kernelInstance

Defined in packages/common-core/src/services/common-kernel-access.ts:203

Returns: ConfiguratorKernelClass

# Methods

# Editor3ChangedNamedMesh

Editor3ChangedNamedMesh(runtimeComponentId: number, meshId: string, geometryId: string, materialId: string, transform: Float32Array, uvTransform: Float32Array): void

Inherited from CommonKernelAccess.Editor3ChangedNamedMesh

Defined in packages/common-core/src/services/common-kernel-access.ts:422

Parameters:

Name Type
runtimeComponentId number
meshId string
geometryId string
materialId string
transform Float32Array
uvTransform Float32Array

Returns: void


# Editor3dAddBakedMesh

Editor3dAddBakedMesh(runtimeComponentId: number, materialId: string, vertices: Int32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, environmentGeometry: boolean): void

Inherited from CommonKernelAccess.Editor3dAddBakedMesh

Defined in packages/common-core/src/services/common-kernel-access.ts:414

Parameters:

Name Type
runtimeComponentId number
materialId string
vertices Int32Array
indices Int32Array
uvCoords Float32Array
normals Float32Array
environmentGeometry boolean

Returns: void


# Editor3dAddNamedMesh

Editor3dAddNamedMesh(runtimeComponentId: number, meshId: string, geometryId: string, materialId: string, transform: Float32Array, vertices: Int32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, environmentGeometry: boolean, uvTransform: Float32Array): void

Inherited from CommonKernelAccess.Editor3dAddNamedMesh

Defined in packages/common-core/src/services/common-kernel-access.ts:418

Parameters:

Name Type
runtimeComponentId number
meshId string
geometryId string
materialId string
transform Float32Array
vertices Int32Array
indices Int32Array
uvCoords Float32Array
normals Float32Array
environmentGeometry boolean
uvTransform Float32Array

Returns: void


# Editor3dBeginConstruction

Editor3dBeginConstruction(id: number, isDeltaUpdate: boolean): void

Inherited from CommonKernelAccess.Editor3dBeginConstruction

Defined in packages/common-core/src/services/common-kernel-access.ts:430

Parameters:

Name Type
id number
isDeltaUpdate boolean

Returns: void


# Editor3dComponentCreated

Editor3dComponentCreated(id: number, position: KernelVector3, eulerAngles: KernelVector3, parentObjectRuntimeId: number): void

Inherited from CommonKernelAccess.Editor3dComponentCreated

Defined in packages/common-core/src/services/common-kernel-access.ts:438

Parameters:

Name Type
id number
position KernelVector3
eulerAngles KernelVector3
parentObjectRuntimeId number

Returns: void


# Editor3dComponentDocked

Editor3dComponentDocked(componentId: number, parentId: number, componentPosition: KernelVector3, componentRotation: KernelVector3): void

Inherited from CommonKernelAccess.Editor3dComponentDocked

Defined in packages/common-core/src/services/common-kernel-access.ts:442

Parameters:

Name Type
componentId number
parentId number
componentPosition KernelVector3
componentRotation KernelVector3

Returns: void


# Editor3dEndConstruction

Editor3dEndConstruction(id: number): void

Inherited from CommonKernelAccess.Editor3dEndConstruction

Defined in packages/common-core/src/services/common-kernel-access.ts:434

Parameters:

Name Type
id number

Returns: void


# Editor3dGeometryNotReady

Editor3dGeometryNotReady(id: number): void

Inherited from CommonKernelAccess.Editor3dGeometryNotReady

Defined in packages/common-core/src/services/common-kernel-access.ts:451

Parameters:

Name Type
id number

Returns: void


# Editor3dGeometryReady

Editor3dGeometryReady(id: number): void

Inherited from CommonKernelAccess.Editor3dGeometryReady

Defined in packages/common-core/src/services/common-kernel-access.ts:446

Parameters:

Name Type
id number

Returns: void


# Editor3dRemoveNamedMesh

Editor3dRemoveNamedMesh(runtimeComponentId: number, geometryId: string): void

Inherited from CommonKernelAccess.Editor3dRemoveNamedMesh

Defined in packages/common-core/src/services/common-kernel-access.ts:426

Parameters:

Name Type
runtimeComponentId number
geometryId string

Returns: void


# addConfiguratorListener

addConfiguratorListener(listener: ConfiguratorKernelCallbackI): void

Inherited from CommonKernelAccess.addConfiguratorListener

Defined in packages/common-core/src/services/common-kernel-access.ts:511

Parameters:

Name Type
listener ConfiguratorKernelCallbackI

Returns: void


# addUiDataAndPriceToPartList

addUiDataAndPriceToPartList(partList: KernelPartList, hash: string): Promise‹KernelPartList

Inherited from CommonKernelAccess.addUiDataAndPriceToPartList

Defined in packages/common-core/src/services/common-kernel-access.ts:634

Parameters:

Name Type
partList KernelPartList
hash string

Returns: Promise‹KernelPartList


# addUiDataToPartList

addUiDataToPartList(partList: KernelPart[], hash: string): KernelPart[]

Inherited from CommonKernelAccess.addUiDataToPartList

Defined in packages/common-core/src/services/common-kernel-access.ts:680

Parameters:

Name Type
partList KernelPart[]
hash string

Returns: KernelPart[]


# cleanUpCallbacks

cleanUpCallbacks(): void

Inherited from CommonKernelAccess.cleanUpCallbacks

Defined in packages/common-core/src/services/common-kernel-access.ts:519

Returns: void


# componentDeleted

componentDeleted(componentId: number): void

Inherited from CommonKernelAccess.componentDeleted

Defined in packages/common-core/src/services/common-kernel-access.ts:455

Parameters:

Name Type
componentId number

Returns: void


# componentMetaUpdated

componentMetaUpdated(componentId: number): void

Inherited from CommonKernelAccess.componentMetaUpdated

Defined in packages/common-core/src/services/common-kernel-access.ts:459

Parameters:

Name Type
componentId number

Returns: void


# destroy

destroy(): void

Inherited from CommonKernelAccess.destroy

Defined in packages/common-core/src/services/common-kernel-access.ts:569

Returns: void


# dockComponentWithPosition

dockComponentWithPosition(parentId: number, parentDockId: number, childId: number, childDockId: number, position: KernelVector3): void

Inherited from CommonKernelAccess.dockComponentWithPosition

Defined in packages/common-core/src/services/common-kernel-access.ts:407

Parameters:

Name Type
parentId number
parentDockId number
childId number
childDockId number
position KernelVector3

Returns: void


# getConfigurationData

getConfigurationData(planObjectId: number): Promise‹unknown›

Inherited from CommonKernelAccess.getConfigurationData

Defined in packages/common-core/src/services/common-kernel-access.ts:325

Parameters:

Name Type
planObjectId number

Returns: Promise‹unknown›


# loadComponent

loadComponent(conversationId: number, configuration: ConfigurationObject, parentId: number): void

Inherited from CommonKernelAccess.loadComponent

Defined in packages/common-core/src/services/common-kernel-access.ts:351

Parameters:

Name Type
conversationId number
configuration ConfigurationObject
parentId number

Returns: void


# loadSubComponent

loadSubComponent(parentId: number, partId: number, componentId: string): void

Inherited from CommonKernelAccess.loadSubComponent

Defined in packages/common-core/src/services/common-kernel-access.ts:373

Parameters:

Name Type
parentId number
partId number
componentId string

Returns: void


# pause

pause(): void

Inherited from CommonKernelAccess.pause

Defined in packages/common-core/src/services/common-kernel-access.ts:560

Returns: void


# removeConfiguratorListener

removeConfiguratorListener(listener: ConfiguratorKernelCallbackI): void

Inherited from CommonKernelAccess.removeConfiguratorListener

Defined in packages/common-core/src/services/common-kernel-access.ts:515

Parameters:

Name Type
listener ConfiguratorKernelCallbackI

Returns: void


# requestDeleteComponent

requestDeleteComponent(componentId: number): void

Inherited from CommonKernelAccess.requestDeleteComponent

Defined in packages/common-core/src/services/common-kernel-access.ts:399

Parameters:

Name Type
componentId number

Returns: void


# requestMaterialProperties

requestMaterialProperties(materialIds: RapiId[]): Promise‹void›

Inherited from CommonKernelAccess.requestMaterialProperties

Defined in packages/common-core/src/services/common-kernel-access.ts:525

Parameters:

Name Type
materialIds RapiId[]

Returns: Promise‹void›


# requestMaterialsInGroup

requestMaterialsInGroup(groupIds: string[]): void

Inherited from CommonKernelAccess.requestMaterialsInGroup

Defined in packages/common-core/src/services/common-kernel-access.ts:468

Parameters:

Name Type
groupIds string[]

Returns: void


# requestPartListAndUpdatePricesOfParts

requestPartListAndUpdatePricesOfParts(hash?: ConfigurationHash, _prices?: MapArticleNumber, RapiPrice›): Promise‹void›

Inherited from CommonKernelAccess.requestPartListAndUpdatePricesOfParts

Defined in packages/common-core/src/services/common-kernel-access.ts:714

Parameters:

Name Type
hash? ConfigurationHash
_prices? MapArticleNumber, RapiPrice

Returns: Promise‹void›


# requestPlanComponentConstruction

requestPlanComponentConstruction(id: number): void

Inherited from CommonKernelAccess.requestPlanComponentConstruction

Defined in packages/common-core/src/services/common-kernel-access.ts:503

Parameters:

Name Type
id number

Returns: void


# resume

resume(): void

Inherited from CommonKernelAccess.resume

Defined in packages/common-core/src/services/common-kernel-access.ts:564

Returns: void


# sceneCleared

sceneCleared(): void

Inherited from CommonKernelAccess.sceneCleared

Defined in packages/common-core/src/services/common-kernel-access.ts:464

Returns: void

# Object literals

# _kernelContainer

#_kernelContainer: object

Defined in packages/common-core/mock/common-kernel-access-mock.ts:4

# registerConfiguratorCallback

registerConfiguratorCallback(): void

Defined in packages/common-core/mock/common-kernel-access-mock.ts:6

Returns: void

# unregisterConfiguratorCallback

unregisterConfiguratorCallback(): void

Defined in packages/common-core/mock/common-kernel-access-mock.ts:5

Returns: void