Class: DebugCameraTool
Base class for tools attaching to a Cognite3DViewer.
Extends
Constructors
new DebugCameraTool()
new DebugCameraTool(
viewer
):DebugCameraTool
Parameters
• viewer: Cognite3DViewer
<DataSourceType
>
Returns
Overrides
Cognite3DViewerToolBase
.constructor
Defined in
packages/tools/src/DebugCameraTool.ts:21
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:33
hideCameraHelper()
hideCameraHelper():
void
Returns
void
Defined in
packages/tools/src/DebugCameraTool.ts:44
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