 |
PhysicallyBasedMaterial(Color4, Single, Single, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic PhysicallyBasedMaterial(
Color4 baseColor,
float metalness = 1f,
float roughness = 1f,
string? name = null
)
Parameters
- baseColor Color4
- baseColor
- metalness Single (Optional)
- optional metalness (default value is 1). When using metalness-roughness texture, then this value is multiplied by the texture
- roughness Single (Optional)
- optional roughness (default value is 1). When using metalness-roughness texture, then this value is multiplied by the texture
- name String (Optional)
- optional name of this material
See Also