setSelectedAll

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

Signatures

  •   GUIControls.TransformGizmo.setSelectedAll(selected, doRedraw = true)

Details

The function switches the value of the 'selected' 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.setSelectedAll(true);
 

Parameters

selected

A boolean flag to set the selected state

doRedraw

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