API Reference › Globals › ConfiguratorKernelCallbackI
# Interface: ConfiguratorKernelCallbackI
# Hierarchy
CommonConfiguratorKernelCallbackI
↳ ConfiguratorKernelCallbackI
# Implemented by
# Index
# Methods
- Editor3ChangedNamedMesh
- Editor3dAddBakedMesh
- Editor3dAddDockPreview
- Editor3dAddNamedMesh
- Editor3dBeginConstruction
- Editor3dComponentCreated
- Editor3dComponentDocked
- Editor3dEndConstruction
- Editor3dGeometryNotReady
- Editor3dGeometryReady
- Editor3dPlanObjectConstructionDone
- Editor3dPreviewConstructionDone
- Editor3dRemoveNamedMesh
- Editor3dSetPreviewLineAssociations
- Editor3dSetPreviewPointAssociations
- componentConfigurationUpdated
- componentDeleted
- componentMetaUpdated
- configurationLoaded
- finishParameterChange
- planObjectConfigurationUpdated
- planObjectCreated
- planObjectUpdated
- sceneCleared
# Methods
# Editor3ChangedNamedMesh
▸ Editor3ChangedNamedMesh(runtimeComponentId
: number, meshId
: string, geometryId
: string, materiadlId
: string, transform
: Float32Array): void
Inherited from CommonConfiguratorKernelCallbackI.Editor3ChangedNamedMesh
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:10
Parameters:
Name | Type |
---|---|
runtimeComponentId | number |
meshId | string |
geometryId | string |
materiadlId | string |
transform | Float32Array |
Returns: void
# Editor3dAddBakedMesh
▸ Editor3dAddBakedMesh(runtimeComponentId
: number, materialId
: string, vertices
: Int32Array, indices
: Int32Array, uvCoords
: Float32Array, normals
: Float32Array, environmentGeometry
: boolean): void
Inherited from CommonConfiguratorKernelCallbackI.Editor3dAddBakedMesh
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:6
Parameters:
Name | Type |
---|---|
runtimeComponentId | number |
materialId | string |
vertices | Int32Array |
indices | Int32Array |
uvCoords | Float32Array |
normals | Float32Array |
environmentGeometry | boolean |
Returns: void
# Editor3dAddDockPreview
▸ Editor3dAddDockPreview(componentId
: number, previewId
: number): void
Defined in packages/common-core/src/configurator-kernel-access.ts:46
Parameters:
Name | Type |
---|---|
componentId | number |
previewId | number |
Returns: void
# Editor3dAddNamedMesh
▸ Editor3dAddNamedMesh(runtimeComponentId
: number, meshId
: string, geometryId
: string, materialId
: string, transform
: Float32Array, vertices
: Int32Array, indices
: Int32Array, uvCoords
: Float32Array, normals
: Float32Array, environmentGeometry
: boolean): void
Inherited from CommonConfiguratorKernelCallbackI.Editor3dAddNamedMesh
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:8
Parameters:
Name | Type |
---|---|
runtimeComponentId | number |
meshId | string |
geometryId | string |
materialId | string |
transform | Float32Array |
vertices | Int32Array |
indices | Int32Array |
uvCoords | Float32Array |
normals | Float32Array |
environmentGeometry | boolean |
Returns: void
# Editor3dBeginConstruction
▸ Editor3dBeginConstruction(componentId
: number, isDeltaUpdate
: boolean): void
Inherited from CommonConfiguratorKernelCallbackI.Editor3dBeginConstruction
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:18
Parameters:
Name | Type |
---|---|
componentId | number |
isDeltaUpdate | boolean |
Returns: void
# Editor3dComponentCreated
▸ Editor3dComponentCreated(id
: number, position
: KernelVector3, eulerAngles
: KernelVector3, parentObjectRuntimeId
: number, isRootComponent
: boolean): void
Inherited from CommonConfiguratorKernelCallbackI.Editor3dComponentCreated
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:4
Parameters:
Name | Type |
---|---|
id | number |
position | KernelVector3 |
eulerAngles | KernelVector3 |
parentObjectRuntimeId | number |
isRootComponent | boolean |
Returns: void
# Editor3dComponentDocked
▸ Editor3dComponentDocked(componentId
: number, parentId
: number, componentPosition
: KernelVector3, componentRotation
: KernelVector3): void
Overrides CommonConfiguratorKernelCallbackI.Editor3dComponentDocked
Defined in packages/common-core/src/configurator-kernel-access.ts:56
Parameters:
Name | Type |
---|---|
componentId | number |
parentId | number |
componentPosition | KernelVector3 |
componentRotation | KernelVector3 |
Returns: void
# Editor3dEndConstruction
▸ Editor3dEndConstruction(id
: number): void
Inherited from CommonConfiguratorKernelCallbackI.Editor3dEndConstruction
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:20
Parameters:
Name | Type |
---|---|
id | number |
Returns: void
# Editor3dGeometryNotReady
▸ Editor3dGeometryNotReady(id
: number): void
Inherited from CommonConfiguratorKernelCallbackI.Editor3dGeometryNotReady
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:26
Parameters:
Name | Type |
---|---|
id | number |
Returns: void
# Editor3dGeometryReady
▸ Editor3dGeometryReady(id
: number): void
Inherited from CommonConfiguratorKernelCallbackI.Editor3dGeometryReady
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:24
Parameters:
Name | Type |
---|---|
id | number |
Returns: void
# Editor3dPlanObjectConstructionDone
▸ Editor3dPlanObjectConstructionDone(planObjectId
: number): void
Defined in packages/common-core/src/configurator-kernel-access.ts:54
Parameters:
Name | Type |
---|---|
planObjectId | number |
Returns: void
# Editor3dPreviewConstructionDone
▸ Editor3dPreviewConstructionDone(componentId
: number, objectId
: number): void
Defined in packages/common-core/src/configurator-kernel-access.ts:52
Parameters:
Name | Type |
---|---|
componentId | number |
objectId | number |
Returns: void
# Editor3dRemoveNamedMesh
▸ Editor3dRemoveNamedMesh(runtimeComponentId
: number, geometryId
: string): void
Inherited from CommonConfiguratorKernelCallbackI.Editor3dRemoveNamedMesh
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:12
Parameters:
Name | Type |
---|---|
runtimeComponentId | number |
geometryId | string |
Returns: void
# Editor3dSetPreviewLineAssociations
▸ Editor3dSetPreviewLineAssociations(dockLines
: any, previewId
: number): void
Defined in packages/common-core/src/configurator-kernel-access.ts:50
Parameters:
Name | Type |
---|---|
dockLines | any |
previewId | number |
Returns: void
# Editor3dSetPreviewPointAssociations
▸ Editor3dSetPreviewPointAssociations(dockPairs
: any, previewId
: number): void
Defined in packages/common-core/src/configurator-kernel-access.ts:48
Parameters:
Name | Type |
---|---|
dockPairs | any |
previewId | number |
Returns: void
# componentConfigurationUpdated
▸ componentConfigurationUpdated(runtimeComponentId
: number, geometryChanged
: boolean): void
Inherited from CommonConfiguratorKernelCallbackI.componentConfigurationUpdated
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:16
Parameters:
Name | Type |
---|---|
runtimeComponentId | number |
geometryChanged | boolean |
Returns: void
# componentDeleted
▸ componentDeleted(componentId
: number): void
Inherited from CommonConfiguratorKernelCallbackI.componentDeleted
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:28
Parameters:
Name | Type |
---|---|
componentId | number |
Returns: void
# componentMetaUpdated
▸ componentMetaUpdated(kernelComponent
: KernelComponent): void
Inherited from CommonConfiguratorKernelCallbackI.componentMetaUpdated
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:14
Parameters:
Name | Type |
---|---|
kernelComponent | KernelComponent |
Returns: void
# configurationLoaded
▸ configurationLoaded(conversationId
: number, objectId
: number, componentId
: number, hash
: string, errors
: any): void
Defined in packages/common-core/src/configurator-kernel-access.ts:44
Parameters:
Name | Type |
---|---|
conversationId | number |
objectId | number |
componentId | number |
hash | string |
errors | any |
Returns: void
# finishParameterChange
▸ finishParameterChange(resolve
: function, reject
: function): void
Defined in packages/common-core/src/configurator-kernel-access.ts:58
Parameters:
▪ resolve: function
▸ (): void
▪ reject: function
▸ (): void
Returns: void
# planObjectConfigurationUpdated
▸ planObjectConfigurationUpdated(planObjectId
: number, configuration
: ConfigurationString, hash
: string): void
Defined in packages/common-core/src/configurator-kernel-access.ts:42
Parameters:
Name | Type |
---|---|
planObjectId | number |
configuration | ConfigurationString |
hash | string |
Returns: void
# planObjectCreated
▸ planObjectCreated(conversationId
: number, planObjectId
: number): void
Defined in packages/common-core/src/configurator-kernel-access.ts:38
Parameters:
Name | Type |
---|---|
conversationId | number |
planObjectId | number |
Returns: void
# planObjectUpdated
▸ planObjectUpdated(planObject
: PlanObject): void
Defined in packages/common-core/src/configurator-kernel-access.ts:40
Parameters:
Name | Type |
---|---|
planObject | PlanObject |
Returns: void
# sceneCleared
▸ sceneCleared(): void
Inherited from CommonConfiguratorKernelCallbackI.sceneCleared
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:30
Returns: void