|
StandardMaterial(Color4, String) Constructor |
StandardMaterial constructor with diffuse color and opacity specified in Color4 struct (opacity is set from color's alpha value).
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public StandardMaterial(
Color4 diffuseColorWithAlpha,
string? name = null
)
Parameters
- diffuseColorWithAlpha Color4
- diffuseColor as Color4
- name String (Optional)
- optional material name
See Also