diff options
author | Matheus Lima Cunha <matheus.limacunha@hotmail.com> | 2021-02-25 11:10:39 -0300 |
---|---|---|
committer | Matheus Lima Cunha <matheus.limacunha@hotmail.com> | 2021-04-21 11:33:53 -0300 |
commit | efd27a63c138ceef89d4ed2586651ea61898f5c7 (patch) | |
tree | d2e0b2327d2786e4b8d8d941cd3358248cbe09d1 /doc/classes/PackedInt64Array.xml | |
parent | e271dba9cb0b52698c23f5d61f3b8e72f2b7d29d (diff) |
Add fill method to Arrays and PackedArrays
Diffstat (limited to 'doc/classes/PackedInt64Array.xml')
-rw-r--r-- | doc/classes/PackedInt64Array.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/PackedInt64Array.xml b/doc/classes/PackedInt64Array.xml index 51948fcbc8..195b12b129 100644 --- a/doc/classes/PackedInt64Array.xml +++ b/doc/classes/PackedInt64Array.xml @@ -60,6 +60,15 @@ Creates a copy of the array, and returns it. </description> </method> + <method name="fill"> + <return type="void"> + </return> + <argument index="0" name="value" type="int"> + </argument> + <description> + Assigns the given value to all elements in the array. This can typically be used together with [method resize] to create an array with a given size and initialized elements. + </description> + </method> <method name="has"> <return type="bool"> </return> |