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
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
5056
+
5057
+
.. rst-class:: classref-item-separator
5058
+
5059
+
----
5060
+
5029
5061
.. _class_@GlobalScope_property_Marshalls:
5030
5062
5031
5063
.. rst-class:: classref-property
@@ -5995,7 +6027,7 @@ Returns the :ref:`Object<class_Object>` that corresponds to ``instance_id``. All
Copy file name to clipboardExpand all lines: classes/class_array.rst
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ A built-in data structure that holds a sequence of elements.
17
17
Description
18
18
-----------
19
19
20
-
An array data structure that can contain a sequence of elements of any :ref:`Variant<class_Variant>` type. Elements are accessed by a numerical index starting at ``0``. Negative indices are used to count from the back (``-1`` is the last element, ``-2`` is the second to last, etc.).
20
+
An array data structure that can contain a sequence of elements of any :ref:`Variant<class_Variant>` type by default. Values can optionally be constrained to a specific type by creating a *typed array*. Elements are accessed by a numerical index starting at ``0``. Negative indices are used to count from the back (``-1`` is the last element, ``-2`` is the second to last, etc.).
21
21
22
22
23
23
.. tabs::
@@ -33,6 +33,10 @@ An array data structure that can contain a sequence of elements of any :ref:`Var
33
33
print(array[1]) # Prints "Second"
34
34
print(array[-3]) # Prints "Second"
35
35
36
+
# This typed array can only contain integers.
37
+
# Attempting to add any other type will result in an error.
\ **Note:** Arrays are always passed by **reference**. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()<class_Array_method_duplicate>`.
@@ -1229,8 +1237,6 @@ If you need to return the removed element, use :ref:`pop_at()<class_Array_method
1229
1237
1230
1238
\ **Note:** This method shifts every element's index after ``position`` back, which may have a noticeable performance cost, especially on larger arrays.
1231
1239
1232
-
\ **Note:** The ``position`` cannot be negative. To remove an element relative to the end of the array, use ``arr.remove_at(arr.size() - (i + 1))``. To remove the last element from the array, use ``arr.resize(arr.size() - 1)``.
Copy file name to clipboardExpand all lines: classes/class_arraymesh.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -436,7 +436,7 @@ Sets a name for a given surface.
436
436
437
437
.. container:: contribute
438
438
439
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
439
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
440
440
441
441
.. rst-class:: classref-item-separator
442
442
@@ -450,7 +450,7 @@ Sets a name for a given surface.
450
450
451
451
.. container:: contribute
452
452
453
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
453
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
454
454
455
455
.. rst-class:: classref-item-separator
456
456
@@ -464,7 +464,7 @@ Sets a name for a given surface.
464
464
465
465
.. container:: contribute
466
466
467
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
467
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
468
468
469
469
.. |virtual| replace:::abbr:`virtual(This method should typically be overridden by the user to have any effect.)`
470
470
.. |required| replace:::abbr:`required(This method is required to be overridden when extending its base class.)`
Copy file name to clipboardExpand all lines: classes/class_audioeffectchorus.rst
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -607,7 +607,7 @@ Method Descriptions
607
607
608
608
.. container:: contribute
609
609
610
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
610
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
611
611
612
612
.. rst-class:: classref-item-separator
613
613
@@ -621,7 +621,7 @@ Method Descriptions
621
621
622
622
.. container:: contribute
623
623
624
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
624
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
625
625
626
626
.. rst-class:: classref-item-separator
627
627
@@ -635,7 +635,7 @@ Method Descriptions
635
635
636
636
.. container:: contribute
637
637
638
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
638
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
639
639
640
640
.. rst-class:: classref-item-separator
641
641
@@ -649,7 +649,7 @@ Method Descriptions
649
649
650
650
.. container:: contribute
651
651
652
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
652
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
653
653
654
654
.. rst-class:: classref-item-separator
655
655
@@ -663,7 +663,7 @@ Method Descriptions
663
663
664
664
.. container:: contribute
665
665
666
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
666
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
667
667
668
668
.. rst-class:: classref-item-separator
669
669
@@ -677,7 +677,7 @@ Method Descriptions
677
677
678
678
.. container:: contribute
679
679
680
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
680
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
681
681
682
682
.. rst-class:: classref-item-separator
683
683
@@ -691,7 +691,7 @@ Method Descriptions
691
691
692
692
.. container:: contribute
693
693
694
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
694
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
695
695
696
696
.. rst-class:: classref-item-separator
697
697
@@ -705,7 +705,7 @@ Method Descriptions
705
705
706
706
.. container:: contribute
707
707
708
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
708
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
709
709
710
710
.. rst-class:: classref-item-separator
711
711
@@ -719,7 +719,7 @@ Method Descriptions
719
719
720
720
.. container:: contribute
721
721
722
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
722
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
723
723
724
724
.. rst-class:: classref-item-separator
725
725
@@ -733,7 +733,7 @@ Method Descriptions
733
733
734
734
.. container:: contribute
735
735
736
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
736
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
737
737
738
738
.. rst-class:: classref-item-separator
739
739
@@ -747,7 +747,7 @@ Method Descriptions
747
747
748
748
.. container:: contribute
749
749
750
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
750
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
751
751
752
752
.. rst-class:: classref-item-separator
753
753
@@ -761,7 +761,7 @@ Method Descriptions
761
761
762
762
.. container:: contribute
763
763
764
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
764
+
There is currently no description for this method. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
765
765
766
766
.. |virtual| replace:::abbr:`virtual(This method should typically be overridden by the user to have any effect.)`
767
767
.. |required| replace:::abbr:`required(This method is required to be overridden when extending its base class.)`
Copy file name to clipboardExpand all lines: classes/class_audioeffectdistortion.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ Digital distortion effect which cuts off peaks at the top and bottom of the wave
83
83
84
84
.. container:: contribute
85
85
86
-
There is currently no description for this enum. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
86
+
There is currently no description for this enum. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
Copy file name to clipboardExpand all lines: classes/class_audioeffectlimiter.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ Applies a gain to the limited waves, in decibels. Value can range from 0 to 6.
106
106
107
107
.. container:: contribute
108
108
109
-
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
109
+
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
Copy file name to clipboardExpand all lines: classes/class_audioeffectspectrumanalyzer.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,7 @@ The size of the `Fast Fourier transform <https://en.wikipedia.org/wiki/Fast_Four
167
167
168
168
.. container:: contribute
169
169
170
-
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
170
+
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
171
171
172
172
.. |virtual| replace:::abbr:`virtual(This method should typically be overridden by the user to have any effect.)`
173
173
.. |required| replace:::abbr:`required(This method is required to be overridden when extending its base class.)`
Copy file name to clipboardExpand all lines: classes/class_audiostreammp3.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ Property Descriptions
81
81
82
82
.. container:: contribute
83
83
84
-
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
84
+
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
85
85
86
86
.. rst-class:: classref-item-separator
87
87
@@ -100,7 +100,7 @@ Property Descriptions
100
100
101
101
.. container:: contribute
102
102
103
-
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
103
+
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
104
104
105
105
.. rst-class:: classref-item-separator
106
106
@@ -119,7 +119,7 @@ Property Descriptions
119
119
120
120
.. container:: contribute
121
121
122
-
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
122
+
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
Copy file name to clipboardExpand all lines: classes/class_audiostreamoggvorbis.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ Property Descriptions
88
88
89
89
.. container:: contribute
90
90
91
-
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
91
+
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
92
92
93
93
.. rst-class:: classref-item-separator
94
94
@@ -107,7 +107,7 @@ Property Descriptions
107
107
108
108
.. container:: contribute
109
109
110
-
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
110
+
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
111
111
112
112
.. rst-class:: classref-item-separator
113
113
@@ -126,7 +126,7 @@ Property Descriptions
126
126
127
127
.. container:: contribute
128
128
129
-
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
129
+
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
Copy file name to clipboardExpand all lines: classes/class_audiostreamplaybackoggvorbis.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ AudioStreamPlaybackOggVorbis
14
14
15
15
.. container:: contribute
16
16
17
-
There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
17
+
There is currently no description for this class. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
18
18
19
19
.. |virtual| replace:::abbr:`virtual(This method should typically be overridden by the user to have any effect.)`
20
20
.. |required| replace:::abbr:`required(This method is required to be overridden when extending its base class.)`
0 commit comments