mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Order everything alphabetically
And sync with current 2.0.x sources.
This commit is contained in:
@@ -16,6 +16,8 @@ An Array of Vector2.
|
||||
Member Functions
|
||||
----------------
|
||||
|
||||
+------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2Array<class_vector2array>` | :ref:`Vector2Array<class_Vector2Array_Vector2Array>` **(** :ref:`Array<class_array>` from **)** |
|
||||
+------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`push_back<class_Vector2Array_push_back>` **(** :ref:`Vector2<class_vector2>` vector2 **)** |
|
||||
+------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
|
||||
@@ -25,8 +27,6 @@ Member Functions
|
||||
+------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`size<class_Vector2Array_size>` **(** **)** |
|
||||
+------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2Array<class_vector2array>` | :ref:`Vector2Array<class_Vector2Array_Vector2Array>` **(** :ref:`Array<class_array>` from **)** |
|
||||
+------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
@@ -36,34 +36,34 @@ An Array specifically designed to hold Vector2.
|
||||
Member Function Description
|
||||
---------------------------
|
||||
|
||||
.. _class_Vector2Array_Vector2Array:
|
||||
|
||||
- :ref:`Vector2Array<class_vector2array>` **Vector2Array** **(** :ref:`Array<class_array>` from **)**
|
||||
|
||||
Construct a new :ref:`Vector2Array<class_vector2array>`. Optionally, you can pass in an Array that will be converted.
|
||||
|
||||
.. _class_Vector2Array_push_back:
|
||||
|
||||
- void **push_back** **(** :ref:`Vector2<class_vector2>` vector2 **)**
|
||||
|
||||
Inserts a Vector2 at the end.
|
||||
Insert a :ref:`Vector2<class_vector2>` at the end.
|
||||
|
||||
.. _class_Vector2Array_resize:
|
||||
|
||||
- void **resize** **(** :ref:`int<class_int>` idx **)**
|
||||
|
||||
Sets the size of the Vector2Array. 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 Vector2Array. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array.
|
||||
|
||||
.. _class_Vector2Array_set:
|
||||
|
||||
- void **set** **(** :ref:`int<class_int>` idx, :ref:`Vector2<class_vector2>` vector2 **)**
|
||||
|
||||
Changes the Vector2 at the given index.
|
||||
Change the :ref:`Vector2<class_vector2>` at the given index.
|
||||
|
||||
.. _class_Vector2Array_size:
|
||||
|
||||
- :ref:`int<class_int>` **size** **(** **)**
|
||||
|
||||
Returns the size of the array.
|
||||
|
||||
.. _class_Vector2Array_Vector2Array:
|
||||
|
||||
- :ref:`Vector2Array<class_vector2array>` **Vector2Array** **(** :ref:`Array<class_array>` from **)**
|
||||
|
||||
Constructs a new Vector2Array. Optionally, you can pass in an Array that will be converted.
|
||||
Return the size of the array.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user