Color Constructor (Single, Single, Single, Single)

Initializes a new instance of the Color struct.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public Color(
	float a,
	float r,
	float g,
	float b
)
Public Sub New ( _
	a As Single, _
	r As Single, _
	g As Single, _
	b As Single _
)
public:
Color(
	float^ a, 
	float^ r, 
	float^ g, 
	float^ b
)

Parameters

a
Type: Single
a.
r
Type: Single
The r.
g
Type: Single
The g.
b
Type: Single
The b.