aboutsummaryrefslogtreecommitdiff
path: root/doc/base/classes.xml
diff options
context:
space:
mode:
authorJuan Linietsky2016-09-10 12:22:31 -0300
committerGitHub2016-09-10 12:22:31 -0300
commit6abd1437cd2d8a0448f37c6b6f2b8bf00a652b84 (patch)
treede5e82a8fa28c72dcf0c92be9d575762c5c22652 /doc/base/classes.xml
parentfc61eb37ce004ecfa0656a46c68d111c68bb5c19 (diff)
parent82d4cb5114a9d5f341dba84cbee51fcfe1504de6 (diff)
downloadgodot-6abd1437cd2d8a0448f37c6b6f2b8bf00a652b84.tar.gz
godot-6abd1437cd2d8a0448f37c6b6f2b8bf00a652b84.tar.zst
godot-6abd1437cd2d8a0448f37c6b6f2b8bf00a652b84.zip
Merge pull request #5879 from gau-veldt/subarray_patch
Subarray patch
Diffstat (limited to 'doc/base/classes.xml')
-rw-r--r--doc/base/classes.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 071814375..1ac08c788 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -31364,6 +31364,17 @@
Return the size of the array.
</description>
</method>
+ <method name="subarray">
+ <return type="RawArray">
+ </return>
+ <argument index="0" name="from" type="int">
+ </argument>
+ <argument index="1" name="to" type="int">
+ </argument>
+ <description>
+ Returns the slice of the [RawArray] between indices (inclusive) as a new [RawArray]. Any negative index is considered to be from the end of the array.
+ </description>
+ </method>
</methods>
<constants>
</constants>