classref: Sync with current source

This commit is contained in:
Rémi Verschelde 2016-05-12 09:16:37 +02:00
parent c734a508c3
commit 77573a76d1

View file

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