PbrMaterial.Metalness Property

Definition

A constant metalness value.

public:
 property float Metalness { float get(); void set(float value); };
public float Metalness { get; set; }
member this.Metalness : single with get, set
Public Property Metalness As Single

Property Value

Remarks

Metalness is a scalar in the [0..1] range, which in most of the use cases is either 0.0 (non-metallic) or 1.0 (metallic). The metalness constant is only used if no MetalnessMap is provided.

A InvalidParam error occurs if the value is outside [0..1] range.

Applies to