API Reference › Globals › PlannerKernelCallbackI
# Interface: PlannerKernelCallbackI
# Hierarchy
- PlannerKernelCallbackI
# Implemented by
# Index
# Methods
- addMesh
- addPlanMesh
- addPlanObjectToScene
- beginPlanConstruction
- endPlanConstruction
- handlerSwitchedPlans
- planBoundsChanged
- planCompletelyLoaded
- planElementChanged
- planElementRemoved
- planObjectConfigurationLoaded
- removePlanObjectFromScene
# Methods
# addMesh
▸ addMesh(planElement
: PlanElement, material
: any, vertices
: Int32Array, indices
: Int32Array, uvCoords
: Float32Array, normals
: Float32Array): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:29
Parameters:
Name | Type |
---|---|
planElement | PlanElement |
material | any |
vertices | Int32Array |
indices | Int32Array |
uvCoords | Float32Array |
normals | Float32Array |
Returns: void
# addPlanMesh
▸ addPlanMesh(plan
: Plan, material
: any, vertices
: Int32Array, indices
: Int32Array, uvCoords
: Float32Array, normals
: Float32Array, type
: KernelEnum): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:31
Parameters:
Name | Type |
---|---|
plan | Plan |
material | any |
vertices | Int32Array |
indices | Int32Array |
uvCoords | Float32Array |
normals | Float32Array |
type | KernelEnum |
Returns: void
# addPlanObjectToScene
▸ addPlanObjectToScene(planElementViewModel
: PlanElementViewModel): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:35
Parameters:
Name | Type |
---|---|
planElementViewModel | PlanElementViewModel |
Returns: void
# beginPlanConstruction
▸ beginPlanConstruction(plan
: Plan): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:27
Parameters:
Name | Type |
---|---|
plan | Plan |
Returns: void
# endPlanConstruction
▸ endPlanConstruction(plan
: Plan): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:33
Parameters:
Name | Type |
---|---|
plan | Plan |
Returns: void
# handlerSwitchedPlans
▸ handlerSwitchedPlans(fromPlan
: Plan, toPlan
: Plan): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:23
Parameters:
Name | Type |
---|---|
fromPlan | Plan |
toPlan | Plan |
Returns: void
# planBoundsChanged
▸ planBoundsChanged(): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:45
Returns: void
# planCompletelyLoaded
▸ planCompletelyLoaded(plan
: Plan): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:25
Parameters:
Name | Type |
---|---|
plan | Plan |
Returns: void
# planElementChanged
▸ planElementChanged(plan
: Plan, planObject
: PlanElementViewModel): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:39
Parameters:
Name | Type |
---|---|
plan | Plan |
planObject | PlanElementViewModel |
Returns: void
# planElementRemoved
▸ planElementRemoved(element
: PlanElement): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:41
Parameters:
Name | Type |
---|---|
element | PlanElement |
Returns: void
# planObjectConfigurationLoaded
▸ planObjectConfigurationLoaded(plan
: Plan, element
: PlanElement, success
: boolean): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:43
Parameters:
Name | Type |
---|---|
plan | Plan |
element | PlanElement |
success | boolean |
Returns: void
# removePlanObjectFromScene
▸ removePlanObjectFromScene(planElementViewModel
: PlanElementViewModel): void
Defined in packages/planner-core/src/services/planner-kernel-access.ts:37
Parameters:
Name | Type |
---|---|
planElementViewModel | PlanElementViewModel |
Returns: void