API Reference › Globals › PlannerSceneManager
# Class: PlannerSceneManager
# Hierarchy
↳ PlannerSceneManager
# Implements
- Context
- LifeCycleCallbacks
- EventListenerObject
- ConfiguratorViewModelCallbackI
- PlannerKernelCallbackI
# Index
# Constructors
# Properties
# Methods
- addComponentHandlers
- addMesh
- addPlanMesh
- addPlanObjectToScene
- addPreviewHandlers
- addPreviewLineHandlers
- backToPlanner
- beginPlanConstruction
- cameraControlChanged
- cancelComponentSelection
- cancelDockings
- cancelPlanElementSelection
- cancelPreviousDockings
- changeFloorMaterial
- changeOffset
- cleanUp
- clearScene
- closeHSC
- componentDeleted
- componentUpdated
- configurationLoaded
- debugScene
- debugSceneGraph
- deletePlanElementSelection
- destroy
- disableConfiguratorEvents
- disablePlannerEvents
- disableRotation
- display
- dragIn
- enableConfiguratorEvents
- enableDragIn
- enableHD
- enablePlannerEvents
- enableRotation
- endPlanConstruction
- exportGLB
- getBakedShadowParams
- getBounds
- getCameraOffset
- getPerspectiveOffsetCamera
- getPixotronParams
- getPlannerSceneEventHandler
- getScene
- getScreenXY
- handleEvent
- handlerSwitchedPlans
- hideDimensions
- highlightParts
- importGLB
- loadDynamicLightSetting
- loadQualitySetting
- loadSceneSettings
- loadStaticPlanObjects
- moveCamera
- pause
- planBoundsChanged
- planCompletelyLoaded
- planElementChanged
- planElementRemoved
- planObjectConfigurationLoaded
- planObjectConstructionDone
- planObjectUpdated
- planXMLLoaded
- preload
- preparePartImage
- preparePerspectiveImage
- prepareTopImage
- previewConstructionDone
- removePlanObjectFromScene
- renderImage
- requestDeleteSelectedComponent
- requestDockingsPreview
- resetCamera
- resetCameraPositionToStart
- resetCameraToState
- resetConfiguratorContext
- resetPreviews
- resume
- rotatePlanElementSelection
- sceneChanged
- sceneCleared
- selectComponent
- setBackgroundColor
- setBackgroundImage
- setBakedShadow
- setCameraOffset
- setMode
- setSelectionMode
- showDimensions
- showGUI
- showStats
- startConfiguring
- startViewing
- switchTo2D
- switchTo3D
- switchToFirstPerson
- updateCamera
- updateScene
- zoomIn
- zoomOut
- zoomToComponent
# Constructors
# constructor
+ new PlannerSceneManager(creator
: string, offset
: CanvasOffset, plannerCallback
: RoomlePlannerCallback, mode
: CAMERA_TYPE): PlannerSceneManager
Overrides ConfiguratorSceneManager.constructor
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:83
Parameters:
Name | Type |
---|---|
creator | string |
offset | CanvasOffset |
plannerCallback | RoomlePlannerCallback |
mode | CAMERA_TYPE |
Returns: PlannerSceneManager
# Properties
# creator
• creator: string
_Implementation of Context.creator_
_Inherited from ConfiguratorSceneManager.creator_
_Overrides SceneManager.creator_
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:66
# currentSelection
• currentSelection: SelectionPayload = null
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:83
# Methods
# addComponentHandlers
▸ addComponentHandlers(component
: RoomleComponent): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.addComponentHandlers
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:1068
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
Returns: void
# addMesh
▸ addMesh(_planElement
: PlanElement, _material
: any, _vertices
: Int32Array, _indices
: Int32Array, _uvCoords
: Float32Array, _normals
: Float32Array): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:910
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
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:522
Parameters:
Name | Type |
---|---|
_plan | Plan |
_material | any |
_vertices | Int32Array |
_indices | Int32Array |
_uvCoords | Float32Array |
_normals | Float32Array |
_type | KernelEnum |
Returns: void
# addPlanObjectToScene
▸ addPlanObjectToScene(planViewModel
: PlanElementViewModel): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:538
Parameters:
Name | Type |
---|---|
planViewModel | PlanElementViewModel |
Returns: void
# addPreviewHandlers
▸ addPreviewHandlers(previewComponent
: PreviewComponent): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.addPreviewHandlers
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:1072
Parameters:
Name | Type |
---|---|
previewComponent | PreviewComponent |
Returns: void
# addPreviewLineHandlers
▸ addPreviewLineHandlers(previewLineComponent
: PreviewLineComponent): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.addPreviewLineHandlers
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:1076
Parameters:
Name | Type |
---|---|
previewLineComponent | PreviewLineComponent |
Returns: void
# backToPlanner
▸ backToPlanner(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:345
Returns: void
# beginPlanConstruction
▸ beginPlanConstruction(_plan
: Plan): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:518
Parameters:
Name | Type |
---|---|
_plan | Plan |
Returns: void
# cameraControlChanged
▸ cameraControlChanged(): void
Overrides SceneManager.cameraControlChanged
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:707
Returns: void
# cancelComponentSelection
▸ cancelComponentSelection(resetCamera?
: boolean): void
Inherited from ConfiguratorSceneManager.cancelComponentSelection
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:741
Parameters:
Name | Type |
---|---|
resetCamera? | boolean |
Returns: void
# cancelDockings
▸ cancelDockings(): void
Inherited from ConfiguratorSceneManager.cancelDockings
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:272
Returns: void
# cancelPlanElementSelection
▸ cancelPlanElementSelection(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:961
Returns: void
# cancelPreviousDockings
▸ cancelPreviousDockings(): void
Inherited from ConfiguratorSceneManager.cancelPreviousDockings
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:737
Returns: void
# changeFloorMaterial
▸ changeFloorMaterial(material
: RapiMaterial): Promise‹void›
Inherited from ConfiguratorSceneManager.changeFloorMaterial
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:804
Parameters:
Name | Type |
---|---|
material | RapiMaterial |
Returns: Promise‹void›
# changeOffset
▸ changeOffset(offset
: CanvasOffset): void
Inherited from ConfiguratorSceneManager.changeOffset
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:687
Parameters:
Name | Type |
---|---|
offset | CanvasOffset |
Returns: void
# cleanUp
▸ cleanUp(): void
Inherited from SceneManager.cleanUp
Defined in packages/common-core/src/webgl/scene-manager.ts:371
Returns: void
# clearScene
▸ clearScene(): void
Implementation of ConfiguratorViewModelCallbackI
Overrides ConfiguratorSceneManager.clearScene
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:610
Returns: void
# closeHSC
▸ closeHSC(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:723
Returns: void
# componentDeleted
▸ componentDeleted(component
: RoomleComponent): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.componentDeleted
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:1013
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
Returns: void
# componentUpdated
▸ componentUpdated(component
: RoomleComponent, _kernelComponent
: KernelComponent): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.componentUpdated
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:984
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
_kernelComponent | KernelComponent |
Returns: void
# configurationLoaded
▸ configurationLoaded(component
: RoomleComponent, isFreeFlying
: boolean): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.configurationLoaded
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:1046
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
isFreeFlying | boolean |
Returns: void
# debugScene
▸ debugScene(): Scene‹›
Inherited from ConfiguratorSceneManager.debugScene
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:444
Returns: Scene‹›
# debugSceneGraph
▸ debugSceneGraph(id?
: number): void
Inherited from ConfiguratorSceneManager.debugSceneGraph
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:439
Parameters:
Name | Type |
---|---|
id? | number |
Returns: void
# deletePlanElementSelection
▸ deletePlanElementSelection(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:967
Returns: void
# destroy
▸ destroy(): void
Overrides SceneManager.destroy
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:843
Returns: void
# disableConfiguratorEvents
▸ disableConfiguratorEvents(): void
Inherited from ConfiguratorSceneManager.disableConfiguratorEvents
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:253
Returns: void
# disablePlannerEvents
▸ disablePlannerEvents(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:1069
Returns: void
# disableRotation
▸ disableRotation(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:1057
Returns: void
# display
▸ display(component
: RoomleComponent): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.display
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:433
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
Returns: void
# dragIn
▸ dragIn(dragEvent
: DragEvent): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:1061
Parameters:
Name | Type |
---|---|
dragEvent | DragEvent |
Returns: void
# enableConfiguratorEvents
▸ enableConfiguratorEvents(): void
Inherited from ConfiguratorSceneManager.enableConfiguratorEvents
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:249
Returns: void
# enableDragIn
▸ enableDragIn(dragEvent
: DragEvent): void
Inherited from ConfiguratorSceneManager.enableDragIn
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:634
Parameters:
Name | Type |
---|---|
dragEvent | DragEvent |
Returns: void
# enableHD
▸ enableHD(source?
: DynamicLightSettingSource): void
Inherited from SceneManager.enableHD
Defined in packages/common-core/src/webgl/scene-manager.ts:394
Parameters:
Name | Type |
---|---|
source? | DynamicLightSettingSource |
Returns: void
# enablePlannerEvents
▸ enablePlannerEvents(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:1073
Returns: void
# enableRotation
▸ enableRotation(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:1053
Returns: void
# endPlanConstruction
▸ endPlanConstruction(_plan
: Plan): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:526
Parameters:
Name | Type |
---|---|
_plan | Plan |
Returns: void
# exportGLB
▸ exportGLB(exportObjects?
: Object3D[], id?
: string): void
Overrides ConfiguratorSceneManager.exportGLB
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:574
Parameters:
Name | Type |
---|---|
exportObjects? | Object3D[] |
id? | string |
Returns: void
# getBakedShadowParams
▸ getBakedShadowParams(): BakedShadowParams
Overrides ConfiguratorSceneManager.getBakedShadowParams
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:883
Returns: BakedShadowParams
# getBounds
▸ getBounds(): Box3
Overrides ConfiguratorSceneManager.getBounds
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:954
Returns: Box3
# getCameraOffset
▸ getCameraOffset(): CanvasOffset
Inherited from ConfiguratorSceneManager.getCameraOffset
Overrides SceneManager.getCameraOffset
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:706
Returns: CanvasOffset
# getPerspectiveOffsetCamera
▸ getPerspectiveOffsetCamera(): PerspectiveOffsetCamera
Inherited from SceneManager.getPerspectiveOffsetCamera
Defined in packages/common-core/src/webgl/scene-manager.ts:764
Returns: PerspectiveOffsetCamera
# getPixotronParams
▸ getPixotronParams(): any
Overrides ConfiguratorSceneManager.getPixotronParams
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:849
Returns: any
# getPlannerSceneEventHandler
▸ getPlannerSceneEventHandler(): PlannerSceneEventHandler‹›
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:1065
Returns: PlannerSceneEventHandler‹›
# getScene
▸ getScene(): Scene
Inherited from SceneManager.getScene
Defined in packages/common-core/src/webgl/scene-manager.ts:719
Returns: Scene
# getScreenXY
▸ getScreenXY(position
: Vector3): Vector3‹›
Inherited from ConfiguratorSceneManager.getScreenXY
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:796
Parameters:
Name | Type |
---|---|
position | Vector3 |
Returns: Vector3‹›
# handleEvent
▸ handleEvent(evt
: Event): void
Inherited from SceneManager.handleEvent
Defined in packages/common-core/src/webgl/scene-manager.ts:612
Parameters:
Name | Type |
---|---|
evt | Event |
Returns: void
# handlerSwitchedPlans
▸ handlerSwitchedPlans(fromPlan
: Plan, toPlan
: Plan): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:456
Parameters:
Name | Type |
---|---|
fromPlan | Plan |
toPlan | Plan |
Returns: void
# hideDimensions
▸ hideDimensions(): void
Inherited from ConfiguratorSceneManager.hideDimensions
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:881
Returns: void
# highlightParts
▸ highlightParts(ids
: number[]): void
Inherited from ConfiguratorSceneManager.highlightParts
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:1152
Parameters:
Name | Type |
---|---|
ids | number[] |
Returns: void
# importGLB
▸ importGLB(url
: string): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:606
Parameters:
Name | Type |
---|---|
url | string |
Returns: void
# loadDynamicLightSetting
▸ loadDynamicLightSetting(source
: DynamicLightSettingSource): Promise‹void›
Inherited from SceneManager.loadDynamicLightSetting
Defined in packages/common-core/src/webgl/scene-manager.ts:695
Parameters:
Name | Type |
---|---|
source | DynamicLightSettingSource |
Returns: Promise‹void›
# loadQualitySetting
▸ loadQualitySetting(qualitySetting
: QualitySetting): void
Inherited from SceneManager.loadQualitySetting
Defined in packages/common-core/src/webgl/scene-manager.ts:688
Parameters:
Name | Type |
---|---|
qualitySetting | QualitySetting |
Returns: void
# loadSceneSettings
▸ loadSceneSettings(sceneSetting
: SceneSettings): Promise‹void›
Inherited from ConfiguratorSceneManager.loadSceneSettings
Overrides SceneManager.loadSceneSettings
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:891
Parameters:
Name | Type |
---|---|
sceneSetting | SceneSettings |
Returns: Promise‹void›
# loadStaticPlanObjects
▸ loadStaticPlanObjects(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:395
Returns: void
# moveCamera
▸ moveCamera(cameraParameter
: CameraParameter): Promise‹void›
Inherited from ConfiguratorSceneManager.moveCamera
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:1135
Parameters:
Name | Type |
---|---|
cameraParameter | CameraParameter |
Returns: Promise‹void›
# pause
▸ pause(): void
Inherited from ConfiguratorSceneManager.pause
Overrides SceneManager.pause
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:391
Returns: void
# planBoundsChanged
▸ planBoundsChanged(): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:993
Returns: void
# planCompletelyLoaded
▸ planCompletelyLoaded(_plan
: Plan): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:452
Parameters:
Name | Type |
---|---|
_plan | Plan |
Returns: void
# planElementChanged
▸ planElementChanged(_plan
: Plan, _planViewModel
: PlanElementViewModel): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:567
Parameters:
Name | Type |
---|---|
_plan | Plan |
_planViewModel | PlanElementViewModel |
Returns: void
# planElementRemoved
▸ planElementRemoved(_element
: PlanElement): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:998
Parameters:
Name | Type |
---|---|
_element | PlanElement |
Returns: void
# planObjectConfigurationLoaded
▸ planObjectConfigurationLoaded(plan
: Plan, element
: PlanElement, _success
: boolean): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:900
Parameters:
Name | Type |
---|---|
plan | Plan |
element | PlanElement |
_success | boolean |
Returns: void
# planObjectConstructionDone
▸ planObjectConstructionDone(_planObject
: PlanObject): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.planObjectConstructionDone
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:469
Parameters:
Name | Type |
---|---|
_planObject | PlanObject |
Returns: void
# planObjectUpdated
▸ planObjectUpdated(planObject
: PlanObject, geometryChanged
: boolean): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.planObjectUpdated
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:998
Parameters:
Name | Type |
---|---|
planObject | PlanObject |
geometryChanged | boolean |
Returns: void
# planXMLLoaded
▸ planXMLLoaded(plan
: Plan): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:444
Parameters:
Name | Type |
---|---|
plan | Plan |
Returns: void
# preload
▸ preload(id
: string): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:430
Parameters:
Name | Type |
---|---|
id | string |
Returns: void
# preparePartImage
▸ preparePartImage(partId
: number, options
: PrepareImageOptions): Promise‹any›
Inherited from ConfiguratorSceneManager.preparePartImage
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:570
Parameters:
Name | Type |
---|---|
partId | number |
options | PrepareImageOptions |
Returns: Promise‹any›
# preparePerspectiveImage
▸ preparePerspectiveImage(options
: PrepareImageOptions): Promise‹Base64Image›
Overrides ConfiguratorSceneManager.preparePerspectiveImage
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:1023
Parameters:
Name | Type | Default |
---|---|---|
options | PrepareImageOptions | {} |
Returns: Promise‹Base64Image›
# prepareTopImage
▸ prepareTopImage(options
: PrepareImageOptions): Promise‹Base64Image›
Overrides ConfiguratorSceneManager.prepareTopImage
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:1007
Parameters:
Name | Type | Default |
---|---|---|
options | PrepareImageOptions | {} |
Returns: Promise‹Base64Image›
# previewConstructionDone
▸ previewConstructionDone(component
: RoomleComponent, hasPreviews
: boolean): void
Implementation of ConfiguratorViewModelCallbackI
Inherited from ConfiguratorSceneManager.previewConstructionDone
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:1019
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
hasPreviews | boolean |
Returns: void
# removePlanObjectFromScene
▸ removePlanObjectFromScene(planViewModel
: PlanElementViewModel): void
Implementation of PlannerKernelCallbackI
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:558
Parameters:
Name | Type |
---|---|
planViewModel | PlanElementViewModel |
Returns: void
# renderImage
▸ renderImage(renderOptions
: RenderOptions): Promise‹Base64Image›
Inherited from ConfiguratorSceneManager.renderImage
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:538
Parameters:
Name | Type |
---|---|
renderOptions | RenderOptions |
Returns: Promise‹Base64Image›
# requestDeleteSelectedComponent
▸ requestDeleteSelectedComponent(): void
Inherited from ConfiguratorSceneManager.requestDeleteSelectedComponent
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:964
Returns: void
# requestDockingsPreview
▸ requestDockingsPreview(userInitiated
: boolean, possibleChild?
: UiPossibleChild, dragEvent?
: DragEvent, dragIn?
: boolean): void
Inherited from ConfiguratorSceneManager.requestDockingsPreview
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:910
Parameters:
Name | Type |
---|---|
userInitiated | boolean |
possibleChild? | UiPossibleChild |
dragEvent? | DragEvent |
dragIn? | boolean |
Returns: void
# resetCamera
▸ resetCamera(): void
Overrides ConfiguratorSceneManager.resetCamera
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:363
Returns: void
# resetCameraPositionToStart
▸ resetCameraPositionToStart(animate
: boolean): void
Inherited from ConfiguratorSceneManager.resetCameraPositionToStart
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:666
Parameters:
Name | Type | Default |
---|---|---|
animate | boolean | true |
Returns: void
# resetCameraToState
▸ resetCameraToState(): void
Overrides ConfiguratorSceneManager.resetCameraToState
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:371
Returns: void
# resetConfiguratorContext
▸ resetConfiguratorContext(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:271
Returns: void
# resetPreviews
▸ resetPreviews(): void
Inherited from ConfiguratorSceneManager.resetPreviews
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:682
Returns: void
# resume
▸ resume(): void
Inherited from ConfiguratorSceneManager.resume
Overrides SceneManager.resume
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:360
Returns: void
# rotatePlanElementSelection
▸ rotatePlanElementSelection(rotateBy
: number): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:978
Parameters:
Name | Type |
---|---|
rotateBy | number |
Returns: void
# sceneChanged
▸ sceneChanged(): void
Overrides ConfiguratorSceneManager.sceneChanged
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:714
Returns: void
# sceneCleared
▸ sceneCleared(shouldHardReset
: boolean): void
Inherited from ConfiguratorSceneManager.sceneCleared
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:429
Parameters:
Name | Type |
---|---|
shouldHardReset | boolean |
Returns: void
# selectComponent
▸ selectComponent(runtimeId
: number): void
Inherited from ConfiguratorSceneManager.selectComponent
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:1139
Parameters:
Name | Type |
---|---|
runtimeId | number |
Returns: void
# setBackgroundColor
▸ setBackgroundColor(hex
: string): void
Inherited from SceneManager.setBackgroundColor
Defined in packages/common-core/src/webgl/scene-manager.ts:665
Parameters:
Name | Type |
---|---|
hex | string |
Returns: void
# setBackgroundImage
▸ setBackgroundImage(url
: string): void
Inherited from SceneManager.setBackgroundImage
Defined in packages/common-core/src/webgl/scene-manager.ts:669
Parameters:
Name | Type |
---|---|
url | string |
Returns: void
# setBakedShadow
▸ setBakedShadow(hex
: string, url
: string): void
Inherited from SceneManager.setBakedShadow
Defined in packages/common-core/src/webgl/scene-manager.ts:673
Parameters:
Name | Type |
---|---|
hex | string |
url | string |
Returns: void
# setCameraOffset
▸ setCameraOffset(offset
: CanvasOffset): void
Inherited from ConfiguratorSceneManager.setCameraOffset
Overrides SceneManager.setCameraOffset
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:699
Parameters:
Name | Type |
---|---|
offset | CanvasOffset |
Returns: void
# setMode
▸ setMode(mode
: CAMERA_TYPE): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:811
Parameters:
Name | Type |
---|---|
mode | CAMERA_TYPE |
Returns: void
# setSelectionMode
▸ setSelectionMode(mode
: SELECTION_MODE): void
Inherited from ConfiguratorSceneManager.setSelectionMode
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:800
Parameters:
Name | Type |
---|---|
mode | SELECTION_MODE |
Returns: void
# showDimensions
▸ showDimensions(): Promise‹void›
Inherited from ConfiguratorSceneManager.showDimensions
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:860
Returns: Promise‹void›
# showGUI
▸ showGUI(): Promise‹void›
Inherited from SceneManager.showGUI
Defined in packages/common-core/src/webgl/scene-manager.ts:505
Returns: Promise‹void›
# showStats
▸ showStats(): void
Inherited from SceneManager.showStats
Defined in packages/common-core/src/webgl/scene-manager.ts:563
Returns: void
# startConfiguring
▸ startConfiguring(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:321
Returns: void
# startViewing
▸ startViewing(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:304
Returns: void
# switchTo2D
▸ switchTo2D(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:667
Returns: void
# switchTo3D
▸ switchTo3D(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:683
Returns: void
# switchToFirstPerson
▸ switchToFirstPerson(): void
Defined in packages/planner-core/src/webgl/planner-scene-manager.ts:730
Returns: void
# updateCamera
▸ updateCamera(changeCamera
: boolean): void
Inherited from ConfiguratorSceneManager.updateCamera
Overrides SceneManager.updateCamera
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:694
Parameters:
Name | Type | Default |
---|---|---|
changeCamera | boolean | true |
Returns: void
# updateScene
▸ updateScene(): void
Inherited from SceneManager.updateScene
Defined in packages/common-core/src/webgl/scene-manager.ts:723
Returns: void
# zoomIn
▸ zoomIn(value?
: number): void
Inherited from ConfiguratorSceneManager.zoomIn
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:850
Parameters:
Name | Type |
---|---|
value? | number |
Returns: void
# zoomOut
▸ zoomOut(value?
: number): void
Inherited from ConfiguratorSceneManager.zoomOut
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:855
Parameters:
Name | Type |
---|---|
value? | number |
Returns: void
# zoomToComponent
▸ zoomToComponent(component
: RoomleComponent): void
Inherited from ConfiguratorSceneManager.zoomToComponent
Defined in packages/configurator-core/src/webgl/configurator-scene-manager.ts:639
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
Returns: void