Click or drag to resize
Ab4d.SharpEngine logo

Color4FromByteRgba Method

Gets Color4 from red, green, blue and alpha values defined as bytes (each value in range from 0 to 255)

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static Color4 FromByteRgba(
	byte red,
	byte green,
	byte blue,
	byte alpha
)

Parameters

red  Byte
The red component of the color.
green  Byte
The green component of the color.
blue  Byte
The blue component of the color.
alpha  Byte
The alpha component of the color.

Return Value

Color4
Color4
See Also