From 82d4cb5114a9d5f341dba84cbee51fcfe1504de6 Mon Sep 17 00:00:00 2001
From: Gau o fthe Veldt
Date: Sun, 17 Jul 2016 16:43:10 -0700
Subject: Added slicing operation to DVector via DVector.subarray(int start,int
end) method. Negative indices index from the end of the array. Indices are
range checked before attempting and return appropriate error when out of
range. Binding for RawArray in gdscript to access DVector.subarray()
provided. Documentation of RawArray.subarray() in classes.xml provided.
---
doc/base/classes.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
(limited to 'doc/base/classes.xml')
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 4c2a0fe7b..02e88d06a 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -30544,6 +30544,17 @@
Return the size of the array.
+
+
+
+
+
+
+
+
+ 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.
+
+
--
cgit v1.2.3-70-g09d2