|
StandardMaterial(Color3, Single, Single, String) Constructor |
StandardMaterial constructor with a diffuse color and an opacity value
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public StandardMaterial(
Color3 diffuseColor,
float opacity,
float specularPower,
string? name = null
)
Parameters
- diffuseColor Color3
- diffuseColor as Color3
- opacity Single
- optional opacity value
- specularPower Single
- power of the specular effect
- name String (Optional)
- optional material name
See Also