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