getRoughness

fun getRoughness(): Float

Gets the roughness of the PhysicallyBasedMaterial.

Return

The roughness of the PhysicallyBasedMaterial.

Throws

IllegalStateException

If this material is closed or invalid.