• Extract a specular highlight, converting specular exponents to a roughness value.

    Parameters

    • from: null | IfcSpecularExponent | IfcSpecularRoughness

      The scalar of either an exponent or a roughness to extract.

    Returns number | undefined

    A roughness value 1 (roughest) to zero (full specular/mirror).