classref: Sync with current master branch (76a1359)

This commit is contained in:
Godot Organization
2024-09-28 03:21:12 +00:00
parent f16608e044
commit 28d9cb75e9
47 changed files with 1073 additions and 171 deletions

View File

@@ -75,6 +75,8 @@ Methods
+-----------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`find<class_PackedVector2Array_method_find>`\ (\ value\: :ref:`Vector2<class_Vector2>`, from\: :ref:`int<class_int>` = 0\ ) |const| |
+-----------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Vector2<class_Vector2>` | :ref:`get<class_PackedVector2Array_method_get>`\ (\ index\: :ref:`int<class_int>`\ ) |const| |
+-----------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`has<class_PackedVector2Array_method_has>`\ (\ value\: :ref:`Vector2<class_Vector2>`\ ) |const| |
+-----------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`insert<class_PackedVector2Array_method_insert>`\ (\ at_index\: :ref:`int<class_int>`, value\: :ref:`Vector2<class_Vector2>`\ ) |
@@ -278,6 +280,18 @@ Searches the array for a value and returns its index or ``-1`` if not found. Opt
----
.. _class_PackedVector2Array_method_get:
.. rst-class:: classref-method
:ref:`Vector2<class_Vector2>` **get**\ (\ index\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_PackedVector2Array_method_get>`
Returns the :ref:`Vector2<class_Vector2>` at the given ``index`` in the array. This is the same as using the ``[]`` operator (``array[index]``).
.. rst-class:: classref-item-separator
----
.. _class_PackedVector2Array_method_has:
.. rst-class:: classref-method