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

NameTypeDescription
color[get, set] ColorThe currently selected color.
editAlpha[get, set] boolIf true, the alpha channel in the displayed ColorPicker will be visible.

Methods

NameDescription
_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