mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 18:43:29 -05:00
e6a49ab6ac
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
16 lines
962 B
XML
16 lines
962 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="ColorPalette" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
A resource class for managing a palette of colors, which can be loaded and saved using [ColorPicker].
|
|
</brief_description>
|
|
<description>
|
|
The [ColorPalette] resource is designed to store and manage a collection of colors. This resource is useful in scenarios where a predefined set of colors is required, such as for creating themes, designing user interfaces, or managing game assets. The built-in [ColorPicker] control can also make use of [ColorPalette] without additional code.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="colors" type="PackedColorArray" setter="set_colors" getter="get_colors" default="PackedColorArray()">
|
|
A [PackedColorArray] containing the colors in the palette.
|
|
</member>
|
|
</members>
|
|
</class>
|