OptionalangleOptionalcontrollerThe controller that is responsible for performing transforms.
OptionaldecimalThe number of decimal places to show in the input. Defaults to 1.
OptionaldistanceThe unit to show for translation inputs. Defaults to millimeters.
OptionalEXPERIMENTAL_EXPERIMENTAL.
Enables Command+Z and Control+Z keybindings to perform an undo of the previous delta transformation.
OptionalinteractionSpecifies the frequency, in milliseconds, to update the transform while interacting with the widget.
This delay is used to group events happening in quick succession and results in smoother widget movement.
OptionalonAn event that is emitted when the interaction has ended
OptionalonAn event that is emitted an interaction with the widget has started
OptionalonAn event that is emitted when the position of the widget changes.
OptionalonAn event that is emitted when the rotation of the widget changes.
OptionalpositionThe starting position of this transform widget. This position will be updated as transforms occur. Setting this value to undefined will remove the widget.
OptionalrotationThe starting angle for the transform widget. This rotation will be updated as the rotations occur.
OptionalrotationScalar to increase the size of the rotation handles of this widget. Values above zero and below three will result in the best visual representation of the handles, and values above three may produce unexpected results.
Defaults to 1.
OptionalrotationWhen defined, the widget will snap to the degree of the nearest multiple of the given number when the user is rotating with the widget and holding the key defined by rotationSnapKey. Defaults to undefined.
OptionalrotationWhen rotationSnapDegrees is defined, the widget will snap to the degree of the nearest multiple of the given number when the user is rotating with the widget and holding the key defined here. Defaults to the shift key.
OptionalshowWhether to show inputs beside the widget handles when they are interacted with. Defaults to true.
OptionaltranslationScalar to increase the size of the translation handles of this widget. Values above zero and below three will result in the best visual representation of the handles, and values above three may produce unexpected results.
Defaults to 1.
OptionalviewerThe viewer to connect to transforms. If nested within a
OptionalxDetermines whether the x-rotation is disabled on the widget
OptionalxDetermines whether the x-translation is disabled on the widget
OptionalxyDetermines whether the xy-translation is disabled on the widget
OptionalxzDetermines whether the xz-translation is disabled on the widget
OptionalyDetermines whether the y-rotation is disabled on the widget
OptionalyDetermines whether the y-translation is disabled on the widget
OptionalyzDetermines whether the yz-translation is disabled on the widget
OptionalzDetermines whether the z-rotation is disabled on the widget
OptionalzDetermines whether the z-translation is disabled on the widget
The unit to show for rotation inputs. Defaults to
degrees.