SceneMetallicRoughnessMaterial.RoughnessFactor 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.
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.