Bind Array get and set functions
This commit is contained in:
parent
506d6e427a
commit
cc9f2b58a0
13 changed files with 124 additions and 0 deletions
|
|
@ -98,6 +98,13 @@
|
|||
[b]Note:[/b] Vectors with [constant @GDScript.NAN] elements don't behave the same as other vectors. Therefore, the results from this method may not be accurate if NaNs are included.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get" qualifiers="const">
|
||||
<return type="Vector2" />
|
||||
<param index="0" name="index" type="int" />
|
||||
<description>
|
||||
Returns the [Vector2] at the given [param index] in the array. This is the same as using the [code][][/code] operator ([code]array[index][/code]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="has" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="value" type="Vector2" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue