ViewerGizmoAPI

createCollectionFromGizmo(includeOverlappingNodes)
Arguments
  • includeOverlappingNodes (boolean()) –

Returns

Promise<number>

getCurrentGizmoType()
Returns

GizmoType

getGizmoSize()
Returns

Float32Array

getGizmoTransform()
Returns

Float32Array

getValidTransformationGizmoModes()
Returns

number

hideAllLineMarkers()
Returns

void

hideAllMarkers()
Returns

void

hideAllPointMarkers()
Returns

void

hideGizmo()
Returns

void

hidePointMarker(index)
Arguments
  • index (number()) – Optional

Returns

void

setCORGizmoVisible(flag)
Arguments
  • flag (boolean()) –

Returns

void

setTransformationGizmoMode(mode)
Arguments
Returns

void

showAxisMarker(values, scale, index)
Arguments
  • values (Float32Array|Array) –

  • scale (number()) – Optional

  • index (number()) – Optional

Returns

void

showClippingBoxGizmo(clipRoomID)
Arguments
  • clipRoomID (number()) –

Returns

void

showPointMarker(position, index)
Arguments
  • position (Float32Array|Array) –

  • index (number()) – Optional

Returns

void

showSelectionBoxGizmo(size, transform)
Arguments
  • size (number|Float32Array()) – Optional

  • transform (number|Float32Array()) – Optional

Returns

void

showSelectionBoxGizmoFromVolume(volume)
Arguments
Returns

void

showSelectionTransformationGizmo()
Returns

void