Class: DebugCameraTool
Base class for tools attaching to a Cognite3DViewer.
Extends
Constructors
new DebugCameraTool()
new DebugCameraTool(
viewer
):DebugCameraTool
Parameters
• viewer: Cognite3DViewer
Returns
Overrides
Cognite3DViewerToolBase
. constructor
Defined in
packages/tools/src/DebugCameraTool.ts:20
Methods
dispose()
dispose():
void
Override
Removes all elements and detaches from the viewer.
Returns
void
Overrides
Cognite3DViewerToolBase
. dispose
Defined in
packages/tools/src/DebugCameraTool.ts:32
hideCameraHelper()
hideCameraHelper():
void
Returns
void
Defined in
packages/tools/src/DebugCameraTool.ts:43
off()
off(
event
,handler
):void
Unregisters an event handler for the 'disposed'-event.
Parameters
• event: "disposed"
• handler
Returns
void
Inherited from
Defined in
packages/tools/src/Cognite3DViewerToolBase.ts:38
showCameraHelper()
showCameraHelper():
void
Returns
void