Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • VertexViewerTransformWidget

Index

Properties

EXPERIMENTAL_undoKeybindings: boolean

EXPERIMENTAL.

Enables Command+Z and Control+Z keybindings to perform an undo of the previous delta transformation.

see

EXPERIMENTAL_undo

angleUnit: AngleUnitType

The unit to show for rotation inputs. Defaults to degrees.

see

AngleUnitType

controller?: TransformController

The controller that is responsible for performing transforms.

decimalPlaces: number

The number of decimal places to show in the input. Defaults to 1.

distanceUnit: DistanceUnitType

The unit to show for translation inputs. Defaults to millimeters.

see

DistanceUnitType

position?: Vector3

The starting position of this transform widget. This position will be updated as transforms occur. Setting this value to undefined will remove the widget.

rotation?: Euler

The starting angle for the transform widget. This rotation will be updated as the rotations occur.

showInputs: boolean

Whether to show inputs beside the widget handles when they are interacted with. Defaults to true.

viewer?: HTMLVertexViewerElement

The viewer to connect to transforms. If nested within a , this property will be populated automatically.

xRotationDisabled: boolean

Determines whether or not the x-rotation is disabled on the widget

xTranslationDisabled: boolean

Determines whether or not the x-translation is disabled on the widget

yRotationDisabled: boolean

Determines whether or not the y-rotation is disabled on the widget

yTranslationDisabled: boolean

Determines whether or not the y-translation is disabled on the widget

zRotationDisabled: boolean

Determines whether or not the z-rotation is disabled on the widget

zTranslationDisabled: boolean

Determines whether or not the z-translation is disabled on the widget

Methods

  • EXPERIMENTAL_undo(): Promise<void>
  • EXPERIMENTAL.

    Performs an undo of the most recent set of transform manipulations, categorized by the last pause in interactivity (pointerup on a handle, Enter press on an input, keyup on an input).

    Note that this does not work repeatedly. I.e. only one undo can be performed, and once another set of transform manipulations is performed, the history is lost.

    Returns Promise<void>