C4 Engine
C4 Engine API Documentation

class Color4U

Defined in:  TSColor.h
The Color4U class encapsulates a four-component unsigned integer color.
Definition

class Color4U

Constructor

Color4U();

Color4U(uint32 r, uint32 g, uint32 b, uint32 a = 255);

explicit Color4U(const ColorRGBA& c);

Description
The Color4U class encapsulates a color having unsigned integer red, green, blue, and alpha components in the range [0, 255].

The default constructor leaves the components of the color undefined.
See Also

Color4S

Color2U

Color2S