getOpacity

fun getOpacity(): Float

Gets the opacity of the UnlitMaterial.

Return

The current opacity value of the UnlitMaterial.