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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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