Scene3D.setElementsVisibility() method

Change the elements visibility.

Signature:

setElementsVisibility(elementNames: Array<string>, surfaceVisible: boolean, lineVisible?: boolean): void;

Parameters

ParameterDescription
elementNamesAn array of element names.
surfaceVisibleAn boolean value. Set to true to make element surface visible.
lineVisibleAn boolean value. Set to true to make element line visible.

Returns:

void