Share via


SceneMetallicRoughnessMaterial.RoughnessFactor Property

Definition

Gets or sets a value that indicates how rough or smooth the material appears.

public:
 property float RoughnessFactor { float get(); void set(float value); };
float RoughnessFactor();

void RoughnessFactor(float value);
public float RoughnessFactor { get; set; }
var single = sceneMetallicRoughnessMaterial.roughnessFactor;
sceneMetallicRoughnessMaterial.roughnessFactor = single;
Public Property RoughnessFactor As Single

Property Value

Single

float

A value that indicates how rough or smooth the material appears.

Applies to