Color::SetAlpha

Color::SetAlpha
inline void SetAlpha(UByte a);
Description

SetAlpha assigns the colors alpha channel (Channels.Alpha) to the passed 8-bit value. The current color's red, green, blue channels are not changed.

Parameters
Parameters 
Description 
UByte a 
A value assigned to the alpha channel. 
See Also