setScaleVisible

Toggles the 'visible' flag of the gizmo scale axis.

Signatures

  •   GUIControls.TransformGizmo.setScaleVisible(visible, axis = 'none', doRedraw = true)

Details

The function switches the value of the 'visible' flag of the control's gizmo scale axis.

Example

 GUIControls.TransformGizmo.setScaleVisible(true, axis = 'x', false);
 

Parameters

visible

New value of the 'visible' flag.

axis

Axis of the scale. Defaults to 'none'.

doRedraw

If true, the viewport will be redrawn. Defaults to true.