setVisibleAll

Toggles the 'visible' flag of the gizmo state for all gizmos in the list.

Signatures

  •   GUIControls.TransformGizmo.setVisibleAll(visible, doRedraw = true)

Details

The function switches the value of the 'visible' flag of the control's gizmo state for all gizmos in the list. If doRedraw is true, the control is redrawn in the viewport.

Example

 GUIControls.TransformGizmo.setVisibleAll(true);
 

Parameters

visible

A boolean flag to set the visible state

doRedraw

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