summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChris Bradfield <chris@kidscancode.org>2017-09-09 20:10:28 -0700
committerChris Bradfield <chris@kidscancode.org>2017-09-09 20:10:28 -0700
commit134e24408a3ae6273da5998ee257495eff79eb1a (patch)
tree566c3d82ed1925a3d6dcd34c6cb1687328af7f6e /doc
parentf66e9158a8a49d1fb88cd31975a2a492b3aa1d6e (diff)
parentd1cb73b47a17de830d9474026ffa7b3587cfbc68 (diff)
Merge branch 'master' of git://github.com/godotengine/godot into kcc_lightoccluder2d_doc
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml1458
1 files changed, 852 insertions, 606 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index c9213d8201..d5a036aab0 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -31,6 +31,7 @@
<argument index="1" name="alpha" type="float">
</argument>
<description>
+ Make a color from color name (color_names.inc) and alpha ranging from 0 to 1.
</description>
</method>
<method name="abs">
@@ -113,6 +114,7 @@
<argument index="0" name="ascii" type="int">
</argument>
<description>
+ Returns a character as String of the given ASCII code.
</description>
</method>
<method name="clamp">
@@ -309,6 +311,10 @@
<argument index="2" name="value" type="float">
</argument>
<description>
+ Returns a normalized value considering the given range.
+ [codeblock]
+ inverse_lerp(3, 5, 4) # return 0.5
+ [/codeblock]
</description>
</method>
<method name="is_inf">
@@ -335,6 +341,7 @@
<argument index="0" name="var" type="Variant">
</argument>
<description>
+ Returns the length of the given Variant if applicable. It will return character count of a String, element count of an Array, etc.
</description>
</method>
<method name="lerp">
@@ -551,6 +558,10 @@
<argument index="4" name="ostop" type="float">
</argument>
<description>
+ Maps a value from range [istart, istop] to [ostart, ostop].
+ [codeblock]
+ range_lerp(75, 0, 100, -1, 1) # returns 0.5
+ [/codeblock]
</description>
</method>
<method name="round">
@@ -667,6 +678,11 @@
<argument index="0" name="type" type="String">
</argument>
<description>
+ Returns whether the given class is exist in [ClassDB].
+ [codeblock]
+ type_exists("Sprite") # returns true
+ type_exists("Variant") # returns false
+ [/codeblock]
</description>
</method>
<method name="typeof">
@@ -753,6 +769,7 @@
</methods>
<members>
<member name="ARVRServer" type="ARVRServer" setter="" getter="" brief="">
+ [ARVRServer] singleton
</member>
<member name="AudioServer" type="AudioServer" setter="" getter="" brief="">
[AudioServer] singleton
@@ -1944,18 +1961,25 @@
Variable is of type [Array].
</constant>
<constant name="TYPE_RAW_ARRAY" value="20">
+ Variable is of type [PoolByteArray].
</constant>
<constant name="TYPE_INT_ARRAY" value="21">
+ Variable is of type [PoolIntArray].
</constant>
<constant name="TYPE_REAL_ARRAY" value="22">
+ Variable is of type [PoolRealArray].
</constant>
<constant name="TYPE_STRING_ARRAY" value="23">
+ Variable is of type [PoolStringArray].
</constant>
<constant name="TYPE_VECTOR2_ARRAY" value="24">
+ Variable is of type [PoolVector2Array].
</constant>
<constant name="TYPE_VECTOR3_ARRAY" value="25">
+ Variable is of type [PoolVector3Array].
</constant>
<constant name="TYPE_COLOR_ARRAY" value="26">
+ Variable is of type [PoolColorArray].
</constant>
<constant name="TYPE_MAX" value="27">
</constant>
@@ -2274,7 +2298,7 @@
</description>
</method>
<method name="get_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="ARVRServer.TrackerType">
</return>
<description>
</description>
@@ -2553,7 +2577,7 @@
</argument>
<argument index="1" name="pos" type="Vector3">
</argument>
- <argument index="2" name="weight_scale" type="float" default="null">
+ <argument index="2" name="weight_scale" type="float" default="1.0">
</argument>
<description>
Add a new point at the given position [code]pos[/code] with the given identifier [code]id[/code]. The [code]weight_scale[/code] has to be 1 or larger.
@@ -2584,7 +2608,7 @@
</argument>
<argument index="1" name="to_id" type="int">
</argument>
- <argument index="2" name="bidirectional" type="bool" default="null">
+ <argument index="2" name="bidirectional" type="bool" default="true">
</argument>
<description>
Create a segment between points [code]id[/code] and [code]to_id[/code].
@@ -2702,7 +2726,7 @@
</argument>
<argument index="1" name="right" type="bool" default="false">
</argument>
- <argument index="2" name="action" type="String" default="null">
+ <argument index="2" name="action" type="String" default="&quot;&quot;">
</argument>
<description>
Add custom button to the dialog and return the created button.
@@ -3086,7 +3110,7 @@
</return>
<argument index="0" name="type" type="int" enum="Animation.TrackType">
</argument>
- <argument index="1" name="at_pos" type="int" default="null">
+ <argument index="1" name="at_pos" type="int" default="-1">
</argument>
<description>
Add a track to the Animation. The track type must be specified as any of the values in the TYPE_* enumeration.
@@ -3214,7 +3238,7 @@
</argument>
<argument index="1" name="time" type="float">
</argument>
- <argument index="2" name="exact" type="bool" default="null">
+ <argument index="2" name="exact" type="bool" default="false">
</argument>
<description>
Find the key index by time in a given track. Optionally, only find it if the exact time is given.
@@ -3229,7 +3253,7 @@
</description>
</method>
<method name="track_get_interpolation_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Animation.InterpolationType">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -3289,7 +3313,7 @@
</description>
</method>
<method name="track_get_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Animation.TrackType">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -3306,7 +3330,7 @@
</argument>
<argument index="2" name="key" type="Variant">
</argument>
- <argument index="3" name="transition" type="float" default="null">
+ <argument index="3" name="transition" type="float" default="1">
</argument>
<description>
Insert a generic key in a given track.
@@ -3472,11 +3496,12 @@
</description>
</method>
<method name="value_track_get_update_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Animation.UpdateMode">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
+ Return the update mode of a value track.
</description>
</method>
<method name="value_track_set_update_mode">
@@ -3487,6 +3512,7 @@
<argument index="1" name="mode" type="int" enum="Animation.UpdateMode">
</argument>
<description>
+ Set the update mode (UPDATE_*) of a value track.
</description>
</method>
</methods>
@@ -3510,10 +3536,13 @@
Cubic interpolation.
</constant>
<constant name="UPDATE_CONTINUOUS" value="0">
+ Update between keyframes.
</constant>
<constant name="UPDATE_DISCRETE" value="1">
+ Update at the keyframes and hold the value.
</constant>
<constant name="UPDATE_TRIGGER" value="2">
+ Update at the keyframes.
</constant>
</constants>
</class>
@@ -3526,7 +3555,7 @@
</description>
<methods>
<method name="add_animation">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="name" type="String">
</argument>
@@ -3551,6 +3580,7 @@
<argument index="0" name="anim_from" type="String">
</argument>
<description>
+ Return the name of the next animation in the queue.
</description>
</method>
<method name="animation_set_next">
@@ -3561,6 +3591,7 @@
<argument index="1" name="anim_to" type="String">
</argument>
<description>
+ Set the name of an animation that will be played after.
</description>
</method>
<method name="clear_caches">
@@ -3603,7 +3634,7 @@
</description>
</method>
<method name="get_animation_process_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AnimationPlayer.AnimationProcessMode">
</return>
<description>
Return the mode in which the animation player processes. See [method set_animation_process_mode].
@@ -3702,13 +3733,13 @@
<method name="play">
<return type="void">
</return>
- <argument index="0" name="name" type="String" default="false">
+ <argument index="0" name="name" type="String" default="&quot;&quot;">
</argument>
- <argument index="1" name="custom_blend" type="float" default="1.0">
+ <argument index="1" name="custom_blend" type="float" default="-1">
</argument>
- <argument index="2" name="custom_speed" type="float" default="-1">
+ <argument index="2" name="custom_speed" type="float" default="1.0">
</argument>
- <argument index="3" name="from_end" type="bool" default="&quot;&quot;">
+ <argument index="3" name="from_end" type="bool" default="false">
</argument>
<description>
Play a given animation by the animation name. Custom speed and blend times can be set. If custom speed is negative (-1), 'from_end' being true can play the animation backwards.
@@ -3717,9 +3748,9 @@
<method name="play_backwards">
<return type="void">
</return>
- <argument index="0" name="name" type="String" default="-1">
+ <argument index="0" name="name" type="String" default="&quot;&quot;">
</argument>
- <argument index="1" name="custom_blend" type="float" default="&quot;&quot;">
+ <argument index="1" name="custom_blend" type="float" default="-1">
</argument>
<description>
Play a given animation by the animation name in reverse.
@@ -3759,7 +3790,7 @@
</return>
<argument index="0" name="pos_sec" type="float">
</argument>
- <argument index="1" name="update" type="bool" default="null">
+ <argument index="1" name="update" type="bool" default="false">
</argument>
<description>
Seek the animation to a given position in time (in seconds). If 'update' is true, the animation will be updated too, otherwise it will be updated at process time.
@@ -3933,6 +3964,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns an animation given its name.
</description>
</method>
<method name="animation_node_get_master_animation" qualifiers="const">
@@ -3986,6 +4018,7 @@
<argument index="2" name="dst_input_idx" type="int">
</argument>
<description>
+ Returns whether node [code]id[/code] and [code]dst_id[/code] are connected at the specified slot.
</description>
</method>
<method name="blend2_node_get_amount" qualifiers="const">
@@ -3994,6 +4027,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns the blend amount of a Blend2 node given its name.
</description>
</method>
<method name="blend2_node_set_amount">
@@ -4004,6 +4038,7 @@
<argument index="1" name="blend" type="float">
</argument>
<description>
+ Sets the blend amount of a Blend2 node given its name and value.
</description>
</method>
<method name="blend2_node_set_filter_path">
@@ -4024,6 +4059,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns the blend amount of a Blend3 node given its name.
</description>
</method>
<method name="blend3_node_set_amount">
@@ -4034,6 +4070,7 @@
<argument index="1" name="blend" type="float">
</argument>
<description>
+ Sets the blend amount of a Blend3 node given its name and value.
</description>
</method>
<method name="blend4_node_get_amount" qualifiers="const">
@@ -4042,6 +4079,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns the blend amount of a Blend4 node given its name.
</description>
</method>
<method name="blend4_node_set_amount">
@@ -4052,10 +4090,11 @@
<argument index="1" name="blend" type="Vector2">
</argument>
<description>
+ Sets the blend amount of a Blend4 node given its name and value.
</description>
</method>
<method name="connect_nodes">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="id" type="String">
</argument>
@@ -4064,6 +4103,7 @@
<argument index="2" name="dst_input_idx" type="int">
</argument>
<description>
+ Connects node [code]id[/code] to [code]dst_id[/code] at the specified input slot.
</description>
</method>
<method name="disconnect_nodes">
@@ -4074,12 +4114,14 @@
<argument index="1" name="dst_input_idx" type="int">
</argument>
<description>
+ Disconnects nodes connected to [code]id[/code] at the specified input slot.
</description>
</method>
<method name="get_animation_process_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AnimationTreePlayer.AnimationProcessMode">
</return>
<description>
+ Returns playback process mode of this AnimationTreePlayer.
</description>
</method>
<method name="get_base_path" qualifiers="const">
@@ -4098,12 +4140,14 @@
<return type="PoolStringArray">
</return>
<description>
+ Returns a PoolStringArray containing the name of all nodes.
</description>
</method>
<method name="is_active" qualifiers="const">
<return type="bool">
</return>
<description>
+ Returns whether this AnimationTreePlayer is active.
</description>
</method>
<method name="mix_node_get_amount" qualifiers="const">
@@ -4112,6 +4156,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns mix amount of a Mix node given its name.
</description>
</method>
<method name="mix_node_set_amount">
@@ -4122,6 +4167,7 @@
<argument index="1" name="ratio" type="float">
</argument>
<description>
+ Sets mix amount of a Mix node given its name and value.
</description>
</method>
<method name="node_exists" qualifiers="const">
@@ -4159,10 +4205,11 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns position of a node in the graph given its name.
</description>
</method>
<method name="node_get_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AnimationTreePlayer.NodeType">
</return>
<argument index="0" name="id" type="String">
</argument>
@@ -4171,7 +4218,7 @@
</description>
</method>
<method name="node_rename">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="node" type="String">
</argument>
@@ -4189,6 +4236,7 @@
<argument index="1" name="screen_pos" type="Vector2">
</argument>
<description>
+ Sets position of a node in the graph given its name and position.
</description>
</method>
<method name="oneshot_node_get_autorestart_delay" qualifiers="const">
@@ -4197,6 +4245,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns autostart delay of a OneShot node given its name.
</description>
</method>
<method name="oneshot_node_get_autorestart_random_delay" qualifiers="const">
@@ -4205,6 +4254,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns autostart random delay of a OneShot node given its name.
</description>
</method>
<method name="oneshot_node_get_fadein_time" qualifiers="const">
@@ -4213,6 +4263,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns fade in time of a OneShot node given its name.
</description>
</method>
<method name="oneshot_node_get_fadeout_time" qualifiers="const">
@@ -4221,6 +4272,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns fade out time of a OneShot node given its name.
</description>
</method>
<method name="oneshot_node_has_autorestart" qualifiers="const">
@@ -4229,6 +4281,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns whether a OneShot node will auto restart given its name.
</description>
</method>
<method name="oneshot_node_is_active" qualifiers="const">
@@ -4237,6 +4290,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns whether a OneShot node is active given its name.
</description>
</method>
<method name="oneshot_node_set_autorestart">
@@ -4247,6 +4301,7 @@
<argument index="1" name="enable" type="bool">
</argument>
<description>
+ Sets autorestart property of a OneShot node given its name and value.
</description>
</method>
<method name="oneshot_node_set_autorestart_delay">
@@ -4257,6 +4312,7 @@
<argument index="1" name="delay_sec" type="float">
</argument>
<description>
+ Sets autorestart delay of a OneShot node given its name and value in seconds.
</description>
</method>
<method name="oneshot_node_set_autorestart_random_delay">
@@ -4267,6 +4323,7 @@
<argument index="1" name="rand_sec" type="float">
</argument>
<description>
+ Sets autorestart random delay of a OneShot node given its name and value in seconds.
</description>
</method>
<method name="oneshot_node_set_fadein_time">
@@ -4277,6 +4334,7 @@
<argument index="1" name="time_sec" type="float">
</argument>
<description>
+ Sets fade in time of a OneShot node given its name and value in seconds.
</description>
</method>
<method name="oneshot_node_set_fadeout_time">
@@ -4287,6 +4345,7 @@
<argument index="1" name="time_sec" type="float">
</argument>
<description>
+ Sets fade out time of a OneShot node given its name and value in seconds.
</description>
</method>
<method name="oneshot_node_set_filter_path">
@@ -4307,6 +4366,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Starts a OneShot node given its name.
</description>
</method>
<method name="oneshot_node_stop">
@@ -4315,6 +4375,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Stops a OneShot node given its name.
</description>
</method>
<method name="recompute_caches">
@@ -4335,6 +4396,7 @@
<return type="void">
</return>
<description>
+ Resets this AnimationTreePlayer.
</description>
</method>
<method name="set_active">
@@ -4343,6 +4405,7 @@
<argument index="0" name="enabled" type="bool">
</argument>
<description>
+ Sets whether this AnimationTreePlayer is active. AnimationTreePlayer will start processing if set to active.
</description>
</method>
<method name="set_animation_process_mode">
@@ -4351,6 +4414,7 @@
<argument index="0" name="mode" type="int" enum="AnimationTreePlayer.AnimationProcessMode">
</argument>
<description>
+ Sets process mode (ANIMATION_PROCESS_*) of this AnimationTreePlayer.
</description>
</method>
<method name="set_base_path">
@@ -4359,6 +4423,7 @@
<argument index="0" name="path" type="NodePath">
</argument>
<description>
+ Sets base path of this AnimationTreePlayer.
</description>
</method>
<method name="set_master_player">
@@ -4375,6 +4440,7 @@
<argument index="0" name="id" type="String">
</argument>
<description>
+ Returns time scale value of a TimeScale node given its name.
</description>
</method>
<method name="timescale_node_set_scale">
@@ -4385,6 +4451,7 @@
<argument index="1" name="scale" type="float">
</argument>
<description>
+ Sets time scale value of a TimeScale node given its name and value.
</description>
</method>
<method name="timeseek_node_seek">
@@ -4395,6 +4462,7 @@
<argument index="1" name="pos_sec" type="float">
</argument>
<description>
+ Sets time seek value of a TimeSeek node given its name and value.
</description>
</method>
<method name="transition_node_delete_input">
@@ -4490,24 +4558,34 @@
</members>
<constants>
<constant name="NODE_OUTPUT" value="0">
+ Output node.
</constant>
<constant name="NODE_ANIMATION" value="1">
+ Animation node.
</constant>
<constant name="NODE_ONESHOT" value="2">
+ OneShot node.
</constant>
<constant name="NODE_MIX" value="3">
+ Mix node.
</constant>
<constant name="NODE_BLEND2" value="4">
+ Blend2 node.
</constant>
<constant name="NODE_BLEND3" value="5">
+ Blend3 node.
</constant>
<constant name="NODE_BLEND4" value="6">
+ Blend4 node.
</constant>
<constant name="NODE_TIMESCALE" value="7">
+ TimeScale node.
</constant>
<constant name="NODE_TIMESEEK" value="8">
+ TimeSeek node.
</constant>
<constant name="NODE_TRANSITION" value="9">
+ Transition node.
</constant>
</constants>
</class>
@@ -4632,7 +4710,7 @@
</description>
</method>
<method name="get_space_override_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Area.SpaceOverride">
</return>
<description>
Return the space override mode.
@@ -5106,7 +5184,7 @@
</description>
</method>
<method name="get_space_override_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Area2D.SpaceOverride">
</return>
<description>
Return the space override mode.
@@ -5670,7 +5748,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.
+ 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. Note: you cannot randomize the return value as the heapsort algorithm expects a deterministic result. Doing so will result in unexpected behavior.
</description>
</method>
</methods>
@@ -5698,9 +5776,9 @@
</argument>
<argument index="1" name="arrays" type="Array">
</argument>
- <argument index="2" name="blend_shapes" type="Array" default="null">
+ <argument index="2" name="blend_shapes" type="Array" default="[ ]">
</argument>
- <argument index="3" name="compress_flags" type="int" default="null">
+ <argument index="3" name="compress_flags" type="int" default="97792">
</argument>
<description>
Create a new surface ([method get_surface_count] that will become surf_idx for this.
@@ -5726,7 +5804,7 @@
</description>
</method>
<method name="get_blend_shape_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Mesh.BlendShapeMode">
</return>
<description>
</description>
@@ -5819,7 +5897,7 @@
</description>
</method>
<method name="surface_get_primitive_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Mesh.PrimitiveType">
</return>
<argument index="0" name="surf_idx" type="int">
</argument>
@@ -6630,7 +6708,7 @@
</description>
</method>
<method name="get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AudioEffectDistortion.Mode">
</return>
<description>
</description>
@@ -6780,7 +6858,7 @@
</description>
</method>
<method name="get_db" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AudioEffectFilter.FilterDB">
</return>
<description>
</description>
@@ -7340,7 +7418,7 @@
</argument>
<argument index="1" name="effect" type="AudioEffect">
</argument>
- <argument index="2" name="at_pos" type="int" default="null">
+ <argument index="2" name="at_pos" type="int" default="-1">
</argument>
<description>
</description>
@@ -7434,7 +7512,7 @@
</description>
</method>
<method name="get_speaker_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AudioServer.SpeakerMode">
</return>
<description>
</description>
@@ -7720,7 +7798,7 @@
</description>
</method>
<method name="get_mix_target" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AudioStreamPlayer.MixTarget">
</return>
<description>
</description>
@@ -8032,7 +8110,7 @@
</description>
</method>
<method name="get_attenuation_model" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AudioStreamPlayer3D.AttenuationModel">
</return>
<description>
</description>
@@ -8044,7 +8122,7 @@
</description>
</method>
<method name="get_doppler_tracking" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AudioStreamPlayer3D.DopplerTracking">
</return>
<description>
</description>
@@ -8074,7 +8152,7 @@
</description>
</method>
<method name="get_out_of_range_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AudioStreamPlayer3D.OutOfRangeMode">
</return>
<description>
</description>
@@ -8390,7 +8468,7 @@
</description>
</method>
<method name="get_format" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AudioStreamSample.Format">
</return>
<description>
</description>
@@ -8408,7 +8486,7 @@
</description>
</method>
<method name="get_loop_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="AudioStreamSample.LoopMode">
</return>
<description>
</description>
@@ -8510,7 +8588,7 @@
</description>
<methods>
<method name="get_copy_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="BackBufferCopy.CopyMode">
</return>
<description>
Return the copy mode currently applied to the BackBufferCopy (refer to constants section).
@@ -8585,7 +8663,7 @@
</description>
</method>
<method name="get_action_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="BaseButton.ActionMode">
</return>
<description>
Return the current mode of action (see [method set_action_mode]) (one of the ACTION_MODE_* constants).
@@ -8598,14 +8676,14 @@
</description>
</method>
<method name="get_draw_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="BaseButton.DrawMode">
</return>
<description>
Return the visual state used to draw the button. This is useful mainly when implementing your own draw code by either overriding _draw() or connecting to "draw" signal. The visual state of the button is defined by the DRAW_* enum.
</description>
</method>
<method name="get_enabled_focus_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Control.FocusMode">
</return>
<description>
Returns focus access mode used when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]).
@@ -9030,9 +9108,9 @@
</argument>
<argument index="2" name="rect" type="Rect2">
</argument>
- <argument index="3" name="align" type="Vector2" default="null">
+ <argument index="3" name="align" type="Vector2" default="Vector2( 0, 0 )">
</argument>
- <argument index="4" name="advance" type="float" default="null">
+ <argument index="4" name="advance" type="float" default="-1">
</argument>
<description>
Add a character to the font, where [i]character[/i] is the unicode value, [i]texture[/i] is the texture index, [i]rect[/i] is the region in the texture (in pixels!), [i]align[/i] is the (optional) alignment for the character and [i]advance[/i] is the (optional) advance.
@@ -9068,7 +9146,7 @@
</description>
</method>
<method name="create_from_fnt">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -9080,7 +9158,7 @@
</return>
<argument index="0" name="char" type="int">
</argument>
- <argument index="1" name="next" type="int" default="null">
+ <argument index="1" name="next" type="int" default="0">
</argument>
<description>
Return the size of a character, optionally taking kerning into account if the next character is provided.
@@ -9216,7 +9294,7 @@
</description>
</method>
<method name="get_alignment" qualifiers="const">
- <return type="int">
+ <return type="int" enum="BoxContainer.AlignMode">
</return>
<description>
Return the alignment of children in the container.
@@ -9310,7 +9388,7 @@
</description>
</method>
<method name="get_text_align" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Button.TextAlign">
</return>
<description>
Return the text alignment policy.
@@ -9468,7 +9546,7 @@
</description>
</method>
<method name="get_doppler_tracking" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Camera.DopplerTracking">
</return>
<description>
</description>
@@ -9492,13 +9570,13 @@
</description>
</method>
<method name="get_keep_aspect_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Camera.KeepAspect">
</return>
<description>
</description>
</method>
<method name="get_projection" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Camera.Projection">
</return>
<description>
</description>
@@ -9716,7 +9794,7 @@
</description>
</method>
<method name="get_anchor_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Camera2D.AnchorMode">
</return>
<description>
</description>
@@ -10086,7 +10164,7 @@
</argument>
<argument index="3" name="next" type="String">
</argument>
- <argument index="4" name="modulate" type="Color" default="null">
+ <argument index="4" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
<description>
Draw a string character using a custom font. Returns the advance, depending on the char width and kerning with an optional next char.
@@ -10112,13 +10190,13 @@
</argument>
<argument index="1" name="color" type="Color">
</argument>
- <argument index="2" name="uvs" type="PoolVector2Array" default="null">
+ <argument index="2" name="uvs" type="PoolVector2Array" default="PoolVector2Array( )">
</argument>
- <argument index="3" name="texture" type="Texture" default="PoolVector2Array( )">
+ <argument index="3" name="texture" type="Texture" default="null">
</argument>
<argument index="4" name="normal_map" type="Texture" default="null">
</argument>
- <argument index="5" name="antialiased" type="bool" default="null">
+ <argument index="5" name="antialiased" type="bool" default="false">
</argument>
<description>
Draw a colored polygon of any amount of points, convex or concave.
@@ -10133,9 +10211,9 @@
</argument>
<argument index="2" name="color" type="Color">
</argument>
- <argument index="3" name="width" type="float" default="null">
+ <argument index="3" name="width" type="float" default="1.0">
</argument>
- <argument index="4" name="antialiased" type="bool" default="null">
+ <argument index="4" name="antialiased" type="bool" default="false">
</argument>
<description>
Draw a line from a 2D point to another, with a given color and width. It can be optionally antialiased.
@@ -10148,13 +10226,13 @@
</argument>
<argument index="1" name="colors" type="PoolColorArray">
</argument>
- <argument index="2" name="uvs" type="PoolVector2Array" default="null">
+ <argument index="2" name="uvs" type="PoolVector2Array" default="PoolVector2Array( )">
</argument>
- <argument index="3" name="texture" type="Texture" default="PoolVector2Array( )">
+ <argument index="3" name="texture" type="Texture" default="null">
</argument>
<argument index="4" name="normal_map" type="Texture" default="null">
</argument>
- <argument index="5" name="antialiased" type="bool" default="null">
+ <argument index="5" name="antialiased" type="bool" default="false">
</argument>
<description>
Draw a polygon of any amount of points, convex or concave.
@@ -10167,9 +10245,9 @@
</argument>
<argument index="1" name="color" type="Color">
</argument>
- <argument index="2" name="width" type="float" default="null">
+ <argument index="2" name="width" type="float" default="1.0">
</argument>
- <argument index="3" name="antialiased" type="bool" default="null">
+ <argument index="3" name="antialiased" type="bool" default="false">
</argument>
<description>
</description>
@@ -10181,9 +10259,9 @@
</argument>
<argument index="1" name="colors" type="PoolColorArray">
</argument>
- <argument index="2" name="width" type="float" default="null">
+ <argument index="2" name="width" type="float" default="1.0">
</argument>
- <argument index="3" name="antialiased" type="bool" default="null">
+ <argument index="3" name="antialiased" type="bool" default="false">
</argument>
<description>
</description>
@@ -10199,7 +10277,7 @@
</argument>
<argument index="3" name="texture" type="Texture" default="null">
</argument>
- <argument index="4" name="width" type="float" default="null">
+ <argument index="4" name="width" type="float" default="1.0">
</argument>
<argument index="5" name="normal_map" type="Texture" default="null">
</argument>
@@ -10214,7 +10292,7 @@
</argument>
<argument index="1" name="color" type="Color">
</argument>
- <argument index="2" name="filled" type="bool" default="null">
+ <argument index="2" name="filled" type="bool" default="true">
</argument>
<description>
Draw a colored rectangle.
@@ -10250,9 +10328,9 @@
</argument>
<argument index="2" name="text" type="String">
</argument>
- <argument index="3" name="modulate" type="Color" default="null">
+ <argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
- <argument index="4" name="clip_w" type="int" default="null">
+ <argument index="4" name="clip_w" type="int" default="-1">
</argument>
<description>
Draw a string using a custom font.
@@ -10276,7 +10354,7 @@
</argument>
<argument index="1" name="pos" type="Vector2">
</argument>
- <argument index="2" name="modulate" type="Color" default="null">
+ <argument index="2" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
<argument index="3" name="normal_map" type="Texture" default="null">
</argument>
@@ -10293,9 +10371,9 @@
</argument>
<argument index="2" name="tile" type="bool">
</argument>
- <argument index="3" name="modulate" type="Color" default="null">
+ <argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
- <argument index="4" name="transpose" type="bool" default="null">
+ <argument index="4" name="transpose" type="bool" default="false">
</argument>
<argument index="5" name="normal_map" type="Texture" default="null">
</argument>
@@ -10314,11 +10392,11 @@
</argument>
<argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
- <argument index="4" name="transpose" type="bool" default="null">
+ <argument index="4" name="transpose" type="bool" default="false">
</argument>
<argument index="5" name="normal_map" type="Texture" default="null">
</argument>
- <argument index="6" name="clip_uv" type="bool" default="null">
+ <argument index="6" name="clip_uv" type="bool" default="true">
</argument>
<description>
Draw a textured rectangle region at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture.
@@ -10729,13 +10807,13 @@
</description>
<methods>
<method name="get_blend_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="CanvasItemMaterial.BlendMode">
</return>
<description>
</description>
</method>
<method name="get_light_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="CanvasItemMaterial.LightMode">
</return>
<description>
</description>
@@ -11326,7 +11404,7 @@
</return>
<argument index="0" name="class" type="String">
</argument>
- <argument index="1" name="no_inheritance" type="bool" default="null">
+ <argument index="1" name="no_inheritance" type="bool" default="false">
</argument>
<description>
</description>
@@ -11336,7 +11414,7 @@
</return>
<argument index="0" name="class" type="String">
</argument>
- <argument index="1" name="no_inheritance" type="bool" default="null">
+ <argument index="1" name="no_inheritance" type="bool" default="false">
</argument>
<description>
</description>
@@ -11356,7 +11434,7 @@
</return>
<argument index="0" name="class" type="String">
</argument>
- <argument index="1" name="no_inheritance" type="bool" default="null">
+ <argument index="1" name="no_inheritance" type="bool" default="false">
</argument>
<description>
</description>
@@ -11376,7 +11454,7 @@
</return>
<argument index="0" name="class" type="String">
</argument>
- <argument index="1" name="no_inheritance" type="bool" default="null">
+ <argument index="1" name="no_inheritance" type="bool" default="false">
</argument>
<description>
</description>
@@ -11398,7 +11476,7 @@
</argument>
<argument index="1" name="method" type="String">
</argument>
- <argument index="2" name="no_inheritance" type="bool" default="null">
+ <argument index="2" name="no_inheritance" type="bool" default="false">
</argument>
<description>
</description>
@@ -11414,7 +11492,7 @@
</description>
</method>
<method name="class_set_property" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="object" type="Object">
</argument>
@@ -12001,7 +12079,7 @@
</description>
<methods>
<method name="get_build_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="CollisionPolygon2D.BuildMode">
</return>
<description>
Return whether the polygon is a [ConvexPolygonShape2D] ([code]build_mode==0[/code]), or a [ConcavePolygonShape2D] ([code]build_mode==1[/code]).
@@ -12759,7 +12837,7 @@
</description>
</method>
<method name="load">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -12768,7 +12846,7 @@
</description>
</method>
<method name="save">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -13004,7 +13082,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -13020,13 +13098,13 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
</method>
<method name="get_cursor_shape" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Control.CursorShape">
</return>
<argument index="0" name="pos" type="Vector2" default="Vector2( 0, 0 )">
</argument>
@@ -13041,7 +13119,7 @@
</description>
</method>
<method name="get_default_cursor_shape" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Control.CursorShape">
</return>
<description>
Return the default cursor shape for this control. See enum CURSOR_* for the list of shapes.
@@ -13063,7 +13141,7 @@
</description>
</method>
<method name="get_focus_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Control.FocusMode">
</return>
<description>
Returns the focus access mode for the control (FOCUS_NONE, FOCUS_CLICK, FOCUS_ALL) (see [method set_focus_mode]).
@@ -13090,7 +13168,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -13110,7 +13188,7 @@
</description>
</method>
<method name="get_h_grow_direction" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Control.GrowDirection">
</return>
<description>
</description>
@@ -13127,7 +13205,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -13149,7 +13227,7 @@
</description>
</method>
<method name="get_mouse_filter" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Control.MouseFilter">
</return>
<description>
Return when the control is ignoring mouse events (even touchpad events send mouse events).
@@ -13226,7 +13304,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -13248,7 +13326,7 @@
</description>
</method>
<method name="get_v_grow_direction" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Control.GrowDirection">
</return>
<description>
</description>
@@ -13278,7 +13356,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -13296,7 +13374,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -13321,7 +13399,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -13339,7 +13417,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -13365,7 +13443,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="type" type="String" default="null">
+ <argument index="1" name="type" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -13404,9 +13482,9 @@
</argument>
<argument index="1" name="anchor" type="float">
</argument>
- <argument index="2" name="keep_margin" type="bool" default="null">
+ <argument index="2" name="keep_margin" type="bool" default="false">
</argument>
- <argument index="3" name="push_opposite_anchor" type="bool" default="null">
+ <argument index="3" name="push_opposite_anchor" type="bool" default="true">
</argument>
<description>
</description>
@@ -13420,7 +13498,7 @@
</argument>
<argument index="2" name="offset" type="float">
</argument>
- <argument index="3" name="push_opposite_anchor" type="bool" default="null">
+ <argument index="3" name="push_opposite_anchor" type="bool" default="false">
</argument>
<description>
</description>
@@ -13430,7 +13508,7 @@
</return>
<argument index="0" name="preset" type="int" enum="Control.LayoutPreset">
</argument>
- <argument index="1" name="keep_margin" type="bool" default="null">
+ <argument index="1" name="keep_margin" type="bool" default="false">
</argument>
<description>
</description>
@@ -14016,7 +14094,7 @@
</description>
</method>
<method name="get_storage" qualifiers="const">
- <return type="int">
+ <return type="int" enum="CubeMap.Storage">
</return>
<description>
</description>
@@ -14184,7 +14262,7 @@
</argument>
<argument index="3" name="left_mode" type="int" enum="Curve.TangentMode" default="0">
</argument>
- <argument index="4" name="right_mode" type="int" enum="Curve.TangentMode" default="null">
+ <argument index="4" name="right_mode" type="int" enum="Curve.TangentMode" default="0">
</argument>
<description>
</description>
@@ -14226,7 +14304,7 @@
</description>
</method>
<method name="get_point_left_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Curve.TangentMode">
</return>
<argument index="0" name="index" type="int">
</argument>
@@ -14250,7 +14328,7 @@
</description>
</method>
<method name="get_point_right_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Curve.TangentMode">
</return>
<argument index="0" name="index" type="int">
</argument>
@@ -14411,7 +14489,7 @@
</argument>
<argument index="2" name="out" type="Vector2" default="Vector2( 0, 0 )">
</argument>
- <argument index="3" name="atpos" type="int" default="null">
+ <argument index="3" name="atpos" type="int" default="-1">
</argument>
<description>
Adds a point to a curve, at position "pos", with control points "in" and "out".
@@ -14496,7 +14574,7 @@
</return>
<argument index="0" name="offset" type="float">
</argument>
- <argument index="1" name="cubic" type="bool" default="null">
+ <argument index="1" name="cubic" type="bool" default="false">
</argument>
<description>
Returns a point within the curve at position "offset", where "offset" is measured as a pixel distance along the curve.
@@ -14567,9 +14645,9 @@
<method name="tessellate" qualifiers="const">
<return type="PoolVector2Array">
</return>
- <argument index="0" name="max_stages" type="int" default="4">
+ <argument index="0" name="max_stages" type="int" default="5">
</argument>
- <argument index="1" name="tolerance_degrees" type="float" default="5">
+ <argument index="1" name="tolerance_degrees" type="float" default="4">
</argument>
<description>
Returns a list of points along the curve, with a curvature controlled point density. That is, the curvier parts will have more points than the straighter parts.
@@ -14606,7 +14684,7 @@
</argument>
<argument index="2" name="out" type="Vector3" default="Vector3( 0, 0, 0 )">
</argument>
- <argument index="3" name="atpos" type="int" default="null">
+ <argument index="3" name="atpos" type="int" default="-1">
</argument>
<description>
Adds a point to a curve, at position "pos", with control points "in" and "out".
@@ -14707,7 +14785,7 @@
</return>
<argument index="0" name="offset" type="float">
</argument>
- <argument index="1" name="cubic" type="bool" default="null">
+ <argument index="1" name="cubic" type="bool" default="false">
</argument>
<description>
Returns a point within the curve at position "offset", where "offset" is measured as a distance in 3D units along the curve.
@@ -14790,9 +14868,9 @@
<method name="tessellate" qualifiers="const">
<return type="PoolVector3Array">
</return>
- <argument index="0" name="max_stages" type="int" default="4">
+ <argument index="0" name="max_stages" type="int" default="5">
</argument>
- <argument index="1" name="tolerance_degrees" type="float" default="5">
+ <argument index="1" name="tolerance_degrees" type="float" default="4">
</argument>
<description>
Returns a list of points along the curve, with a curvature controlled point density. That is, the curvier parts will have more points than the straighter parts.
@@ -15113,7 +15191,7 @@
</description>
<methods>
<method name="get_shadow_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="DirectionalLight.ShadowMode">
</return>
<description>
</description>
@@ -15191,7 +15269,7 @@
</description>
<methods>
<method name="change_dir">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="todir" type="String">
</argument>
@@ -15201,7 +15279,7 @@
</description>
</method>
<method name="copy">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="from" type="String">
</argument>
@@ -15282,7 +15360,7 @@
</description>
</method>
<method name="list_dir_begin">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="skip_navigational" type="bool" default="false">
</argument>
@@ -15302,7 +15380,7 @@
</description>
</method>
<method name="make_dir">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -15312,7 +15390,7 @@
</description>
</method>
<method name="make_dir_recursive">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -15322,7 +15400,7 @@
</description>
</method>
<method name="open">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -15332,7 +15410,7 @@
</description>
</method>
<method name="remove">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -15342,7 +15420,7 @@
</description>
</method>
<method name="rename">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="from" type="String">
</argument>
@@ -15556,7 +15634,7 @@
</description>
</method>
<method name="get_access" qualifiers="const">
- <return type="int">
+ <return type="int" enum="EditorFileDialog.Access">
</return>
<description>
</description>
@@ -15580,13 +15658,13 @@
</description>
</method>
<method name="get_display_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="EditorFileDialog.DisplayMode">
</return>
<description>
</description>
</method>
<method name="get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="EditorFileDialog.Mode">
</return>
<description>
</description>
@@ -16070,7 +16148,7 @@
</return>
<argument index="0" name="object" type="Object">
</argument>
- <argument index="1" name="for_property" type="String" default="null">
+ <argument index="1" name="for_property" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -16102,7 +16180,7 @@
</description>
</method>
<method name="save_scene">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
</description>
@@ -16112,7 +16190,7 @@
</return>
<argument index="0" name="path" type="String">
</argument>
- <argument index="1" name="with_preview" type="bool" default="null">
+ <argument index="1" name="with_preview" type="bool" default="true">
</argument>
<description>
</description>
@@ -16842,7 +16920,7 @@
</argument>
<argument index="1" name="billboard" type="bool" default="false">
</argument>
- <argument index="2" name="secondary" type="bool" default="null">
+ <argument index="2" name="secondary" type="bool" default="false">
</argument>
<description>
Add a list of handles (points) which can be used to deform the object being edited.
@@ -16856,7 +16934,7 @@
</argument>
<argument index="1" name="material" type="Material">
</argument>
- <argument index="2" name="billboard" type="bool" default="null">
+ <argument index="2" name="billboard" type="bool" default="false">
</argument>
<description>
Add lines to the gizmo (as sets of 2 points), with a given material. The lines are used for visualizing the gizmo. Call this function during [method redraw].
@@ -16869,7 +16947,7 @@
</argument>
<argument index="1" name="billboard" type="bool" default="false">
</argument>
- <argument index="2" name="skeleton" type="RID" default="null">
+ <argument index="2" name="skeleton" type="RID">
</argument>
<description>
</description>
@@ -16879,7 +16957,7 @@
</return>
<argument index="0" name="material" type="Material">
</argument>
- <argument index="1" name="default_scale" type="float" default="null">
+ <argument index="1" name="default_scale" type="float" default="1">
</argument>
<description>
Add an unscaled billboard for visualization. Call this function during [method redraw].
@@ -17139,7 +17217,7 @@
</description>
</method>
<method name="get_background" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Environment.BGMode">
</return>
<description>
</description>
@@ -17175,7 +17253,7 @@
</description>
</method>
<method name="get_dof_blur_far_quality" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Environment.DOFBlurQuality">
</return>
<description>
</description>
@@ -17199,7 +17277,7 @@
</description>
</method>
<method name="get_dof_blur_near_quality" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Environment.DOFBlurQuality">
</return>
<description>
</description>
@@ -17265,7 +17343,7 @@
</description>
</method>
<method name="get_glow_blend_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Environment.GlowBlendMode">
</return>
<description>
</description>
@@ -17421,7 +17499,7 @@
</description>
</method>
<method name="get_tonemapper" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Environment.ToneMapper">
</return>
<description>
</description>
@@ -18370,7 +18448,7 @@
</description>
</method>
<method name="get_error" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
Get the last error that happened when trying to perform operations. Compare with the [code]ERR_FILE_*[/code] constants from [@Global Scope].
@@ -18459,7 +18537,7 @@
</description>
</method>
<method name="open">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -18470,20 +18548,20 @@
</description>
</method>
<method name="open_compressed">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
<argument index="1" name="mode_flags" type="int">
</argument>
- <argument index="2" name="compression_mode" type="int" default="null">
+ <argument index="2" name="compression_mode" type="int" default="0">
</argument>
<description>
Open a compressed file for reading or writing. The compression_mode can be set as one of the COMPRESSION_* constants.
</description>
</method>
<method name="open_encrypted">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -18496,7 +18574,7 @@
</description>
</method>
<method name="open_encrypted_with_pass">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -18696,7 +18774,7 @@
</description>
</method>
<method name="get_access" qualifiers="const">
- <return type="int">
+ <return type="int" enum="FileDialog.Access">
</return>
<description>
Return the file access permission of the dialog.
@@ -18730,7 +18808,7 @@
</description>
</method>
<method name="get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="FileDialog.Mode">
</return>
<description>
Get the file dialog mode from the MODE_* enum.
@@ -18905,9 +18983,9 @@
</argument>
<argument index="2" name="string" type="String">
</argument>
- <argument index="3" name="modulate" type="Color" default="null">
+ <argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
- <argument index="4" name="clip_w" type="int" default="null">
+ <argument index="4" name="clip_w" type="int" default="-1">
</argument>
<description>
Draw "string" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis.
@@ -18922,9 +19000,9 @@
</argument>
<argument index="2" name="char" type="int">
</argument>
- <argument index="3" name="next" type="int" default="null">
+ <argument index="3" name="next" type="int" default="-1">
</argument>
- <argument index="4" name="modulate" type="Color" default="null">
+ <argument index="4" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
<description>
Draw character "char" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally kerning if "next" is passed. clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. The width used by the character is returned, making this function useful for drawing strings character by character.
@@ -19137,6 +19215,12 @@
<description>
</description>
</method>
+ <method name="is_singleton_gdnative" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="set_library_path">
<return type="void">
</return>
@@ -19147,7 +19231,19 @@
<description>
</description>
</method>
+ <method name="set_singleton_gdnative">
+ <return type="void">
+ </return>
+ <argument index="0" name="singleton" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
</methods>
+ <members>
+ <member name="singleton_gdnative" type="bool" setter="set_singleton_gdnative" getter="is_singleton_gdnative" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -19182,9 +19278,9 @@
<method name="bake">
<return type="void">
</return>
- <argument index="0" name="from_node" type="Node" default="false">
+ <argument index="0" name="from_node" type="Node" default="null">
</argument>
- <argument index="1" name="create_visual_debug" type="bool" default="null">
+ <argument index="1" name="create_visual_debug" type="bool" default="false">
</argument>
<description>
</description>
@@ -19238,7 +19334,7 @@
</description>
</method>
<method name="get_subdiv" qualifiers="const">
- <return type="int">
+ <return type="int" enum="GIProbe.Subdiv">
</return>
<description>
</description>
@@ -19842,7 +19938,7 @@
</argument>
<argument index="3" name="lats" type="int">
</argument>
- <argument index="4" name="axis" type="int" enum="Vector3.Axis" default="null">
+ <argument index="4" name="axis" type="int" enum="Vector3.Axis" default="2">
</argument>
<description>
</description>
@@ -19856,7 +19952,7 @@
</argument>
<argument index="2" name="sides" type="int">
</argument>
- <argument index="3" name="axis" type="int" enum="Vector3.Axis" default="null">
+ <argument index="3" name="axis" type="int" enum="Vector3.Axis" default="2">
</argument>
<description>
</description>
@@ -20088,7 +20184,7 @@
</description>
<methods>
<method name="get_cast_shadows_setting" qualifiers="const">
- <return type="int">
+ <return type="int" enum="GeometryInstance.ShadowCastingSetting">
</return>
<description>
</description>
@@ -20411,7 +20507,7 @@
</description>
<methods>
<method name="connect_node">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="from" type="String">
</argument>
@@ -20746,7 +20842,7 @@
</description>
</method>
<method name="get_overlay" qualifiers="const">
- <return type="int">
+ <return type="int" enum="GraphNode.Overlay">
</return>
<description>
</description>
@@ -20807,7 +20903,7 @@
<description>
</description>
</method>
- <method name="is_resizeable" qualifiers="const">
+ <method name="is_resizable" qualifiers="const">
<return type="bool">
</return>
<description>
@@ -20862,10 +20958,10 @@
<description>
</description>
</method>
- <method name="set_resizeable">
+ <method name="set_resizable">
<return type="void">
</return>
- <argument index="0" name="resizeable" type="bool">
+ <argument index="0" name="resizable" type="bool">
</argument>
<description>
</description>
@@ -20922,7 +21018,7 @@
</method>
</methods>
<members>
- <member name="resizeable" type="bool" setter="set_resizeable" getter="is_resizeable" brief="">
+ <member name="resizable" type="bool" setter="set_resizable" getter="is_resizable" brief="">
</member>
<member name="show_close" type="bool" setter="set_show_close_button" getter="is_close_button_visible" brief="">
</member>
@@ -21141,7 +21237,7 @@
</argument>
<argument index="3" name="item" type="int">
</argument>
- <argument index="4" name="orientation" type="int" default="null">
+ <argument index="4" name="orientation" type="int" default="0">
</argument>
<description>
</description>
@@ -21183,11 +21279,11 @@
</return>
<argument index="0" name="enabled" type="bool">
</argument>
- <argument index="1" name="clipabove" type="bool" default="0">
+ <argument index="1" name="clipabove" type="bool" default="true">
</argument>
- <argument index="2" name="floor" type="int" default="true">
+ <argument index="2" name="floor" type="int" default="0">
</argument>
- <argument index="3" name="axis" type="int" enum="Vector3.Axis" default="null">
+ <argument index="3" name="axis" type="int" enum="Vector3.Axis" default="0">
</argument>
<description>
</description>
@@ -21399,15 +21495,15 @@
</description>
</method>
<method name="connect_to_host">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="host" type="String">
</argument>
<argument index="1" name="port" type="int">
</argument>
- <argument index="2" name="use_ssl" type="bool" default="null">
+ <argument index="2" name="use_ssl" type="bool" default="false">
</argument>
- <argument index="3" name="verify_host" type="bool" default="null">
+ <argument index="3" name="verify_host" type="bool" default="true">
</argument>
<description>
Connect to a host. This needs to be done before any requests are sent.
@@ -21453,7 +21549,7 @@
</description>
</method>
<method name="get_status" qualifiers="const">
- <return type="int">
+ <return type="int" enum="HTTPClient.Status">
</return>
<description>
Returns a STATUS_* enum constant. Need to call [method poll] in order to get status updates.
@@ -21481,7 +21577,7 @@
</description>
</method>
<method name="poll">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
This needs to be called in order to have any request processed. Check results with [method get_status]
@@ -21509,7 +21605,7 @@
</description>
</method>
<method name="request">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="method" type="int" enum="HTTPClient.Method">
</argument>
@@ -21517,7 +21613,7 @@
</argument>
<argument index="2" name="headers" type="PoolStringArray">
</argument>
- <argument index="3" name="body" type="String" default="null">
+ <argument index="3" name="body" type="String" default="&quot;&quot;">
</argument>
<description>
Sends a request to the connected host. The url is what is normally behind the hostname, i.e. in [code]http://somehost.com/index.php[/code], url would be "index.php".
@@ -21532,7 +21628,7 @@
</description>
</method>
<method name="request_raw">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="method" type="int" enum="HTTPClient.Method">
</argument>
@@ -21549,7 +21645,7 @@
</description>
</method>
<method name="send_body_data">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="body" type="PoolByteArray">
</argument>
@@ -21558,7 +21654,7 @@
</description>
</method>
<method name="send_body_text">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="body" type="String">
</argument>
@@ -21778,7 +21874,7 @@
</description>
</method>
<method name="get_http_client_status" qualifiers="const">
- <return type="int">
+ <return type="int" enum="HTTPClient.Status">
</return>
<description>
Return the current status of the underlying [HTTPClient].
@@ -21799,17 +21895,17 @@
</description>
</method>
<method name="request">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="url" type="String">
</argument>
- <argument index="1" name="custom_headers" type="PoolStringArray" default="0">
+ <argument index="1" name="custom_headers" type="PoolStringArray" default="PoolStringArray( )">
</argument>
<argument index="2" name="ssl_validate_domain" type="bool" default="true">
</argument>
- <argument index="3" name="method" type="int" enum="HTTPClient.Method" default="PoolStringArray( )">
+ <argument index="3" name="method" type="int" enum="HTTPClient.Method" default="0">
</argument>
- <argument index="4" name="request_data" type="String" default="null">
+ <argument index="4" name="request_data" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -22045,7 +22141,7 @@
</description>
</method>
<method name="get_resolve_item_status" qualifiers="const">
- <return type="int">
+ <return type="int" enum="IP.ResolverStatus">
</return>
<argument index="0" name="id" type="int">
</argument>
@@ -22058,7 +22154,7 @@
</return>
<argument index="0" name="host" type="String">
</argument>
- <argument index="1" name="ip_type" type="int" enum="IP.Type" default="null">
+ <argument index="1" name="ip_type" type="int" enum="IP.Type" default="3">
</argument>
<description>
Resolve a given hostname, blocking. Resolved hostname is returned as an IPv4 or IPv6 depending on "ip_type".
@@ -22069,7 +22165,7 @@
</return>
<argument index="0" name="host" type="String">
</argument>
- <argument index="1" name="ip_type" type="int" enum="IP.Type" default="null">
+ <argument index="1" name="ip_type" type="int" enum="IP.Type" default="3">
</argument>
<description>
Create a queue item for resolving a given hostname to an IPv4 or IPv6 depending on "ip_type". The queue ID is returned, or RESOLVER_INVALID_ID on error.
@@ -22180,7 +22276,7 @@
</description>
</method>
<method name="compress">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="mode" type="int" enum="Image.CompressMode">
</argument>
@@ -22249,13 +22345,13 @@
</description>
</method>
<method name="decompress">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
</description>
</method>
<method name="detect_alpha" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Image.AlphaMode">
</return>
<description>
</description>
@@ -22294,7 +22390,7 @@
</description>
</method>
<method name="generate_mipmaps">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
</description>
@@ -22307,7 +22403,7 @@
</description>
</method>
<method name="get_format" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Image.Format">
</return>
<description>
Return the format of the [Image], one of [Image].FORMAT_*.
@@ -22392,7 +22488,7 @@
</description>
</method>
<method name="load">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -22425,7 +22521,7 @@
</argument>
<argument index="1" name="height" type="int">
</argument>
- <argument index="2" name="interpolation" type="int" enum="Image.Interpolation" default="null">
+ <argument index="2" name="interpolation" type="int" enum="Image.Interpolation" default="1">
</argument>
<description>
</description>
@@ -22439,7 +22535,7 @@
</description>
</method>
<method name="save_png" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -22606,7 +22702,7 @@
</argument>
<argument index="2" name="format" type="int" enum="Image.Format">
</argument>
- <argument index="3" name="flags" type="int" default="null">
+ <argument index="3" name="flags" type="int" default="7">
</argument>
<description>
Create a new [ImageTexture] with "width" and "height".
@@ -22619,14 +22715,14 @@
</return>
<argument index="0" name="image" type="Image">
</argument>
- <argument index="1" name="flags" type="int" default="null">
+ <argument index="1" name="flags" type="int" default="7">
</argument>
<description>
Create a new [ImageTexture] from an [Image] with "flags" from [Texture].FLAG_*.
</description>
</method>
<method name="get_format" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Image.Format">
</return>
<description>
Return the format of the [ImageTexture], one of [Image].FORMAT_*.
@@ -22640,7 +22736,7 @@
</description>
</method>
<method name="get_storage" qualifiers="const">
- <return type="int">
+ <return type="int" enum="ImageTexture.Storage">
</return>
<description>
Return the storage type. One of [ImageTexture].STORAGE_*.
@@ -22719,7 +22815,7 @@
</argument>
<argument index="2" name="radius" type="float">
</argument>
- <argument index="3" name="add_uv" type="bool" default="null">
+ <argument index="3" name="add_uv" type="bool" default="true">
</argument>
<description>
Simple helper to draw a uvsphere, with given latitudes, longitude and radius.
@@ -22840,7 +22936,7 @@
</return>
<argument index="0" name="mapping" type="String">
</argument>
- <argument index="1" name="update_existing" type="bool" default="null">
+ <argument index="1" name="update_existing" type="bool" default="false">
</argument>
<description>
Add a new mapping entry (in SDL2 format) to the mapping database. Optionally update already connected devices.
@@ -22974,7 +23070,7 @@
</description>
</method>
<method name="get_mouse_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Input.MouseMode">
</return>
<description>
Return the mouse mode. See the constants for more information.
@@ -23065,7 +23161,7 @@
</return>
<argument index="0" name="image" type="Resource">
</argument>
- <argument index="1" name="hotspot" type="Vector2" default="null">
+ <argument index="1" name="hotspot" type="Vector2" default="Vector2( 0, 0 )">
</argument>
<description>
</description>
@@ -23088,7 +23184,7 @@
</argument>
<argument index="2" name="strong_magnitude" type="float">
</argument>
- <argument index="3" name="duration" type="float" default="null">
+ <argument index="3" name="duration" type="float" default="0">
</argument>
<description>
Starts to vibrate the joypad. Joypads usually come with two rumble motors, a strong and a weak one. weak_magnitude is the strength of the weak motor (between 0 and 1) and strong_magnitude is the strength of the strong motor (between 0 and 1). duration is the duration of the effect in seconds (a duration of 0 will try to play the vibration indefinitely).
@@ -23259,7 +23355,7 @@
</return>
<argument index="0" name="xform" type="Transform2D">
</argument>
- <argument index="1" name="local_ofs" type="Vector2" default="null">
+ <argument index="1" name="local_ofs" type="Vector2" default="Vector2( 0, 0 )">
</argument>
<description>
</description>
@@ -24139,7 +24235,7 @@
</return>
<argument index="0" name="icon" type="Texture">
</argument>
- <argument index="1" name="selectable" type="bool" default="null">
+ <argument index="1" name="selectable" type="bool" default="true">
</argument>
<description>
Adds an item to the item list with no text, only an icon.
@@ -24152,7 +24248,7 @@
</argument>
<argument index="1" name="icon" type="Texture" default="null">
</argument>
- <argument index="2" name="selectable" type="bool" default="null">
+ <argument index="2" name="selectable" type="bool" default="true">
</argument>
<description>
Adds an item to the item list with specified text. Specify an icon of null for a list item with no icon.
@@ -24194,7 +24290,7 @@
</description>
</method>
<method name="get_icon_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="ItemList.IconMode">
</return>
<description>
</description>
@@ -24210,7 +24306,7 @@
</return>
<argument index="0" name="pos" type="Vector2">
</argument>
- <argument index="1" name="exact" type="bool" default="null">
+ <argument index="1" name="exact" type="bool" default="false">
</argument>
<description>
Given a position within the control return the item (if any) at that point.
@@ -24288,7 +24384,7 @@
</description>
</method>
<method name="get_select_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="ItemList.SelectMode">
</return>
<description>
</description>
@@ -24370,7 +24466,7 @@
</return>
<argument index="0" name="idx" type="int">
</argument>
- <argument index="1" name="single" type="bool" default="null">
+ <argument index="1" name="single" type="bool" default="true">
</argument>
<description>
Select the item at the specified index.
@@ -24844,108 +24940,28 @@
Kinematic Characters: KinematicBody also has an api for moving objects (the [method move] method) while performing collision tests. This makes them really useful to implement characters that collide against a world, but that don't require advanced physics.
</description>
<methods>
- <method name="get_collision_collider" qualifiers="const">
- <return type="Object">
- </return>
- <argument index="0" name="collision" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_collision_collider_id" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="collision" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_collision_collider_metadata" qualifiers="const">
- <return type="Variant">
- </return>
- <argument index="0" name="collision" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_collision_collider_shape" qualifiers="const">
- <return type="Object">
- </return>
- <argument index="0" name="collision" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_collision_collider_shape_index" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="collision" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_collision_collider_velocity" qualifiers="const">
- <return type="Vector3">
- </return>
- <argument index="0" name="collision" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_collision_count" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_collision_local_shape" qualifiers="const">
- <return type="Object">
- </return>
- <argument index="0" name="collision" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_collision_normal" qualifiers="const">
- <return type="Vector3">
- </return>
- <argument index="0" name="collision" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_collision_position" qualifiers="const">
+ <method name="get_floor_velocity" qualifiers="const">
<return type="Vector3">
</return>
- <argument index="0" name="collision" type="int">
- </argument>
<description>
</description>
</method>
- <method name="get_collision_remainder" qualifiers="const">
- <return type="Vector3">
+ <method name="get_safe_margin" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="collision" type="int">
- </argument>
<description>
</description>
</method>
- <method name="get_collision_travel" qualifiers="const">
- <return type="Vector3">
+ <method name="get_slide_collision">
+ <return type="KinematicCollision">
</return>
- <argument index="0" name="collision" type="int">
+ <argument index="0" name="slide_idx" type="int">
</argument>
<description>
</description>
</method>
- <method name="get_floor_velocity" qualifiers="const">
- <return type="Vector3">
- </return>
- <description>
- </description>
- </method>
- <method name="get_safe_margin" qualifiers="const">
- <return type="float">
+ <method name="get_slide_count" qualifiers="const">
+ <return type="int">
</return>
<description>
</description>
@@ -24968,22 +24984,12 @@
<description>
</description>
</method>
- <method name="move">
- <return type="Dictionary">
+ <method name="move_and_collide">
+ <return type="KinematicCollision">
</return>
<argument index="0" name="rel_vec" type="Vector3">
</argument>
<description>
- Move the body in the given direction, stopping if there is an obstacle. If as a result of a movement there will be any collision then informations about this collision will be in returned dictionary. Dictionary will contains those keys:
- - "position" - collision position
- - "normal" - collision normal
- - "local_shape" - id of this kinematic body shape that took part in a collision
- - "travel" - traveled movement before being stopped
- - "remainder" - remaining movement before being stopped
- - "collider_id" - id of the collider, it can be used when dealing with [PhysicsServer]
- - "collider" - colliding body
- - "collider_shape_index" - index of the colliding shape, inside collider body "collider_metadata"
- If the body did not intersect anything, then an empty dictionary (dir.empty()==true) is returned instead. Please note that this method is less user friendly than [method move_and_slide]. If you don't want to program each edge case manually, then it's recommended to use [method move_and_slide] instead.
</description>
</method>
<method name="move_and_slide">
@@ -24991,13 +24997,13 @@
</return>
<argument index="0" name="linear_velocity" type="Vector3">
</argument>
- <argument index="1" name="floor_normal" type="Vector3" default="4">
+ <argument index="1" name="floor_normal" type="Vector3" default="Vector3( 0, 0, 0 )">
</argument>
<argument index="2" name="slope_stop_min_velocity" type="float" default="0.05">
</argument>
- <argument index="3" name="max_bounces" type="int" default="Vector3( 0, 0, 0 )">
+ <argument index="3" name="max_slides" type="int" default="4">
</argument>
- <argument index="4" name="floor_max_angle" type="float" default="null">
+ <argument index="4" name="floor_max_angle" type="float" default="0.785398">
</argument>
<description>
</description>
@@ -25186,13 +25192,13 @@
</return>
<argument index="0" name="linear_velocity" type="Vector2">
</argument>
- <argument index="1" name="floor_normal" type="Vector2" default="4">
+ <argument index="1" name="floor_normal" type="Vector2" default="Vector2( 0, 0 )">
</argument>
<argument index="2" name="slope_stop_min_velocity" type="float" default="5">
</argument>
- <argument index="3" name="max_bounces" type="int" default="Vector2( 0, 0 )">
+ <argument index="3" name="max_bounces" type="int" default="4">
</argument>
- <argument index="4" name="floor_max_angle" type="float" default="null">
+ <argument index="4" name="floor_max_angle" type="float" default="0.785398">
</argument>
<description>
</description>
@@ -25224,6 +25230,106 @@
<constants>
</constants>
</class>
+<class name="KinematicCollision" inherits="Reference" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_collider" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_collider_id" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_collider_metadata" qualifiers="const">
+ <return type="Variant">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_collider_shape" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_collider_shape_index" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_collider_velocity" qualifiers="const">
+ <return type="Vector3">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_local_shape" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_normal" qualifiers="const">
+ <return type="Vector3">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_position" qualifiers="const">
+ <return type="Vector3">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_remainder" qualifiers="const">
+ <return type="Vector3">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_travel" qualifiers="const">
+ <return type="Vector3">
+ </return>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="collider" type="Object" setter="" getter="get_collider" brief="">
+ </member>
+ <member name="collider_id" type="int" setter="" getter="get_collider_id" brief="">
+ </member>
+ <member name="collider_metadata" type="Variant" setter="" getter="get_collider_metadata" brief="">
+ </member>
+ <member name="collider_shape" type="Object" setter="" getter="get_collider_shape" brief="">
+ </member>
+ <member name="collider_shape_index" type="int" setter="" getter="get_collider_shape_index" brief="">
+ </member>
+ <member name="collider_velocity" type="Vector3" setter="" getter="get_collider_velocity" brief="">
+ </member>
+ <member name="local_shape" type="Object" setter="" getter="get_local_shape" brief="">
+ </member>
+ <member name="normal" type="Vector3" setter="" getter="get_normal" brief="">
+ </member>
+ <member name="position" type="Vector3" setter="" getter="get_position" brief="">
+ </member>
+ <member name="remainder" type="Vector3" setter="" getter="get_remainder" brief="">
+ </member>
+ <member name="travel" type="Vector3" setter="" getter="get_travel" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
<class name="Label" inherits="Control" category="Core">
<brief_description>
Control that displays formatted text.
@@ -25233,7 +25339,7 @@
</description>
<methods>
<method name="get_align" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Label.Align">
</return>
<description>
Return the alignment mode (any of the ALIGN_* enumeration values).
@@ -25289,7 +25395,7 @@
</description>
</method>
<method name="get_valign" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Label.VAlign">
</return>
<description>
Return the vertical alignment mode (any of the VALIGN_* enumeration values).
@@ -25814,7 +25920,7 @@
</description>
</method>
<method name="get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Light2D.Mode">
</return>
<description>
Return the current mode set to the Light2D.
@@ -25835,7 +25941,7 @@
</description>
</method>
<method name="get_shadow_filter" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Light2D.ShadowFilter">
</return>
<description>
</description>
@@ -26219,7 +26325,7 @@
</description>
</method>
<method name="get_begin_cap_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="LineCapMode">
</return>
<description>
</description>
@@ -26231,7 +26337,7 @@
</description>
</method>
<method name="get_end_cap_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="LineCapMode">
</return>
<description>
</description>
@@ -26243,7 +26349,7 @@
</description>
</method>
<method name="get_joint_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="LineJointMode">
</return>
<description>
</description>
@@ -26287,7 +26393,7 @@
</description>
</method>
<method name="get_texture_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="LineTextureMode">
</return>
<description>
</description>
@@ -26505,9 +26611,10 @@
</description>
</method>
<method name="get_align" qualifiers="const">
- <return type="int">
+ <return type="int" enum="LineEdit.Align">
</return>
<description>
+ Return the align mode of the [LineEdit].
</description>
</method>
<method name="get_cursor_pos" qualifiers="const">
@@ -26534,18 +26641,21 @@
<return type="PopupMenu">
</return>
<description>
+ Return the [PopupMenu] of this [LineEdit].
</description>
</method>
<method name="get_placeholder" qualifiers="const">
<return type="String">
</return>
<description>
+ Return the placeholder text.
</description>
</method>
<method name="get_placeholder_alpha" qualifiers="const">
<return type="float">
</return>
<description>
+ Return transparency of the placeholder text.
</description>
</method>
<method name="get_text" qualifiers="const">
@@ -26575,16 +26685,23 @@
<argument index="0" name="option" type="int">
</argument>
<description>
+ Execute a given action as defined in the MENU_* enum.
</description>
</method>
<method name="select">
<return type="void">
</return>
- <argument index="0" name="from" type="int" default="-1">
+ <argument index="0" name="from" type="int" default="0">
</argument>
- <argument index="1" name="to" type="int" default="0">
+ <argument index="1" name="to" type="int" default="-1">
</argument>
<description>
+ Select the text inside [LineEdit] by the given character positions. [code]from[/code] is default to the beginning. [code]to[/code] is default to the end.
+ [codeblock]
+ select() # select all
+ select(5) # select from the fifth character to the end.
+ select(2, 5) # select from the second to the fifth character.
+ [/codeblock]
</description>
</method>
<method name="select_all">
@@ -26600,6 +26717,7 @@
<argument index="0" name="align" type="int" enum="LineEdit.Align">
</argument>
<description>
+ Set text alignment of the [LineEdit].
</description>
</method>
<method name="set_cursor_pos">
@@ -26643,6 +26761,7 @@
<argument index="0" name="text" type="String">
</argument>
<description>
+ Set the placeholder text.
</description>
</method>
<method name="set_placeholder_alpha">
@@ -26651,6 +26770,7 @@
<argument index="0" name="alpha" type="float">
</argument>
<description>
+ Set transparency of the placeholder text.
</description>
</method>
<method name="set_secret">
@@ -26714,24 +26834,34 @@
</signals>
<constants>
<constant name="ALIGN_LEFT" value="0">
+ Align left.
</constant>
<constant name="ALIGN_CENTER" value="1">
+ Align center.
</constant>
<constant name="ALIGN_RIGHT" value="2">
+ Align right.
</constant>
<constant name="ALIGN_FILL" value="3">
+ Align fill.
</constant>
<constant name="MENU_CUT" value="0">
+ Cut (Copy and clear).
</constant>
<constant name="MENU_COPY" value="1">
+ Copy the selected text.
</constant>
<constant name="MENU_PASTE" value="2">
+ Paste the clipboard text over the selected text.
</constant>
<constant name="MENU_CLEAR" value="3">
+ Clear the text.
</constant>
<constant name="MENU_SELECT_ALL" value="4">
+ Select all text.
</constant>
<constant name="MENU_UNDO" value="5">
+ Undo an action.
</constant>
<constant name="MENU_MAX" value="6">
</constant>
@@ -26823,7 +26953,7 @@
</description>
</method>
<method name="get_underline_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="LinkButton.UnderlineMode">
</return>
<description>
Returns the underline mode for this button.
@@ -26934,6 +27064,7 @@
<return type="void">
</return>
<description>
+ Called before the program exits.
</description>
</method>
<method name="_idle" qualifiers="virtual">
@@ -26942,12 +27073,14 @@
<argument index="0" name="delta" type="float">
</argument>
<description>
+ Called each idle frame with time since last call as an only argument.
</description>
</method>
<method name="_initialize" qualifiers="virtual">
<return type="void">
</return>
<description>
+ Called once during initialization.
</description>
</method>
<method name="_input_event" qualifiers="virtual">
@@ -27074,6 +27207,7 @@
<argument index="0" name="base64_str" type="String">
</argument>
<description>
+ Return [PoolByteArray] of a given base64 encoded String.
</description>
</method>
<method name="base64_to_utf8">
@@ -27082,6 +27216,7 @@
<argument index="0" name="base64_str" type="String">
</argument>
<description>
+ Return utf8 String of a given base64 encoded String.
</description>
</method>
<method name="base64_to_variant">
@@ -27090,6 +27225,7 @@
<argument index="0" name="base64_str" type="String">
</argument>
<description>
+ Return [Variant] of a given base64 encoded String.
</description>
</method>
<method name="raw_to_base64">
@@ -27098,6 +27234,7 @@
<argument index="0" name="array" type="PoolByteArray">
</argument>
<description>
+ Return base64 encoded String of a given [PoolByteArray].
</description>
</method>
<method name="utf8_to_base64">
@@ -27106,6 +27243,7 @@
<argument index="0" name="utf8_str" type="String">
</argument>
<description>
+ Return base64 encoded String of a given utf8 String.
</description>
</method>
<method name="variant_to_base64">
@@ -27114,6 +27252,7 @@
<argument index="0" name="variant" type="Variant">
</argument>
<description>
+ Return base64 encoded String of a given [Variant].
</description>
</method>
</methods>
@@ -27193,6 +27332,7 @@
<signals>
<signal name="about_to_show">
<description>
+ Emitted when [PopupMenu] of this MenuButton is about to show.
</description>
</signal>
</signals>
@@ -27301,7 +27441,7 @@
</description>
</method>
<method name="commit_to_surface">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="mesh" type="ArrayMesh">
</argument>
@@ -27309,7 +27449,7 @@
</description>
</method>
<method name="create_from_surface">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="mesh" type="ArrayMesh">
</argument>
@@ -27729,6 +27869,14 @@
Create a new item in the library, supplied an id.
</description>
</method>
+ <method name="find_item_by_name" qualifiers="const">
+ <return type="int">
+ </return>
+ <argument index="0" name="name" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_item_list" qualifiers="const">
<return type="PoolIntArray">
</return>
@@ -27869,7 +28017,7 @@
</description>
</method>
<method name="get_color_format" qualifiers="const">
- <return type="int">
+ <return type="int" enum="MultiMesh.ColorFormat">
</return>
<description>
</description>
@@ -27907,7 +28055,7 @@
</description>
</method>
<method name="get_transform_format" qualifiers="const">
- <return type="int">
+ <return type="int" enum="MultiMesh.TransformFormat">
</return>
<description>
</description>
@@ -28044,7 +28192,7 @@
</description>
</method>
<method name="try_lock">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
Try locking this [Mutex], does not block. Returns [OK] on success else [ERR_BUSY].
@@ -28148,7 +28296,7 @@
</argument>
<argument index="1" name="end" type="Vector3">
</argument>
- <argument index="2" name="use_collision" type="bool" default="null">
+ <argument index="2" name="use_collision" type="bool" default="false">
</argument>
<description>
</description>
@@ -28160,7 +28308,7 @@
</argument>
<argument index="1" name="end" type="Vector3">
</argument>
- <argument index="2" name="optimize" type="bool" default="null">
+ <argument index="2" name="optimize" type="bool" default="true">
</argument>
<description>
</description>
@@ -28246,7 +28394,7 @@
</argument>
<argument index="1" name="end" type="Vector2">
</argument>
- <argument index="2" name="optimize" type="bool" default="null">
+ <argument index="2" name="optimize" type="bool" default="true">
</argument>
<description>
</description>
@@ -28576,35 +28724,37 @@
</description>
</method>
<method name="create_client">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="ip" type="String">
</argument>
<argument index="1" name="port" type="int">
</argument>
- <argument index="2" name="in_bandwidth" type="int" default="null">
+ <argument index="2" name="in_bandwidth" type="int" default="0">
</argument>
- <argument index="3" name="out_bandwidth" type="int" default="null">
+ <argument index="3" name="out_bandwidth" type="int" default="0">
</argument>
<description>
+ Create client that connects to a server at address [code]ip[/code] using specified [code]port[/code].
</description>
</method>
<method name="create_server">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="port" type="int">
</argument>
- <argument index="1" name="max_clients" type="int" default="0">
+ <argument index="1" name="max_clients" type="int" default="32">
</argument>
- <argument index="2" name="in_bandwidth" type="int" default="32">
+ <argument index="2" name="in_bandwidth" type="int" default="0">
</argument>
- <argument index="3" name="out_bandwidth" type="int" default="null">
+ <argument index="3" name="out_bandwidth" type="int" default="0">
</argument>
<description>
+ Create server that listens to connections via [code]port[/code].
</description>
</method>
<method name="get_compression_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="NetworkedMultiplayerENet.CompressionMode">
</return>
<description>
</description>
@@ -28646,7 +28796,7 @@
</description>
<methods>
<method name="get_connection_status" qualifiers="const">
- <return type="int">
+ <return type="int" enum="NetworkedMultiplayerPeer.ConnectionStatus">
</return>
<description>
</description>
@@ -28667,6 +28817,7 @@
<return type="bool">
</return>
<description>
+ Return whether this [NetworkedMultiplayerPeer] is refusing new connections.
</description>
</method>
<method name="poll">
@@ -28681,6 +28832,7 @@
<argument index="0" name="enable" type="bool">
</argument>
<description>
+ If [code]endable[/code] is true, this [NetworkedMultiplayerPeer] will refuse new connections.
</description>
</method>
<method name="set_target_peer">
@@ -28703,26 +28855,31 @@
<signals>
<signal name="connection_failed">
<description>
+ Emitted when failed to connect to server.
</description>
</signal>
<signal name="connection_succeeded">
<description>
+ Emitted when successfully connected to server.
</description>
</signal>
<signal name="peer_connected">
<argument index="0" name="id" type="int">
</argument>
<description>
+ Emitted by the server when a client is connected.
</description>
</signal>
<signal name="peer_disconnected">
<argument index="0" name="id" type="int">
</argument>
<description>
+ Emitted by the server when a client is disconnected.
</description>
</signal>
<signal name="server_disconnected">
<description>
+ Emitted by clients when server is disconnected.
</description>
</signal>
</signals>
@@ -28918,7 +29075,7 @@
</description>
<methods>
<method name="get_h_axis_stretch_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="NinePatchRect.AxisStretchMode">
</return>
<description>
</description>
@@ -28944,7 +29101,7 @@
</description>
</method>
<method name="get_v_axis_stretch_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="NinePatchRect.AxisStretchMode">
</return>
<description>
</description>
@@ -29091,6 +29248,7 @@
<argument index="0" name="event" type="InputEvent">
</argument>
<description>
+ Called when there is a change to input devices. Propagated through the node tree until a Node consumes it.
</description>
</method>
<method name="_process" qualifiers="virtual">
@@ -29118,6 +29276,7 @@
<argument index="0" name="event" type="InputEvent">
</argument>
<description>
+ Propagated to all nodes when the previous InputEvent is not consumed by any nodes.
</description>
</method>
<method name="_unhandled_key_input" qualifiers="virtual">
@@ -29133,7 +29292,7 @@
</return>
<argument index="0" name="node" type="Node">
</argument>
- <argument index="1" name="legible_unique_name" type="bool" default="null">
+ <argument index="1" name="legible_unique_name" type="bool" default="false">
</argument>
<description>
Add a child [Node]. Nodes can have as many children as they want, but every child must have a unique name. Children nodes are automatically deleted when the parent node is deleted, so deleting a whole scene is performed by deleting its topmost node.
@@ -29145,7 +29304,7 @@
</return>
<argument index="0" name="group" type="String">
</argument>
- <argument index="1" name="persistent" type="bool" default="null">
+ <argument index="1" name="persistent" type="bool" default="false">
</argument>
<description>
Add a node to a group. Groups are helpers to name and organize a subset of nodes, like for example "enemies" or "collectables". A [Node] can be in any number of groups. Nodes can be assigned a group at any time, but will not be added to it until they are inside the scene tree (see [method is_inside_tree]).
@@ -29175,7 +29334,7 @@
</argument>
<argument index="1" name="recursive" type="bool" default="true">
</argument>
- <argument index="2" name="owned" type="bool" default="null">
+ <argument index="2" name="owned" type="bool" default="true">
</argument>
<description>
Find a descendant of this node whose name matches [code]mask[/code] as in [method String.match] (i.e. case sensitive, but '*' matches zero or more characters and '?' matches any single character except '.'). Note that it does not match against the full path, just against individual node names.
@@ -29312,15 +29471,17 @@
</description>
</method>
<method name="get_pause_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Node.PauseMode">
</return>
<description>
+ Return the pause mode (PAUSE_MODE_*) of this Node.
</description>
</method>
<method name="get_position_in_parent" qualifiers="const">
<return type="int">
</return>
<description>
+ Return the order in the node tree branch, i.e. if called by the first child Node, return 0.
</description>
</method>
<method name="get_process_delta_time" qualifiers="const">
@@ -29340,6 +29501,7 @@
<return type="SceneTree">
</return>
<description>
+ Return a [SceneTree] that this node is inside.
</description>
</method>
<method name="get_viewport" qualifiers="const">
@@ -29354,6 +29516,7 @@
<argument index="0" name="path" type="NodePath">
</argument>
<description>
+ Return whether the node that a given [NodePath] points too exists.
</description>
</method>
<method name="has_node_and_resource" qualifiers="const">
@@ -29407,12 +29570,14 @@
<argument index="0" name="group" type="String">
</argument>
<description>
+ Return whether this Node is in the specified group.
</description>
</method>
<method name="is_inside_tree" qualifiers="const">
<return type="bool">
</return>
<description>
+ Return whether this Node is inside a [SceneTree].
</description>
</method>
<method name="is_network_master" qualifiers="const">
@@ -29485,7 +29650,7 @@
</argument>
<argument index="1" name="args" type="Array" default="[ ]">
</argument>
- <argument index="2" name="parent_first" type="bool" default="null">
+ <argument index="2" name="parent_first" type="bool" default="false">
</argument>
<description>
Calls the method (if present) with the arguments given in "args" on this Node and recursively on all children. If the parent_first argument is true then the method will be called on the current [Node] first, then on all children. If it is false then the children will get called first.
@@ -29504,6 +29669,7 @@
<return type="void">
</return>
<description>
+ Destroy this Node and its children when they are not in use.
</description>
</method>
<method name="raise">
@@ -29543,7 +29709,7 @@
</return>
<argument index="0" name="node" type="Node">
</argument>
- <argument index="1" name="keep_data" type="bool" default="null">
+ <argument index="1" name="keep_data" type="bool" default="false">
</argument>
<description>
Replace a node in a scene by a given one. Subscriptions that pass through this node will be lost.
@@ -29553,6 +29719,7 @@
<return type="void">
</return>
<description>
+ Request that [code]_ready[/code] be called again.
</description>
</method>
<method name="rpc" qualifiers="vararg">
@@ -29713,7 +29880,7 @@
</return>
<argument index="0" name="id" type="int">
</argument>
- <argument index="1" name="recursive" type="bool" default="null">
+ <argument index="1" name="recursive" type="bool" default="true">
</argument>
<description>
</description>
@@ -29733,6 +29900,7 @@
<argument index="0" name="mode" type="int" enum="Node.PauseMode">
</argument>
<description>
+ Set pause mode (PAUSE_MODE_*) of this Node.
</description>
</method>
<method name="set_process">
@@ -29803,10 +29971,12 @@
</signal>
<signal name="tree_entered">
<description>
+ Emitted when Node enters the tree.
</description>
</signal>
<signal name="tree_exited">
<description>
+ Emitted when Node exits the tree.
</description>
</signal>
</signals>
@@ -29851,18 +30021,25 @@
<constant name="RPC_MODE_DISABLED" value="0">
</constant>
<constant name="RPC_MODE_REMOTE" value="1">
+ Call a method remotely.
</constant>
<constant name="RPC_MODE_SYNC" value="2">
+ Call a method both remotely and locally.
</constant>
<constant name="RPC_MODE_MASTER" value="3">
+ Call a method if the Node is Master.
</constant>
<constant name="RPC_MODE_SLAVE" value="4">
+ Call a method if the Node is Slave.
</constant>
<constant name="PAUSE_MODE_INHERIT" value="0">
+ Inherits pause mode from parent. For root node, it is equivalent to PAUSE_MODE_STOP.
</constant>
<constant name="PAUSE_MODE_STOP" value="1">
+ Stop processing when SceneTree is paused.
</constant>
<constant name="PAUSE_MODE_PROCESS" value="2">
+ Continue to process regardless of SceneTree pause state.
</constant>
<constant name="DUPLICATE_SIGNALS" value="1">
</constant>
@@ -30011,7 +30188,7 @@
</return>
<argument index="0" name="delta" type="float">
</argument>
- <argument index="1" name="scaled" type="bool" default="null">
+ <argument index="1" name="scaled" type="bool" default="false">
</argument>
<description>
Apply a local translation on X axis to the 2D node according to the 'delta' of the process. If 'scaled' is false, the movement is normalized.
@@ -30022,7 +30199,7 @@
</return>
<argument index="0" name="delta" type="float">
</argument>
- <argument index="1" name="scaled" type="bool" default="null">
+ <argument index="1" name="scaled" type="bool" default="false">
</argument>
<description>
Apply a local translation on Y axis to the 2D node according to the 'delta' of the process. If 'scaled' is false, the movement is normalized.
@@ -30289,7 +30466,7 @@
</return>
<argument index="0" name="text" type="String">
</argument>
- <argument index="1" name="title" type="String" default="null">
+ <argument index="1" name="title" type="String" default="&quot;Alert!&quot;">
</argument>
<description>
Displays a modal dialog box utilizing the host OS.
@@ -30357,7 +30534,7 @@
</argument>
<argument index="2" name="blocking" type="bool">
</argument>
- <argument index="3" name="output" type="Array" default="null">
+ <argument index="3" name="output" type="Array" default="[ ]">
</argument>
<description>
Execute the binary file in given path, optionally blocking until it returns. A process ID is returned.
@@ -30506,7 +30683,7 @@
</description>
</method>
<method name="get_power_state">
- <return type="int">
+ <return type="int" enum="PowerState">
</return>
<description>
</description>
@@ -30559,7 +30736,7 @@
</description>
</method>
<method name="get_screen_orientation" qualifiers="const">
- <return type="int">
+ <return type="int" enum="_OS.ScreenOrientation">
</return>
<description>
Returns the current screen orientation, the return value will be one of the SCREEN_ORIENTATION constants in this class.
@@ -30780,7 +30957,7 @@
</description>
</method>
<method name="kill">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="pid" type="int">
</argument>
@@ -30801,7 +30978,7 @@
</description>
</method>
<method name="native_video_play">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -30940,7 +31117,7 @@
</description>
</method>
<method name="set_thread_name">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="name" type="String">
</argument>
@@ -31027,7 +31204,7 @@
</description>
</method>
<method name="shell_open">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="uri" type="String">
</argument>
@@ -31184,7 +31361,7 @@
</return>
<argument index="0" name="signal" type="String">
</argument>
- <argument index="1" name="arguments" type="Array" default="null">
+ <argument index="1" name="arguments" type="Array" default="[ ]">
</argument>
<description>
Add a user signal (can be added anytime). Arguments are optional, but can be added as an array of dictionaries, each containing "name" and "type" (from [@Global Scope] TYPE_*).
@@ -31224,7 +31401,7 @@
</description>
</method>
<method name="connect">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="signal" type="String">
</argument>
@@ -31232,9 +31409,9 @@
</argument>
<argument index="2" name="method" type="String">
</argument>
- <argument index="3" name="binds" type="Array" default="null">
+ <argument index="3" name="binds" type="Array" default="[ ]">
</argument>
- <argument index="4" name="flags" type="int" default="null">
+ <argument index="4" name="flags" type="int" default="0">
</argument>
<description>
Connect a signal to a method at a target (member function). Binds are optional and are passed as extra arguments to the call. Flags specify optional deferred or one shot connections, see enum CONNECT_*. A signal can only be connected once to a method, and it will throw an error if already connected. If you want to avoid this, use [method is_connected] to check.
@@ -31417,7 +31594,7 @@
</return>
<argument index="0" name="what" type="int">
</argument>
- <argument index="1" name="reversed" type="bool" default="null">
+ <argument index="1" name="reversed" type="bool" default="false">
</argument>
<description>
Notify the object of something.
@@ -31519,7 +31696,7 @@
</description>
<methods>
<method name="get_cull_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="OccluderPolygon2D.CullMode">
</return>
<description>
</description>
@@ -31587,13 +31764,13 @@
</description>
<methods>
<method name="get_shadow_detail" qualifiers="const">
- <return type="int">
+ <return type="int" enum="OmniLight.ShadowDetail">
</return>
<description>
</description>
</method>
<method name="get_shadow_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="OmniLight.ShadowMode">
</return>
<description>
</description>
@@ -31654,7 +31831,7 @@
</return>
<argument index="0" name="label" type="String">
</argument>
- <argument index="1" name="id" type="int" default="null">
+ <argument index="1" name="id" type="int" default="-1">
</argument>
<description>
Add an item, with text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end.
@@ -31867,7 +32044,7 @@
</description>
<methods>
<method name="add_file">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="pck_path" type="String">
</argument>
@@ -31877,7 +32054,7 @@
</description>
</method>
<method name="flush">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="verbose" type="bool">
</argument>
@@ -31885,7 +32062,7 @@
</description>
</method>
<method name="pck_start">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="pck_name" type="String">
</argument>
@@ -31925,7 +32102,7 @@
</description>
<methods>
<method name="pack">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="value" type="Variant">
</argument>
@@ -31990,7 +32167,7 @@
</description>
</method>
<method name="pack">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="Node">
</argument>
@@ -32035,7 +32212,7 @@
</description>
</method>
<method name="get_packet_error" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
Return the error state of the last packet received (via [method get_packet] and [method get_var]).
@@ -32055,7 +32232,7 @@
</description>
</method>
<method name="put_packet">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="buffer" type="PoolByteArray">
</argument>
@@ -32064,7 +32241,7 @@
</description>
</method>
<method name="put_var">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="var" type="Variant">
</argument>
@@ -32170,13 +32347,13 @@
</description>
</method>
<method name="listen">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="port" type="int">
</argument>
<argument index="1" name="bind_address" type="String" default="&quot;*&quot;">
</argument>
- <argument index="2" name="recv_buf_size" type="int" default="null">
+ <argument index="2" name="recv_buf_size" type="int" default="65536">
</argument>
<description>
Make this [PacketPeerUDP] listen on the "port" binding to "bind_address" with a buffer size "recv_buf_size".
@@ -32186,7 +32363,7 @@
</description>
</method>
<method name="set_dest_address">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="host" type="String">
</argument>
@@ -32197,7 +32374,7 @@
</description>
</method>
<method name="wait">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
Wait for a packet to arrive on the listening port, see [method listen].
@@ -32476,7 +32653,7 @@
</description>
</method>
<method name="get_draw_order" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Particles.DrawOrder">
</return>
<description>
</description>
@@ -32777,7 +32954,7 @@
</description>
</method>
<method name="get_draw_order" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Particles2D.DrawOrder">
</return>
<description>
</description>
@@ -33129,7 +33306,7 @@
</description>
</method>
<method name="get_emission_shape" qualifiers="const">
- <return type="int">
+ <return type="int" enum="ParticlesMaterial.EmissionShape">
</return>
<description>
</description>
@@ -33619,7 +33796,7 @@
</description>
</method>
<method name="get_rotation_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="PathFollow.RotationMode">
</return>
<description>
Returns the rotation mode. The constants below list which axes are allowed to rotate for each mode.
@@ -34194,7 +34371,7 @@
</return>
<argument index="0" name="shape" type="Physics2DShapeQueryParameters">
</argument>
- <argument index="1" name="max_results" type="int" default="null">
+ <argument index="1" name="max_results" type="int" default="32">
</argument>
<description>
Check the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. The resulting array contains a list of points where the shape intersects another. Like with [method intersect_shape], the number of returned results can be limited to save processing time.
@@ -34223,13 +34400,13 @@
</return>
<argument index="0" name="point" type="Vector2">
</argument>
- <argument index="1" name="max_results" type="int" default="2147483647">
+ <argument index="1" name="max_results" type="int" default="32">
</argument>
<argument index="2" name="exclude" type="Array" default="[ ]">
</argument>
- <argument index="3" name="collision_layer" type="int" default="32">
+ <argument index="3" name="collision_layer" type="int" default="2147483647">
</argument>
- <argument index="4" name="type_mask" type="int" default="null">
+ <argument index="4" name="type_mask" type="int" default="15">
</argument>
<description>
Check whether a point is inside any shape. The shapes the point is inside of are returned in an array containing dictionaries with the following fields:
@@ -34250,9 +34427,9 @@
</argument>
<argument index="2" name="exclude" type="Array" default="[ ]">
</argument>
- <argument index="3" name="collision_layer" type="int" default="null">
+ <argument index="3" name="collision_layer" type="int" default="2147483647">
</argument>
- <argument index="4" name="type_mask" type="int" default="null">
+ <argument index="4" name="type_mask" type="int" default="15">
</argument>
<description>
Intersect a ray in a given space. The returned object is a dictionary with the following fields:
@@ -34272,7 +34449,7 @@
</return>
<argument index="0" name="shape" type="Physics2DShapeQueryParameters">
</argument>
- <argument index="1" name="max_results" type="int" default="null">
+ <argument index="1" name="max_results" type="int" default="32">
</argument>
<description>
Check the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. The intersected shapes are returned in an array containing dictionaries with the following fields:
@@ -34321,7 +34498,7 @@
</argument>
<argument index="1" name="shape" type="RID">
</argument>
- <argument index="2" name="transform" type="Transform2D" default="null">
+ <argument index="2" name="transform" type="Transform2D" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
</argument>
<description>
Add a shape to the area, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.
@@ -34415,7 +34592,7 @@
</description>
</method>
<method name="area_get_space_override_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Physics2DServer.AreaSpaceOverrideMode">
</return>
<argument index="0" name="area" type="RID">
</argument>
@@ -34598,7 +34775,7 @@
</argument>
<argument index="1" name="shape" type="RID">
</argument>
- <argument index="2" name="transform" type="Transform2D" default="null">
+ <argument index="2" name="transform" type="Transform2D" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
</argument>
<description>
Add a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.
@@ -34640,9 +34817,9 @@
<method name="body_create">
<return type="RID">
</return>
- <argument index="0" name="mode" type="int" enum="Physics2DServer.BodyMode" default="false">
+ <argument index="0" name="mode" type="int" enum="Physics2DServer.BodyMode" default="2">
</argument>
- <argument index="1" name="init_sleeping" type="bool" default="2">
+ <argument index="1" name="init_sleeping" type="bool" default="false">
</argument>
<description>
Create a physics body. The first parameter can be any value from constants BODY_MODE*, for the type of body created. Additionally, the body can be created in sleeping state to save processing time.
@@ -34667,7 +34844,7 @@
</description>
</method>
<method name="body_get_continuous_collision_detection_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Physics2DServer.CCDMode">
</return>
<argument index="0" name="body" type="RID">
</argument>
@@ -34685,7 +34862,7 @@
</description>
</method>
<method name="body_get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Physics2DServer.BodyMode">
</return>
<argument index="0" name="body" type="RID">
</argument>
@@ -35008,7 +35185,7 @@
</argument>
<argument index="2" name="motion" type="Vector2">
</argument>
- <argument index="3" name="margin" type="float" default="null">
+ <argument index="3" name="margin" type="float" default="0.08">
</argument>
<argument index="4" name="result" type="Physics2DTestMotionResult" default="null">
</argument>
@@ -35025,7 +35202,7 @@
</argument>
<argument index="2" name="body_a" type="RID">
</argument>
- <argument index="3" name="body_b" type="RID" default="null">
+ <argument index="3" name="body_b" type="RID">
</argument>
<description>
Create a damped spring joint between two bodies. If not specified, the second body is assumed to be the joint itself.
@@ -35082,9 +35259,9 @@
</argument>
<argument index="2" name="anchor_b" type="Vector2">
</argument>
- <argument index="3" name="body_a" type="RID" default="null">
+ <argument index="3" name="body_a" type="RID">
</argument>
- <argument index="4" name="body_b" type="RID" default="null">
+ <argument index="4" name="body_b" type="RID">
</argument>
<description>
Create a groove joint between two bodies. If not specified, the bodyies are assumed to be the joint itself.
@@ -35102,7 +35279,7 @@
</description>
</method>
<method name="joint_get_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Physics2DServer.JointType">
</return>
<argument index="0" name="joint" type="RID">
</argument>
@@ -35130,7 +35307,7 @@
</argument>
<argument index="1" name="body_a" type="RID">
</argument>
- <argument index="2" name="body_b" type="RID" default="null">
+ <argument index="2" name="body_b" type="RID">
</argument>
<description>
Create a pin joint between two bodies. If not specified, the second body is assumed to be the joint itself.
@@ -35164,7 +35341,7 @@
</description>
</method>
<method name="shape_get_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Physics2DServer.ShapeType">
</return>
<argument index="0" name="shape" type="RID">
</argument>
@@ -36152,7 +36329,7 @@
</return>
<argument index="0" name="shape" type="PhysicsShapeQueryParameters">
</argument>
- <argument index="1" name="max_results" type="int" default="null">
+ <argument index="1" name="max_results" type="int" default="32">
</argument>
<description>
</description>
@@ -36174,9 +36351,9 @@
</argument>
<argument index="2" name="exclude" type="Array" default="[ ]">
</argument>
- <argument index="3" name="collision_layer" type="int" default="null">
+ <argument index="3" name="collision_layer" type="int" default="2147483647">
</argument>
- <argument index="4" name="type_mask" type="int" default="null">
+ <argument index="4" name="type_mask" type="int" default="15">
</argument>
<description>
</description>
@@ -36186,7 +36363,7 @@
</return>
<argument index="0" name="shape" type="PhysicsShapeQueryParameters">
</argument>
- <argument index="1" name="max_results" type="int" default="null">
+ <argument index="1" name="max_results" type="int" default="32">
</argument>
<description>
</description>
@@ -36220,7 +36397,7 @@
</argument>
<argument index="1" name="shape" type="RID">
</argument>
- <argument index="2" name="transform" type="Transform" default="null">
+ <argument index="2" name="transform" type="Transform" default="Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )">
</argument>
<description>
</description>
@@ -36304,7 +36481,7 @@
</description>
</method>
<method name="area_get_space_override_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="PhysicsServer.AreaSpaceOverrideMode">
</return>
<argument index="0" name="area" type="RID">
</argument>
@@ -36462,7 +36639,7 @@
</argument>
<argument index="1" name="shape" type="RID">
</argument>
- <argument index="2" name="transform" type="Transform" default="null">
+ <argument index="2" name="transform" type="Transform" default="Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )">
</argument>
<description>
</description>
@@ -36510,15 +36687,15 @@
<method name="body_create">
<return type="RID">
</return>
- <argument index="0" name="mode" type="int" enum="PhysicsServer.BodyMode" default="false">
+ <argument index="0" name="mode" type="int" enum="PhysicsServer.BodyMode" default="2">
</argument>
- <argument index="1" name="init_sleeping" type="bool" default="2">
+ <argument index="1" name="init_sleeping" type="bool" default="false">
</argument>
<description>
</description>
</method>
<method name="body_get_axis_lock" qualifiers="const">
- <return type="int">
+ <return type="int" enum="PhysicsServer.BodyAxisLock">
</return>
<argument index="0" name="body" type="RID">
</argument>
@@ -36550,7 +36727,7 @@
</description>
</method>
<method name="body_get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="PhysicsServer.BodyMode">
</return>
<argument index="0" name="body" type="RID">
</argument>
@@ -37040,7 +37217,7 @@
</description>
</method>
<method name="joint_get_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="PhysicsServer.JointType">
</return>
<argument index="0" name="joint" type="RID">
</argument>
@@ -37140,7 +37317,7 @@
</description>
</method>
<method name="shape_get_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="PhysicsServer.ShapeType">
</return>
<argument index="0" name="shape" type="RID">
</argument>
@@ -39023,7 +39200,7 @@
</argument>
<argument index="1" name="id" type="int" default="-1">
</argument>
- <argument index="2" name="accel" type="int" default="null">
+ <argument index="2" name="accel" type="int" default="0">
</argument>
<description>
Add a new checkable item with text "label". An id can optionally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually.
@@ -39036,7 +39213,7 @@
</argument>
<argument index="1" name="id" type="int" default="-1">
</argument>
- <argument index="2" name="global" type="bool" default="null">
+ <argument index="2" name="global" type="bool" default="false">
</argument>
<description>
</description>
@@ -39048,9 +39225,9 @@
</argument>
<argument index="1" name="label" type="String">
</argument>
- <argument index="2" name="id" type="int" default="null">
+ <argument index="2" name="id" type="int" default="-1">
</argument>
- <argument index="3" name="accel" type="int" default="null">
+ <argument index="3" name="accel" type="int" default="0">
</argument>
<description>
Add a new checkable item with text "label" and icon "texture". An id can optionally be provided, as well as an accelerator. If no id is provided, one will be
@@ -39064,9 +39241,9 @@
</argument>
<argument index="1" name="shortcut" type="ShortCut">
</argument>
- <argument index="2" name="id" type="int" default="null">
+ <argument index="2" name="id" type="int" default="-1">
</argument>
- <argument index="3" name="global" type="bool" default="null">
+ <argument index="3" name="global" type="bool" default="false">
</argument>
<description>
</description>
@@ -39078,9 +39255,9 @@
</argument>
<argument index="1" name="label" type="String">
</argument>
- <argument index="2" name="id" type="int" default="null">
+ <argument index="2" name="id" type="int" default="-1">
</argument>
- <argument index="3" name="accel" type="int" default="null">
+ <argument index="3" name="accel" type="int" default="0">
</argument>
<description>
Add a new item with text "label" and icon "texture". An id can optionally be provided, as well as an accelerator keybinding. If no id is provided, one will be created from the index.
@@ -39093,9 +39270,9 @@
</argument>
<argument index="1" name="shortcut" type="ShortCut">
</argument>
- <argument index="2" name="id" type="int" default="null">
+ <argument index="2" name="id" type="int" default="-1">
</argument>
- <argument index="3" name="global" type="bool" default="null">
+ <argument index="3" name="global" type="bool" default="false">
</argument>
<description>
</description>
@@ -39107,7 +39284,7 @@
</argument>
<argument index="1" name="id" type="int" default="-1">
</argument>
- <argument index="2" name="accel" type="int" default="null">
+ <argument index="2" name="accel" type="int" default="0">
</argument>
<description>
Add a new item with text "label". An id can optionally be provided, as well as an accelerator keybinding. If no id is provided, one will be created from the index.
@@ -39127,7 +39304,7 @@
</argument>
<argument index="1" name="id" type="int" default="-1">
</argument>
- <argument index="2" name="global" type="bool" default="null">
+ <argument index="2" name="global" type="bool" default="false">
</argument>
<description>
</description>
@@ -39139,7 +39316,7 @@
</argument>
<argument index="1" name="submenu" type="String">
</argument>
- <argument index="2" name="id" type="int" default="null">
+ <argument index="2" name="id" type="int" default="-1">
</argument>
<description>
Adds an item with a submenu. The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. An id can optionally be provided, but if is isn't provided, one will be created from the index.
@@ -39409,7 +39586,7 @@
</argument>
<argument index="1" name="shortcut" type="ShortCut">
</argument>
- <argument index="2" name="global" type="bool" default="null">
+ <argument index="2" name="global" type="bool" default="false">
</argument>
<description>
</description>
@@ -39769,7 +39946,7 @@
</description>
</method>
<method name="get_texture_size" qualifiers="const">
- <return type="int">
+ <return type="int" enum="ProceduralSky.TextureSize">
</return>
<description>
</description>
@@ -40110,13 +40287,13 @@
</description>
</method>
<method name="save">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
</description>
</method>
<method name="save_custom">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="file" type="String">
</argument>
@@ -41488,7 +41665,7 @@
</description>
</method>
<method name="get_update_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="ReflectionProbe.UpdateMode">
</return>
<description>
</description>
@@ -41674,7 +41851,7 @@
</description>
</method>
<method name="compile">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="pattern" type="String">
</argument>
@@ -41717,7 +41894,7 @@
</argument>
<argument index="1" name="offset" type="int" default="0">
</argument>
- <argument index="2" name="end" type="int" default="null">
+ <argument index="2" name="end" type="int" default="-1">
</argument>
<description>
Searches the text for the compiled pattern. Returns a [RegExMatch] container of the first matching reult if found, otherwise null. The region to search within can be specified without modifying where the start and end anchor would be.
@@ -41732,9 +41909,9 @@
</argument>
<argument index="2" name="all" type="bool" default="false">
</argument>
- <argument index="3" name="offset" type="int" default="null">
+ <argument index="3" name="offset" type="int" default="0">
</argument>
- <argument index="4" name="end" type="int" default="null">
+ <argument index="4" name="end" type="int" default="-1">
</argument>
<description>
Searches the text for the compiled pattern and replaces it with the specified string. Escapes and backreferences such as [code]\1[/code] and [code]\g&lt;name&gt;[/code] expanded and resolved. By default only the first instance is replaced but it can be changed for all instances (global replacement). The region to search within can be specified without modifying where the start and end anchor would be.
@@ -42155,14 +42332,14 @@
</description>
</method>
<method name="poll">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
Poll the load. If OK is returned, this means poll will have to be called again. If ERR_FILE_EOF is returned, them the load has finished and the resource can be obtained by calling [method get_resource].
</description>
</method>
<method name="wait">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
</description>
@@ -42211,7 +42388,7 @@
</argument>
<argument index="1" name="type_hint" type="String" default="&quot;&quot;">
</argument>
- <argument index="2" name="p_no_cache" type="bool" default="null">
+ <argument index="2" name="p_no_cache" type="bool" default="false">
</argument>
<description>
</description>
@@ -42221,7 +42398,7 @@
</return>
<argument index="0" name="path" type="String">
</argument>
- <argument index="1" name="type_hint" type="String" default="null">
+ <argument index="1" name="type_hint" type="String" default="&quot;&quot;">
</argument>
<description>
Load a resource interactively, the returned object allows to load with high granularity.
@@ -42329,13 +42506,13 @@
</description>
</method>
<method name="save">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
<argument index="1" name="resource" type="Resource">
</argument>
- <argument index="2" name="flags" type="int" default="null">
+ <argument index="2" name="flags" type="int" default="0">
</argument>
<description>
Save a resource to disk, to a given path.
@@ -42382,7 +42559,7 @@
</description>
</method>
<method name="append_bbcode">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="bbcode" type="String">
</argument>
@@ -42476,7 +42653,7 @@
</description>
</method>
<method name="parse_bbcode">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="bbcode" type="String">
</argument>
@@ -42740,6 +42917,8 @@
</theme_item>
<theme_item name="mono_font" type="Font">
</theme_item>
+ <theme_item name="normal" type="StyleBox">
+ </theme_item>
<theme_item name="normal_font" type="Font">
</theme_item>
<theme_item name="selection_color" type="Color">
@@ -42793,7 +42972,7 @@
</description>
</method>
<method name="get_axis_lock" qualifiers="const">
- <return type="int">
+ <return type="int" enum="RigidBody.AxisLock">
</return>
<description>
Return the current axis lock of the body. One of AXIS_LOCK_* enum.
@@ -42856,7 +43035,7 @@
</description>
</method>
<method name="get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="RigidBody.Mode">
</return>
<description>
Return the current body mode, see [method set_mode].
@@ -43253,7 +43432,7 @@
</description>
</method>
<method name="get_continuous_collision_detection_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="RigidBody2D.CCDMode">
</return>
<description>
Return whether this body is using continuous collision detection.
@@ -43309,7 +43488,7 @@
</description>
</method>
<method name="get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="RigidBody2D.Mode">
</return>
<description>
Return the current body mode, see [method set_mode].
@@ -43764,7 +43943,7 @@
</return>
<argument index="0" name="idx" type="int">
</argument>
- <argument index="1" name="for_parent" type="bool" default="null">
+ <argument index="1" name="for_parent" type="bool" default="false">
</argument>
<description>
</description>
@@ -43852,7 +44031,7 @@
</description>
</method>
<method name="change_scene">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -43860,7 +44039,7 @@
</description>
</method>
<method name="change_scene_to">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="packed_scene" type="PackedScene">
</argument>
@@ -43872,7 +44051,7 @@
</return>
<argument index="0" name="time_sec" type="float">
</argument>
- <argument index="1" name="pause_mode_process" type="bool" default="null">
+ <argument index="1" name="pause_mode_process" type="bool" default="true">
</argument>
<description>
</description>
@@ -44022,7 +44201,7 @@
</description>
</method>
<method name="reload_current_scene">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
</description>
@@ -44133,7 +44312,7 @@
</argument>
<argument index="2" name="minsize" type="Vector2">
</argument>
- <argument index="3" name="shrink" type="int" default="null">
+ <argument index="3" name="shrink" type="int" default="1">
</argument>
<description>
</description>
@@ -44315,7 +44494,7 @@
</description>
</method>
<method name="reload">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="keep_state" type="bool" default="false">
</argument>
@@ -44552,14 +44731,14 @@
</description>
<methods>
<method name="post">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
Lowers the [Semaphore], allowing one more thread in.
</description>
</method>
<method name="wait">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
Tries to wait for the [Semaphore], if its value is zero, blocks until non-zero.
@@ -44604,7 +44783,7 @@
</description>
</method>
<method name="get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Shader.Mode">
</return>
<description>
</description>
@@ -45069,7 +45248,7 @@
</description>
<methods>
<method name="get_radiance_size" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Sky.RadianceSize">
</return>
<description>
</description>
@@ -45689,19 +45868,19 @@
</description>
</method>
<method name="get_ao_texture_channel" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.TextureChannel">
</return>
<description>
</description>
</method>
<method name="get_billboard_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.BillboardMode">
</return>
<description>
</description>
</method>
<method name="get_blend_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.BlendMode">
</return>
<description>
</description>
@@ -45719,7 +45898,7 @@
</description>
</method>
<method name="get_cull_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.CullMode">
</return>
<description>
</description>
@@ -45737,7 +45916,7 @@
</description>
</method>
<method name="get_depth_draw_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.DepthDrawMode">
</return>
<description>
</description>
@@ -45749,19 +45928,19 @@
</description>
</method>
<method name="get_detail_blend_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.BlendMode">
</return>
<description>
</description>
</method>
<method name="get_detail_uv" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.DetailUV">
</return>
<description>
</description>
</method>
<method name="get_diffuse_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.DiffuseMode">
</return>
<description>
</description>
@@ -45813,7 +45992,7 @@
</description>
</method>
<method name="get_metallic_texture_channel" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.TextureChannel">
</return>
<description>
</description>
@@ -45855,7 +46034,7 @@
</description>
</method>
<method name="get_refraction_texture_channel" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.TextureChannel">
</return>
<description>
</description>
@@ -45879,7 +46058,7 @@
</description>
</method>
<method name="get_roughness_texture_channel" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.TextureChannel">
</return>
<description>
</description>
@@ -45891,7 +46070,7 @@
</description>
</method>
<method name="get_specular_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpatialMaterial.SpecularMode">
</return>
<description>
</description>
@@ -45910,6 +46089,12 @@
<description>
</description>
</method>
+ <method name="get_transmission" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_uv1_offset" qualifiers="const">
<return type="Vector3">
</return>
@@ -46292,6 +46477,14 @@
<description>
</description>
</method>
+ <method name="set_transmission">
+ <return type="void">
+ </return>
+ <argument index="0" name="transmission" type="Color">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_uv1_offset">
<return type="void">
</return>
@@ -46412,6 +46605,8 @@
</member>
<member name="flags_vertex_lighting" type="bool" setter="set_flag" getter="get_flag" brief="">
</member>
+ <member name="flags_world_triplanar" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
<member name="metallic" type="float" setter="set_metallic" getter="get_metallic" brief="">
</member>
<member name="metallic_specular" type="float" setter="set_specular" getter="get_specular" brief="">
@@ -46484,6 +46679,12 @@
</member>
<member name="subsurf_scatter_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
</member>
+ <member name="transmission" type="Color" setter="set_transmission" getter="get_transmission" brief="">
+ </member>
+ <member name="transmission_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="transmission_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
<member name="uv1_offset" type="Vector3" setter="set_uv1_offset" getter="get_uv1_offset" brief="">
</member>
<member name="uv1_scale" type="Vector3" setter="set_uv1_scale" getter="get_uv1_scale" brief="">
@@ -46528,15 +46729,17 @@
</constant>
<constant name="TEXTURE_SUBSURFACE_SCATTERING" value="10">
</constant>
- <constant name="TEXTURE_REFRACTION" value="11">
+ <constant name="TEXTURE_TRANSMISSION" value="11">
+ </constant>
+ <constant name="TEXTURE_REFRACTION" value="12">
</constant>
- <constant name="TEXTURE_DETAIL_MASK" value="12">
+ <constant name="TEXTURE_DETAIL_MASK" value="13">
</constant>
- <constant name="TEXTURE_DETAIL_ALBEDO" value="13">
+ <constant name="TEXTURE_DETAIL_ALBEDO" value="14">
</constant>
- <constant name="TEXTURE_DETAIL_NORMAL" value="14">
+ <constant name="TEXTURE_DETAIL_NORMAL" value="15">
</constant>
- <constant name="TEXTURE_MAX" value="15">
+ <constant name="TEXTURE_MAX" value="16">
</constant>
<constant name="DETAIL_UV_1" value="0">
</constant>
@@ -46560,11 +46763,13 @@
</constant>
<constant name="FEATURE_SUBSURACE_SCATTERING" value="8">
</constant>
- <constant name="FEATURE_REFRACTION" value="9">
+ <constant name="FEATURE_TRANSMISSION" value="9">
</constant>
- <constant name="FEATURE_DETAIL" value="10">
+ <constant name="FEATURE_REFRACTION" value="10">
</constant>
- <constant name="FEATURE_MAX" value="11">
+ <constant name="FEATURE_DETAIL" value="11">
+ </constant>
+ <constant name="FEATURE_MAX" value="12">
</constant>
<constant name="BLEND_MODE_MIX" value="0">
</constant>
@@ -46606,15 +46811,17 @@
</constant>
<constant name="FLAG_UV2_USE_TRIPLANAR" value="8">
</constant>
- <constant name="FLAG_AO_ON_UV2" value="9">
+ <constant name="FLAG_AO_ON_UV2" value="10">
+ </constant>
+ <constant name="FLAG_USE_ALPHA_SCISSOR" value="11">
</constant>
- <constant name="FLAG_USE_ALPHA_SCISSOR" value="10">
+ <constant name="FLAG_TRIPLANAR_USE_WORLD" value="9">
</constant>
- <constant name="FLAG_MAX" value="11">
+ <constant name="FLAG_MAX" value="12">
</constant>
<constant name="DIFFUSE_LAMBERT" value="0">
</constant>
- <constant name="DIFFUSE_HALF_LAMBERT" value="1">
+ <constant name="DIFFUSE_LAMBERT_WRAP" value="1">
</constant>
<constant name="DIFFUSE_OREN_NAYAR" value="2">
</constant>
@@ -46904,7 +47111,7 @@
</description>
<methods>
<method name="get_dragger_visibility" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SplitContainer.DraggerVisibility">
</return>
<description>
Return visibility of the split dragger (one of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]).
@@ -47360,13 +47567,13 @@
</description>
<methods>
<method name="get_alpha_cut_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="SpriteBase3D.AlphaCutMode">
</return>
<description>
</description>
</method>
<method name="get_axis" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Vector3.Axis">
</return>
<description>
</description>
@@ -47576,7 +47783,7 @@
</argument>
<argument index="1" name="frame" type="Texture">
</argument>
- <argument index="2" name="atpos" type="int" default="null">
+ <argument index="2" name="atpos" type="int" default="-1">
</argument>
<description>
</description>
@@ -48055,7 +48262,7 @@
</description>
</method>
<method name="put_data">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="data" type="PoolByteArray">
</argument>
@@ -48230,7 +48437,7 @@
</description>
<methods>
<method name="accept_stream">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="stream" type="StreamPeer">
</argument>
@@ -48238,13 +48445,13 @@
</description>
</method>
<method name="connect_to_stream">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="stream" type="StreamPeer">
</argument>
<argument index="1" name="validate_certs" type="bool" default="false">
</argument>
- <argument index="2" name="for_hostname" type="String" default="null">
+ <argument index="2" name="for_hostname" type="String" default="&quot;&quot;">
</argument>
<description>
Connect to a peer using an underlying [StreamPeer] "stream", when "validate_certs" is true, [StreamPeerSSL] will validate that the certificate presented by the peer matches the "for_hostname".
@@ -48258,7 +48465,7 @@
</description>
</method>
<method name="get_status" qualifiers="const">
- <return type="int">
+ <return type="int" enum="StreamPeerSSL.Status">
</return>
<description>
Return the status of the connection, one of STATUS_* enum.
@@ -48289,7 +48496,7 @@
</description>
<methods>
<method name="connect_to_host">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="host" type="String">
</argument>
@@ -48321,7 +48528,7 @@
</description>
</method>
<method name="get_status" qualifiers="const">
- <return type="int">
+ <return type="int" enum="StreamPeerTCP.Status">
</return>
<description>
Return the status of the connection, one of STATUS_* enum.
@@ -48362,7 +48569,7 @@
</description>
</method>
<method name="load">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -49208,10 +49415,26 @@
</class>
<class name="StyleBoxFlat" inherits="StyleBox" category="Core">
<brief_description>
- Stylebox of a single color.
+ Customizable Stylebox with a given set of parameters. (no texture required)
</brief_description>
<description>
- Stylebox of a single color. Displays the stylebox of a single color, alternatively a border with light/dark colors can be assigned.
+ This stylebox can be used to achieve all kinds of looks without the need of a texture. Those properties are customizable:
+ - Color
+ - Border width (individual width for each border)
+ - Rounded corners (individual radius for each corner)
+ - Shadow
+ About corner radius:
+ Setting corner radius to high values is allowed. As soon as corners would overlap the stylebox will switch to a relative system. Example:
+ [codeblock]
+ height = 30
+ corner_radius_top_left = 50
+ corner_raidus_bottom_left = 100
+ [/codeblock]
+ The relative system now would take the 1:2 ratio of the two left corners to calculate the actual corner width. Both corners added will [b]never[/b] be more than the height. Result:
+ [codeblock]
+ corner_radius_top_left: 10
+ corner_raidus_bottom_left: 20
+ [/codeblock]
</description>
<methods>
<method name="get_aa_size" qualifiers="const">
@@ -49455,46 +49678,69 @@
</methods>
<members>
<member name="anti_aliasing" type="bool" setter="set_anti_aliased" getter="is_anti_aliased" brief="">
+ Anti Aliasing draws a small ring around edges. This ring fades to transparent. As a result edges look much smoother. This is only noticable when using rounded corners.
</member>
<member name="anti_aliasing_size" type="int" setter="set_aa_size" getter="get_aa_size" brief="">
+ This changes the size of the faded ring. Higher values can be used to achieve a "blurry" effect.
</member>
<member name="bg_color" type="Color" setter="set_bg_color" getter="get_bg_color" brief="">
+ The background color of the stylebox.
</member>
<member name="border_blend" type="bool" setter="set_border_blend" getter="get_border_blend" brief="">
+ When set to true, the border will fade into the background color.
</member>
<member name="border_color" type="Color" setter="set_border_color" getter="get_border_color" brief="">
+ Sets the color of the border.
</member>
<member name="border_width_bottom" type="int" setter="set_border_width" getter="get_border_width" brief="">
+ Border width for the bottom border.
</member>
<member name="border_width_left" type="int" setter="set_border_width" getter="get_border_width" brief="">
+ Border width for the left border.
</member>
<member name="border_width_right" type="int" setter="set_border_width" getter="get_border_width" brief="">
+ Border width for the right border.
</member>
<member name="border_width_top" type="int" setter="set_border_width" getter="get_border_width" brief="">
+ Border width for the top border.
</member>
<member name="corner_detail" type="int" setter="set_corner_detail" getter="get_corner_detail" brief="">
+ This sets the amount of vertices used for each corner. Higher values result in rounder corners but take more processing power to compute. When choosing a value you should take the corner radius ([method set_corner_radius]) into account.
+ For corner radius smaller than 10: 4-5 should be enough
+ For corner radius smaller than 30: 8-12 should be enough ...
</member>
<member name="corner_radius_bottom_left" type="int" setter="set_corner_radius" getter="get_corner_radius" brief="">
+ The corner radius of the bottom left corner. When set to 0 the corner is not rounded.
</member>
<member name="corner_radius_bottom_right" type="int" setter="set_corner_radius" getter="get_corner_radius" brief="">
+ The corner radius of the bottom right corner. When set to 0 the corner is not rounded.
</member>
<member name="corner_radius_top_left" type="int" setter="set_corner_radius" getter="get_corner_radius" brief="">
+ The corner radius of the top left corner. When set to 0 the corner is not rounded.
</member>
<member name="corner_radius_top_right" type="int" setter="set_corner_radius" getter="get_corner_radius" brief="">
+ The corner radius of the top right corner. When set to 0 the corner is not rounded.
</member>
<member name="draw_center" type="bool" setter="set_draw_center" getter="is_draw_center_enabled" brief="">
+ Toggels drawing of the inner part of the stylebox.
</member>
<member name="expand_margin_bottom" type="float" setter="set_expand_margin" getter="get_expand_margin" brief="">
+ Expands the stylebox outside of the control rect on the bottom edge. Useful in combination with border_width_bottom. To draw a border outside the control rect.
</member>
<member name="expand_margin_left" type="float" setter="set_expand_margin" getter="get_expand_margin" brief="">
+ Expands the stylebox outside of the control rect on the left edge. Useful in combination with border_width_left. To draw a border outside the control rect.
</member>
<member name="expand_margin_right" type="float" setter="set_expand_margin" getter="get_expand_margin" brief="">
+ Expands the stylebox outside of the control rect on the right edge. Useful in combination with border_width_right. To draw a border outside the control rect.
</member>
<member name="expand_margin_top" type="float" setter="set_expand_margin" getter="get_expand_margin" brief="">
+ Expands the stylebox outside of the control rect on the top edge. Useful in combination with border_width_top. To draw a border outside the control rect.
</member>
<member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" brief="">
+ The color of the shadow. (This has no effect when shadow_size &lt; 1)
</member>
<member name="shadow_size" type="int" setter="set_shadow_size" getter="get_shadow_size" brief="">
+ The shadow size in pixels.
</member>
</members>
<constants>
@@ -49517,7 +49763,7 @@
</description>
</method>
<method name="get_h_axis_stretch_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="StyleBoxTexture.AxisStretchMode">
</return>
<description>
</description>
@@ -49555,7 +49801,7 @@
</description>
</method>
<method name="get_v_axis_stretch_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="StyleBoxTexture.AxisStretchMode">
</return>
<description>
</description>
@@ -49796,15 +50042,15 @@
</return>
<argument index="0" name="vertexes" type="PoolVector3Array">
</argument>
- <argument index="1" name="uvs" type="PoolVector2Array" default="PoolVector3Array( )">
+ <argument index="1" name="uvs" type="PoolVector2Array" default="PoolVector2Array( )">
</argument>
- <argument index="2" name="colors" type="PoolColorArray" default="PoolVector2Array( )">
+ <argument index="2" name="colors" type="PoolColorArray" default="PoolColorArray( )">
</argument>
- <argument index="3" name="uv2s" type="PoolVector2Array" default="PoolColorArray( )">
+ <argument index="3" name="uv2s" type="PoolVector2Array" default="PoolVector2Array( )">
</argument>
- <argument index="4" name="normals" type="PoolVector3Array" default="PoolVector2Array( )">
+ <argument index="4" name="normals" type="PoolVector3Array" default="PoolVector3Array( )">
</argument>
- <argument index="5" name="tangents" type="Array" default="null">
+ <argument index="5" name="tangents" type="Array" default="[ ]">
</argument>
<description>
Insert a triangle fan made of array data into [Mesh] being constructed.
@@ -49949,11 +50195,11 @@
</description>
</method>
<method name="listen">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="port" type="int">
</argument>
- <argument index="1" name="bind_address" type="String" default="null">
+ <argument index="1" name="bind_address" type="String" default="&quot;*&quot;">
</argument>
<description>
Listen on the "port" binding to "bind_address".
@@ -50023,7 +50269,7 @@
</description>
</method>
<method name="get_tab_align" qualifiers="const">
- <return type="int">
+ <return type="int" enum="TabContainer.TabAlign">
</return>
<description>
Return tab alignment, from the ALIGN_* enum.
@@ -50218,9 +50464,9 @@
<method name="add_tab">
<return type="void">
</return>
- <argument index="0" name="title" type="String" default="null">
+ <argument index="0" name="title" type="String" default="&quot;&quot;">
</argument>
- <argument index="1" name="icon" type="Texture" default="&quot;&quot;">
+ <argument index="1" name="icon" type="Texture" default="null">
</argument>
<description>
</description>
@@ -50240,13 +50486,13 @@
</description>
</method>
<method name="get_tab_align" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Tabs.TabAlign">
</return>
<description>
</description>
</method>
<method name="get_tab_close_display_policy" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Tabs.CloseButtonDisplayPolicy">
</return>
<description>
</description>
@@ -50482,7 +50728,7 @@
</argument>
<argument index="2" name="color" type="Color">
</argument>
- <argument index="3" name="line_only" type="bool" default="null">
+ <argument index="3" name="line_only" type="bool" default="false">
</argument>
<description>
Add color region (given the delimiters) and its colors.
@@ -50587,7 +50833,7 @@
</return>
<argument index="0" name="column" type="int">
</argument>
- <argument index="1" name="adjust_viewport" type="bool" default="null">
+ <argument index="1" name="adjust_viewport" type="bool" default="true">
</argument>
<description>
</description>
@@ -50597,7 +50843,7 @@
</return>
<argument index="0" name="line" type="int">
</argument>
- <argument index="1" name="adjust_viewport" type="bool" default="null">
+ <argument index="1" name="adjust_viewport" type="bool" default="true">
</argument>
<description>
</description>
@@ -51030,7 +51276,7 @@
</argument>
<argument index="2" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
- <argument index="3" name="transpose" type="bool" default="null">
+ <argument index="3" name="transpose" type="bool" default="false">
</argument>
<argument index="4" name="normal_map" type="Texture" default="null">
</argument>
@@ -51046,9 +51292,9 @@
</argument>
<argument index="2" name="tile" type="bool">
</argument>
- <argument index="3" name="modulate" type="Color" default="null">
+ <argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
- <argument index="4" name="transpose" type="bool" default="null">
+ <argument index="4" name="transpose" type="bool" default="false">
</argument>
<argument index="5" name="normal_map" type="Texture" default="null">
</argument>
@@ -51066,11 +51312,11 @@
</argument>
<argument index="3" name="modulate" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
- <argument index="4" name="transpose" type="bool" default="null">
+ <argument index="4" name="transpose" type="bool" default="false">
</argument>
<argument index="5" name="normal_map" type="Texture" default="null">
</argument>
- <argument index="6" name="clip_uv" type="bool" default="null">
+ <argument index="6" name="clip_uv" type="bool" default="true">
</argument>
<description>
</description>
@@ -51201,7 +51447,7 @@
</description>
</method>
<method name="get_stretch_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="TextureButton.StretchMode">
</return>
<description>
</description>
@@ -51499,7 +51745,7 @@
</description>
<methods>
<method name="get_stretch_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="TextureRect.StretchMode">
</return>
<description>
</description>
@@ -51892,7 +52138,7 @@
</description>
</method>
<method name="start">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="instance" type="Object">
</argument>
@@ -51900,7 +52146,7 @@
</argument>
<argument index="2" name="userdata" type="Variant" default="null">
</argument>
- <argument index="3" name="priority" type="int" default="null">
+ <argument index="3" name="priority" type="int" default="1">
</argument>
<description>
Start a new [Thread], it will run "method" on object "instance" using "userdata" as an argument and running with "priority", one of PRIORITY_* enum.
@@ -52040,14 +52286,14 @@
</description>
</method>
<method name="get_half_offset" qualifiers="const">
- <return type="int">
+ <return type="int" enum="TileMap.HalfOffset">
</return>
<description>
Return the current half offset configuration.
</description>
</method>
<method name="get_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="TileMap.Mode">
</return>
<description>
Return the orientation mode.
@@ -52067,7 +52313,7 @@
</description>
</method>
<method name="get_tile_origin" qualifiers="const">
- <return type="int">
+ <return type="int" enum="TileMap.TileOrigin">
</return>
<description>
Return the tile origin configuration.
@@ -52146,7 +52392,7 @@
</return>
<argument index="0" name="mappos" type="Vector2">
</argument>
- <argument index="1" name="ignore_half_ofs" type="bool" default="null">
+ <argument index="1" name="ignore_half_ofs" type="bool" default="false">
</argument>
<description>
Return the absolute world position corresponding to the tilemap (grid-based) coordinates given as an argument.
@@ -52162,11 +52408,11 @@
</argument>
<argument index="2" name="tile" type="int">
</argument>
- <argument index="3" name="flip_x" type="bool" default="null">
+ <argument index="3" name="flip_x" type="bool" default="false">
</argument>
- <argument index="4" name="flip_y" type="bool" default="null">
+ <argument index="4" name="flip_y" type="bool" default="false">
</argument>
- <argument index="5" name="transpose" type="bool" default="null">
+ <argument index="5" name="transpose" type="bool" default="false">
</argument>
<description>
Set the tile index for the cell referenced by its grid-based X and Y coordinates.
@@ -52192,9 +52438,9 @@
</argument>
<argument index="2" name="flip_x" type="bool" default="false">
</argument>
- <argument index="3" name="flip_y" type="bool" default="null">
+ <argument index="3" name="flip_y" type="bool" default="false">
</argument>
- <argument index="4" name="transpose" type="bool" default="null">
+ <argument index="4" name="transpose" type="bool" default="false">
</argument>
<description>
Set the tile index for the cell referenced by a Vector2 of grid-based coordinates.
@@ -52508,7 +52754,7 @@
</argument>
<argument index="2" name="shape_transform" type="Transform2D">
</argument>
- <argument index="3" name="one_way" type="bool" default="null">
+ <argument index="3" name="one_way" type="bool" default="false">
</argument>
<description>
</description>
@@ -52825,7 +53071,7 @@
</description>
</method>
<method name="get_timer_process_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Timer.TimerProcessMode">
</return>
<description>
Return the timer's processing mode.
@@ -53022,7 +53268,7 @@
</description>
</method>
<method name="get_visibility_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="TouchScreenButton.VisibilityMode">
</return>
<description>
</description>
@@ -53733,7 +53979,7 @@
</return>
<argument index="0" name="item" type="Object">
</argument>
- <argument index="1" name="column" type="int" default="null">
+ <argument index="1" name="column" type="int" default="-1">
</argument>
<description>
Get the rectangle area of the the specified item. If column is specified, only get the position and size of that column, otherwise get the rectangle containing all columns.
@@ -54101,9 +54347,9 @@
</argument>
<argument index="2" name="button_idx" type="int" default="-1">
</argument>
- <argument index="3" name="disabled" type="bool" default="null">
+ <argument index="3" name="disabled" type="bool" default="false">
</argument>
- <argument index="4" name="tooltip" type="String" default="null">
+ <argument index="4" name="tooltip" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
@@ -54161,7 +54407,7 @@
</description>
</method>
<method name="get_cell_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="TreeItem.TreeCellMode">
</return>
<argument index="0" name="column" type="int">
</argument>
@@ -54277,7 +54523,7 @@
</description>
</method>
<method name="get_text_align" qualifiers="const">
- <return type="int">
+ <return type="int" enum="TreeItem.TextAlign">
</return>
<argument index="0" name="column" type="int">
</argument>
@@ -54439,7 +54685,7 @@
</argument>
<argument index="1" name="color" type="Color">
</argument>
- <argument index="2" name="just_outline" type="bool" default="null">
+ <argument index="2" name="just_outline" type="bool" default="false">
</argument>
<description>
</description>
@@ -54555,7 +54801,7 @@
</argument>
<argument index="3" name="step" type="float">
</argument>
- <argument index="4" name="expr" type="bool" default="null">
+ <argument index="4" name="expr" type="bool" default="false">
</argument>
<description>
</description>
@@ -54661,7 +54907,7 @@
</argument>
<argument index="7" name="ease_type" type="int" enum="Tween.EaseType">
</argument>
- <argument index="8" name="delay" type="float" default="null">
+ <argument index="8" name="delay" type="float" default="0">
</argument>
<description>
Follow [code]method[/code] of [code]object[/code] and apply the returned value on [code]target_method[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]duration[/code] seconds, [code]delay[/code] later. Methods are animated by calling them with consequitive values.
@@ -54687,7 +54933,7 @@
</argument>
<argument index="7" name="ease_type" type="int" enum="Tween.EaseType">
</argument>
- <argument index="8" name="delay" type="float" default="null">
+ <argument index="8" name="delay" type="float" default="0">
</argument>
<description>
Follow [code]property[/code] of [code]object[/code] and apply it on [code]target_property[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. Note that [code]target:target_property[/code] would equal [code]object:property[/code] at the end of the tween.
@@ -54709,7 +54955,7 @@
</description>
</method>
<method name="get_tween_process_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Tween.TweenProcessMode">
</return>
<description>
Returns the process mode that has been set from editor GUI or [method set_tween_process_mode]
@@ -54778,7 +55024,7 @@
</argument>
<argument index="6" name="ease_type" type="int" enum="Tween.EaseType">
</argument>
- <argument index="7" name="delay" type="float" default="null">
+ <argument index="7" name="delay" type="float" default="0">
</argument>
<description>
Animate [code]method[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecuitive values.
@@ -54802,7 +55048,7 @@
</argument>
<argument index="6" name="ease_type" type="int" enum="Tween.EaseType">
</argument>
- <argument index="7" name="delay" type="float" default="null">
+ <argument index="7" name="delay" type="float" default="0">
</argument>
<description>
Animate [code]property[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later.
@@ -54828,7 +55074,7 @@
</return>
<argument index="0" name="object" type="Object">
</argument>
- <argument index="1" name="key" type="String" default="null">
+ <argument index="1" name="key" type="String" default="&quot;&quot;">
</argument>
<description>
Stop animating and completely remove a tween, given its object and property/method pair. Passing empty String as key will remove all tweens for given object.
@@ -54846,7 +55092,7 @@
</return>
<argument index="0" name="object" type="Object">
</argument>
- <argument index="1" name="key" type="String" default="null">
+ <argument index="1" name="key" type="String" default="&quot;&quot;">
</argument>
<description>
Resets a tween to the initial value (the one given, not the one before the tween), given its object and property/method pair. Passing empty String as key will reset all tweens for given object.
@@ -54864,7 +55110,7 @@
</return>
<argument index="0" name="object" type="Object">
</argument>
- <argument index="1" name="key" type="String" default="null">
+ <argument index="1" name="key" type="String" default="&quot;&quot;">
</argument>
<description>
Continue animating a stopped tween, given its object and property/method pair. Passing empty String as key will resume all tweens for given object.
@@ -54934,7 +55180,7 @@
</return>
<argument index="0" name="object" type="Object">
</argument>
- <argument index="1" name="key" type="String" default="null">
+ <argument index="1" name="key" type="String" default="&quot;&quot;">
</argument>
<description>
Stop animating a tween, given its object and property/method pair. Passing empty String as key will stop all tweens for given object.
@@ -54966,7 +55212,7 @@
</argument>
<argument index="7" name="ease_type" type="int" enum="Tween.EaseType">
</argument>
- <argument index="8" name="delay" type="float" default="null">
+ <argument index="8" name="delay" type="float" default="0">
</argument>
<description>
Animate [code]method[/code] of [code]object[/code] from the value returned by [code]initial.initial_method[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecuitive values.
@@ -54992,7 +55238,7 @@
</argument>
<argument index="7" name="ease_type" type="int" enum="Tween.EaseType">
</argument>
- <argument index="8" name="delay" type="float" default="null">
+ <argument index="8" name="delay" type="float" default="0">
</argument>
<description>
Animate [code]property[/code] of [code]object[/code] from the current value of the [code]initial_val[/code] property of [code]initial[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later.
@@ -55190,7 +55436,7 @@
</return>
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="merge_mode" type="int" enum="UndoRedo.MergeMode" default="null">
+ <argument index="1" name="merge_mode" type="int" enum="UndoRedo.MergeMode" default="0">
</argument>
<description>
Create a new action. After this is called, do all your calls to [method add_do_method], [method add_undo_method], [method add_do_property] and [method add_undo_property].
@@ -56363,13 +56609,13 @@
</description>
</method>
<method name="get_clear_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Viewport.ClearMode">
</return>
<description>
</description>
</method>
<method name="get_debug_draw" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Viewport.DebugDraw">
</return>
<description>
</description>
@@ -56403,7 +56649,7 @@
</description>
</method>
<method name="get_msaa" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Viewport.MSAA">
</return>
<description>
</description>
@@ -56424,7 +56670,7 @@
</description>
</method>
<method name="get_shadow_atlas_quadrant_subdiv" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Viewport.ShadowAtlasQuadrantSubdiv">
</return>
<argument index="0" name="quadrant" type="int">
</argument>
@@ -56459,14 +56705,14 @@
</description>
</method>
<method name="get_update_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Viewport.UpdateMode">
</return>
<description>
Get when the viewport would be updated, will be one of the [code]UPDATE_*[/code] constants.
</description>
</method>
<method name="get_usage" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Viewport.Usage">
</return>
<description>
</description>
@@ -56719,7 +56965,7 @@
</argument>
<argument index="1" name="size" type="Vector2" default="Vector2( -1, -1 )">
</argument>
- <argument index="2" name="margin" type="Vector2" default="null">
+ <argument index="2" name="margin" type="Vector2" default="Vector2( 0, 0 )">
</argument>
<description>
Set the size override of the viewport. If the enable parameter is true, it would use the override, otherwise it would use the default size. If the size parameter is equal to [code](-1, -1)[/code], it won't update the size.
@@ -57325,7 +57571,7 @@
</argument>
<argument index="2" name="node" type="VisualScriptNode">
</argument>
- <argument index="3" name="pos" type="Vector2" default="null">
+ <argument index="3" name="pos" type="Vector2" default="Vector2( 0, 0 )">
</argument>
<description>
</description>
@@ -57337,7 +57583,7 @@
</argument>
<argument index="1" name="default_value" type="Variant" default="null">
</argument>
- <argument index="2" name="export" type="bool" default="null">
+ <argument index="2" name="export" type="bool" default="false">
</argument>
<description>
</description>
@@ -57351,7 +57597,7 @@
</argument>
<argument index="2" name="argname" type="String">
</argument>
- <argument index="3" name="index" type="int" default="null">
+ <argument index="3" name="index" type="int" default="-1">
</argument>
<description>
</description>
@@ -57375,7 +57621,7 @@
</description>
</method>
<method name="custom_signal_get_argument_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<argument index="0" name="name" type="String">
</argument>
@@ -57763,7 +58009,7 @@
</description>
<methods>
<method name="get_basic_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
@@ -57807,7 +58053,7 @@
</description>
<methods>
<method name="get_func">
- <return type="int">
+ <return type="int" enum="VisualScriptBuiltinFunc.BuiltinFunc">
</return>
<description>
</description>
@@ -57949,7 +58195,7 @@
</description>
<methods>
<method name="get_constant_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
@@ -57999,7 +58245,7 @@
</description>
</method>
<method name="get_constructor_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
@@ -58165,7 +58411,7 @@
</description>
<methods>
<method name="get_deconstruct_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
@@ -58289,13 +58535,13 @@
</description>
</method>
<method name="get_basic_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
</method>
<method name="get_call_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="VisualScriptFunctionCall.CallMode">
</return>
<description>
</description>
@@ -58307,7 +58553,7 @@
</description>
</method>
<method name="get_rpc_call_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="VisualScriptFunctionCall.RPCCallMode">
</return>
<description>
</description>
@@ -58537,7 +58783,7 @@
</description>
<methods>
<method name="get_action_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="VisualScriptInputAction.Mode">
</return>
<description>
</description>
@@ -58597,7 +58843,7 @@
</description>
</method>
<method name="get_var_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
@@ -58641,7 +58887,7 @@
</description>
</method>
<method name="get_var_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
@@ -58679,7 +58925,7 @@
</description>
<methods>
<method name="get_math_constant">
- <return type="int">
+ <return type="int" enum="VisualScriptMathConstant.MathConstant">
</return>
<description>
</description>
@@ -58751,13 +58997,13 @@
</description>
<methods>
<method name="get_operator" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Operator">
</return>
<description>
</description>
</method>
<method name="get_typed" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
@@ -58841,13 +59087,13 @@
</description>
</method>
<method name="get_basic_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
</method>
<method name="get_call_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="VisualScriptPropertyGet.CallMode">
</return>
<description>
</description>
@@ -58955,7 +59201,7 @@
</description>
<methods>
<method name="get_assign_op" qualifiers="const">
- <return type="int">
+ <return type="int" enum="VisualScriptPropertySet.AssignOp">
</return>
<description>
</description>
@@ -58979,13 +59225,13 @@
</description>
</method>
<method name="get_basic_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
</method>
<method name="get_call_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="VisualScriptPropertySet.CallMode">
</return>
<description>
</description>
@@ -59131,7 +59377,7 @@
</description>
<methods>
<method name="get_return_type" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
@@ -59213,7 +59459,7 @@
</description>
<methods>
<method name="get_typed" qualifiers="const">
- <return type="int">
+ <return type="int" enum="Variant.Type">
</return>
<description>
</description>
@@ -59423,7 +59669,7 @@
</description>
</method>
<method name="get_yield_mode">
- <return type="int">
+ <return type="int" enum="VisualScriptYield.YieldMode">
</return>
<description>
</description>
@@ -59479,7 +59725,7 @@
</description>
</method>
<method name="get_call_mode" qualifiers="const">
- <return type="int">
+ <return type="int" enum="VisualScriptYieldSignal.CallMode">
</return>
<description>
</description>
@@ -59568,7 +59814,7 @@
</return>
<argument index="0" name="image" type="Image">
</argument>
- <argument index="1" name="flags" type="int" default="null">
+ <argument index="1" name="flags" type="int" default="7">
</argument>
<description>
</description>
@@ -59922,7 +60168,7 @@
</description>
</method>
<method name="get_node_type">
- <return type="int">
+ <return type="int" enum="XMLParser.NodeType">
</return>
<description>
Get the type of the current node. Compare with [code]NODE_*[/code] constants.
@@ -59945,7 +60191,7 @@
</description>
</method>
<method name="open">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="file" type="String">
</argument>
@@ -59954,7 +60200,7 @@
</description>
</method>
<method name="open_buffer">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="buffer" type="PoolByteArray">
</argument>
@@ -59963,14 +60209,14 @@
</description>
</method>
<method name="read">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<description>
Read the next node of the file. This returns an error code.
</description>
</method>
<method name="seek">
- <return type="int">
+ <return type="int" enum="Error">
</return>
<argument index="0" name="pos" type="int">
</argument>