Merge pull request #2646 from vnen/array-reference
Add missing Array class reference documentation
This commit is contained in:
commit
ae3d4ac193
|
@ -3766,6 +3766,7 @@
|
|||
<argument index="0" name="value" type="var">
|
||||
</argument>
|
||||
<description>
|
||||
Append an element at the end of the array (alias of [method push_back]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear">
|
||||
|
@ -3784,6 +3785,7 @@
|
|||
<argument index="0" name="value" type="var">
|
||||
</argument>
|
||||
<description>
|
||||
Remove the first occurence of a value from the array.
|
||||
</description>
|
||||
</method>
|
||||
<method name="find">
|
||||
|
@ -3792,6 +3794,7 @@
|
|||
<argument index="0" name="value" type="var">
|
||||
</argument>
|
||||
<description>
|
||||
Searches the array for a value and returns its index or -1 if not found.
|
||||
</description>
|
||||
</method>
|
||||
<method name="hash">
|
||||
|
@ -3812,12 +3815,14 @@
|
|||
</method>
|
||||
<method name="invert">
|
||||
<description>
|
||||
Reverse the order of the elements in the array (so first element will now be the last).
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_shared">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
Get whether this is a shared array instance.
|
||||
</description>
|
||||
</method>
|
||||
<method name="push_back">
|
||||
|
@ -3850,6 +3855,7 @@
|
|||
</method>
|
||||
<method name="sort">
|
||||
<description>
|
||||
Sort the array using natural order.
|
||||
</description>
|
||||
</method>
|
||||
<method name="sort_custom">
|
||||
|
@ -3858,6 +3864,7 @@
|
|||
<argument index="1" name="func" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Sort the array using a custom method. The arguments are an object that holds the method and the name of such method. The custom method receives two arguments (a pair of elements from the array) and must return true if the first argument is less than the second, and return false otherwise.
|
||||
</description>
|
||||
</method>
|
||||
<method name="Array">
|
||||
|
@ -10867,27 +10874,25 @@
|
|||
</description>
|
||||
<methods>
|
||||
<method name="call_func">
|
||||
<argument index="0" name="method" type="String">
|
||||
<argument index="0" name="arg0" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="1" name="arg0" type="var" default="NULL">
|
||||
<argument index="1" name="arg1" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="2" name="arg1" type="var" default="NULL">
|
||||
<argument index="2" name="arg2" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="3" name="arg2" type="var" default="NULL">
|
||||
<argument index="3" name="arg3" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="4" name="arg3" type="var" default="NULL">
|
||||
<argument index="4" name="arg4" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="5" name="arg4" type="var" default="NULL">
|
||||
<argument index="5" name="arg5" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="6" name="arg5" type="var" default="NULL">
|
||||
<argument index="6" name="arg6" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="7" name="arg6" type="var" default="NULL">
|
||||
<argument index="7" name="arg7" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="8" name="arg7" type="var" default="NULL">
|
||||
<argument index="8" name="arg8" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="9" name="arg8" type="var" default="NULL">
|
||||
</argument>
|
||||
<argument index="10" name="arg9" type="var" default="NULL">
|
||||
<argument index="9" name="arg9" type="var" default="NULL">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -11629,6 +11634,24 @@
|
|||
</method>
|
||||
</methods>
|
||||
<signals>
|
||||
<signal name="delete_nodes_request">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="duplicate_nodes_request">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="popup_request">
|
||||
<argument index="0" name="p_position" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="_begin_node_move">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="disconnection_request">
|
||||
<argument index="0" name="from" type="String">
|
||||
</argument>
|
||||
|
@ -11655,6 +11678,10 @@
|
|||
Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be created.
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="_end_node_move">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
</signals>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -11910,6 +11937,12 @@
|
|||
</theme_item>
|
||||
<theme_item name="frame" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="selectedframe" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="defaultfocus" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="defaultframe" type="StyleBox">
|
||||
</theme_item>
|
||||
</theme_items>
|
||||
</class>
|
||||
<class name="GridContainer" inherits="Container" category="Core">
|
||||
|
@ -14292,6 +14325,22 @@
|
|||
<constants>
|
||||
</constants>
|
||||
</class>
|
||||
<class name="InstancePlaceholder" inherits="Node" category="Core">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<methods>
|
||||
<method name="replace_by_instance">
|
||||
<argument index="0" name="custom_scene" type="PackedScene" default="NULL">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
||||
<class name="IntArray" category="Built-In Types">
|
||||
<brief_description>
|
||||
Integer Array.
|
||||
|
@ -18124,7 +18173,11 @@
|
|||
<method name="find_node" qualifiers="const">
|
||||
<return type="Node">
|
||||
</return>
|
||||
<argument index="0" name="mask" type="NodePath" default="true">
|
||||
<argument index="0" name="mask" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="recursive" type="bool" default="true">
|
||||
</argument>
|
||||
<argument index="2" name="owned" type="bool" default="true">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -20171,7 +20224,7 @@
|
|||
<method name="instance" qualifiers="const">
|
||||
<return type="Node">
|
||||
</return>
|
||||
<argument index="0" name="arg0" type="bool" default="false">
|
||||
<argument index="0" name="gen_edit_state" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
@ -20421,6 +20474,18 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_ignore_camera_zoom">
|
||||
<argument index="0" name="arg0" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_ignore_camera_zoom">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -24688,6 +24753,18 @@
|
|||
Pin Joint for 2D Rigid Bodies. It pins 2 bodies (rigid or static) together, or a single body to a fixed position in space.
|
||||
</description>
|
||||
<methods>
|
||||
<method name="set_softness">
|
||||
<argument index="0" name="softness" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_softness" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -26292,6 +26369,18 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_type_mask">
|
||||
<argument index="0" name="mask" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_type_mask" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -29446,6 +29535,28 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="default_set_value">
|
||||
<argument index="0" name="shader_type" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="param_id" type="int">
|
||||
</argument>
|
||||
<argument index="3" name="value" type="var">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="default_get_value">
|
||||
<argument index="0" name="shader_type" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="param_id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="scalar_const_node_set_value">
|
||||
<argument index="0" name="shader_type" type="int">
|
||||
</argument>
|
||||
|
@ -33549,6 +33660,12 @@
|
|||
</method>
|
||||
</methods>
|
||||
<signals>
|
||||
<signal name="tab_close">
|
||||
<argument index="0" name="tab" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="right_button_pressed">
|
||||
<argument index="0" name="tab" type="int">
|
||||
</argument>
|
||||
|
@ -33569,6 +33686,14 @@
|
|||
</constant>
|
||||
<constant name="ALIGN_RIGHT" value="2">
|
||||
</constant>
|
||||
<constant name="SHOW_ACTIVE_ONLY" value="1">
|
||||
</constant>
|
||||
<constant name="SHOW_ALWAYS" value="0">
|
||||
</constant>
|
||||
<constant name="SHOW_HOVER" value="2">
|
||||
</constant>
|
||||
<constant name="SHOW_NEVER" value="3">
|
||||
</constant>
|
||||
</constants>
|
||||
<theme_items>
|
||||
<theme_item name="label_valign_fg" type="int">
|
||||
|
@ -34262,8 +34387,68 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_fill_mode">
|
||||
<argument index="0" name="mode" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_fill_mode">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_radial_initial_angle">
|
||||
<argument index="0" name="mode" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_radial_initial_angle">
|
||||
<return type="float">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_radial_center_offset">
|
||||
<argument index="0" name="mode" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_radial_center_offset">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_fill_degrees">
|
||||
<argument index="0" name="mode" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_fill_degrees">
|
||||
<return type="float">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<constants>
|
||||
<constant name="FILL_LEFT_TO_RIGHT" value="0">
|
||||
</constant>
|
||||
<constant name="FILL_RIGHT_TO_LEFT" value="1">
|
||||
</constant>
|
||||
<constant name="FILL_TOP_TO_BOTTOM" value="2">
|
||||
</constant>
|
||||
<constant name="FILL_BOTTOM_TO_TOP" value="3">
|
||||
</constant>
|
||||
<constant name="FILL_CLOCKWISE" value="4">
|
||||
</constant>
|
||||
<constant name="FILL_COUNTER_CLOCKWISE" value="5">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
<class name="Theme" inherits="Resource" category="Core">
|
||||
|
@ -37272,6 +37457,12 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="ceil">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="cross">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
|
@ -37323,6 +37514,12 @@
|
|||
Return the dot product with b.
|
||||
</description>
|
||||
</method>
|
||||
<method name="floor">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="inverse">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
|
|
Loading…
Reference in New Issue