classref: Sync with current source
This commit is contained in:
parent
c734a508c3
commit
77573a76d1
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<doc version="2.0.2.stable.official" name="Engine Types">
|
<doc version="2.0.2.stable.custom_build" name="Engine Types">
|
||||||
<class name="@GDScript" category="Core">
|
<class name="@GDScript" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Built-in GDScript functions.
|
Built-in GDScript functions.
|
||||||
|
@ -2678,6 +2678,22 @@
|
||||||
Get the list of names of the animations stored in the player.
|
Get the list of names of the animations stored in the player.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="animation_set_next">
|
||||||
|
<argument index="0" name="anim_from" type="String">
|
||||||
|
</argument>
|
||||||
|
<argument index="1" name="anim_to" type="String">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="animation_get_next" qualifiers="const">
|
||||||
|
<return type="String">
|
||||||
|
</return>
|
||||||
|
<argument index="0" name="anim_from" type="String">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="set_blend_time">
|
<method name="set_blend_time">
|
||||||
<argument index="0" name="anim_from" type="String">
|
<argument index="0" name="anim_from" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
|
@ -6531,9 +6547,9 @@
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="colors" type="ColorArray">
|
<argument index="1" name="colors" type="ColorArray">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="uvs" type="Vector2Array" default="Array()">
|
<argument index="2" name="uvs" type="Vector2Array">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="3" name="texture" type="Texture" default="Object()">
|
<argument index="3" name="texture" type="Texture" default="NULL">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="4" name="width" type="float" default="1">
|
<argument index="4" name="width" type="float" default="1">
|
||||||
</argument>
|
</argument>
|
||||||
|
@ -6546,9 +6562,9 @@
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="colors" type="ColorArray">
|
<argument index="1" name="colors" type="ColorArray">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="uvs" type="Vector2Array" default="Array()">
|
<argument index="2" name="uvs" type="Vector2Array" default="Vector2Array()">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="3" name="texture" type="Texture" default="Object()">
|
<argument index="3" name="texture" type="Texture" default="NULL">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Draw a polygon of any amount of points, convex or concave.
|
Draw a polygon of any amount of points, convex or concave.
|
||||||
|
@ -6559,9 +6575,9 @@
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="color" type="Color">
|
<argument index="1" name="color" type="Color">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="uvs" type="Vector2Array" default="Array()">
|
<argument index="2" name="uvs" type="Vector2Array" default="Vector2Array()">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="3" name="texture" type="Texture" default="Object()">
|
<argument index="3" name="texture" type="Texture" default="NULL">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Draw a colored polygon of any amount of points, convex or concave.
|
Draw a colored polygon of any amount of points, convex or concave.
|
||||||
|
@ -6883,7 +6899,7 @@
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_rotation">
|
<method name="set_rotation">
|
||||||
<argument index="0" name="rotation" type="float">
|
<argument index="0" name="radians" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Set the base rotation for this layer (helper).
|
Set the base rotation for this layer (helper).
|
||||||
|
@ -6896,6 +6912,18 @@
|
||||||
Return the base rotation for this layer (helper).
|
Return the base rotation for this layer (helper).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="set_rotationd">
|
||||||
|
<argument index="0" name="degrees" type="float">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="get_rotationd" qualifiers="const">
|
||||||
|
<return type="float">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="set_scale">
|
<method name="set_scale">
|
||||||
<argument index="0" name="scale" type="Vector2">
|
<argument index="0" name="scale" type="Vector2">
|
||||||
</argument>
|
</argument>
|
||||||
|
@ -6911,7 +6939,7 @@
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_world_2d" qualifiers="const">
|
<method name="get_world_2d" qualifiers="const">
|
||||||
<return type="Canvas">
|
<return type="World2D">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Return the [World2D] used by this layer.
|
Return the [World2D] used by this layer.
|
||||||
|
@ -8566,7 +8594,13 @@
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_rotation">
|
<method name="set_rotation">
|
||||||
<argument index="0" name="rotation" type="float">
|
<argument index="0" name="radians" type="float">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="set_rotation_deg">
|
||||||
|
<argument index="0" name="degrees" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
|
@ -8619,6 +8653,12 @@
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="get_rotation_deg" qualifiers="const">
|
||||||
|
<return type="float">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="get_scale" qualifiers="const">
|
<method name="get_scale" qualifiers="const">
|
||||||
<return type="Vector2">
|
<return type="Vector2">
|
||||||
</return>
|
</return>
|
||||||
|
@ -13734,6 +13774,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="fix_alpha_edges">
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="get_data">
|
<method name="get_data">
|
||||||
<return type="RawArray">
|
<return type="RawArray">
|
||||||
</return>
|
</return>
|
||||||
|
@ -15353,7 +15397,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
|
||||||
<method name="add_item">
|
<method name="add_item">
|
||||||
<argument index="0" name="text" type="String">
|
<argument index="0" name="text" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="icon" type="Texture" default="Object()">
|
<argument index="1" name="icon" type="Texture" default="NULL">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="selectable" type="bool" default="true">
|
<argument index="2" name="selectable" type="bool" default="true">
|
||||||
</argument>
|
</argument>
|
||||||
|
@ -19132,7 +19176,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_parent" qualifiers="const">
|
<method name="get_parent" qualifiers="const">
|
||||||
<return type="Parent">
|
<return type="Node">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Return the parent [Node] of the current [Node], or an empty Object if the node lacks a parent.
|
Return the parent [Node] of the current [Node], or an empty Object if the node lacks a parent.
|
||||||
|
@ -19525,12 +19569,18 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_rot">
|
<method name="set_rot">
|
||||||
<argument index="0" name="rot" type="float">
|
<argument index="0" name="radians" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Set the rotation of the 2D node.
|
Set the rotation of the 2D node.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="set_rotd">
|
||||||
|
<argument index="0" name="degrees" type="float">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="set_scale">
|
<method name="set_scale">
|
||||||
<argument index="0" name="scale" type="Vector2">
|
<argument index="0" name="scale" type="Vector2">
|
||||||
</argument>
|
</argument>
|
||||||
|
@ -19552,6 +19602,12 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
|
||||||
Return the rotation of the 2D node.
|
Return the rotation of the 2D node.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="get_rotd" qualifiers="const">
|
||||||
|
<return type="float">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="get_scale" qualifiers="const">
|
<method name="get_scale" qualifiers="const">
|
||||||
<return type="Vector2">
|
<return type="Vector2">
|
||||||
</return>
|
</return>
|
||||||
|
@ -23864,7 +23920,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="param" type="int">
|
<argument index="1" name="param" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="value" type="float" default="RID()">
|
<argument index="2" name="value" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
|
@ -32451,7 +32507,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_rotation">
|
<method name="set_rotation">
|
||||||
<argument index="0" name="rotation" type="Vector3">
|
<argument index="0" name="rotation_rad" type="Vector3">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
|
@ -32462,6 +32518,18 @@ This method controls whether the position between two cached points is interpola
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="set_rotation_deg">
|
||||||
|
<argument index="0" name="rotation_deg" type="Vector3">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="get_rotation_deg" qualifiers="const">
|
||||||
|
<return type="Vector3">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="set_scale">
|
<method name="set_scale">
|
||||||
<argument index="0" name="scale" type="Vector3">
|
<argument index="0" name="scale" type="Vector3">
|
||||||
</argument>
|
</argument>
|
||||||
|
@ -32837,13 +32905,13 @@ This method controls whether the position between two cached points is interpola
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_stream">
|
<method name="set_stream">
|
||||||
<argument index="0" name="stream" type="Stream">
|
<argument index="0" name="stream" type="AudioStream">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_stream" qualifiers="const">
|
<method name="get_stream" qualifiers="const">
|
||||||
<return type="Stream">
|
<return type="AudioStream">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
|
@ -34630,8 +34698,11 @@ This method controls whether the position between two cached points is interpola
|
||||||
<method name="strip_edges">
|
<method name="strip_edges">
|
||||||
<return type="String">
|
<return type="String">
|
||||||
</return>
|
</return>
|
||||||
|
<argument index="0" name="left" type="bool" default="True">
|
||||||
|
</argument>
|
||||||
|
<argument index="1" name="right" type="bool" default="True">
|
||||||
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Return a copy of the string stripped of any non-printable character at the beginning and the end.
|
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="substr">
|
<method name="substr">
|
||||||
|
@ -35143,7 +35214,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
<method name="commit">
|
<method name="commit">
|
||||||
<return type="Mesh">
|
<return type="Mesh">
|
||||||
</return>
|
</return>
|
||||||
<argument index="0" name="existing" type="Mesh" default="Object()">
|
<argument index="0" name="existing" type="Mesh" default="NULL">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
|
@ -35625,7 +35696,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="cursor_get_blink_enabled" qualifiers="const">
|
<method name="cursor_get_blink_enabled" qualifiers="const">
|
||||||
<return type="float">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Gets whether the text editor caret is blinking.
|
Gets whether the text editor caret is blinking.
|
||||||
|
@ -37767,7 +37838,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
<method name="create_item">
|
<method name="create_item">
|
||||||
<return type="TreeItem">
|
<return type="TreeItem">
|
||||||
</return>
|
</return>
|
||||||
<argument index="0" name="parent" type="TreeItem" default="Object()">
|
<argument index="0" name="parent" type="TreeItem" default="NULL">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
|
@ -38438,11 +38509,9 @@ This method controls whether the position between two cached points is interpola
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="CELL_MODE_RANGE" value="2">
|
<constant name="CELL_MODE_RANGE" value="2">
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="CELL_MODE_RANGE_EXPRESSION" value="3">
|
<constant name="CELL_MODE_ICON" value="3">
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="CELL_MODE_ICON" value="4">
|
<constant name="CELL_MODE_CUSTOM" value="4">
|
||||||
</constant>
|
|
||||||
<constant name="CELL_MODE_CUSTOM" value="5">
|
|
||||||
</constant>
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
@ -39866,13 +39935,13 @@ This method controls whether the position between two cached points is interpola
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_stream">
|
<method name="set_stream">
|
||||||
<argument index="0" name="stream" type="Stream">
|
<argument index="0" name="stream" type="VideoStream">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_stream" qualifiers="const">
|
<method name="get_stream" qualifiers="const">
|
||||||
<return type="Stream">
|
<return type="VideoStream">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
|
@ -40689,6 +40758,12 @@ This method controls whether the position between two cached points is interpola
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="texture_set_shrink_all_x2_on_set_data">
|
||||||
|
<argument index="0" name="shrink" type="bool">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="shader_create">
|
<method name="shader_create">
|
||||||
<return type="RID">
|
<return type="RID">
|
||||||
</return>
|
</return>
|
||||||
|
|
Loading…
Reference in New Issue