Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
PackedColorArray¶
A packed array of Colors.
Description¶
An array specifically designed to hold Color. Packs data tightly, so it saves memory for large array sizes.
Примечание
There are notable differences when using this API with C#. See API различия C# и GDScript for more information.
Constructors¶
PackedColorArray ( ) |
|
PackedColorArray ( PackedColorArray from ) |
|
PackedColorArray ( Array from ) |
Methods¶
void |
append_array ( PackedColorArray array ) |
void |
clear ( ) |
duplicate ( ) |
|
void |
|
is_empty ( ) const |
|
void |
|
void |
reverse ( ) |
void |
|
size ( ) const |
|
void |
sort ( ) |
to_byte_array ( ) const |
Operators¶
operator != ( PackedColorArray right ) |
|
operator + ( PackedColorArray right ) |
|
operator == ( PackedColorArray right ) |
|
operator [] ( int index ) |
Constructor Descriptions¶
PackedColorArray PackedColorArray ( )
Constructs an empty PackedColorArray.