Expose clear method for packed arrays

This commit is contained in:
Haoyu Qiu
2022-08-10 17:12:20 +08:00
parent 94a8065ae4
commit 9c4ad8191b
10 changed files with 63 additions and 0 deletions

View File

@ -54,6 +54,12 @@
[b]Note:[/b] Calling [method bsearch] on an unsorted array results in unexpected behavior.
</description>
</method>
<method name="clear">
<return type="void" />
<description>
Clears the array. This is equivalent to using [method resize] with a size of [code]0[/code].
</description>
</method>
<method name="count" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="Vector3" />