Class: AxisGizmoTool
Beta
Class for axis gizmo like the one in Blender
Extends
Constructors
new AxisGizmoTool()
new AxisGizmoTool(
option
?):AxisGizmoTool
Beta
Parameters
• option?: AxisGizmoOptions
Returns
Overrides
Cognite3DViewerToolBase
.constructor
Defined in
packages/tools/src/AxisGizmo/AxisGizmoTool.ts:49
Accessors
options
Get Signature
get options():
AxisGizmoOptions
Beta
Returns
Defined in
packages/tools/src/AxisGizmo/AxisGizmoTool.ts:101
Methods
connect()
connect(
viewer
):void
Beta
Parameters
• viewer: Cognite3DViewer
<DataSourceType
>
The Cognite3DViewer instance to connect to. Note: After it is connected to the viewer the tool can not be moved or changed size by changing the fields: size, corner, yMargin and yMargin in the AxisGizmoOptions
Returns
void
Defined in
packages/tools/src/AxisGizmo/AxisGizmoTool.ts:85
dispose()
dispose():
void
Beta
Returns
void
Overrides
Cognite3DViewerToolBase
.dispose
Defined in
packages/tools/src/AxisGizmo/AxisGizmoTool.ts:61
off()
off(
event
,handler
):void
Beta
Parameters
• event: "disposed"
• handler
Returns
void