Files
godot-docs-l10n/classes/es/class_poolvector3array.rst
Rémi Verschelde cf78697eea Add localized class reference as pre-generated RST files
Currently including `zh_CN` and `es` which both have very high completion
ratios. Others will be added once they reach a significant percentage too.

These RST files will be used by godot-docs in place of its `classes` folder
after we sync with https://github.com/godotengine/godot-docs/pull/5458.

The update workflow is manual for now (example for `zh_CN`):

- Build `godotengine/godot` in the branch we currently track (now `3.x`)
- Run `godot --doctool -l zh_CN`
- Run `cd doc && make rst LANGARG=zh_CN`
- Copy `doc/_build/rst/*` to `classes/zh_CN/` here
- Make sure to have `classes/zh_CN/index.rst` copied from `docs/classes`
2021-12-21 16:07:55 +01:00

140 lines
7.3 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the PoolVector3Array.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_PoolVector3Array:
PoolVector3Array
================
A pooled :ref:`Array<class_Array>` of :ref:`Vector3<class_Vector3>`.
Descripción
----------------------
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.
Métodos
--------------
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PoolVector3Array<class_PoolVector3Array>` | :ref:`PoolVector3Array<class_PoolVector3Array_method_PoolVector3Array>` **(** :ref:`Array<class_Array>` from **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`append<class_PoolVector3Array_method_append>` **(** :ref:`Vector3<class_Vector3>` vector3 **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`append_array<class_PoolVector3Array_method_append_array>` **(** :ref:`PoolVector3Array<class_PoolVector3Array>` array **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`empty<class_PoolVector3Array_method_empty>` **(** **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`insert<class_PoolVector3Array_method_insert>` **(** :ref:`int<class_int>` idx, :ref:`Vector3<class_Vector3>` vector3 **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`invert<class_PoolVector3Array_method_invert>` **(** **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`push_back<class_PoolVector3Array_method_push_back>` **(** :ref:`Vector3<class_Vector3>` vector3 **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`remove<class_PoolVector3Array_method_remove>` **(** :ref:`int<class_int>` idx **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`resize<class_PoolVector3Array_method_resize>` **(** :ref:`int<class_int>` idx **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set<class_PoolVector3Array_method_set>` **(** :ref:`int<class_int>` idx, :ref:`Vector3<class_Vector3>` vector3 **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`size<class_PoolVector3Array_method_size>` **(** **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
Descripciones de Métodos
------------------------------------------------
.. _class_PoolVector3Array_method_PoolVector3Array:
- :ref:`PoolVector3Array<class_PoolVector3Array>` **PoolVector3Array** **(** :ref:`Array<class_Array>` from **)**
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 **)**
Concatena un elemento al final del array (alias de :ref:`push_back<class_PoolVector3Array_method_push_back>`).
----
.. _class_PoolVector3Array_method_append_array:
- void **append_array** **(** :ref:`PoolVector3Array<class_PoolVector3Array>` array **)**
Appends a ``PoolVector3Array`` at the end of this array.
----
.. _class_PoolVector3Array_method_empty:
- :ref:`bool<class_bool>` **empty** **(** **)**
Devuelve ``true`` si el array es vacio.
----
.. _class_PoolVector3Array_method_insert:
- :ref:`int<class_int>` **insert** **(** :ref:`int<class_int>` idx, :ref:`Vector3<class_Vector3>` vector3 **)**
Inserta un nuevo elemento en una posición determinada del array. La posición debe ser válida, o al final del array (``idx == size()``).
----
.. _class_PoolVector3Array_method_invert:
- void **invert** **(** **)**
Invierte el orden de los elementos en el array.
----
.. _class_PoolVector3Array_method_push_back:
- void **push_back** **(** :ref:`Vector3<class_Vector3>` vector3 **)**
Inserta un :ref:`Vector3<class_Vector3>` al final.
----
.. _class_PoolVector3Array_method_remove:
- void **remove** **(** :ref:`int<class_int>` idx **)**
Elimina un elemento del array por indice.
----
.. _class_PoolVector3Array_method_resize:
- void **resize** **(** :ref:`int<class_int>` idx **)**
Establece el tamaño del conjunto. Si el array crece, reserva elementos al final del array. Si el array se reduce, trunca el array al nuevo tamaño.
----
.. _class_PoolVector3Array_method_set:
- void **set** **(** :ref:`int<class_int>` idx, :ref:`Vector3<class_Vector3>` vector3 **)**
Cambia el :ref:`Vector3<class_Vector3>` en el índice dado.
----
.. _class_PoolVector3Array_method_size:
- :ref:`int<class_int>` **size** **(** **)**
Devuelve el tamaño del array.
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`