setOpacity
Sets the opacity of the PhysicallyBasedMaterial.
Parameters
opacity
The opacity value to set.
Throws
IllegalStateException
If this material is closed or invalid.
Sets the opacity of the PhysicallyBasedMaterial.
The opacity value to set.
If this material is closed or invalid.