inline void SetAlphaFloat(float a);
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 |
Description |
float a |
A floating-point value assigned to the alpha channel. |