Color::SetAlphaFloat

Color::SetAlphaFloat
inline void SetAlphaFloat(float a);
Description

SetAlphaFloat assigns the color's alpha channel (Channels.Alpha) to the 8-bit equivalent of the passed floating-point value (this.a = 255 * a). The current color's red, green, blue channels are not changed.

Parameters
Parameters 
Description 
float a 
A floating-point value assigned to the alpha channel. 
See Also