RGBA

Color stored as four uint8 components

Type: Value type

Methods

Declaration Description
void RGBA() Constructor
void RGBA(uint8 r, uint8 g, uint8 b, uint8 a = 255) Constructor
void RGBA(const RGBA& in other) Copy constructor
RGBA& opAssign(const RGBA& in other) Assignment operator

Properties

Declaration Description
uint8 r Red component
uint8 g Green component
uint8 b Blue component
uint8 a Alpha component