Color::SetColorRGB

Color::SetColorRGB
inline void SetColorRGB(const Color & c);
Description

SetColorRGB assigns the current color's red, green, and blue components to the passed color's RGB values. The current color's alpha channel is not changed.

Parameters
Parameters 
Description 
const Color & c 
A color from which the RGB channels are assigned to the current color.