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.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
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
See Also