Click or drag to resize
Ab4d.SharpEngine logo

StandardMaterial(Color3, Single, Single, String) Constructor

StandardMaterial constructor with a diffuse color and an opacity value

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
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
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Materials.StandardMaterial.#ctor(Ab4d.SharpEngine.Common.Color3,System.Single,System.Single,System.String)"]

See Also