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/PackedVector2Array.xml | |
parent | e271dba9cb0b52698c23f5d61f3b8e72f2b7d29d (diff) |
Add fill method to Arrays and PackedArrays
Diffstat (limited to 'doc/classes/PackedVector2Array.xml')
-rw-r--r-- | doc/classes/PackedVector2Array.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/PackedVector2Array.xml b/doc/classes/PackedVector2Array.xml index 1b3201b072..6c8791f988 100644 --- a/doc/classes/PackedVector2Array.xml +++ b/doc/classes/PackedVector2Array.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="Vector2"> + </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> |