Ctrl
K
Getting Started
Document API
Model API
Organization API
Project API
Topic API
User API
Webhook API
2D Viewer SDK
3D Viewer SDK
3D Viewer SDK
Getting Started
BIM Models
Point Clouds
CityGML
Using Navigation
Interacting with IFC GUIDs
Methods
Clipping Plane
IFC
Image
Measurement
Model
Navigation
Object
Product
Screenshot
Selection
Settings
getAntiAliasingSettings
getCameraSettings
getRenderSettings
resetTranslucentOpacity
setAntiAliasingSettings
setCameraSettings
setRenderSettings
setTranslucentOpacity
Shape
View
Viewer
Events
Types
API Reference
Release Channels
Changelog
Using jQuery
Viewer Widget
Docs powered by
Archbee
Methods
Settings
setTranslucentOpacity
Sets the opacity of translucent objects.
Example
Usage
JS
1
const
opacity
=
0.05
;
2
3
viewer3d
.
setTranslucentOpacity
(
opacity
)
;
const opacity = 0.05; viewer3d.setTranslucentOpacity(opacity);
Parameters
opacity
The opacity to set.
Type
Required
Number
Yes
PREVIOUS
setRenderSettings
NEXT
addShape
Docs powered by
Archbee
Docs powered by
Archbee
Press space bar to start a drag. When dragging you can use the arrow keys to move the item around and escape to cancel. Some screen readers may require you to be in focus mode or to use your pass through key