setOpacity

fun setOpacity(opacity: Float)

Sets the opacity of the UnlitMaterial.

Parameters

opacity

The opacity value to set.