Class: DebugCameraTool
@cognite/reveal/tools.DebugCameraTool
Hierarchy
-
↳
DebugCameraTool
Constructors
constructor
• new DebugCameraTool(viewer
)
Parameters
Name | Type |
---|---|
viewer | Cognite3DViewer |
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
Name | Type |
---|---|
event | "disposed" |
handler | () => void |
Returns
void
Inherited from
Defined in
packages/tools/src/Cognite3DViewerToolBase.ts:37
showCameraHelper
▸ showCameraHelper(): void
Returns
void