ColorPicker: Difference between revisions
From Crumbled World Wiki
(Created page with "{{:ColorPickerExampleCode}} ==Inheritance== Panel ==Constructor== {| class="wikitable" !|function !|description |- |ColorPicker(PanelSize size) | |- |ColorPicker(PanelSize size, Vec3 color) | |- |ColorPicker(PanelSize size, Vec4 color) |colow.w value is not used. |- |} ==Functions== {| class="wikitable" !|return !|function !|description |- |Vec3 |getColor() |Get color. |- | |setColor(...") |
(No difference)
|
Latest revision as of 13:40, 5 July 2025
Inheritance
Constructor
| function | description |
|---|---|
| ColorPicker(PanelSize size) | |
| ColorPicker(PanelSize size, Vec3 color) | |
| ColorPicker(PanelSize size, Vec4 color) | colow.w value is not used. |
Functions
| return | function | description |
|---|---|---|
| Vec3 | getColor() | Get color. |
| setColor(Vec3 color) | Set color. | |
| setColor(Vec4 color) | Set color. color.w is not used. |