setOpacity

fun setOpacity(opacity: Float)

Sets the opacity of the PhysicallyBasedMaterial.

Parameters

opacity

The opacity value to set.