Cogl.Color.set_alpha_float – doc Reference Manual
Packages
doc
Cogl
Color
equal
init_from_hsl
Color
copy
free
get_alpha
get_alpha_byte
get_alpha_float
get_blue
get_blue_byte
get_blue_float
get_green
get_green_byte
get_green_float
get_red
get_red_byte
get_red_float
init_from_4f
init_from_4fv
init_from_4ub
premultiply
set_alpha
set_alpha_byte
set_alpha_float
set_blue
set_blue_byte
set_blue_float
set_from_4f
set_from_4ub
set_green
set_green_byte
set_green_float
set_red
set_red_byte
set_red_float
to_hsl
unpremultiply
set_alpha_float
Description:
public
void
set_alpha_float
(
float
alpha)
Sets the alpha channel of
this
to
alpha
.
Parameters:
this
a
Color
alpha
a float value between 0.0f and 1.0f