mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Sync with current upstream master branch
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
||||
.. DO NOT EDIT THIS FILE, but the PoolColorArray.xml source instead.
|
||||
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||||
|
||||
.. _class_PoolColorArray:
|
||||
|
||||
@@ -41,7 +42,7 @@ Member Functions
|
||||
Description
|
||||
-----------
|
||||
|
||||
Array of Color, can only contains colors. Optimized for memory usage, can't fragment the memory.
|
||||
Array of Color, Contains colors. Optimized for memory usage, can't fragment the memory.
|
||||
|
||||
Member Function Description
|
||||
---------------------------
|
||||
@@ -62,7 +63,7 @@ Append an element at the end of the array (alias of :ref:`push_back<class_PoolCo
|
||||
|
||||
- void **append_array** **(** :ref:`PoolColorArray<class_poolcolorarray>` array **)**
|
||||
|
||||
Append an :ref:`PoolColorArray<class_poolcolorarray>` at the end of this array.
|
||||
Append a :ref:`PoolColorArray<class_poolcolorarray>` at the end of this array.
|
||||
|
||||
.. _class_PoolColorArray_insert:
|
||||
|
||||
@@ -92,7 +93,7 @@ Remove an element from the array by index.
|
||||
|
||||
- void **resize** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Set the size of the :ref:`PoolColorArray<class_poolcolorarray>`. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array.
|
||||
Set the size of the array. If the array is grown reserve elements at the end of the array. If the array is shrunk truncate the array to the new size.
|
||||
|
||||
.. _class_PoolColorArray_set:
|
||||
|
||||
@@ -104,6 +105,6 @@ Change the :ref:`Color<class_color>` at the given index.
|
||||
|
||||
- :ref:`int<class_int>` **size** **(** **)**
|
||||
|
||||
Return the array size.
|
||||
Return the size of the array.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user