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