mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
dync classref with current source
This commit is contained in:
@@ -42,7 +42,9 @@ Methods
|
||||
Description
|
||||
-----------
|
||||
|
||||
An :ref:`Array<class_Array>` specifically designed to hold :ref:`Vector3<class_Vector3>`. Optimized for memory usage, does not fragment the memory. Note that this type is passed by value and not by reference.
|
||||
An :ref:`Array<class_Array>` specifically designed to hold :ref:`Vector3<class_Vector3>`. Optimized for memory usage, does not fragment the memory.
|
||||
|
||||
**Note:** This type is passed by value and not by reference.
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
@@ -51,55 +53,55 @@ Method Descriptions
|
||||
|
||||
- :ref:`PoolVector3Array<class_PoolVector3Array>` **PoolVector3Array** **(** :ref:`Array<class_Array>` from **)**
|
||||
|
||||
Construct a new ``PoolVector3Array``. Optionally, you can pass in a generic :ref:`Array<class_Array>` that will be converted.
|
||||
Constructs a new ``PoolVector3Array``. Optionally, you can pass in a generic :ref:`Array<class_Array>` that will be converted.
|
||||
|
||||
.. _class_PoolVector3Array_method_append:
|
||||
|
||||
- void **append** **(** :ref:`Vector3<class_Vector3>` vector3 **)**
|
||||
|
||||
Append an element at the end of the array (alias of :ref:`push_back<class_PoolVector3Array_method_push_back>`).
|
||||
Appends an element at the end of the array (alias of :ref:`push_back<class_PoolVector3Array_method_push_back>`).
|
||||
|
||||
.. _class_PoolVector3Array_method_append_array:
|
||||
|
||||
- void **append_array** **(** :ref:`PoolVector3Array<class_PoolVector3Array>` array **)**
|
||||
|
||||
Append a ``PoolVector3Array`` at the end of this array.
|
||||
Appends a ``PoolVector3Array`` at the end of this array.
|
||||
|
||||
.. _class_PoolVector3Array_method_insert:
|
||||
|
||||
- :ref:`int<class_int>` **insert** **(** :ref:`int<class_int>` idx, :ref:`Vector3<class_Vector3>` vector3 **)**
|
||||
|
||||
Insert a new element at a given position in the array. The position must be valid, or at the end of the array (``idx == size()``).
|
||||
Inserts a new element at a given position in the array. The position must be valid, or at the end of the array (``idx == size()``).
|
||||
|
||||
.. _class_PoolVector3Array_method_invert:
|
||||
|
||||
- void **invert** **(** **)**
|
||||
|
||||
Reverse the order of the elements in the array.
|
||||
Reverses the order of the elements in the array.
|
||||
|
||||
.. _class_PoolVector3Array_method_push_back:
|
||||
|
||||
- void **push_back** **(** :ref:`Vector3<class_Vector3>` vector3 **)**
|
||||
|
||||
Insert a :ref:`Vector3<class_Vector3>` at the end.
|
||||
Inserts a :ref:`Vector3<class_Vector3>` at the end.
|
||||
|
||||
.. _class_PoolVector3Array_method_remove:
|
||||
|
||||
- void **remove** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Remove an element from the array by index.
|
||||
Removes an element from the array by index.
|
||||
|
||||
.. _class_PoolVector3Array_method_resize:
|
||||
|
||||
- void **resize** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
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.
|
||||
Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size.
|
||||
|
||||
.. _class_PoolVector3Array_method_set:
|
||||
|
||||
- void **set** **(** :ref:`int<class_int>` idx, :ref:`Vector3<class_Vector3>` vector3 **)**
|
||||
|
||||
Change the :ref:`Vector3<class_Vector3>` at the given index.
|
||||
Changes the :ref:`Vector3<class_Vector3>` at the given index.
|
||||
|
||||
.. _class_PoolVector3Array_method_size:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user