Click or drag to resize

ColorByte(Byte, Byte, Byte, Byte) Constructor

Constructs an RGBA color from scalars representing red, green, blue and alpha values.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public ColorByte(
	byte red,
	byte green,
	byte blue,
	byte alpha = 255
)

Parameters

red  Byte
green  Byte
blue  Byte
alpha  Byte  (Optional)
Remarks
This overload sets the values directly without clamping, and may therefore be faster than the other overloads.
See Also