getAmbientOcclusion

fun getAmbientOcclusion(): Float

Gets the ambient occlusion value of the PhysicallyBasedMaterial.

Return

The ambient occlusion value of the PhysicallyBasedMaterial.

Throws

IllegalStateException

If this material is closed or invalid.