Abstract Class: Cognite3DViewerToolBase
Defined in: packages/tools/src/Cognite3DViewerToolBase.ts:11
Base class for tools attaching to a Cognite3DViewer.
Extended by
HtmlOverlayTool
DebugCameraTool
AxisViewTool
AxisGizmoTool
Overlay3DTool
TimelineTool
MeasurementTool
Constructors
Constructor
new Cognite3DViewerToolBase():
Cognite3DViewerToolBase
Returns
Cognite3DViewerToolBase
Methods
dispose()
dispose():
void
Defined in: packages/tools/src/Cognite3DViewerToolBase.ts:53
Disposes the element and triggeres the 'disposed' event before clearing the list of dipose-listeners.
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