classref: Sync with current master branch (2e7fc81)

This commit is contained in:
Godot Organization
2024-02-24 03:20:02 +00:00
parent 4f21f44632
commit 8978497bb6
938 changed files with 42729 additions and 36889 deletions

View File

@@ -33,13 +33,13 @@ Constructors
.. table::
:widths: auto
+-----------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`PackedFloat32Array<class_PackedFloat32Array_constructor_PackedFloat32Array>` **(** **)** |
+-----------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`PackedFloat32Array<class_PackedFloat32Array_constructor_PackedFloat32Array>` **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` from **)** |
+-----------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`PackedFloat32Array<class_PackedFloat32Array_constructor_PackedFloat32Array>` **(** :ref:`Array<class_Array>` from **)** |
+-----------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
+-----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`PackedFloat32Array<class_PackedFloat32Array_constructor_PackedFloat32Array>`\ (\ ) |
+-----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`PackedFloat32Array<class_PackedFloat32Array_constructor_PackedFloat32Array>`\ (\ from\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ ) |
+-----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`PackedFloat32Array<class_PackedFloat32Array_constructor_PackedFloat32Array>`\ (\ from\: :ref:`Array<class_Array>`\ ) |
+-----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
.. rst-class:: classref-reftable-group
@@ -49,49 +49,49 @@ Methods
.. table::
:widths: auto
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`append<class_PackedFloat32Array_method_append>` **(** :ref:`float<class_float>` value **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`append_array<class_PackedFloat32Array_method_append_array>` **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` array **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`bsearch<class_PackedFloat32Array_method_bsearch>` **(** :ref:`float<class_float>` value, :ref:`bool<class_bool>` before=true **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`clear<class_PackedFloat32Array_method_clear>` **(** **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`count<class_PackedFloat32Array_method_count>` **(** :ref:`float<class_float>` value **)** |const| |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`duplicate<class_PackedFloat32Array_method_duplicate>` **(** **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`fill<class_PackedFloat32Array_method_fill>` **(** :ref:`float<class_float>` value **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`find<class_PackedFloat32Array_method_find>` **(** :ref:`float<class_float>` value, :ref:`int<class_int>` from=0 **)** |const| |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`has<class_PackedFloat32Array_method_has>` **(** :ref:`float<class_float>` value **)** |const| |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`insert<class_PackedFloat32Array_method_insert>` **(** :ref:`int<class_int>` at_index, :ref:`float<class_float>` value **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_empty<class_PackedFloat32Array_method_is_empty>` **(** **)** |const| |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`push_back<class_PackedFloat32Array_method_push_back>` **(** :ref:`float<class_float>` value **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`remove_at<class_PackedFloat32Array_method_remove_at>` **(** :ref:`int<class_int>` index **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`resize<class_PackedFloat32Array_method_resize>` **(** :ref:`int<class_int>` new_size **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`reverse<class_PackedFloat32Array_method_reverse>` **(** **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`rfind<class_PackedFloat32Array_method_rfind>` **(** :ref:`float<class_float>` value, :ref:`int<class_int>` from=-1 **)** |const| |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set<class_PackedFloat32Array_method_set>` **(** :ref:`int<class_int>` index, :ref:`float<class_float>` value **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`size<class_PackedFloat32Array_method_size>` **(** **)** |const| |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`slice<class_PackedFloat32Array_method_slice>` **(** :ref:`int<class_int>` begin, :ref:`int<class_int>` end=2147483647 **)** |const| |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`sort<class_PackedFloat32Array_method_sort>` **(** **)** |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedByteArray<class_PackedByteArray>` | :ref:`to_byte_array<class_PackedFloat32Array_method_to_byte_array>` **(** **)** |const| |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`append<class_PackedFloat32Array_method_append>`\ (\ value\: :ref:`float<class_float>`\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`append_array<class_PackedFloat32Array_method_append_array>`\ (\ array\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`bsearch<class_PackedFloat32Array_method_bsearch>`\ (\ value\: :ref:`float<class_float>`, before\: :ref:`bool<class_bool>` = true\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`clear<class_PackedFloat32Array_method_clear>`\ (\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`count<class_PackedFloat32Array_method_count>`\ (\ value\: :ref:`float<class_float>`\ ) |const| |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`duplicate<class_PackedFloat32Array_method_duplicate>`\ (\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`fill<class_PackedFloat32Array_method_fill>`\ (\ value\: :ref:`float<class_float>`\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`find<class_PackedFloat32Array_method_find>`\ (\ value\: :ref:`float<class_float>`, from\: :ref:`int<class_int>` = 0\ ) |const| |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`has<class_PackedFloat32Array_method_has>`\ (\ value\: :ref:`float<class_float>`\ ) |const| |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`insert<class_PackedFloat32Array_method_insert>`\ (\ at_index\: :ref:`int<class_int>`, value\: :ref:`float<class_float>`\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_empty<class_PackedFloat32Array_method_is_empty>`\ (\ ) |const| |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`push_back<class_PackedFloat32Array_method_push_back>`\ (\ value\: :ref:`float<class_float>`\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`remove_at<class_PackedFloat32Array_method_remove_at>`\ (\ index\: :ref:`int<class_int>`\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`resize<class_PackedFloat32Array_method_resize>`\ (\ new_size\: :ref:`int<class_int>`\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`reverse<class_PackedFloat32Array_method_reverse>`\ (\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`rfind<class_PackedFloat32Array_method_rfind>`\ (\ value\: :ref:`float<class_float>`, from\: :ref:`int<class_int>` = -1\ ) |const| |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`set<class_PackedFloat32Array_method_set>`\ (\ index\: :ref:`int<class_int>`, value\: :ref:`float<class_float>`\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`size<class_PackedFloat32Array_method_size>`\ (\ ) |const| |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`slice<class_PackedFloat32Array_method_slice>`\ (\ begin\: :ref:`int<class_int>`, end\: :ref:`int<class_int>` = 2147483647\ ) |const| |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`sort<class_PackedFloat32Array_method_sort>`\ (\ ) |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedByteArray<class_PackedByteArray>` | :ref:`to_byte_array<class_PackedFloat32Array_method_to_byte_array>`\ (\ ) |const| |
+-----------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
.. rst-class:: classref-reftable-group
@@ -101,15 +101,15 @@ Operators
.. table::
:widths: auto
+-----------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`operator !=<class_PackedFloat32Array_operator_neq_PackedFloat32Array>` **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` right **)** |
+-----------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`operator +<class_PackedFloat32Array_operator_sum_PackedFloat32Array>` **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` right **)** |
+-----------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`operator ==<class_PackedFloat32Array_operator_eq_PackedFloat32Array>` **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` right **)** |
+-----------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`operator []<class_PackedFloat32Array_operator_idx_int>` **(** :ref:`int<class_int>` index **)** |
+-----------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`operator !=<class_PackedFloat32Array_operator_neq_PackedFloat32Array>`\ (\ right\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ ) |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`operator +<class_PackedFloat32Array_operator_sum_PackedFloat32Array>`\ (\ right\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ ) |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`operator ==<class_PackedFloat32Array_operator_eq_PackedFloat32Array>`\ (\ right\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ ) |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`operator []<class_PackedFloat32Array_operator_idx_int>`\ (\ index\: :ref:`int<class_int>`\ ) |
+-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
.. rst-class:: classref-section-separator
@@ -124,7 +124,7 @@ Constructor Descriptions
.. rst-class:: classref-constructor
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **PackedFloat32Array** **(** **)**
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **PackedFloat32Array**\ (\ )
Constructs an empty **PackedFloat32Array**.
@@ -134,7 +134,7 @@ Constructs an empty **PackedFloat32Array**.
.. rst-class:: classref-constructor
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **PackedFloat32Array** **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` from **)**
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **PackedFloat32Array**\ (\ from\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ )
Constructs a **PackedFloat32Array** as a copy of the given **PackedFloat32Array**.
@@ -144,7 +144,7 @@ Constructs a **PackedFloat32Array** as a copy of the given **PackedFloat32Array*
.. rst-class:: classref-constructor
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **PackedFloat32Array** **(** :ref:`Array<class_Array>` from **)**
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **PackedFloat32Array**\ (\ from\: :ref:`Array<class_Array>`\ )
Constructs a new **PackedFloat32Array**. Optionally, you can pass in a generic :ref:`Array<class_Array>` that will be converted.
@@ -161,7 +161,7 @@ Method Descriptions
.. rst-class:: classref-method
:ref:`bool<class_bool>` **append** **(** :ref:`float<class_float>` value **)**
:ref:`bool<class_bool>` **append**\ (\ value\: :ref:`float<class_float>`\ )
Appends an element at the end of the array (alias of :ref:`push_back<class_PackedFloat32Array_method_push_back>`).
@@ -173,7 +173,7 @@ Appends an element at the end of the array (alias of :ref:`push_back<class_Packe
.. rst-class:: classref-method
void **append_array** **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` array **)**
|void| **append_array**\ (\ array\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ )
Appends a **PackedFloat32Array** at the end of this array.
@@ -185,7 +185,7 @@ Appends a **PackedFloat32Array** at the end of this array.
.. rst-class:: classref-method
:ref:`int<class_int>` **bsearch** **(** :ref:`float<class_float>` value, :ref:`bool<class_bool>` before=true **)**
:ref:`int<class_int>` **bsearch**\ (\ value\: :ref:`float<class_float>`, before\: :ref:`bool<class_bool>` = true\ )
Finds the index of an existing value (or the insertion index that maintains sorting order, if the value is not yet present in the array) using binary search. Optionally, a ``before`` specifier can be passed. If ``false``, the returned index comes after all existing entries of the value in the array.
@@ -201,7 +201,7 @@ Finds the index of an existing value (or the insertion index that maintains sort
.. rst-class:: classref-method
void **clear** **(** **)**
|void| **clear**\ (\ )
Clears the array. This is equivalent to using :ref:`resize<class_PackedFloat32Array_method_resize>` with a size of ``0``.
@@ -213,7 +213,7 @@ Clears the array. This is equivalent to using :ref:`resize<class_PackedFloat32Ar
.. rst-class:: classref-method
:ref:`int<class_int>` **count** **(** :ref:`float<class_float>` value **)** |const|
:ref:`int<class_int>` **count**\ (\ value\: :ref:`float<class_float>`\ ) |const|
Returns the number of times an element is in the array.
@@ -227,7 +227,7 @@ Returns the number of times an element is in the array.
.. rst-class:: classref-method
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **duplicate** **(** **)**
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **duplicate**\ (\ )
Creates a copy of the array, and returns it.
@@ -239,7 +239,7 @@ Creates a copy of the array, and returns it.
.. rst-class:: classref-method
void **fill** **(** :ref:`float<class_float>` value **)**
|void| **fill**\ (\ value\: :ref:`float<class_float>`\ )
Assigns the given value to all elements in the array. This can typically be used together with :ref:`resize<class_PackedFloat32Array_method_resize>` to create an array with a given size and initialized elements.
@@ -251,7 +251,7 @@ Assigns the given value to all elements in the array. This can typically be used
.. rst-class:: classref-method
:ref:`int<class_int>` **find** **(** :ref:`float<class_float>` value, :ref:`int<class_int>` from=0 **)** |const|
:ref:`int<class_int>` **find**\ (\ value\: :ref:`float<class_float>`, from\: :ref:`int<class_int>` = 0\ ) |const|
Searches the array for a value and returns its index or ``-1`` if not found. Optionally, the initial search index can be passed.
@@ -265,7 +265,7 @@ Searches the array for a value and returns its index or ``-1`` if not found. Opt
.. rst-class:: classref-method
:ref:`bool<class_bool>` **has** **(** :ref:`float<class_float>` value **)** |const|
:ref:`bool<class_bool>` **has**\ (\ value\: :ref:`float<class_float>`\ ) |const|
Returns ``true`` if the array contains ``value``.
@@ -279,7 +279,7 @@ Returns ``true`` if the array contains ``value``.
.. rst-class:: classref-method
:ref:`int<class_int>` **insert** **(** :ref:`int<class_int>` at_index, :ref:`float<class_float>` value **)**
:ref:`int<class_int>` **insert**\ (\ at_index\: :ref:`int<class_int>`, value\: :ref:`float<class_float>`\ )
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()``).
@@ -291,7 +291,7 @@ Inserts a new element at a given position in the array. The position must be val
.. rst-class:: classref-method
:ref:`bool<class_bool>` **is_empty** **(** **)** |const|
:ref:`bool<class_bool>` **is_empty**\ (\ ) |const|
Returns ``true`` if the array is empty.
@@ -303,7 +303,7 @@ Returns ``true`` if the array is empty.
.. rst-class:: classref-method
:ref:`bool<class_bool>` **push_back** **(** :ref:`float<class_float>` value **)**
:ref:`bool<class_bool>` **push_back**\ (\ value\: :ref:`float<class_float>`\ )
Appends an element at the end of the array.
@@ -315,7 +315,7 @@ Appends an element at the end of the array.
.. rst-class:: classref-method
void **remove_at** **(** :ref:`int<class_int>` index **)**
|void| **remove_at**\ (\ index\: :ref:`int<class_int>`\ )
Removes an element from the array by index.
@@ -327,7 +327,7 @@ Removes an element from the array by index.
.. rst-class:: classref-method
:ref:`int<class_int>` **resize** **(** :ref:`int<class_int>` new_size **)**
:ref:`int<class_int>` **resize**\ (\ new_size\: :ref:`int<class_int>`\ )
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. Calling :ref:`resize<class_PackedFloat32Array_method_resize>` once and assigning the new values is faster than adding new elements one by one.
@@ -339,7 +339,7 @@ Sets the size of the array. If the array is grown, reserves elements at the end
.. rst-class:: classref-method
void **reverse** **(** **)**
|void| **reverse**\ (\ )
Reverses the order of the elements in the array.
@@ -351,7 +351,7 @@ Reverses the order of the elements in the array.
.. rst-class:: classref-method
:ref:`int<class_int>` **rfind** **(** :ref:`float<class_float>` value, :ref:`int<class_int>` from=-1 **)** |const|
:ref:`int<class_int>` **rfind**\ (\ value\: :ref:`float<class_float>`, from\: :ref:`int<class_int>` = -1\ ) |const|
Searches the array in reverse order. Optionally, a start search index can be passed. If negative, the start index is considered relative to the end of the array.
@@ -365,7 +365,7 @@ Searches the array in reverse order. Optionally, a start search index can be pas
.. rst-class:: classref-method
void **set** **(** :ref:`int<class_int>` index, :ref:`float<class_float>` value **)**
|void| **set**\ (\ index\: :ref:`int<class_int>`, value\: :ref:`float<class_float>`\ )
Changes the float at the given index.
@@ -377,7 +377,7 @@ Changes the float at the given index.
.. rst-class:: classref-method
:ref:`int<class_int>` **size** **(** **)** |const|
:ref:`int<class_int>` **size**\ (\ ) |const|
Returns the number of elements in the array.
@@ -389,7 +389,7 @@ Returns the number of elements in the array.
.. rst-class:: classref-method
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **slice** **(** :ref:`int<class_int>` begin, :ref:`int<class_int>` end=2147483647 **)** |const|
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **slice**\ (\ begin\: :ref:`int<class_int>`, end\: :ref:`int<class_int>` = 2147483647\ ) |const|
Returns the slice of the **PackedFloat32Array**, from ``begin`` (inclusive) to ``end`` (exclusive), as a new **PackedFloat32Array**.
@@ -405,7 +405,7 @@ If either ``begin`` or ``end`` are negative, they will be relative to the end of
.. rst-class:: classref-method
void **sort** **(** **)**
|void| **sort**\ (\ )
Sorts the elements of the array in ascending order.
@@ -419,7 +419,7 @@ Sorts the elements of the array in ascending order.
.. rst-class:: classref-method
:ref:`PackedByteArray<class_PackedByteArray>` **to_byte_array** **(** **)** |const|
:ref:`PackedByteArray<class_PackedByteArray>` **to_byte_array**\ (\ ) |const|
Returns a copy of the data converted to a :ref:`PackedByteArray<class_PackedByteArray>`, where each element have been encoded as 4 bytes.
@@ -438,7 +438,7 @@ Operator Descriptions
.. rst-class:: classref-operator
:ref:`bool<class_bool>` **operator !=** **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` right **)**
:ref:`bool<class_bool>` **operator !=**\ (\ right\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ )
Returns ``true`` if contents of the arrays differ.
@@ -450,7 +450,7 @@ Returns ``true`` if contents of the arrays differ.
.. rst-class:: classref-operator
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **operator +** **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` right **)**
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **operator +**\ (\ right\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ )
Returns a new **PackedFloat32Array** with contents of ``right`` added at the end of this array. For better performance, consider using :ref:`append_array<class_PackedFloat32Array_method_append_array>` instead.
@@ -462,7 +462,7 @@ Returns a new **PackedFloat32Array** with contents of ``right`` added at the end
.. rst-class:: classref-operator
:ref:`bool<class_bool>` **operator ==** **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` right **)**
:ref:`bool<class_bool>` **operator ==**\ (\ right\: :ref:`PackedFloat32Array<class_PackedFloat32Array>`\ )
Returns ``true`` if contents of both arrays are the same, i.e. they have all equal floats at the corresponding indices.
@@ -474,7 +474,7 @@ Returns ``true`` if contents of both arrays are the same, i.e. they have all equ
.. rst-class:: classref-operator
:ref:`float<class_float>` **operator []** **(** :ref:`int<class_int>` index **)**
:ref:`float<class_float>` **operator []**\ (\ index\: :ref:`int<class_int>`\ )
Returns the :ref:`float<class_float>` at index ``index``. Negative indices can be used to access the elements starting from the end. Using index out of array's bounds will result in an error.
@@ -487,3 +487,4 @@ Note that :ref:`float<class_float>` type is 64-bit, unlike the values stored in
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
.. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
.. |void| replace:: :abbr:`void (No return value.)`