setVisibleOne (setter)

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

Signatures

  •   GUIControls.TransformPoint.setVisibleOne(visible, idx = 0, idx2d = 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 2d array of values, the index is a row index. 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.TransformPoint.setVisibleOne(true, 1);
 

Parameters

visible

A boolean flag to set the state of the point.

idx

An index of the point in the list. If the open parameter is a single value, the index is defaulted to 0. If the open parameter is a 2d array of values, the index is a row index.

idx2d

A column index of the point in the list. If the open parameter is a single value, the parameter shall be ignored.

doRedraw

A boolean flag to redraw the control in the viewport.