planner-core/src/roomle-planner.
# Hierarchy
-
↳
default
# Table of contents
# Constructors
# Accessors
# Methods
- disablePanningOnShiftRelease
- enablePanningOnShiftClick
- externalApiMoveCamera
- externalApiResetCameraPosition
- removeCameraChangeListener
- resetCameraOnEnableWallDrawing
- resetCameraOnPlanCompletelyLoaded
- resetCameraOnSwitchTo3d
- setCameraChangeListener
- updateCameraOnBackToPlanner
- updateCameraOnDrawWalls
- updateCameraOnPlanElementDraggedOutsidePlanBounds
- updateCameraOnPlanElementInsertedInsideCurrentCameraView
- updateCameraOnPlanElementInsertedOutsideCurrentCameraView
- updateCameraOnPlanElementRemoved
# Constructors
# constructor
• new default(cameraControl
, state
)
# Parameters
Name | Type |
---|---|
cameraControl | default |
state | default |
# Inherited from
# Accessors
# cameraControl
• get
cameraControl(): default
# Returns
# Overrides
PlannerCameraBehaviour.cameraControl
# Methods
# disablePanningOnShiftRelease
▸ disablePanningOnShiftRelease(): void
# Returns
void
# enablePanningOnShiftClick
▸ enablePanningOnShiftClick(): void
# Returns
void
# externalApiMoveCamera
▸ externalApiMoveCamera(cameraParameter
): Promise
<void
>
# Parameters
Name | Type |
---|---|
cameraParameter | CameraParameter |
# Returns
Promise
<void
>
# externalApiResetCameraPosition
▸ externalApiResetCameraPosition(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void
# Overrides
default.externalApiResetCameraPosition
# removeCameraChangeListener
▸ removeCameraChangeListener(): void
# Returns
void
# Inherited from
default.removeCameraChangeListener
# resetCameraOnEnableWallDrawing
▸ resetCameraOnEnableWallDrawing(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void
# Overrides
default.resetCameraOnEnableWallDrawing
# resetCameraOnPlanCompletelyLoaded
▸ resetCameraOnPlanCompletelyLoaded(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void
# Overrides
default.resetCameraOnPlanCompletelyLoaded
# resetCameraOnSwitchTo3d
▸ resetCameraOnSwitchTo3d(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void
# setCameraChangeListener
▸ setCameraChangeListener(callback
): void
# Parameters
Name | Type |
---|---|
callback | () => void |
# Returns
void
# Inherited from
default.setCameraChangeListener
# updateCameraOnBackToPlanner
▸ updateCameraOnBackToPlanner(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void
# Overrides
default.updateCameraOnBackToPlanner
# updateCameraOnDrawWalls
▸ updateCameraOnDrawWalls(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void
# Overrides
default.updateCameraOnDrawWalls
# updateCameraOnPlanElementDraggedOutsidePlanBounds
▸ updateCameraOnPlanElementDraggedOutsidePlanBounds(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void
# Overrides
default.updateCameraOnPlanElementDraggedOutsidePlanBounds
# updateCameraOnPlanElementInsertedInsideCurrentCameraView
▸ updateCameraOnPlanElementInsertedInsideCurrentCameraView(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void
# Overrides
default.updateCameraOnPlanElementInsertedInsideCurrentCameraView
# updateCameraOnPlanElementInsertedOutsideCurrentCameraView
▸ updateCameraOnPlanElementInsertedOutsideCurrentCameraView(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void
# Overrides
default.updateCameraOnPlanElementInsertedOutsideCurrentCameraView
# updateCameraOnPlanElementRemoved
▸ updateCameraOnPlanElementRemoved(bounds
): void
# Parameters
Name | Type |
---|---|
bounds | Box3 |
# Returns
void