共用方式為


SceneMetallicRoughnessMaterial.RoughnessFactor 屬性

定義

取得或設定值,這個值表示材質的粗略或平滑顯示方式。

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

屬性值

Single

float

值,表示材質的粗略或平滑顯示方式。

適用於