setVisibleAtIndex (setter)

Sets the visible state of the control at the given index.

Signatures

  •   GUIControls.TransformRay.setVisibleAtIndex(visible, idx = 0, doRedraw = true)

Details

The setter accessor that changes the visible state of the control at the given index. The state of other points remains unchanged. If the open parameter is a single value, the index is defaulted to 0. If doRedraw is true, the control is redrawn in the viewport.

Example

 GUIControls.TransformRay.setVisibleAtIndex(true);
 

Parameters

visible

A boolean flag to set the visible state

idx

Index of the parameter value list. If the open parameter is a single value, the index is defaulted to 0.

doRedraw

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