getOpacity

fun getOpacity(): Float

Gets the opacity of the PhysicallyBasedMaterial.

Return

The opacity value of the PhysicallyBasedMaterial.

Throws

IllegalStateException

If this material is closed or invalid.