ColorPicker

Inherits: VBoxContainer < BoxContainer < Container < Control < CanvasItem < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

can_add_swatches

true

Color

color

Color(1, 1, 1, 1)

ColorModeType

color_mode

0

bool

color_modes_visible

true

bool

deferred_mode

false

bool

edit_alpha

true

bool

hex_visible

true

PickerShapeType

picker_shape

0

bool

presets_visible

true

bool

sampler_visible

true

bool

sliders_visible

true

Methods

void

add_preset ( Color color )

void

add_recent_preset ( Color color )

void

erase_preset ( Color color )

void

erase_recent_preset ( Color color )

PackedColorArray

get_presets ( ) const

PackedColorArray

get_recent_presets ( ) const

Theme Properties

int

center_slider_grabbers

1

int

h_width

30

int

label_width

10

int

margin

4

int

sv_height

256

int

sv_width

256

Texture2D

add_preset

Texture2D

bar_arrow

Texture2D

color_hue

Texture2D

color_okhsl_hue

Texture2D

expanded_arrow

Texture2D

folded_arrow

Texture2D

overbright_indicator

Texture2D

picker_cursor

Texture2D

sample_bg

Texture2D

sample_revert

Texture2D

screen_picker

Texture2D

shape_circle

Texture2D

shape_rect

Texture2D

shape_rect_wheel


Signals

color_changed ( Color color )

There is currently no description for this signal. Please help us by contributing one!


preset_added ( Color color )

There is currently no description for this signal. Please help us by contributing one!


preset_removed ( Color color )

There is currently no description for this signal. Please help us by contributing one!


Enumerations

enum ColorModeType:

ColorModeType MODE_RGB = 0

There is currently no description for this enum. Please help us by contributing one!

ColorModeType MODE_HSV = 1

There is currently no description for this enum. Please help us by contributing one!

ColorModeType MODE_RAW = 2

There is currently no description for this enum. Please help us by contributing one!

ColorModeType MODE_OKHSL = 3

There is currently no description for this enum. Please help us by contributing one!


enum PickerShapeType:

PickerShapeType SHAPE_HSV_RECTANGLE = 0

There is currently no description for this enum. Please help us by contributing one!

PickerShapeType SHAPE_HSV_WHEEL = 1

There is currently no description for this enum. Please help us by contributing one!

PickerShapeType SHAPE_VHS_CIRCLE = 2

There is currently no description for this enum. Please help us by contributing one!

PickerShapeType SHAPE_OKHSL_CIRCLE = 3

There is currently no description for this enum. Please help us by contributing one!

PickerShapeType SHAPE_NONE = 4

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

bool can_add_swatches = true

  • void set_can_add_swatches ( bool value )

  • bool are_swatches_enabled ( )

There is currently no description for this property. Please help us by contributing one!


Color color = Color(1, 1, 1, 1)

  • void set_pick_color ( Color value )

  • Color get_pick_color ( )

There is currently no description for this property. Please help us by contributing one!


ColorModeType color_mode = 0

There is currently no description for this property. Please help us by contributing one!


bool color_modes_visible = true

  • void set_modes_visible ( bool value )

  • bool are_modes_visible ( )

There is currently no description for this property. Please help us by contributing one!


bool deferred_mode = false

  • void set_deferred_mode ( bool value )

  • bool is_deferred_mode ( )

There is currently no description for this property. Please help us by contributing one!


bool edit_alpha = true

  • void set_edit_alpha ( bool value )

  • bool is_editing_alpha ( )

There is currently no description for this property. Please help us by contributing one!


bool hex_visible = true

  • void set_hex_visible ( bool value )

  • bool is_hex_visible ( )

There is currently no description for this property. Please help us by contributing one!


PickerShapeType picker_shape = 0

There is currently no description for this property. Please help us by contributing one!


bool presets_visible = true

  • void set_presets_visible ( bool value )

  • bool are_presets_visible ( )

There is currently no description for this property. Please help us by contributing one!


bool sampler_visible = true

  • void set_sampler_visible ( bool value )

  • bool is_sampler_visible ( )

There is currently no description for this property. Please help us by contributing one!


bool sliders_visible = true

  • void set_sliders_visible ( bool value )

  • bool are_sliders_visible ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_preset ( Color color )

There is currently no description for this method. Please help us by contributing one!


void add_recent_preset ( Color color )

There is currently no description for this method. Please help us by contributing one!


void erase_preset ( Color color )

There is currently no description for this method. Please help us by contributing one!


void erase_recent_preset ( Color color )

There is currently no description for this method. Please help us by contributing one!


PackedColorArray get_presets ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedColorArray get_recent_presets ( ) const

There is currently no description for this method. Please help us by contributing one!


Theme Property Descriptions

int center_slider_grabbers = 1

There is currently no description for this theme property. Please help us by contributing one!


int h_width = 30

There is currently no description for this theme property. Please help us by contributing one!


int label_width = 10

There is currently no description for this theme property. Please help us by contributing one!


int margin = 4

There is currently no description for this theme property. Please help us by contributing one!


int sv_height = 256

There is currently no description for this theme property. Please help us by contributing one!


int sv_width = 256

There is currently no description for this theme property. Please help us by contributing one!


Texture2D add_preset

There is currently no description for this theme property. Please help us by contributing one!


Texture2D bar_arrow

There is currently no description for this theme property. Please help us by contributing one!


Texture2D color_hue

There is currently no description for this theme property. Please help us by contributing one!


Texture2D color_okhsl_hue

There is currently no description for this theme property. Please help us by contributing one!


Texture2D expanded_arrow

There is currently no description for this theme property. Please help us by contributing one!


Texture2D folded_arrow

There is currently no description for this theme property. Please help us by contributing one!


Texture2D overbright_indicator

There is currently no description for this theme property. Please help us by contributing one!


Texture2D picker_cursor

There is currently no description for this theme property. Please help us by contributing one!


Texture2D sample_bg

There is currently no description for this theme property. Please help us by contributing one!


Texture2D sample_revert

There is currently no description for this theme property. Please help us by contributing one!


Texture2D screen_picker

There is currently no description for this theme property. Please help us by contributing one!


Texture2D shape_circle

There is currently no description for this theme property. Please help us by contributing one!


Texture2D shape_rect

There is currently no description for this theme property. Please help us by contributing one!


Texture2D shape_rect_wheel

There is currently no description for this theme property. Please help us by contributing one!