ColorByte(Byte, Byte, Byte, Byte) Constructor |
Constructs an RGBA color from scalars representing red, green, blue and alpha values.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic 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