mode (getter)

Returns the current mode of the control.

Signatures

  •   GUIControls.TransformGizmo.mode

Details

The getter accessor that returns the current mode of the control. The mode determines which gizmo component ('translate' | 'rotate' | 'scale') is currently active.

Example

 const mode = GUIControls.TransformGizmo.mode;
 

Return value

of type 'translate' | 'rotate' | 'scale'