Skip to main content
Version: 3.x

Class: DebugCameraTool

@cognite/reveal/tools.DebugCameraTool

Hierarchy

Constructors

constructor

new DebugCameraTool(viewer)

Parameters

NameType
viewerCognite3DViewer

Overrides

Cognite3DViewerToolBase.constructor

Defined in

packages/tools/src/DebugCameraTool.ts:20

Methods

dispose

dispose(): void

Removes all elements and detaches from the viewer.

override

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

NameType
event"disposed"
handler() => void

Returns

void

Inherited from

Cognite3DViewerToolBase.off

Defined in

packages/tools/src/Cognite3DViewerToolBase.ts:37


showCameraHelper

showCameraHelper(): void

Returns

void

Defined in

packages/tools/src/DebugCameraTool.ts:37