Share via


PbrMaterial.RoughnessMap Property

Definition

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

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

Property Value

Remarks

A valid roughness texture is a grayscale texture that defines which areas are rough (values close to 1.0) and which are smooth (values close to 0.0).

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

Applies to