Struct ColorPickerButton
Button that pops out a ColorPicker.
struct ColorPickerButton
;
Encapsulates a ColorPicker making it accessible by pressing a button. Pressing the button will toggle the ColorPicker visibility.
Properties
| Name | Type | Description |
|---|---|---|
color[get, set]
|
Color | The currently selected color. |
editAlpha[get, set]
|
bool | If true, the alpha channel in the displayed ColorPicker will be visible.
|
Methods
| Name | Description |
|---|---|
_colorChanged
|
|
_modalClosed
|
|
getPickColor
|
|
getPicker
|
Returns the ColorPicker that this node toggles.
|
getPopup
|
Returns the control's PopupPanel which allows you to connect to popup signals. This allows you to handle events when the ColorPicker is shown or hidden.
|
isEditingAlpha
|
|
setEditAlpha
|
|
setPickColor
|