Share via


PbrMaterial.Roughness Property

Definition

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.

Applies to