You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: classes/class_array.rst
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -567,7 +567,7 @@ void **erase** **(** :ref:`Variant<class_Variant>` value **)**
567
567
568
568
Removes the first occurrence of a value from the array. If the value does not exist in the array, nothing happens. To remove an element by index, use :ref:`remove_at<class_Array_method_remove_at>` instead.
569
569
570
-
\ **Note:** This method acts in-place and doesn't return a value.
570
+
\ **Note:** This method acts in-place and doesn't return a modified array.
571
571
572
572
\ **Note:** On large arrays, this method will be slower if the removed element is close to the beginning of the array (index 0). This is because all elements placed after the removed element have to be reindexed.
573
573
@@ -770,9 +770,9 @@ Returns a hashed 32-bit integer value representing the array and its contents.
770
770
771
771
:ref:`int<class_int>` **insert** **(** :ref:`int<class_int>` position, :ref:`Variant<class_Variant>` value **)**
772
772
773
-
Inserts a new element at a given position in the array. The position must be valid, or at the end of the array (``pos == size()``).
773
+
Inserts a new element at a given position in the array. The position must be valid, or at the end of the array (``pos == size()``). Returns :ref:`@GlobalScope.OK<class_@GlobalScope_constant_OK>` on success, or one of the other :ref:`Error<enum_@GlobalScope_Error>` values if the operation failed.
774
774
775
-
\ **Note:** This method acts in-place and doesn't return a value.
775
+
\ **Note:** This method acts in-place and doesn't return a modified array.
776
776
777
777
\ **Note:** On large arrays, this method will be slower if the inserted element is close to the beginning of the array (index 0). This is because all elements placed after the newly inserted element have to be reindexed.
778
778
@@ -909,7 +909,7 @@ See also :ref:`max<class_Array_method_max>` for an example of using a custom com
Returns a random value from the target array. Prints an error and returns ``null`` if the array is empty.
913
913
914
914
915
915
.. tabs::
@@ -1029,7 +1029,7 @@ void **remove_at** **(** :ref:`int<class_int>` position **)**
1029
1029
1030
1030
Removes an element from the array by index. If the index does not exist in the array, nothing happens. To remove an element by searching for its value, use :ref:`erase<class_Array_method_erase>` instead.
1031
1031
1032
-
\ **Note:** This method acts in-place and doesn't return a value.
1032
+
\ **Note:** This method acts in-place and doesn't return a modified array.
1033
1033
1034
1034
\ **Note:** On large arrays, this method will be slower if the removed element is close to the beginning of the array (index 0). This is because all elements placed after the removed element have to be reindexed.
1035
1035
@@ -1045,7 +1045,9 @@ Removes an element from the array by index. If the index does not exist in the a
Resizes the array to contain a different number of elements. If the array size is smaller, elements are cleared, if bigger, new elements are ``null``.
1048
+
Resizes the array to contain a different number of elements. If the array size is smaller, elements are cleared, if bigger, new elements are ``null``. Returns :ref:`@GlobalScope.OK<class_@GlobalScope_constant_OK>` on success, or one of the other :ref:`Error<enum_@GlobalScope_Error>` values if the operation failed.
1049
+
1050
+
\ **Note:** This method acts in-place and doesn't return a modified array.
Copy file name to clipboardExpand all lines: classes/class_cpuparticles3d.rst
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,13 @@ CPU-based 3D particle node used to create a variety of particle systems and effe
23
23
24
24
See also :ref:`GPUParticles3D<class_GPUParticles3D>`, which provides the same functionality with hardware acceleration, but may not run on older devices.
25
25
26
+
.. rst-class:: classref-introduction-group
27
+
28
+
Tutorials
29
+
---------
30
+
31
+
- :doc:`Particle systems (3D) <../tutorials/3d/particles/index>`
Copy file name to clipboardExpand all lines: classes/class_cryptokey.rst
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,13 @@ The CryptoKey class represents a cryptographic key. Keys can be loaded and saved
23
23
24
24
They can be used to generate a self-signed :ref:`X509Certificate<class_X509Certificate>` via :ref:`Crypto.generate_self_signed_certificate<class_Crypto_method_generate_self_signed_certificate>` and as private key in :ref:`StreamPeerTLS.accept_stream<class_StreamPeerTLS_method_accept_stream>` along with the appropriate certificate.
0 commit comments