Share via


PbrMaterial.MetalnessMap Property

Definition

The Texture used for metalness. Pass in null if no dedicated texture is needed.

public:
 property Microsoft::Azure::RemoteRendering::Texture ^ MetalnessMap { Microsoft::Azure::RemoteRendering::Texture ^ get(); void set(Microsoft::Azure::RemoteRendering::Texture ^ value); };
public Microsoft.Azure.RemoteRendering.Texture MetalnessMap { get; set; }
member this.MetalnessMap : Microsoft.Azure.RemoteRendering.Texture with get, set
Public Property MetalnessMap As Texture

Property Value

Remarks

A valid metalness texture is a grayscale texture that defines which areas should be considered metal (1.0) and which areas are non-metals (0.0). Values in between are possible, but are not physically plausible.

A InvalidType error occurs if a texture is set that is not a 2D texture.

Applies to