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