diff options
author | Jordan Schidlowsky <jordan@winterpixel.com> | 2020-12-17 14:26:05 -0600 |
---|---|---|
committer | Jordan Schidlowsky <jordan@noodlecake.com> | 2020-12-17 16:09:32 -0600 |
commit | 2d56e092765affde1904e76fe912329db0e9eab6 (patch) | |
tree | c3e918c0f993d75c4fbf13519eeb4b2db6bb8041 /doc/classes/PackedVector2Array.xml | |
parent | 2c0d1c3b91a048c8aab6856c9821a98280ad82e6 (diff) | |
download | redot-engine-2d56e092765affde1904e76fe912329db0e9eab6.tar.gz |
packed*arrays are pass by ref now. support duplicate and update documentation
Diffstat (limited to 'doc/classes/PackedVector2Array.xml')
-rw-r--r-- | doc/classes/PackedVector2Array.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/classes/PackedVector2Array.xml b/doc/classes/PackedVector2Array.xml index 5f68d9256d..9ab3a03edb 100644 --- a/doc/classes/PackedVector2Array.xml +++ b/doc/classes/PackedVector2Array.xml @@ -5,7 +5,6 @@ </brief_description> <description> An [Array] specifically designed to hold [Vector2]. Packs data tightly, so it saves memory for large array sizes. - [b]Note:[/b] This type is passed by value and not by reference. </description> <tutorials> <link title="2D Navigation Astar Demo">https://godotengine.org/asset-library/asset/519</link> @@ -54,6 +53,13 @@ Appends a [PackedVector2Array] at the end of this array. </description> </method> + <method name="duplicate"> + <return type="PackedVector2Array"> + </return> + <description> + Creates a copy of the array, and returns it. + </description> + </method> <method name="empty"> <return type="bool"> </return> |