 |
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.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntaxpublic 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
Color4Color4
See Also