API Reference › Globals › CommonConfiguratorKernelCallbackI
# Interface: CommonConfiguratorKernelCallbackI
# Hierarchy
CommonConfiguratorKernelCallbackI
# Index
# Methods
- Editor3ChangedNamedMesh
- Editor3dAddBakedMesh
- Editor3dAddNamedMesh
- Editor3dBeginConstruction
- Editor3dComponentCreated
- Editor3dComponentDocked
- Editor3dEndConstruction
- Editor3dGeometryNotReady
- Editor3dGeometryReady
- Editor3dRemoveNamedMesh
- componentConfigurationUpdated
- componentDeleted
- componentMetaUpdated
- sceneCleared
# Methods
# Editor3ChangedNamedMesh
▸ Editor3ChangedNamedMesh(runtimeComponentId
: number, meshId
: string, geometryId
: string, materiadlId
: string, transform
: Float32Array): void
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
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
# Editor3dAddNamedMesh
▸ Editor3dAddNamedMesh(runtimeComponentId
: number, meshId
: string, geometryId
: string, materialId
: string, transform
: Float32Array, vertices
: Int32Array, indices
: Int32Array, uvCoords
: Float32Array, normals
: Float32Array, environmentGeometry
: boolean): void
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
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
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
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:22
Parameters:
Name | Type |
---|---|
componentId | number |
parentId | number |
componentPosition | KernelVector3 |
componentRotation | KernelVector3 |
Returns: void
# Editor3dEndConstruction
▸ Editor3dEndConstruction(id
: number): void
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:20
Parameters:
Name | Type |
---|---|
id | number |
Returns: void
# Editor3dGeometryNotReady
▸ Editor3dGeometryNotReady(id
: number): void
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:26
Parameters:
Name | Type |
---|---|
id | number |
Returns: void
# Editor3dGeometryReady
▸ Editor3dGeometryReady(id
: number): void
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:24
Parameters:
Name | Type |
---|---|
id | number |
Returns: void
# Editor3dRemoveNamedMesh
▸ Editor3dRemoveNamedMesh(runtimeComponentId
: number, geometryId
: string): void
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:12
Parameters:
Name | Type |
---|---|
runtimeComponentId | number |
geometryId | string |
Returns: void
# componentConfigurationUpdated
▸ componentConfigurationUpdated(runtimeComponentId
: number, geometryChanged
: boolean): void
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
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:28
Parameters:
Name | Type |
---|---|
componentId | number |
Returns: void
# componentMetaUpdated
▸ componentMetaUpdated(kernelComponent
: KernelComponent): void
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:14
Parameters:
Name | Type |
---|---|
kernelComponent | KernelComponent |
Returns: void
# sceneCleared
▸ sceneCleared(): void
Defined in packages/common-core/src/common-configurator-kernel-callback.ts:30
Returns: void