Color picker control.
|void||add_preset ( Color color )|
Emitted when the color is changed.
true, shows an alpha channel slider (transparency).
true, allows the color R, G, B component values to go beyond 1.0, which can be used for certain special operations that require it (like tinting without darkening or rendering sprites in HDR).
This is a simple color picker Control. It’s useful for selecting a color from an RGB/RGBA colorspace.
Adds the current selected to color to a list of colors (presets), the presets will be displayed in the color picker and the user will be able to select them, notice that the presets list is only for this color picker.
© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.