Color::SetColorAlpha

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

SetColorAlpha assigns the current color's alpha component to the passed color's alpha value. The current color's RGB channels are not changed.

Parameters
Parameters 
Description 
const Color & c 
A color from which the alpha channel is assigned to the current color.