diff options
Diffstat (limited to 'doc/base')
-rw-r--r-- | doc/base/classes.xml | 223 |
1 files changed, 223 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 72a2afaa8d..7224ae8554 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -8497,6 +8497,31 @@ Create from a generic array. </description> </method> + <method name="append"> + <argument index="0" name="color" type="Color"> + </argument> + <description> + Append an element at the end of the array (alias of [method push_back]). + </description> + </method> + <method name="append_array"> + <argument index="0" name="array" type="ColorArray"> + </argument> + <description> + Append an [ColorArray] at the end of this array. + </description> + </method> + <method name="insert"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="color" type="Color"> + </argument> + <description> + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + </description> + </method> <method name="push_back"> <argument index="0" name="color" type="Color"> </argument> @@ -8504,6 +8529,13 @@ Append a value to the array. </description> </method> + <method name="remove"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Remove an element from the array by index. + </description> + </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> @@ -17113,6 +17145,31 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) Create from a generic array. </description> </method> + <method name="append"> + <argument index="0" name="integer" type="int"> + </argument> + <description> + Append an element at the end of the array (alias of [method push_back]). + </description> + </method> + <method name="append_array"> + <argument index="0" name="array" type="IntArray"> + </argument> + <description> + Append an [IntArray] at the end of this array. + </description> + </method> + <method name="insert"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="integer" type="int"> + </argument> + <description> + Insert a new int at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + </description> + </method> <method name="push_back"> <argument index="0" name="integer" type="int"> </argument> @@ -17120,6 +17177,13 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) Append a value to the array. </description> </method> + <method name="remove"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Remove an element from the array by index. + </description> + </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> @@ -30155,6 +30219,19 @@ A similar effect may be achieved moving this node's descendants. Create from a generic array. </description> </method> + <method name="append"> + <argument index="0" name="byte" type="int"> + </argument> + <description> + </description> + </method> + <method name="append_array"> + <argument index="0" name="array" type="RawArray"> + </argument> + <description> + Append an [RawArray] at the end of this array. + </description> + </method> <method name="get_string_from_ascii"> <return type="String"> </return> @@ -30169,6 +30246,17 @@ A similar effect may be achieved moving this node's descendants. Returns a copy of the array's contents formatted as String, assuming the array is formatted as UTF-8. Slower than get_string_from_ascii(), but works for UTF-8. Usually you should prefer this function over get_string_from_ascii() to support international input. </description> </method> + <method name="insert"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="byte" type="int"> + </argument> + <description> + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + </description> + </method> <method name="push_back"> <argument index="0" name="byte" type="int"> </argument> @@ -30176,6 +30264,13 @@ A similar effect may be achieved moving this node's descendants. Append an element at the end of the array. </description> </method> + <method name="remove"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Remove an element from the array by index. + </description> + </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> @@ -30515,6 +30610,31 @@ A similar effect may be achieved moving this node's descendants. Create from a generic array. </description> </method> + <method name="append"> + <argument index="0" name="value" type="float"> + </argument> + <description> + Append an element at the end of the array (alias of [method push_back]). + </description> + </method> + <method name="append_array"> + <argument index="0" name="array" type="RealArray"> + </argument> + <description> + Append an [RealArray] at the end of this array. + </description> + </method> + <method name="insert"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + </description> + </method> <method name="push_back"> <argument index="0" name="value" type="float"> </argument> @@ -30522,6 +30642,13 @@ A similar effect may be achieved moving this node's descendants. Append an element at the end of the array. </description> </method> + <method name="remove"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Remove an element from the array by index. + </description> + </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> @@ -37926,6 +38053,31 @@ A similar effect may be achieved moving this node's descendants. Create from a generic array. </description> </method> + <method name="append"> + <argument index="0" name="string" type="String"> + </argument> + <description> + Append an element at the end of the array (alias of [method push_back]). + </description> + </method> + <method name="append_array"> + <argument index="0" name="array" type="StringArray"> + </argument> + <description> + Append an [StringArray] at the end of this array. + </description> + </method> + <method name="insert"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="string" type="String"> + </argument> + <description> + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + </description> + </method> <method name="push_back"> <argument index="0" name="string" type="String"> </argument> @@ -37933,6 +38085,13 @@ A similar effect may be achieved moving this node's descendants. Append a string element at end of the array. </description> </method> + <method name="remove"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Remove an element from the array by index. + </description> + </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> @@ -42821,6 +42980,31 @@ A similar effect may be achieved moving this node's descendants. Construct a new [Vector2Array]. Optionally, you can pass in an Array that will be converted. </description> </method> + <method name="append"> + <argument index="0" name="vector2" type="Vector2"> + </argument> + <description> + Append an element at the end of the array (alias of [method push_back]). + </description> + </method> + <method name="append_array"> + <argument index="0" name="array" type="Vector2Array"> + </argument> + <description> + Append an [Vector2Array] at the end of this array. + </description> + </method> + <method name="insert"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="vector2" type="Vector2"> + </argument> + <description> + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + </description> + </method> <method name="push_back"> <argument index="0" name="vector2" type="Vector2"> </argument> @@ -42828,6 +43012,13 @@ A similar effect may be achieved moving this node's descendants. Insert a [Vector2] at the end. </description> </method> + <method name="remove"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Remove an element from the array by index. + </description> + </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> @@ -43080,6 +43271,31 @@ A similar effect may be achieved moving this node's descendants. Construct a new Vector3Array. Optionally, you can pass in an Array that will be converted. </description> </method> + <method name="append"> + <argument index="0" name="vector3" type="Vector3"> + </argument> + <description> + Append an element at the end of the array (alias of [method push_back]). + </description> + </method> + <method name="append_array"> + <argument index="0" name="array" type="Vector3Array"> + </argument> + <description> + Append an [Vector3Array] at the end of this array. + </description> + </method> + <method name="insert"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="vector3" type="Vector3"> + </argument> + <description> + Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). + </description> + </method> <method name="push_back"> <argument index="0" name="vector3" type="Vector3"> </argument> @@ -43087,6 +43303,13 @@ A similar effect may be achieved moving this node's descendants. Insert a Vector3 at the end. </description> </method> + <method name="remove"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Remove an element from the array by index. + </description> + </method> <method name="resize"> <argument index="0" name="idx" type="int"> </argument> |