mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source
This commit is contained in:
@@ -84,12 +84,16 @@ Signals
|
||||
|
||||
Emitted when the color is changed.
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_signal_preset_added:
|
||||
|
||||
- **preset_added** **(** :ref:`Color<class_Color>` color **)**
|
||||
|
||||
Emitted when a preset is added.
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_signal_preset_removed:
|
||||
|
||||
- **preset_removed** **(** :ref:`Color<class_Color>` color **)**
|
||||
@@ -118,6 +122,8 @@ Property Descriptions
|
||||
|
||||
The currently selected color.
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_property_deferred_mode:
|
||||
|
||||
- :ref:`bool<class_bool>` **deferred_mode**
|
||||
@@ -132,6 +138,8 @@ The currently selected color.
|
||||
|
||||
If ``true``, the color will apply only after the user releases the mouse button, otherwise it will apply immediately even in mouse motion event (which can cause performance issues).
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_property_edit_alpha:
|
||||
|
||||
- :ref:`bool<class_bool>` **edit_alpha**
|
||||
@@ -146,6 +154,8 @@ If ``true``, the color will apply only after the user releases the mouse button,
|
||||
|
||||
If ``true``, shows an alpha channel slider (transparency).
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_property_hsv_mode:
|
||||
|
||||
- :ref:`bool<class_bool>` **hsv_mode**
|
||||
@@ -162,6 +172,8 @@ If ``true``, allows editing the color with Hue/Saturation/Value sliders.
|
||||
|
||||
**Note:** Cannot be enabled if raw mode is on.
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_property_presets_enabled:
|
||||
|
||||
- :ref:`bool<class_bool>` **presets_enabled**
|
||||
@@ -176,6 +188,8 @@ If ``true``, allows editing the color with Hue/Saturation/Value sliders.
|
||||
|
||||
If ``true``, the "add preset" button is enabled.
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_property_presets_visible:
|
||||
|
||||
- :ref:`bool<class_bool>` **presets_visible**
|
||||
@@ -190,6 +204,8 @@ If ``true``, the "add preset" button is enabled.
|
||||
|
||||
If ``true``, saved color presets are visible.
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_property_raw_mode:
|
||||
|
||||
- :ref:`bool<class_bool>` **raw_mode**
|
||||
@@ -217,12 +233,16 @@ Adds the given color to a list of color presets. The presets are displayed in th
|
||||
|
||||
**Note:** the presets list is only for *this* color picker.
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_method_erase_preset:
|
||||
|
||||
- void **erase_preset** **(** :ref:`Color<class_Color>` color **)**
|
||||
|
||||
Removes the given color from the list of color presets of this color picker.
|
||||
|
||||
----
|
||||
|
||||
.. _class_ColorPicker_method_get_presets:
|
||||
|
||||
- :ref:`PoolColorArray<class_PoolColorArray>` **get_presets** **(** **)** const
|
||||
|
||||
Reference in New Issue
Block a user