setTranslucentOpacity
Sets the opacity of translucent objects.
Example
Usage
const opacity = 0.05;
viewer3d.setTranslucentOpacity(opacity);Parameters
opacity
The opacity to set.
Type | Required |
|---|---|
Number | Yes |
Sets the opacity of translucent objects.
const opacity = 0.05;
viewer3d.setTranslucentOpacity(opacity);The opacity to set.
Type | Required |
|---|---|
Number | Yes |