TransformGizmo.(constructor)

The construct function of TransformGizmo

Signature:

constructor(viewer: Viewer3D, modelId?: string, scale?: number);

Parameters

ParameterDescription
viewerViewer3D
modelIdThe id of the model to transform. Notice that the model should be loaded before calling this function.
scaleThe scale of the transform gizmo. default value is 1.0.