diff options
Diffstat (limited to 'doc/classes/PackedInt32Array.xml')
-rw-r--r-- | doc/classes/PackedInt32Array.xml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/classes/PackedInt32Array.xml b/doc/classes/PackedInt32Array.xml index eded545de8..2ac7a67b4b 100644 --- a/doc/classes/PackedInt32Array.xml +++ b/doc/classes/PackedInt32Array.xml @@ -5,7 +5,6 @@ </brief_description> <description> An [Array] specifically designed to hold 32-bit integer values. Packs data tightly, so it saves memory for large array sizes. - [b]Note:[/b] This type is passed by value and not by reference. [b]Note:[/b] This type stores signed 32-bit integers, which means it can take values in the interval [code][-2^31, 2^31 - 1][/code], i.e. [code][-2147483648, 2147483647][/code]. Exceeding those bounds will wrap around. In comparison, [int] uses signed 64-bit integers which can hold much larger values. If you need to pack 64-bit integers tightly, see [PackedInt64Array]. </description> <tutorials> @@ -54,11 +53,11 @@ Appends a [PackedInt32Array] at the end of this array. </description> </method> - <method name="empty"> - <return type="bool"> + <method name="duplicate"> + <return type="PackedInt32Array"> </return> <description> - Returns [code]true[/code] if the array is empty. + Creates a copy of the array, and returns it. </description> </method> <method name="has"> @@ -88,6 +87,13 @@ Reverses the order of the elements in the array. </description> </method> + <method name="is_empty"> + <return type="bool"> + </return> + <description> + Returns [code]true[/code] if the array is empty. + </description> + </method> <method name="operator !=" qualifiers="operator"> <return type="bool"> </return> |