summaryrefslogtreecommitdiff
path: root/doc/classes/PackedVector2Array.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/PackedVector2Array.xml')
-rw-r--r--doc/classes/PackedVector2Array.xml9
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>