Click or drag to resize
Ab4d.SharpEngine logo

StandardMaterial(Color4, String) Constructor

StandardMaterial constructor with diffuse color and opacity specified in Color4 struct (opacity is set from color's alpha value).

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public StandardMaterial(
	Color4 diffuseColorWithAlpha,
	string? name = null
)

Parameters

diffuseColorWithAlpha  Color4
diffuseColor as Color4
name  String  (Optional)
optional material name
See Also