Skip to content

Search

Dokumentation

widget_color_picker

The rows a color_picker reads: the colour it holds and what it offers.

Auf dieser Seite

ui · 3 properties · UI

The rows a color_picker reads: the colour it holds and what it offers.

In a scene, widget_color_picker is the node key that applies it. A script reaches each property below as a field on node.widget_color_picker: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.widget_color_picker.get() and node.widget_color_picker.set(table).

Properties

property type default description
alpha enum blend What a color_picker offers for alpha: none keeps the colour opaque, blend offers transparency, additive that and additive blending One of none, blend, additive.
inline bool false Draw a color_picker's picker in place, rather than behind a swatch that opens it
picked_color color [1,1,1,1] What a color_picker holds; on_change hears the new one