ColorPicker¶
Inherits: VBoxContainer < BoxContainer < Container < Control < CanvasItem < Node < Object
A widget that provides an interface for selecting or modifying a color.
Description¶
A widget that provides an interface for selecting or modifying a color. It can optionally provide functionalities like a color sampler (eyedropper), color modes, and presets.
Note: This control is the color picker widget itself. You can use a ColorPickerButton instead if you need a button that brings up a ColorPicker in a popup.
Tutorials¶
Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods¶
void |
add_preset ( Color color ) |
void |
add_recent_preset ( Color color ) |
void |
erase_preset ( Color color ) |
void |
erase_recent_preset ( Color color ) |
get_presets ( ) const |
|
get_recent_presets ( ) const |
Theme Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
Signals¶
color_changed ( Color color )
Emitted when the color is changed.