hgeColorRGB Constructors
To create and initalize a hgeColorRGB object you may use one of these constructors:
hgeColorRGB();
hgeColorRGB(
DWORD color
);
hgeColorRGB(
float r,
float g,
float b,
float a
);
hgeColorRGB(
const hgeColorRGB &col
);
Parameters
- color
- Hardware color to intialize hgeColorRGB object with.
- r
- Red value ranging from 0.0 to 1.0.
- g
- Green value ranging from 0.0 to 1.0.
- b
- Blue value ranging from 0.0 to 1.0.
- a
- Alpha value ranging from 0.0 to 1.0.
Requirements
Header: hgecolor.h
See also
Hardware color format
|