PbrMaterial.Metalness 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 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.