PbrMaterial.Roughness Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A constant roughness value.
public:
property float Roughness { float get(); void set(float value); };
public float Roughness { get; set; }
member this.Roughness : single with get, set
Public Property Roughness As Single
Property Value
Remarks
Roughness is a scalar in the [0..1] range. The roughness constant is only used if no RoughnessMap is provided.
A InvalidParam error occurs if the value is outside [0..1] range.