setRotationVisible
Toggles the 'visible' flag of the gizmo rotation axis.
Signatures
- GUIControls.TransformGizmo.setRotationVisible(visible, axis = 'none', doRedraw = true)
Details
The function switches the value of the 'visible' flag of the control's gizmo rotation axis.
Example
GUIControls.TransformGizmo.setRotationVisible(true, axis = 'x', false);
Parameters
- visible
-
New value of the 'visible' flag.
- axis
-
Axis of the rotation. Defaults to 'none'.
- doRedraw
-
If true, the viewport will be redrawn. Defaults to true.