class_colorpicker - dragonsoulz/godot GitHub Wiki
ColorPicker
####Inherits: HBoxContainer ####Category: Core
Brief Description
Color picker control.
Member Functions
- void set_color ( Color color )
- Color get_color ( ) const
- void set_mode ( int mode )
- int get_mode ( ) const
- void set_edit_alpha ( bool show )
- bool is_editing_alpha ( ) const
Signals
- color_changed ( Color color )
Description
This is a simple color picker Control. It's useful for selecting a color from an RGB/RGBA colorspace.
Member Function Description
set_color
- void set_color ( Color color )
Select the current color.
get_color
- Color get_color ( ) const
Return the current (edited) color.