diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-11-02 11:31:01 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-11-02 11:31:01 -0300 |
commit | d85b67be53bac252c0a28b799d56d1b359c4ee99 (patch) | |
tree | 5227e145e3271bfee542bdd3e4237c3378565306 /doc | |
parent | 738eb2c1a88d441eacc4149ce8f1c12a90267191 (diff) |
Bug Fixes
-=-=-=-=-
-Fixed problem with scaling shapes (#827), related to not taking scale in consideration for calculating the moment of inertia
-Added support for multiline strings (or comments) using """
-Save subscene bug, properties not being saved in root node (#806)
-Fix Crash in CollisionPolygon2DEditor (#814)
-Restored Ability to compile without 3D (#795)
-Fix InterpolatedCamera (#803)
-Fix UV Import for OBJ Meshes (#771)
-Fixed issue with modifier gizmos (#794)
-Fixed CapsuleShape gizmo handle (#50)
-Fixed Import Button (not properly working in 3D) (#733)
-Many misc fixes (though no new features)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/base/classes.xml | 7645 |
1 files changed, 6029 insertions, 1616 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 527991d147..b28c050a61 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -9,271 +9,271 @@ </description> <methods> <method name="sin" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Standard sine function. </description> </method> <method name="cos" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Standard cosine function. </description> </method> <method name="tan" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Standard tangent function. </description> </method> <method name="sinh" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Hyperbolic sine. </description> </method> <method name="cosh" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Hyperbolic cosine. </description> </method> <method name="tanh" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Hyperbolic tangent. </description> </method> <method name="asin" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Arc-sine. </description> </method> <method name="acos" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Arc-cosine. </description> </method> <method name="atan" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Arc-tangent. </description> </method> <method name="atan2" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="x" type="real"> + <argument index="0" name="x" type="float"> </argument> - <argument index="1" name="y" type="real"> + <argument index="1" name="y" type="float"> </argument> <description> Arc-tangent that takes a 2D vector as argument, retuns the full -pi to +pi range. </description> </method> <method name="sqrt" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Square root. </description> </method> <method name="fmod" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="x" type="real"> + <argument index="0" name="x" type="float"> </argument> - <argument index="1" name="y" type="real"> + <argument index="1" name="y" type="float"> </argument> <description> Module (remainder of x/y). </description> </method> <method name="fposmod" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="x" type="real"> + <argument index="0" name="x" type="float"> </argument> - <argument index="1" name="y" type="real"> + <argument index="1" name="y" type="float"> </argument> <description> Module (remainder of x/y) that wraps equally in positive and negative. </description> </method> <method name="floor" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Floor (rounds down to nearest integer). </description> </method> <method name="ceil" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Ceiling (rounds up to nearest integer). </description> </method> <method name="round" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Round to nearest integer. </description> </method> <method name="abs" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Remove sign (works for integer and float). </description> </method> <method name="sign" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Return sign (-1 or +1). </description> </method> <method name="pow" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="x" type="real"> + <argument index="0" name="x" type="float"> </argument> - <argument index="1" name="y" type="real"> + <argument index="1" name="y" type="float"> </argument> <description> Power function, x elevate to y. </description> </method> <method name="log" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Natural logarithm. </description> </method> <method name="exp" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Exponential logarithm. </description> </method> <method name="isnan" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Return true if the float is not a number. </description> </method> <method name="isinf" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> <description> Return true if the float is infinite. </description> </method> <method name="ease" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> - <argument index="1" name="curve" type="real"> + <argument index="1" name="curve" type="float"> </argument> <description> Easing function, based on exponent. 0 is constant, 1 is linear, 0 to 1 is ease-in, 1+ is ease out. Negative values are in-out/out in. </description> </method> <method name="decimals" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="step" type="real"> + <argument index="0" name="step" type="float"> </argument> <description> Return the amount of decimals in the floating point value. </description> </method> <method name="stepify" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="s" type="real"> + <argument index="0" name="s" type="float"> </argument> - <argument index="1" name="step" type="real"> + <argument index="1" name="step" type="float"> </argument> <description> Snap float value to a given step. </description> </method> <method name="lerp" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="a" type="real"> + <argument index="0" name="a" type="float"> </argument> - <argument index="1" name="b" type="real"> + <argument index="1" name="b" type="float"> </argument> - <argument index="2" name="c" type="real"> + <argument index="2" name="c" type="float"> </argument> <description> </description> </method> <method name="dectime" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> - <argument index="1" name="amount" type="real"> + <argument index="1" name="amount" type="float"> </argument> - <argument index="2" name="step" type="real"> + <argument index="2" name="step" type="float"> </argument> <description> </description> @@ -297,18 +297,18 @@ </description> </method> <method name="randf" > - <return type="real"> + <return type="float"> </return> <description> Random value (0 to 1 float). </description> </method> <method name="rand_range" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="from" type="real"> + <argument index="0" name="from" type="float"> </argument> - <argument index="1" name="to" type="real"> + <argument index="1" name="to" type="float"> </argument> <description> Random range, any floating point value between @@ -318,78 +318,78 @@ <method name="rand_seed" > <return type="Array"> </return> - <argument index="0" name="seed" type="real"> + <argument index="0" name="seed" type="float"> </argument> <description> Random from seed, pass a seed and an array with both number and new seed is returned. </description> </method> <method name="deg2rad" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="deg" type="real"> + <argument index="0" name="deg" type="float"> </argument> <description> Convert from degrees to radians. </description> </method> <method name="rad2deg" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="rad" type="real"> + <argument index="0" name="rad" type="float"> </argument> <description> Convert from radias to degrees. </description> </method> <method name="linear2db" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="nrg" type="real"> + <argument index="0" name="nrg" type="float"> </argument> <description> Convert from linear energy to decibels (audio). </description> </method> <method name="db2linear" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="db" type="real"> + <argument index="0" name="db" type="float"> </argument> <description> Convert from decibels to linear energy (audio). </description> </method> <method name="max" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="a" type="real"> + <argument index="0" name="a" type="float"> </argument> - <argument index="1" name="b" type="real"> + <argument index="1" name="b" type="float"> </argument> <description> Return the maximum of two values. </description> </method> <method name="min" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="a" type="real"> + <argument index="0" name="a" type="float"> </argument> - <argument index="1" name="b" type="real"> + <argument index="1" name="b" type="float"> </argument> <description> Return the minimum of two values. </description> </method> <method name="clamp" > - <return type="real"> + <return type="float"> </return> - <argument index="0" name="val" type="real"> + <argument index="0" name="val" type="float"> </argument> - <argument index="1" name="min" type="real"> + <argument index="1" name="min" type="float"> </argument> - <argument index="2" name="max" type="real"> + <argument index="2" name="max" type="float"> </argument> <description> Clamp both values to a range. @@ -538,6 +538,14 @@ back into an instance. Useful for deserializing. </description> </method> + <method name="hash" > + <return type="int"> + </return> + <argument index="0" name="var:var" type="var"> + </argument> + <description> + </description> + </method> <method name="print_stack" > <return type="Nil"> </return> @@ -549,7 +557,7 @@ </methods> <constants> <constant name="PI" value="3.141593"> - Constant that represents how many times the diameter of a + Constant that represents how many times the diameter of a circumference fits around it's perimeter. </constant> </constants> @@ -568,79 +576,52 @@ <member name="Performance" type="Performance"> </member> <member name="Globals" type="Globals"> - The file engine.cfg is read into this singleton. </member> <member name="IP" type="IP"> - Global IP protocol functions (like hostname resolution). </member> <member name="Geometry" type="Geometry"> - Geometry helpers. </member> <member name="ResourceLoader" type="ResourceLoader"> - Singleton that loads resources (load() calls this) </member> <member name="ResourceSaver" type="ResourceSaver"> - Singleton that saves resources. </member> <member name="PathRemap" type="PathRemap"> - Uset to setup remaps for the filesystem. </member> <member name="OS" type="OS"> - Operating system functions. </member> <member name="Marshalls" type="Reference"> - Used to serialize and deserialize, helpers. </member> <member name="TranslationServer" type="TranslationServer"> - Server that takes care of translating between different - languages. </member> <member name="TS" type="TranslationServer"> - Short version for TranslationServer. </member> <member name="Input" type="Input"> - Global input variables and functions. </member> - <member name="SceneIO" type="SceneIO"> - Deprecaed. + <member name="InputMap" type="InputMap"> </member> <member name="VisualServer" type="VisualServer"> - Server that handles anything visual at low level. </member> <member name="VS" type="VisualServer"> - Short for VisualServer. </member> <member name="AudioServer" type="AudioServer"> - Server that handles anything audio at low level. </member> <member name="AS" type="AudioServer"> - Short for AudioServer. </member> <member name="PhysicsServer" type="PhysicsServer"> - Server that handles anything 3D physics at low level. </member> <member name="PS" type="PhysicsServer"> - Short for PhysicsServer. </member> <member name="Physics2DServer" type="Physics2DServer"> - Server that handles anything 2D physics at low level. </member> <member name="PS2D" type="Physics2DServer"> - Short for Physics2DServer. </member> <member name="SpatialSoundServer" type="SpatialSound2DServer"> - Server that handles spatial audio positioning in 3D at low - level. </member> <member name="SS" type="SpatialSound2DServer"> - Short for SpatialSoundServer. </member> <member name="SpatialSound2DServer" type="SpatialSound2DServer"> - Server that handles spatial audio positioning in 2D at low - level. </member> <member name="SS2D" type="SpatialSound2DServer"> - Short for SpatialSound2DServer. </member> </members> <constants> @@ -1443,20 +1424,38 @@ <constant name="PROPERTY_HINT_ENUM" value="3"> Property hint is an enumerated value, like "Hello,Something,Else". This is valid for integers, floats and strings properties. </constant> + <constant name="PROPERTY_HINT_EXP_EASING" value="4"> + </constant> <constant name="PROPERTY_HINT_LENGTH" value="5"> </constant> + <constant name="PROPERTY_HINT_KEY_ACCEL" value="6"> + </constant> <constant name="PROPERTY_HINT_FLAGS" value="7"> Property hint is a bitmask description, for bits 0,1,2,3 abd 5 the hint would be like "Bit0,Bit1,Bit2,Bit3,,Bit5". Valid only for integers. </constant> + <constant name="PROPERTY_HINT_ALL_FLAGS" value="8"> + </constant> <constant name="PROPERTY_HINT_FILE" value="9"> String property is a file (so pop up a file dialog when edited). Hint string can be a set of wildcards like "*.doc". </constant> <constant name="PROPERTY_HINT_DIR" value="10"> String property is a directory (so pop up a file dialog when edited). </constant> + <constant name="PROPERTY_HINT_GLOBAL_FILE" value="11"> + </constant> + <constant name="PROPERTY_HINT_GLOBAL_DIR" value="12"> + </constant> <constant name="PROPERTY_HINT_RESOURCE_TYPE" value="13"> String property is a resource, so open the resource popup menu when edited. </constant> + <constant name="PROPERTY_HINT_MULTILINE_TEXT" value="14"> + </constant> + <constant name="PROPERTY_HINT_COLOR_NO_ALPHA" value="15"> + </constant> + <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSY" value="16"> + </constant> + <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS" value="17"> + </constant> <constant name="PROPERTY_USAGE_STORAGE" value="1"> Property will be used as storage (default). </constant> @@ -1586,7 +1585,7 @@ </description> </method> <method name="get_area" > - <return type="real"> + <return type="float"> </return> <description> Get the area inside the [AABB] @@ -1617,7 +1616,7 @@ </description> </method> <method name="get_longest_axis_size" > - <return type="real"> + <return type="float"> </return> <description> Return the scalar length of the longest axis of the @@ -1640,7 +1639,7 @@ </description> </method> <method name="get_shortest_axis_size" > - <return type="real"> + <return type="float"> </return> <description> Return the scalar length of the shortest axis of the @@ -1660,7 +1659,7 @@ <method name="grow" > <return type="AABB"> </return> - <argument index="0" name="by" type="real"> + <argument index="0" name="by" type="float"> </argument> <description> Return a copy of the AABB grown a given a mount of @@ -1718,6 +1717,16 @@ Return true if the AABB is at both sides of a plane. </description> </method> + <method name="intersects_segment" > + <return type="bool"> + </return> + <argument index="0" name="from" type="Vector3"> + </argument> + <argument index="1" name="to" type="Vector3"> + </argument> + <description> + </description> + </method> <method name="merge" > <return type="AABB"> </return> @@ -1744,7 +1753,6 @@ <member name="size" type="Vector3"> </member> <member name="end" type="Vector3"> - Same as pos+size. </member> </members> <constants> @@ -1792,7 +1800,11 @@ <method name="add_button" > <return type="Button"> </return> - <argument index="0" name="text" type="String" default=""""> + <argument index="0" name="text" type="String"> + </argument> + <argument index="1" name="right" type="bool" default="false"> + </argument> + <argument index="2" name="action" type="String" default=""""> </argument> <description> </description> @@ -1933,7 +1945,7 @@ </argument> <description> Set the visible sprite frame index (from the list of - frames inside the [SpriteFrames] resource). + frames inside the [SpriteFrames] resource). </description> </method> <method name="get_frame" qualifiers="const" > @@ -1961,6 +1973,40 @@ <constants> </constants> </class> +<class name="AnimatedSprite3D" inherits="SpriteBase3D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_sprite_frames" > + <argument index="0" name="sprite_frames" type="SpriteFrames"> + </argument> + <description> + </description> + </method> + <method name="get_sprite_frames" qualifiers="const" > + <return type="Texture"> + </return> + <description> + </description> + </method> + <method name="set_frame" > + <argument index="0" name="frame" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_frame" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="Animation" inherits="Resource" category="Core"> <brief_description> Contains data used to animate everything in the engine. @@ -2048,7 +2094,7 @@ </return> <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="time" type="real"> + <argument index="1" name="time" type="float"> </argument> <argument index="2" name="loc" type="Vector3"> </argument> @@ -2063,11 +2109,11 @@ <method name="track_insert_key" > <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="time" type="real"> + <argument index="1" name="time" type="float"> </argument> <argument index="2" name="key" type="var"> </argument> - <argument index="3" name="transition" type="real" default="1"> + <argument index="3" name="transition" type="float" default="1"> </argument> <description> Insert a generic key in a given track. @@ -2085,7 +2131,7 @@ <method name="track_remove_key_at_pos" > <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="pos" type="real"> + <argument index="1" name="pos" type="float"> </argument> <description> Remove a key by position (seconds) in a given track. @@ -2107,7 +2153,7 @@ </argument> <argument index="1" name="key_idx" type="int"> </argument> - <argument index="2" name="transition" type="real"> + <argument index="2" name="transition" type="float"> </argument> <description> Set the transition curve (easing) for a specific key (see built-in @@ -2115,7 +2161,7 @@ </description> </method> <method name="track_get_key_transition" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="idx" type="int"> </argument> @@ -2145,7 +2191,7 @@ </description> </method> <method name="track_get_key_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="idx" type="int"> </argument> @@ -2160,7 +2206,7 @@ </return> <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="time" type="real"> + <argument index="1" name="time" type="float"> </argument> <argument index="2" name="exact" type="bool" default="false"> </argument> @@ -2191,7 +2237,7 @@ </return> <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="time_sec" type="real"> + <argument index="1" name="time_sec" type="float"> </argument> <description> Return the interpolated value of a transform track at a given time (in seconds). An array consisting of 3 elements: position ([Vector3]), rotation ([Quat]) and scale ([Vector3]). @@ -2220,9 +2266,9 @@ </return> <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="time_sec" type="real"> + <argument index="1" name="time_sec" type="float"> </argument> - <argument index="2" name="delta" type="real"> + <argument index="2" name="delta" type="float"> </argument> <description> Return all the key indices of a value track, given a position and delta time. @@ -2233,9 +2279,9 @@ </return> <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="time_sec" type="real"> + <argument index="1" name="time_sec" type="float"> </argument> - <argument index="2" name="delta" type="real"> + <argument index="2" name="delta" type="float"> </argument> <description> Return all the key indices of a method track, given a position and delta time. @@ -2264,14 +2310,14 @@ </description> </method> <method name="set_length" > - <argument index="0" name="time_sec" type="real"> + <argument index="0" name="time_sec" type="float"> </argument> <description> Set the total length of the animation (in seconds). Note that length is not delimited by the last key, as this one may be before or after the end to ensure correct interpolation and looping. </description> </method> <method name="get_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the total length of the animation (in seconds). @@ -2292,13 +2338,13 @@ </description> </method> <method name="set_step" > - <argument index="0" name="size_sec" type="real"> + <argument index="0" name="size_sec" type="float"> </argument> <description> </description> </method> <method name="get_step" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -2395,14 +2441,14 @@ </argument> <argument index="1" name="anim_to" type="String"> </argument> - <argument index="2" name="sec" type="real"> + <argument index="2" name="sec" type="float"> </argument> <description> Specify a blend time (in seconds) between two animations, referemced by their names. </description> </method> <method name="get_blend_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="anim_from" type="String"> </argument> @@ -2413,14 +2459,14 @@ </description> </method> <method name="set_default_blend_time" > - <argument index="0" name="sec" type="real"> + <argument index="0" name="sec" type="float"> </argument> <description> Set the default blend time between animations. </description> </method> <method name="get_default_blend_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the default blend time between animations. @@ -2429,9 +2475,9 @@ <method name="play" > <argument index="0" name="name" type="String" default=""""> </argument> - <argument index="1" name="custom_blend" type="real" default="-1"> + <argument index="1" name="custom_blend" type="float" default="-1"> </argument> - <argument index="2" name="custom_speed" type="real" default="1"> + <argument index="2" name="custom_speed" type="float" default="1"> </argument> <argument index="3" name="from_end" type="bool" default="false"> </argument> @@ -2501,14 +2547,14 @@ </description> </method> <method name="set_speed" > - <argument index="0" name="speed" type="real"> + <argument index="0" name="speed" type="float"> </argument> <description> Set a speed scaling ratio in a given animation channel (or channel 0 if none is provided). Default ratio is [i]1[/i] (no scaling). </description> </method> <method name="get_speed" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Get the speed scaling ratio in a given animation channel (or channel 0 if none is provided). Default ratio is [i]1[/i] (no scaling). @@ -2545,7 +2591,7 @@ </description> </method> <method name="seek" > - <argument index="0" name="pos_sec" type="real"> + <argument index="0" name="pos_sec" type="float"> </argument> <argument index="1" name="update" type="bool" default="false"> </argument> @@ -2557,7 +2603,7 @@ </description> </method> <method name="get_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the playback position (in seconds) in an animation channel (or channel 0 if none is provided) @@ -2592,7 +2638,7 @@ </description> </method> <method name="get_current_animation_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Get the position (in seconds) of the currently being @@ -2600,13 +2646,19 @@ </description> </method> <method name="get_current_animation_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Get the length (in seconds) of the currently being played animation. </description> </method> + <method name="advance" > + <argument index="0" name="delta" type="float"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="animation_changed"> @@ -2627,11 +2679,11 @@ </signals> <constants> <constant name="ANIMATION_PROCESS_FIXED" value="0"> - Process animation on fixed process. This is specially useful + Process animation on fixed process. This is specially useful when animating kinematic bodies. </constant> <constant name="ANIMATION_PROCESS_IDLE" value="1"> - Process animation on idle process. + Process animation on idle process. </constant> </constants> </class> @@ -2742,13 +2794,13 @@ <method name="oneshot_node_set_fadein_time" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="time_sec" type="real"> + <argument index="1" name="time_sec" type="float"> </argument> <description> </description> </method> <method name="oneshot_node_get_fadein_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="id" type="String"> </argument> @@ -2758,13 +2810,13 @@ <method name="oneshot_node_set_fadeout_time" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="time_sec" type="real"> + <argument index="1" name="time_sec" type="float"> </argument> <description> </description> </method> <method name="oneshot_node_get_fadeout_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="id" type="String"> </argument> @@ -2782,7 +2834,7 @@ <method name="oneshot_node_set_autorestart_delay" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="delay_sec" type="real"> + <argument index="1" name="delay_sec" type="float"> </argument> <description> </description> @@ -2790,7 +2842,7 @@ <method name="oneshot_node_set_autorestart_random_delay" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="rand_sec" type="real"> + <argument index="1" name="rand_sec" type="float"> </argument> <description> </description> @@ -2804,7 +2856,7 @@ </description> </method> <method name="oneshot_node_get_autorestart_delay" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="id" type="String"> </argument> @@ -2812,7 +2864,7 @@ </description> </method> <method name="oneshot_node_get_autorestart_random_delay" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="id" type="String"> </argument> @@ -2852,13 +2904,13 @@ <method name="mix_node_set_amount" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="ratio" type="real"> + <argument index="1" name="ratio" type="float"> </argument> <description> </description> </method> <method name="mix_node_get_amount" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="id" type="String"> </argument> @@ -2868,13 +2920,13 @@ <method name="blend2_node_set_amount" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="blend" type="real"> + <argument index="1" name="blend" type="float"> </argument> <description> </description> </method> <method name="blend2_node_get_amount" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="id" type="String"> </argument> @@ -2894,13 +2946,13 @@ <method name="blend3_node_set_amount" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="blend" type="real"> + <argument index="1" name="blend" type="float"> </argument> <description> </description> </method> <method name="blend3_node_get_amount" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="id" type="String"> </argument> @@ -2926,13 +2978,13 @@ <method name="timescale_node_set_scale" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="scale" type="real"> + <argument index="1" name="scale" type="float"> </argument> <description> </description> </method> <method name="timescale_node_get_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="id" type="String"> </argument> @@ -2942,7 +2994,7 @@ <method name="timeseek_node_seek" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="pos_sec" type="real"> + <argument index="1" name="pos_sec" type="float"> </argument> <description> </description> @@ -2994,13 +3046,13 @@ <method name="transition_node_set_xfade_time" > <argument index="0" name="id" type="String"> </argument> - <argument index="1" name="time_sec" type="real"> + <argument index="1" name="time_sec" type="float"> </argument> <description> </description> </method> <method name="transition_node_get_xfade_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="id" type="String"> </argument> @@ -3182,37 +3234,37 @@ </description> </method> <method name="set_gravity" > - <argument index="0" name="gravity" type="real"> + <argument index="0" name="gravity" type="float"> </argument> <description> </description> </method> <method name="get_gravity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_density" > - <argument index="0" name="density" type="real"> + <argument index="0" name="density" type="float"> </argument> <description> </description> </method> <method name="get_density" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_priority" > - <argument index="0" name="priority" type="real"> + <argument index="0" name="priority" type="float"> </argument> <description> </description> </method> <method name="get_priority" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -3319,37 +3371,37 @@ </description> </method> <method name="set_gravity" > - <argument index="0" name="gravity" type="real"> + <argument index="0" name="gravity" type="float"> </argument> <description> </description> </method> <method name="get_gravity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_density" > - <argument index="0" name="density" type="real"> + <argument index="0" name="density" type="float"> </argument> <description> </description> </method> <method name="get_density" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_priority" > - <argument index="0" name="priority" type="real"> + <argument index="0" name="priority" type="float"> </argument> <description> </description> </method> <method name="get_priority" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -3793,7 +3845,7 @@ <method name="voice_set_volume" > <argument index="0" name="voice" type="RID"> </argument> - <argument index="1" name="volume" type="real"> + <argument index="1" name="volume" type="float"> </argument> <description> Change the volume of a currently playing voice."#10;"#9;"#9;"#9;Volume is expressed as linear gain where 0.0 is mute"#10;"#9;"#9;"#9;and 1.0 is default. @@ -3802,11 +3854,11 @@ <method name="voice_set_pan" > <argument index="0" name="voice" type="RID"> </argument> - <argument index="1" name="pan" type="real"> + <argument index="1" name="pan" type="float"> </argument> - <argument index="2" name="depth" type="real" default="0"> + <argument index="2" name="depth" type="float" default="0"> </argument> - <argument index="3" name="height" type="real" default="0"> + <argument index="3" name="height" type="float" default="0"> </argument> <description> Change the pan of a currently playing voice and,"#10;"#9;"#9;"#9;optionally, the depth and height for a positional/3D"#10;"#9;"#9;"#9;sound. Panning values are expressed within the -1 to"#10;"#9;"#9;"#9;+1 range. @@ -3817,11 +3869,11 @@ </argument> <argument index="1" name="type" type="int"> </argument> - <argument index="2" name="cutoff" type="real"> + <argument index="2" name="cutoff" type="float"> </argument> - <argument index="3" name="resonance" type="real"> + <argument index="3" name="resonance" type="float"> </argument> - <argument index="4" name="gain" type="real" default="0"> + <argument index="4" name="gain" type="float" default="0"> </argument> <description> Set a resonant filter post processing for the voice."#10;"#9;"#9;"#9;Filter type is a value from the FILTER_* enum. @@ -3830,7 +3882,7 @@ <method name="voice_set_chorus" > <argument index="0" name="voice" type="RID"> </argument> - <argument index="1" name="chorus" type="real"> + <argument index="1" name="chorus" type="float"> </argument> <description> Set chorus send post processing for the voice (from"#10;"#9;"#9;"#9;0 to 1). @@ -3841,7 +3893,7 @@ </argument> <argument index="1" name="room" type="int"> </argument> - <argument index="2" name="reverb" type="real"> + <argument index="2" name="reverb" type="float"> </argument> <description> Set the reverb send post processing for the voice (from"#10;"#9;"#9;"#9;0 to 1) and the reverb type, from the REVERB_* enum. @@ -3866,7 +3918,7 @@ </description> </method> <method name="voice_get_volume" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> @@ -3875,7 +3927,7 @@ </description> </method> <method name="voice_get_pan" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> @@ -3884,7 +3936,7 @@ </description> </method> <method name="voice_get_pan_height" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> @@ -3893,7 +3945,7 @@ </description> </method> <method name="voice_get_pan_depth" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> @@ -3911,7 +3963,7 @@ </description> </method> <method name="voice_get_filter_cutoff" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> @@ -3920,7 +3972,7 @@ </description> </method> <method name="voice_get_filter_resonance" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> @@ -3929,7 +3981,7 @@ </description> </method> <method name="voice_get_chorus" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> @@ -3947,7 +3999,7 @@ </description> </method> <method name="voice_get_reverb" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> @@ -3988,39 +4040,39 @@ </description> </method> <method name="set_stream_global_volume_scale" > - <argument index="0" name="scale" type="real"> + <argument index="0" name="scale" type="float"> </argument> <description> Set global scale for stream playback. Default is 1.0. </description> </method> <method name="get_stream_global_volume_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the global scale for stream playback. </description> </method> <method name="set_fx_global_volume_scale" > - <argument index="0" name="scale" type="real"> + <argument index="0" name="scale" type="float"> </argument> <description> </description> </method> <method name="get_fx_global_volume_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_event_voice_global_volume_scale" > - <argument index="0" name="scale" type="real"> + <argument index="0" name="scale" type="float"> </argument> <description> </description> </method> <method name="get_event_voice_global_volume_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -4141,21 +4193,21 @@ </description> </method> <method name="seek_pos" > - <argument index="0" name="pos" type="real"> + <argument index="0" name="pos" type="float"> </argument> <description> Seek to a certain position (in seconds) in an audio"#10;"#9;"#9;"#9;stream. </description> </method> <method name="get_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the current playing position (in seconds) of the audio"#10;"#9;"#9;"#9;stream (if supported). Since this value is updated"#10;"#9;"#9;"#9;internally, it may not be exact or updated"#10;"#9;"#9;"#9;continuosly. Accuracy depends on the sample buffer"#10;"#9;"#9;"#9;size of the audio driver. </description> </method> <method name="get_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -4208,42 +4260,42 @@ </description> </method> <method name="set_pitch_scale" > - <argument index="0" name="pitch_scale" type="real"> + <argument index="0" name="pitch_scale" type="float"> </argument> <description> Set pitch scale for the speech. Animating this value holds amusing results. </description> </method> <method name="get_pitch_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the pitch scale. </description> </method> <method name="set_pitch_random_scale" > - <argument index="0" name="pitch_random_scale" type="real"> + <argument index="0" name="pitch_random_scale" type="float"> </argument> <description> Set the random scaling for the pitch. </description> </method> <method name="get_pitch_random_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the pitch random scaling. </description> </method> <method name="set_xfade_time" > - <argument index="0" name="sec" type="real"> + <argument index="0" name="sec" type="float"> </argument> <description> Set the cross-fade time between random phonemes. </description> </method> <method name="get_xfade_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the cross-fade time between random phonemes. @@ -4329,6 +4381,374 @@ <constants> </constants> </class> +<class name="BakedLight" inherits="Resource" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_mode" > + <argument index="0" name="mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_mode" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_octree" > + <argument index="0" name="octree" type="RawArray"> + </argument> + <description> + </description> + </method> + <method name="get_octree" qualifiers="const" > + <return type="RawArray"> + </return> + <description> + </description> + </method> + <method name="set_light" > + <argument index="0" name="light" type="RawArray"> + </argument> + <description> + </description> + </method> + <method name="get_light" qualifiers="const" > + <return type="RawArray"> + </return> + <description> + </description> + </method> + <method name="set_sampler_octree" > + <argument index="0" name="sampler_octree" type="IntArray"> + </argument> + <description> + </description> + </method> + <method name="get_sampler_octree" qualifiers="const" > + <return type="IntArray"> + </return> + <description> + </description> + </method> + <method name="add_lightmap" > + <argument index="0" name="texture" type="Texture"> + </argument> + <argument index="1" name="gen_size" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="erase_lightmap" > + <argument index="0" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="clear_lightmaps" > + <description> + </description> + </method> + <method name="set_cell_subdivision" > + <argument index="0" name="cell_subdivision" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_cell_subdivision" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_initial_lattice_subdiv" > + <argument index="0" name="cell_subdivision" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_initial_lattice_subdiv" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_plot_size" > + <argument index="0" name="plot_size" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_plot_size" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_bounces" > + <argument index="0" name="bounces" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_bounces" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_cell_extra_margin" > + <argument index="0" name="cell_extra_margin" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_cell_extra_margin" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_edge_damp" > + <argument index="0" name="edge_damp" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_edge_damp" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_normal_damp" > + <argument index="0" name="normal_damp" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_normal_damp" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_tint" > + <argument index="0" name="tint" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_tint" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_saturation" > + <argument index="0" name="saturation" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_saturation" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_ao_radius" > + <argument index="0" name="ao_radius" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_ao_radius" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_ao_strength" > + <argument index="0" name="ao_strength" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_ao_strength" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_format" > + <argument index="0" name="format" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_format" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_transfer_lightmaps_only_to_uv2" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_transfer_lightmaps_only_to_uv2" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_energy_multiplier" > + <argument index="0" name="energy_multiplier" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_energy_multiplier" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_gamma_adjust" > + <argument index="0" name="gamma_adjust" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_gamma_adjust" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_bake_flag" > + <argument index="0" name="flag" type="int"> + </argument> + <argument index="1" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_bake_flag" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="flag" type="int"> + </argument> + <description> + </description> + </method> + </methods> + <constants> + <constant name="MODE_OCTREE" value="0"> + </constant> + <constant name="MODE_LIGHTMAPS" value="1"> + </constant> + <constant name="BAKE_DIFFUSE" value="0"> + </constant> + <constant name="BAKE_SPECULAR" value="1"> + </constant> + <constant name="BAKE_TRANSLUCENT" value="2"> + </constant> + <constant name="BAKE_CONSERVE_ENERGY" value="3"> + </constant> + <constant name="BAKE_MAX" value="5"> + </constant> + </constants> +</class> +<class name="BakedLightInstance" inherits="VisualInstance" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_baked_light" > + <argument index="0" name="baked_light" type="Object"> + </argument> + <description> + </description> + </method> + <method name="get_baked_light" qualifiers="const" > + <return type="Object"> + </return> + <description> + </description> + </method> + <method name="get_baked_light_instance" qualifiers="const" > + <return type="RID"> + </return> + <description> + </description> + </method> + </methods> + <signals> + <signal name="baked_light_changed"> + <description> + </description> + </signal> + </signals> + <constants> + </constants> +</class> +<class name="BakedLightSampler" inherits="VisualInstance" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_param" > + <argument index="0" name="param" type="int"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_param" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_resolution" > + <argument index="0" name="resolution" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_resolution" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + </methods> + <constants> + <constant name="PARAM_RADIUS" value="0"> + </constant> + <constant name="PARAM_STRENGTH" value="1"> + </constant> + <constant name="PARAM_ATTENUATION" value="2"> + </constant> + <constant name="PARAM_DETAIL_RATIO" value="3"> + </constant> + <constant name="PARAM_MAX" value="4"> + </constant> + </constants> +</class> <class name="BaseButton" inherits="Control" category="Core"> <brief_description> Provides a base class for different kinds of buttons. @@ -4351,6 +4771,12 @@ Return when the button is pressed (only if toggle_mode is active). </description> </method> + <method name="is_hovered" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> <method name="set_toggle_mode" > <argument index="0" name="enabled" type="bool"> </argument> @@ -4393,6 +4819,13 @@ Return the state of the click_on_press property (see [method set_click_on_press]). </description> </method> + <method name="get_draw_mode" qualifiers="const" > + <return type="int"> + </return> + <description> + Return the visual state used to draw the button. This is useful mainly when implementing your own draw code by either overiding _draw() or connecting to "draw" signal. The visual state of the button is defined by the DRAW_* enum. + </description> + </method> </methods> <signals> <signal name="toggled"> @@ -4409,6 +4842,14 @@ </signal> </signals> <constants> + <constant name="DRAW_NORMAL" value="0"> + </constant> + <constant name="DRAW_PRESSED" value="1"> + </constant> + <constant name="DRAW_HOVER" value="2"> + </constant> + <constant name="DRAW_DISABLED" value="3"> + </constant> </constants> </class> <class name="BitMap" inherits="Resource" category="Core"> @@ -4594,6 +5035,30 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="font_color_disabled" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_color_hover" type="Color"> + </theme_item> + <theme_item name="font_color_pressed" type="Color"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="hover" type="StyleBox"> + </theme_item> + <theme_item name="pressed" type="StyleBox"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + <theme_item name="disabled" type="StyleBox"> + </theme_item> + <theme_item name="normal" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="ButtonArray" inherits="Control" category="Core"> <brief_description> @@ -4820,22 +5285,22 @@ </description> </method> <method name="set_perspective" > - <argument index="0" name="fov" type="real"> + <argument index="0" name="fov" type="float"> </argument> - <argument index="1" name="z_near" type="real"> + <argument index="1" name="z_near" type="float"> </argument> - <argument index="2" name="z_far" type="real"> + <argument index="2" name="z_far" type="float"> </argument> <description> Set the camera projection to perspective mode, by specifying a [i]FOV[/i] Y angle in degrees (FOV means Field of View), and the [i]near[/i] and [i]far[/i] clip planes in worldspace units. </description> </method> <method name="set_orthogonal" > - <argument index="0" name="size" type="real"> + <argument index="0" name="size" type="float"> </argument> - <argument index="1" name="z_near" type="real"> + <argument index="1" name="z_near" type="float"> </argument> - <argument index="2" name="z_far" type="real"> + <argument index="2" name="z_far" type="float"> </argument> <description> Set the camera projection to orthogonal mode, by specifying a"#10;"#9;"#9;"#9;width and the [i]near[/i] and [i]far[/i] clip planes in worldspace units. (As a hint, 2D games often use this projection, with values specified in pixels) @@ -4865,25 +5330,25 @@ </description> </method> <method name="get_fov" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_size" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_zfar" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_znear" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -4936,14 +5401,14 @@ <description> </description> </method> - <method name="set_use_vertical_aspect" > - <argument index="0" name="enable" type="bool"> + <method name="set_keep_aspect_mode" > + <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="is_using_vertical_aspect" qualifiers="const" > - <return type="bool"> + <method name="get_keep_aspect_mode" qualifiers="const" > + <return type="int"> </return> <description> </description> @@ -4956,6 +5421,10 @@ <constant name="PROJECTION_ORTHOGONAL" value="1"> Orthogonal Projection (objects remain the same size on the screen no matter how far away they are). </constant> + <constant name="KEEP_WIDTH" value="0"> + </constant> + <constant name="KEEP_HEIGHT" value="1"> + </constant> </constants> </class> <class name="Camera2D" inherits="Node2D" category="Core"> @@ -5067,25 +5536,25 @@ </description> </method> <method name="set_v_offset" > - <argument index="0" name="ofs" type="real"> + <argument index="0" name="ofs" type="float"> </argument> <description> </description> </method> <method name="get_v_offset" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_h_offset" > - <argument index="0" name="ofs" type="real"> + <argument index="0" name="ofs" type="float"> </argument> <description> </description> </method> <method name="get_h_offset" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -5093,14 +5562,14 @@ <method name="set_drag_margin" > <argument index="0" name="margin" type="int"> </argument> - <argument index="1" name="drag_margin" type="real"> + <argument index="1" name="drag_margin" type="float"> </argument> <description> Set the margins needed to drag the camera (relative to the screen size). Margin uses the MARGIN_* enum. Drag margins of 0,0,0,0 will keep the camera at the center of the screen, while drag margins of 1,1,1,1 will only move when the camera is at the edges. </description> </method> <method name="get_drag_margin" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="margin" type="int"> </argument> @@ -5134,13 +5603,13 @@ </description> </method> <method name="set_follow_smoothing" > - <argument index="0" name="follow_smoothing" type="real"> + <argument index="0" name="follow_smoothing" type="float"> </argument> <description> </description> </method> <method name="get_follow_smoothing" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -5189,7 +5658,7 @@ </description> </method> <method name="edit_rotate" > - <argument index="0" name="degrees" type="real"> + <argument index="0" name="degrees" type="float"> </argument> <description> Used for editing, handle rotation. @@ -5267,27 +5736,27 @@ </description> </method> <method name="set_opacity" > - <argument index="0" name="opacity" type="real"> + <argument index="0" name="opacity" type="float"> </argument> <description> Set canvas item opacity. This will affect the canvas item and all the children. </description> </method> <method name="get_opacity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the canvas item opacity. This affects the canvas item and all the children. </description> </method> <method name="set_self_opacity" > - <argument index="0" name="self_opacity" type="real"> + <argument index="0" name="self_opacity" type="float"> </argument> <description> </description> </method> <method name="get_self_opacity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Set canvas item self-opacity. This does not affect the opacity of children items. @@ -5312,7 +5781,7 @@ </argument> <argument index="2" name="color" type="Color"> </argument> - <argument index="3" name="width" type="real" default="1"> + <argument index="3" name="width" type="float" default="1"> </argument> <description> Draw a line from a 2D point to another, with a given color and width. @@ -5330,7 +5799,7 @@ <method name="draw_circle" > <argument index="0" name="pos" type="Vector2"> </argument> - <argument index="1" name="radius" type="real"> + <argument index="1" name="radius" type="float"> </argument> <argument index="2" name="color" type="Color"> </argument> @@ -5391,7 +5860,7 @@ </argument> <argument index="3" name="texture" type="Texture" default="Object()"> </argument> - <argument index="4" name="width" type="real" default="1"> + <argument index="4" name="width" type="float" default="1"> </argument> <description> Draw a custom primitive, 1 point for a point, 2 points for a line, 3 points for a triangle and 4 points for a quad. @@ -5402,11 +5871,9 @@ </argument> <argument index="1" name="colors" type="ColorArray"> </argument> - <argument index="2" name="uvs" type="Vector2Array"> - </argument> - <argument index="3" name="texture" type="Texture" default="Array()"> + <argument index="2" name="uvs" type="Vector2Array" default="Array()"> </argument> - <argument index="4" name="arg4" type="real" default="Object()"> + <argument index="3" name="texture" type="Texture" default="Object()"> </argument> <description> Draw a polygon of any amount of points, convex or concave. @@ -5415,13 +5882,11 @@ <method name="draw_colored_polygon" > <argument index="0" name="points" type="Vector2Array"> </argument> - <argument index="1" name="color" type="ColorArray"> - </argument> - <argument index="2" name="uvs" type="Vector2Array"> + <argument index="1" name="color" type="Color"> </argument> - <argument index="3" name="texture" type="Texture" default="Array()"> + <argument index="2" name="uvs" type="Vector2Array" default="Array()"> </argument> - <argument index="4" name="arg4" type="real" default="Object()"> + <argument index="3" name="texture" type="Texture" default="Object()"> </argument> <description> Draw a colored polygon of any amount of points, convex or concave. @@ -5443,7 +5908,7 @@ </description> </method> <method name="draw_char" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="font" type="Font"> </argument> @@ -5462,7 +5927,7 @@ <method name="draw_set_transform" > <argument index="0" name="pos" type="Vector2"> </argument> - <argument index="1" name="rot" type="real"> + <argument index="1" name="rot" type="float"> </argument> <argument index="2" name="scale" type="Vector2"> </argument> @@ -5506,12 +5971,6 @@ <description> </description> </method> - <method name="get_viewport" qualifiers="const" > - <return type="Object"> - </return> - <description> - </description> - </method> </methods> <signals> <signal name="item_rect_changed"> @@ -5548,6 +6007,8 @@ <constant name="BLEND_MODE_MUL" value="3"> Multiplicative blending mode. </constant> + <constant name="BLEND_MODE_PREMULT_ALPHA" value="4"> + </constant> <constant name="NOTIFICATION_DRAW" value="30"> CanvasItem is requested to draw. </constant> @@ -5616,14 +6077,14 @@ </description> </method> <method name="set_rotation" > - <argument index="0" name="rotation" type="real"> + <argument index="0" name="rotation" type="float"> </argument> <description> Set the base rotation for this layer (helper). </description> </method> <method name="get_rotation" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the base rotation for this layer (helper). @@ -5670,28 +6131,28 @@ </description> <methods> <method name="set_radius" > - <argument index="0" name="radius" type="real"> + <argument index="0" name="radius" type="float"> </argument> <description> Set the capsule radius. </description> </method> <method name="get_radius" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the capsule radius. </description> </method> <method name="set_height" > - <argument index="0" name="height" type="real"> + <argument index="0" name="height" type="float"> </argument> <description> Set the capsule height. </description> </method> <method name="get_height" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the capsule height. @@ -5710,28 +6171,28 @@ </description> <methods> <method name="set_radius" > - <argument index="0" name="radius" type="real"> + <argument index="0" name="radius" type="float"> </argument> <description> Radius of the [CapsuleShape2D]. </description> </method> <method name="get_radius" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the radius of the [CapsuleShape2D]. </description> </method> <method name="set_height" > - <argument index="0" name="height" type="real"> + <argument index="0" name="height" type="float"> </argument> <description> Height of the [CapsuleShape2D]. </description> </method> <method name="get_height" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the height of the [CapsuleShape2D]. @@ -5741,221 +6202,21 @@ <constants> </constants> </class> -<class name="CarBody" inherits="PhysicsBody" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_max_steer_angle" > - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_steer_rate" > - <argument index="0" name="rate" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_drive_torque" > - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_max_steer_angle" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_steer_rate" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_drive_torque" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_target_steering" > - <argument index="0" name="amount" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_target_accelerate" > - <argument index="0" name="amount" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_hand_brake" > - <argument index="0" name="amount" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_target_steering" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_target_accelerate" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_hand_brake" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_mass" > - <argument index="0" name="mass" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_mass" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_friction" > - <argument index="0" name="friction" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_friction" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="CarWheel" inherits="Spatial" category="Core"> +<class name="CenterContainer" inherits="Container" category="Core"> <brief_description> + Keeps children controls centered. </brief_description> <description> + CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center. </description> <methods> - <method name="set_side_friction" > - <argument index="0" name="friction" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_forward_friction" > - <argument index="0" name="friction" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_travel" > - <argument index="0" name="distance" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_radius" > - <argument index="0" name="radius" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_resting_frac" > - <argument index="0" name="frac" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_damping_frac" > - <argument index="0" name="frac" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_num_rays" > - <argument index="0" name="amount" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_side_friction" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_forward_friction" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_travel" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_radius" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_resting_frac" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_damping_frac" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_num_rays" qualifiers="const" > - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_type_drive" > - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_type_drive" qualifiers="const" > - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_type_steer" > + <method name="set_use_top_left" > <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_type_steer" qualifiers="const" > + <method name="is_using_top_left" qualifiers="const" > <return type="bool"> </return> <description> @@ -5965,18 +6226,6 @@ <constants> </constants> </class> -<class name="CenterContainer" inherits="Container" category="Core"> - <brief_description> - Keeps children controls centered. - </brief_description> - <description> - CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center. - </description> - <methods> - </methods> - <constants> - </constants> -</class> <class name="CheckButton" inherits="Button" category="Core"> <brief_description> Checkable button. @@ -5988,6 +6237,36 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="check_vadjust" type="int"> + </theme_item> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="font_color_disabled" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_color_hover" type="Color"> + </theme_item> + <theme_item name="font_color_pressed" type="Color"> + </theme_item> + <theme_item name="off" type="Texture"> + </theme_item> + <theme_item name="on" type="Texture"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="hover" type="StyleBox"> + </theme_item> + <theme_item name="pressed" type="StyleBox"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + <theme_item name="disabled" type="StyleBox"> + </theme_item> + <theme_item name="normal" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="CircleShape2D" inherits="Shape2D" category="Core"> <brief_description> @@ -5998,14 +6277,14 @@ </description> <methods> <method name="set_radius" > - <argument index="0" name="radius" type="real"> + <argument index="0" name="radius" type="float"> </argument> <description> Set the radius of the circle shape; </description> </method> <method name="get_radius" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the radius of the circle shape. @@ -6021,6 +6300,20 @@ <description> </description> <methods> + <method name="_input_event" qualifiers="virtual" > + <argument index="0" name="camera" type="Object"> + </argument> + <argument index="1" name="event" type="InputEvent"> + </argument> + <argument index="2" name="click_pos" type="Vector3"> + </argument> + <argument index="3" name="click_normal" type="Vector3"> + </argument> + <argument index="4" name="shape_idx" type="int"> + </argument> + <description> + </description> + </method> <method name="add_shape" > <argument index="0" name="shape" type="Shape"> </argument> @@ -6093,6 +6386,30 @@ <description> </description> </method> + <method name="set_ray_pickable" > + <argument index="0" name="ray_pickable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_ray_pickable" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_capture_input_on_drag" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_capture_input_on_drag" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> <method name="get_rid" qualifiers="const" > <return type="RID"> </return> @@ -6100,6 +6417,30 @@ </description> </method> </methods> + <signals> + <signal name="mouse_enter"> + <description> + </description> + </signal> + <signal name="input_event"> + <argument index="0" name="camera" type="Object"> + </argument> + <argument index="1" name="event" type="InputEvent"> + </argument> + <argument index="2" name="click_pos" type="Vector3"> + </argument> + <argument index="3" name="click_normal" type="Vector3"> + </argument> + <argument index="4" name="shape_idx" type="int"> + </argument> + <description> + </description> + </signal> + <signal name="mouse_exit"> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> @@ -6201,6 +6542,52 @@ <constants> </constants> </class> +<class name="CollisionPolygon" inherits="Spatial" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_polygon" > + <argument index="0" name="polygon" type="Vector2Array"> + </argument> + <description> + </description> + </method> + <method name="get_polygon" qualifiers="const" > + <return type="Vector2Array"> + </return> + <description> + </description> + </method> + <method name="set_depth" > + <argument index="0" name="depth" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_depth" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_build_mode" > + <argument index="0" name="arg0" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_build_mode" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="CollisionPolygon2D" inherits="Node2D" category="Core"> <brief_description> Editor-Only class. @@ -6259,7 +6646,7 @@ </description> </method> <method name="gray" > - <return type="real"> + <return type="float"> </return> <description> Convert the color to gray. @@ -6277,7 +6664,7 @@ </return> <argument index="0" name="b" type="Color"> </argument> - <argument index="1" name="t" type="real"> + <argument index="1" name="t" type="float"> </argument> <description> Return the linear interpolation with another color. @@ -6307,24 +6694,38 @@ </description> </method> <method name="Color" > - <argument index="0" name="r" type="real"> + <argument index="0" name="r" type="float"> </argument> - <argument index="1" name="g" type="real"> + <argument index="1" name="g" type="float"> </argument> - <argument index="2" name="b" type="real"> + <argument index="2" name="b" type="float"> </argument> - <argument index="3" name="a" type="real"> + <argument index="3" name="a" type="float"> </argument> <description> Construct the color from an RGBA profile. </description> </method> <method name="Color" > - <argument index="0" name="r" type="real"> + <argument index="0" name="r" type="float"> + </argument> + <argument index="1" name="g" type="float"> </argument> - <argument index="1" name="g" type="real"> + <argument index="2" name="b" type="float"> </argument> - <argument index="2" name="b" type="real"> + <description> + Construct the color from an RGBA profile. + </description> + </method> + <method name="Color" > + <argument index="0" name="from" type="int"> + </argument> + <description> + Construct the color from an RGBA profile. + </description> + </method> + <method name="Color" > + <argument index="0" name="from" type="String"> </argument> <description> Construct the color from an RGBA profile. @@ -6332,19 +6733,19 @@ </method> </methods> <members> - <member name="r" type="real"> + <member name="r" type="float"> </member> - <member name="g" type="real"> + <member name="g" type="float"> </member> - <member name="b" type="real"> + <member name="b" type="float"> </member> - <member name="a" type="real"> + <member name="a" type="float"> </member> - <member name="h" type="real"> + <member name="h" type="float"> </member> - <member name="s" type="real"> + <member name="s" type="float"> </member> - <member name="v" type="real"> + <member name="v" type="float"> </member> </members> <constants> @@ -6466,6 +6867,18 @@ </signals> <constants> </constants> + <theme_items> + <theme_item name="value_width" type="int"> + </theme_item> + <theme_item name="value_height" type="int"> + </theme_item> + <theme_item name="color_width" type="int"> + </theme_item> + <theme_item name="label_width" type="int"> + </theme_item> + <theme_item name="hseparator" type="int"> + </theme_item> + </theme_items> </class> <class name="ColorPickerButton" inherits="Button" category="Core"> <brief_description> @@ -6508,6 +6921,30 @@ </signals> <constants> </constants> + <theme_items> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="font_color_disabled" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_color_hover" type="Color"> + </theme_item> + <theme_item name="font_color_pressed" type="Color"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="hover" type="StyleBox"> + </theme_item> + <theme_item name="pressed" type="StyleBox"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + <theme_item name="disabled" type="StyleBox"> + </theme_item> + <theme_item name="normal" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="ConcavePolygonShape" inherits="Shape" category="Core"> <brief_description> @@ -6561,6 +6998,44 @@ <constants> </constants> </class> +<class name="ConeTwistJoint" inherits="Joint" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_param" > + <argument index="0" name="param" type="int"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_param" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="param" type="int"> + </argument> + <description> + </description> + </method> + </methods> + <constants> + <constant name="PARAM_SWING_SPAN" value="0"> + </constant> + <constant name="PARAM_TWIST_SPAN" value="1"> + </constant> + <constant name="PARAM_BIAS" value="2"> + </constant> + <constant name="PARAM_SOFTNESS" value="3"> + </constant> + <constant name="PARAM_RELAXATION" value="4"> + </constant> + <constant name="PARAM_MAX" value="5"> + </constant> + </constants> +</class> <class name="ConfigFile" inherits="Reference" category="Core"> <brief_description> </brief_description> @@ -6800,7 +7275,7 @@ <method name="set_margin" > <argument index="0" name="margin" type="int"> </argument> - <argument index="1" name="offset" type="real"> + <argument index="1" name="offset" type="float"> </argument> <description> Set a margin offset. Margin can be one of (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Offset value being set depends on the anchor mode. @@ -6811,7 +7286,7 @@ </argument> <argument index="1" name="anchor_mode" type="int"> </argument> - <argument index="2" name="offset" type="real"> + <argument index="2" name="offset" type="float"> </argument> <description> Change the anchor (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) type for a margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM), and also set its offset. This is a helper (see [method set_anchor] and [method set_margin]). @@ -6859,7 +7334,7 @@ </description> </method> <method name="get_margin" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="margin" type="int"> </argument> @@ -6987,14 +7462,14 @@ </description> </method> <method name="set_stretch_ratio" > - <argument index="0" name="ratio" type="real"> + <argument index="0" name="ratio" type="float"> </argument> <description> Hint for containers, set the stretch ratio. This value is relative to other stretch ratio, so if this control has 2 and another has 1, this one will be twice as big. </description> </method> <method name="get_stretch_ratio" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Hint for containers, return the stretch ratio. This value is relative to other stretch ratio, so if this control has 2 and another has 1, this one will be twice as big. @@ -7282,6 +7757,8 @@ <constant name="ANCHOR_RATIO" value="2"> X and Y are a ratio (0 to 1) relative to the parent size 0 is left/top, 1 is right/bottom. </constant> + <constant name="ANCHOR_CENTER" value="3"> + </constant> <constant name="FOCUS_NONE" value="0"> Control can't acquire focus. </constant> @@ -7476,13 +7953,13 @@ </description> </method> <method name="set_lossy_storage_quality" > - <argument index="0" name="quality" type="real"> + <argument index="0" name="quality" type="float"> </argument> <description> </description> </method> <method name="get_lossy_storage_quality" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -7536,6 +8013,8 @@ </argument> <argument index="2" name="out" type="Vector2" default="Vector2(0,0)"> </argument> + <argument index="3" name="atpos" type="int" default="-1"> + </argument> <description> </description> </method> @@ -7598,50 +8077,48 @@ </return> <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="t" type="real"> + <argument index="1" name="t" type="float"> </argument> <description> </description> </method> - <method name="bake" qualifiers="const" > - <return type="Vector2Array"> + <method name="interpolatef" qualifiers="const" > + <return type="Vector2"> </return> - <argument index="0" name="subdivs" type="int" default="10"> + <argument index="0" name="fofs" type="float"> </argument> <description> </description> </method> - <method name="set_points_in" > - <argument index="0" name="arg0" type="Vector2Array"> - </argument> - <description> - </description> - </method> - <method name="set_points_out" > - <argument index="0" name="arg0" type="Vector2Array"> + <method name="set_bake_interval" > + <argument index="0" name="distance" type="float"> </argument> <description> </description> </method> - <method name="set_points_pos" > - <argument index="0" name="arg0" type="Vector2Array"> - </argument> + <method name="get_bake_interval" qualifiers="const" > + <return type="float"> + </return> <description> </description> </method> - <method name="get_points_in" qualifiers="const" > - <return type="Vector2Array"> + <method name="get_baked_length" qualifiers="const" > + <return type="float"> </return> <description> </description> </method> - <method name="get_points_out" qualifiers="const" > - <return type="Vector2Array"> + <method name="interpolate_baked" qualifiers="const" > + <return type="Vector2"> </return> + <argument index="0" name="offset" type="float"> + </argument> + <argument index="1" name="cubic" type="bool" default="false"> + </argument> <description> </description> </method> - <method name="get_points_pos" qualifiers="const" > + <method name="get_baked_points" qualifiers="const" > <return type="Vector2Array"> </return> <description> @@ -7694,13 +8171,13 @@ <method name="set_point_tilt" > <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="tilt" type="real"> + <argument index="1" name="tilt" type="float"> </argument> <description> </description> </method> <method name="get_point_tilt" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="idx" type="int"> </argument> @@ -7750,7 +8227,7 @@ </return> <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="t" type="real"> + <argument index="1" name="t" type="float"> </argument> <description> </description> @@ -7758,25 +8235,25 @@ <method name="interpolatef" qualifiers="const" > <return type="Vector3"> </return> - <argument index="0" name="fofs" type="real"> + <argument index="0" name="fofs" type="float"> </argument> <description> </description> </method> <method name="set_bake_interval" > - <argument index="0" name="distance" type="real"> + <argument index="0" name="distance" type="float"> </argument> <description> </description> </method> <method name="get_bake_interval" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_baked_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -7784,7 +8261,7 @@ <method name="interpolate_baked" qualifiers="const" > <return type="Vector3"> </return> - <argument index="0" name="offset" type="real"> + <argument index="0" name="offset" type="float"> </argument> <argument index="1" name="cubic" type="bool" default="false"> </argument> @@ -7816,56 +8293,56 @@ </description> <methods> <method name="set_length" > - <argument index="0" name="length" type="real"> + <argument index="0" name="length" type="float"> </argument> <description> Set the maximum length of the sprint joint. </description> </method> <method name="get_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the maximum length of the sprint joint. </description> </method> <method name="set_rest_length" > - <argument index="0" name="rest_length" type="real"> + <argument index="0" name="rest_length" type="float"> </argument> <description> Set the resting length of the sprint joint. The joint will always try to go to back this length when pulled apart. </description> </method> <method name="get_rest_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the resting length of the sprint joint. The joint will always try to go to back this length when pulled apart. </description> </method> <method name="set_stiffness" > - <argument index="0" name="stiffness" type="real"> + <argument index="0" name="stiffness" type="float"> </argument> <description> Set the stiffness of the spring joint. </description> </method> <method name="get_stiffness" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the stiffness of the spring joint. </description> </method> <method name="set_damping" > - <argument index="0" name="damping" type="real"> + <argument index="0" name="damping" type="float"> </argument> <description> Set the damping of the spring joint. </description> </method> <method name="get_damping" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the damping of the spring joint. @@ -7973,13 +8450,13 @@ <method name="set_shadow_param" > <argument index="0" name="param" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> </description> </method> <method name="get_shadow_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="param" type="int"> </argument> @@ -7992,7 +8469,9 @@ </constant> <constant name="SHADOW_PERSPECTIVE" value="1"> </constant> - <constant name="SHADOW_PARALLEL_SPLIT" value="2"> + <constant name="SHADOW_PARALLEL_2_SPLITS" value="2"> + </constant> + <constant name="SHADOW_PARALLEL_4_SPLITS" value="3"> </constant> <constant name="SHADOW_PARAM_MAX_DISTANCE" value="0"> </constant> @@ -8090,6 +8569,14 @@ <description> </description> </method> + <method name="dir_exists" > + <return type="bool"> + </return> + <argument index="0" name="name" type="String"> + </argument> + <description> + </description> + </method> <method name="get_space_left" > <return type="int"> </return> @@ -8128,38 +8615,6 @@ <constants> </constants> </class> -<class name="EditableShape" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="EditableSphere" inherits="EditableShape" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_radius" > - <argument index="0" name="radius" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_radius" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> <class name="EditorImportPlugin" inherits="Reference" category="Core"> <brief_description> </brief_description> @@ -8488,67 +8943,97 @@ </constant> <constant name="BG_PARAM_ENERGY" value="3"> </constant> - <constant name="BG_PARAM_MAX" value="5"> + <constant name="BG_PARAM_GLOW" value="5"> </constant> - <constant name="FX_GLOW" value="0"> + <constant name="BG_PARAM_MAX" value="6"> </constant> - <constant name="FX_DOF_BLUR" value="1"> + <constant name="FX_AMBIENT_LIGHT" value="0"> </constant> - <constant name="FX_HDR" value="2"> + <constant name="FX_FXAA" value="1"> </constant> - <constant name="FX_FOG" value="3"> + <constant name="FX_GLOW" value="2"> </constant> - <constant name="FX_BCS" value="4"> + <constant name="FX_DOF_BLUR" value="3"> </constant> - <constant name="FX_GAMMA" value="5"> + <constant name="FX_HDR" value="4"> </constant> - <constant name="FX_MAX" value="6"> + <constant name="FX_FOG" value="5"> </constant> - <constant name="FX_PARAM_GLOW_BLUR_PASSES" value="0"> + <constant name="FX_BCS" value="6"> </constant> - <constant name="FX_PARAM_GLOW_BLOOM" value="1"> + <constant name="FX_SRGB" value="7"> </constant> - <constant name="FX_PARAM_GLOW_BLOOM_TRESHOLD" value="2"> + <constant name="FX_MAX" value="8"> </constant> - <constant name="FX_PARAM_DOF_BLUR_PASSES" value="3"> + <constant name="FX_BLUR_BLEND_MODE_ADDITIVE" value="0"> </constant> - <constant name="FX_PARAM_DOF_BLUR_BEGIN" value="4"> + <constant name="FX_BLUR_BLEND_MODE_SCREEN" value="1"> </constant> - <constant name="FX_PARAM_DOF_BLUR_RANGE" value="5"> + <constant name="FX_BLUR_BLEND_MODE_SOFTLIGHT" value="2"> </constant> - <constant name="FX_PARAM_HDR_EXPOSURE" value="6"> + <constant name="FX_HDR_TONE_MAPPER_LINEAR" value="0"> </constant> - <constant name="FX_PARAM_HDR_SCALAR" value="7"> + <constant name="FX_HDR_TONE_MAPPER_LOG" value="1"> </constant> - <constant name="FX_PARAM_HDR_GLOW_TRESHOLD" value="8"> + <constant name="FX_HDR_TONE_MAPPER_REINHARDT" value="2"> </constant> - <constant name="FX_PARAM_HDR_GLOW_SCALE" value="9"> + <constant name="FX_HDR_TONE_MAPPER_REINHARDT_AUTOWHITE" value="3"> </constant> - <constant name="FX_PARAM_HDR_MIN_LUMINANCE" value="10"> + <constant name="FX_PARAM_AMBIENT_LIGHT_COLOR" value="0"> </constant> - <constant name="FX_PARAM_HDR_MAX_LUMINANCE" value="11"> + <constant name="FX_PARAM_AMBIENT_LIGHT_ENERGY" value="1"> </constant> - <constant name="FX_PARAM_HDR_EXPOSURE_ADJUST_SPEED" value="12"> + <constant name="FX_PARAM_GLOW_BLUR_PASSES" value="2"> </constant> - <constant name="FX_PARAM_FOG_BEGIN" value="13"> + <constant name="FX_PARAM_GLOW_BLUR_SCALE" value="3"> </constant> - <constant name="FX_PARAM_FOG_ATTENUATION" value="16"> + <constant name="FX_PARAM_GLOW_BLUR_STRENGTH" value="4"> </constant> - <constant name="FX_PARAM_FOG_BEGIN_COLOR" value="14"> + <constant name="FX_PARAM_GLOW_BLUR_BLEND_MODE" value="5"> </constant> - <constant name="FX_PARAM_FOG_END_COLOR" value="15"> + <constant name="FX_PARAM_GLOW_BLOOM" value="6"> </constant> - <constant name="FX_PARAM_FOG_BG" value="17"> + <constant name="FX_PARAM_GLOW_BLOOM_TRESHOLD" value="7"> </constant> - <constant name="FX_PARAM_BCS_BRIGHTNESS" value="18"> + <constant name="FX_PARAM_DOF_BLUR_PASSES" value="8"> </constant> - <constant name="FX_PARAM_BCS_CONTRAST" value="19"> + <constant name="FX_PARAM_DOF_BLUR_BEGIN" value="9"> </constant> - <constant name="FX_PARAM_BCS_SATURATION" value="20"> + <constant name="FX_PARAM_DOF_BLUR_RANGE" value="10"> </constant> - <constant name="FX_PARAM_GAMMA" value="21"> + <constant name="FX_PARAM_HDR_TONEMAPPER" value="11"> </constant> - <constant name="FX_PARAM_MAX" value="22"> + <constant name="FX_PARAM_HDR_EXPOSURE" value="12"> + </constant> + <constant name="FX_PARAM_HDR_WHITE" value="13"> + </constant> + <constant name="FX_PARAM_HDR_GLOW_TRESHOLD" value="14"> + </constant> + <constant name="FX_PARAM_HDR_GLOW_SCALE" value="15"> + </constant> + <constant name="FX_PARAM_HDR_MIN_LUMINANCE" value="16"> + </constant> + <constant name="FX_PARAM_HDR_MAX_LUMINANCE" value="17"> + </constant> + <constant name="FX_PARAM_HDR_EXPOSURE_ADJUST_SPEED" value="18"> + </constant> + <constant name="FX_PARAM_FOG_BEGIN" value="19"> + </constant> + <constant name="FX_PARAM_FOG_ATTENUATION" value="22"> + </constant> + <constant name="FX_PARAM_FOG_BEGIN_COLOR" value="20"> + </constant> + <constant name="FX_PARAM_FOG_END_COLOR" value="21"> + </constant> + <constant name="FX_PARAM_FOG_BG" value="23"> + </constant> + <constant name="FX_PARAM_BCS_BRIGHTNESS" value="24"> + </constant> + <constant name="FX_PARAM_BCS_CONTRAST" value="25"> + </constant> + <constant name="FX_PARAM_BCS_SATURATION" value="26"> + </constant> + <constant name="FX_PARAM_MAX" value="27"> </constant> </constants> </class> @@ -8559,13 +9044,13 @@ </description> <methods> <method name="set_stream" > - <argument index="0" name="stream" type="Stream"> + <argument index="0" name="stream" type="EventStream"> </argument> <description> </description> </method> <method name="get_stream" qualifiers="const" > - <return type="Stream"> + <return type="EventStream"> </return> <description> </description> @@ -8609,49 +9094,49 @@ </description> </method> <method name="set_volume" > - <argument index="0" name="volume" type="real"> + <argument index="0" name="volume" type="float"> </argument> <description> </description> </method> <method name="get_volume" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_pitch_scale" > - <argument index="0" name="pitch_scale" type="real"> + <argument index="0" name="pitch_scale" type="float"> </argument> <description> </description> </method> <method name="get_pitch_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_tempo_scale" > - <argument index="0" name="tempo_scale" type="real"> + <argument index="0" name="tempo_scale" type="float"> </argument> <description> </description> </method> <method name="get_tempo_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_volume_db" > - <argument index="0" name="db" type="real"> + <argument index="0" name="db" type="float"> </argument> <description> </description> </method> <method name="get_volume_db" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -8669,13 +9154,13 @@ </description> </method> <method name="get_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="seek_pos" > - <argument index="0" name="time" type="real"> + <argument index="0" name="time" type="float"> </argument> <description> </description> @@ -8695,13 +9180,13 @@ <method name="set_channel_volume" > <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="channel_volume" type="real"> + <argument index="1" name="channel_volume" type="float"> </argument> <description> </description> </method> <method name="get_channel_volumeidx" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="int"> </argument> @@ -8709,13 +9194,13 @@ </description> </method> <method name="get_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_channel_last_note_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="int"> </argument> @@ -8752,6 +9237,30 @@ <description> </description> <methods> + <method name="open_encrypted" > + <return type="int"> + </return> + <argument index="0" name="path" type="String"> + </argument> + <argument index="1" name="mode_flags" type="int"> + </argument> + <argument index="2" name="key" type="RawArray"> + </argument> + <description> + </description> + </method> + <method name="open_encrypted_with_pass" > + <return type="int"> + </return> + <argument index="0" name="path" type="String"> + </argument> + <argument index="1" name="mode_flags" type="int"> + </argument> + <argument index="2" name="pass" type="String"> + </argument> + <description> + </description> + </method> <method name="open" > <return type="int"> </return> @@ -8827,19 +9336,19 @@ </description> </method> <method name="get_float" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_double" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_real" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -8917,19 +9426,19 @@ </description> </method> <method name="store_float" > - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> <description> </description> </method> <method name="store_double" > - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> <description> </description> </method> <method name="store_real" > - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> <description> </description> @@ -9123,6 +9632,12 @@ <constant name="ACCESS_FILESYSTEM" value="2"> </constant> </constants> + <theme_items> + <theme_item name="files_disabled" type="Color"> + </theme_item> + <theme_item name="folder" type="Texture"> + </theme_item> + </theme_items> </class> <class name="FixedMaterial" inherits="Material" category="Core"> <brief_description> @@ -9214,26 +9729,26 @@ Returns the special transform used to post-transform UV coordinates of the uv_xfrom tecoord mode: TEXCOORD_UV_TRANSFORM </description> </method> - <method name="set_point_size" > - <argument index="0" name="size" type="real"> + <method name="set_light_shader" > + <argument index="0" name="shader" type="int"> </argument> <description> </description> </method> - <method name="get_point_size" qualifiers="const" > - <return type="real"> + <method name="get_light_shader" qualifiers="const" > + <return type="int"> </return> <description> </description> </method> - <method name="set_detail_blend_mode" > - <argument index="0" name="mode" type="int"> + <method name="set_point_size" > + <argument index="0" name="size" type="float"> </argument> <description> </description> </method> - <method name="get_detail_blend_mode" qualifiers="const" > - <return type="int"> + <method name="get_point_size" qualifiers="const" > + <return type="float"> </return> <description> </description> @@ -9283,234 +9798,8 @@ </constant> <constant name="FLAG_USE_POINT_SIZE" value="2"> </constant> - </constants> -</class> -<class name="FollowCamera" inherits="Camera" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_orbit" > - <argument index="0" name="orbit" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_orbit" qualifiers="const" > - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_orbit_x" > - <argument index="0" name="x" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_orbit_y" > - <argument index="0" name="y" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_min_orbit_x" > - <argument index="0" name="x" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_min_orbit_x" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_max_orbit_x" > - <argument index="0" name="x" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_max_orbit_x" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_height" > - <argument index="0" name="height" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_height" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_inclination" > - <argument index="0" name="inclination" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_inclination" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="rotate_orbit" > - <argument index="0" name="arg0" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_distance" > - <argument index="0" name="distance" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_distance" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_max_distance" > - <argument index="0" name="max_distance" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_max_distance" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_min_distance" > - <argument index="0" name="min_distance" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_min_distance" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_clip" > - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_clip" qualifiers="const" > - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_autoturn" > - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_autoturn" qualifiers="const" > - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_autoturn_tolerance" > - <argument index="0" name="degrees" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_autoturn_tolerance" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_autoturn_speed" > - <argument index="0" name="speed" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_autoturn_speed" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_smoothing" > - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_smoothing" qualifiers="const" > - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_rotation_smoothing" > - <argument index="0" name="amount" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_rotation_smoothing" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_translation_smoothing" > - <argument index="0" name="amount" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_translation_smoothing" qualifiers="const" > - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_use_lookat_target" > - <argument index="0" name="use" type="bool"> - </argument> - <argument index="1" name="lookat" type="Vector3" default="Vector3(0, 0, 0)"> - </argument> - <description> - </description> - </method> - <method name="set_up_vector" > - <argument index="0" name="vector" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_up_vector" qualifiers="const" > - <return type="Vector3"> - </return> - <description> - </description> - </method> - </methods> - <constants> + <constant name="FLAG_DISCARD_ALPHA" value="3"> + </constant> </constants> </class> <class name="Font" inherits="Resource" category="Core"> @@ -9522,35 +9811,35 @@ </description> <methods> <method name="set_height" > - <argument index="0" name="px" type="real"> + <argument index="0" name="px" type="float"> </argument> <description> Set the total font height (ascent plus descent) in pixels. </description> </method> <method name="get_height" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the total font height (ascent plus descent) in pixels. </description> </method> <method name="set_ascent" > - <argument index="0" name="px" type="real"> + <argument index="0" name="px" type="float"> </argument> <description> Set the font ascent (number of pixels above the baseline). </description> </method> <method name="get_ascent" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the font ascent (number of pixels above the baseline). </description> </method> <method name="get_descent" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the font descent (number of pixels below the baseline). @@ -9594,7 +9883,7 @@ </argument> <argument index="3" name="align" type="Vector2" default="Vector2(0,0)"> </argument> - <argument index="4" name="advance" type="real" default="-1"> + <argument index="4" name="advance" type="float" default="-1"> </argument> <description> Add a character to the font, where "character" is the unicode value, "texture" is the texture index, "rect" is the region in the texture (in pixels!), "align" is the (optional) alignment for the character and "advance" is the (optional) advance. @@ -9641,7 +9930,7 @@ </description> </method> <method name="draw_char" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="canvas_item" type="RID"> </argument> @@ -9709,6 +9998,28 @@ <constants> </constants> </class> +<class name="GDFunctionState" inherits="Reference" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="resume" > + <argument index="0" name="arg" type="var" default="NULL"> + </argument> + <description> + </description> + </method> + <method name="is_valid" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="GDNativeClass" inherits="Reference" category="Core"> <brief_description> </brief_description> @@ -9737,6 +10048,150 @@ <constants> </constants> </class> +<class name="Generic6DOFJoint" inherits="Joint" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_param_x" > + <argument index="0" name="param" type="int"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_param_x" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_param_y" > + <argument index="0" name="param" type="int"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_param_y" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_param_z" > + <argument index="0" name="param" type="int"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_param_z" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_flag_x" > + <argument index="0" name="flag" type="int"> + </argument> + <argument index="1" name="value" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_flag_x" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="flag" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_flag_y" > + <argument index="0" name="flag" type="int"> + </argument> + <argument index="1" name="value" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_flag_y" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="flag" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_flag_z" > + <argument index="0" name="flag" type="int"> + </argument> + <argument index="1" name="value" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_flag_z" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="flag" type="int"> + </argument> + <description> + </description> + </method> + </methods> + <constants> + <constant name="PARAM_LINEAR_LOWER_LIMIT" value="0"> + </constant> + <constant name="PARAM_LINEAR_UPPER_LIMIT" value="1"> + </constant> + <constant name="PARAM_LINEAR_LIMIT_SOFTNESS" value="2"> + </constant> + <constant name="PARAM_LINEAR_RESTITUTION" value="3"> + </constant> + <constant name="PARAM_LINEAR_DAMPING" value="4"> + </constant> + <constant name="PARAM_ANGULAR_LOWER_LIMIT" value="5"> + </constant> + <constant name="PARAM_ANGULAR_UPPER_LIMIT" value="6"> + </constant> + <constant name="PARAM_ANGULAR_LIMIT_SOFTNESS" value="7"> + </constant> + <constant name="PARAM_ANGULAR_DAMPING" value="8"> + </constant> + <constant name="PARAM_ANGULAR_RESTITUTION" value="9"> + </constant> + <constant name="PARAM_ANGULAR_FORCE_LIMIT" value="10"> + </constant> + <constant name="PARAM_ANGULAR_ERP" value="11"> + </constant> + <constant name="PARAM_ANGULAR_MOTOR_TARGET_VELOCITY" value="12"> + </constant> + <constant name="PARAM_ANGULAR_MOTOR_FORCE_LIMIT" value="13"> + </constant> + <constant name="PARAM_MAX" value="14"> + </constant> + <constant name="FLAG_ENABLE_LINEAR_LIMIT" value="0"> + </constant> + <constant name="FLAG_ENABLE_ANGULAR_LIMIT" value="1"> + </constant> + <constant name="FLAG_ENABLE_MOTOR" value="2"> + </constant> + <constant name="FLAG_MAX" value="3"> + </constant> + </constants> +</class> <class name="Geometry" inherits="Object" category="Core"> <brief_description> </brief_description> @@ -9754,9 +10209,9 @@ <method name="build_cylinder_planes" > <return type="Array"> </return> - <argument index="0" name="radius" type="real"> + <argument index="0" name="radius" type="float"> </argument> - <argument index="1" name="height" type="real"> + <argument index="1" name="height" type="float"> </argument> <argument index="2" name="sides" type="int"> </argument> @@ -9768,9 +10223,9 @@ <method name="build_capsule_planes" > <return type="Array"> </return> - <argument index="0" name="radius" type="real"> + <argument index="0" name="radius" type="float"> </argument> - <argument index="1" name="height" type="real"> + <argument index="1" name="height" type="float"> </argument> <argument index="2" name="sides" type="int"> </argument> @@ -9782,7 +10237,7 @@ </description> </method> <method name="segment_intersects_circle" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="segment_from" type="Vector2"> </argument> @@ -9790,7 +10245,7 @@ </argument> <argument index="2" name="circle_pos" type="Vector2"> </argument> - <argument index="3" name="circle_radius" type="real"> + <argument index="3" name="circle_radius" type="float"> </argument> <description> </description> @@ -9847,6 +10302,14 @@ <description> </description> </method> + <method name="get_uv84_normal_bit" > + <return type="int"> + </return> + <argument index="0" name="normal" type="Vector3"> + </argument> + <description> + </description> + </method> <method name="ray_intersects_triangle" > <argument index="0" name="from" type="Vector3"> </argument> @@ -9884,7 +10347,7 @@ </argument> <argument index="2" name="spos" type="Vector3"> </argument> - <argument index="3" name="sradius" type="real"> + <argument index="3" name="sradius" type="float"> </argument> <description> </description> @@ -9896,9 +10359,9 @@ </argument> <argument index="1" name="to" type="Vector3"> </argument> - <argument index="2" name="height" type="real"> + <argument index="2" name="height" type="float"> </argument> - <argument index="3" name="radius" type="real"> + <argument index="3" name="radius" type="float"> </argument> <description> </description> @@ -9923,6 +10386,14 @@ <description> </description> </method> + <method name="make_atlas" > + <return type="Dictionary"> + </return> + <argument index="0" name="sizes" type="Vector2Array"> + </argument> + <description> + </description> + </method> </methods> <constants> </constants> @@ -9966,36 +10437,42 @@ </description> </method> <method name="set_draw_range_begin" > - <argument index="0" name="mode" type="real"> + <argument index="0" name="mode" type="float"> </argument> <description> </description> </method> <method name="get_draw_range_begin" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_draw_range_end" > - <argument index="0" name="mode" type="real"> + <argument index="0" name="mode" type="float"> </argument> <description> </description> </method> <method name="get_draw_range_end" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> - </methods> - <signals> - <signal name="visibility_changed"> + <method name="set_baked_light_texture_id" > + <argument index="0" name="id" type="int"> + </argument> <description> </description> - </signal> - </signals> + </method> + <method name="get_baked_light_texture_id" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + </methods> <constants> <constant name="FLAG_VISIBLE" value="0"> </constant> @@ -10011,7 +10488,7 @@ </constant> <constant name="FLAG_VISIBLE_IN_ALL_ROOMS" value="6"> </constant> - <constant name="FLAG_MAX" value="7"> + <constant name="FLAG_MAX" value="8"> </constant> </constants> </class> @@ -10115,6 +10592,14 @@ <description> </description> </method> + <method name="load_resource_pack" > + <return type="bool"> + </return> + <argument index="0" name="arg0" type="String"> + </argument> + <description> + </description> + </method> </methods> <constants> </constants> @@ -10140,6 +10625,10 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="separation" type="int"> + </theme_item> + </theme_items> </class> <class name="GridMap" inherits="Spatial" category="Core"> <brief_description> @@ -10172,13 +10661,13 @@ </description> </method> <method name="set_cell_size" > - <argument index="0" name="size" type="real"> + <argument index="0" name="size" type="float"> </argument> <description> </description> </method> <method name="get_cell_size" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -10287,7 +10776,7 @@ <description> </description> </method> - <method name="crate_area" > + <method name="create_area" > <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -10340,13 +10829,13 @@ <method name="area_set_portal_disable_distance" > <argument index="0" name="area" type="int"> </argument> - <argument index="1" name="distance" type="real"> + <argument index="1" name="distance" type="float"> </argument> <description> </description> </method> <method name="area_get_portal_disable_distance" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="area" type="int"> </argument> @@ -10385,6 +10874,18 @@ <description> </description> </method> + <method name="set_use_baked_light" > + <argument index="0" name="use" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_using_baked_light" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> <method name="clear" > <description> </description> @@ -10404,28 +10905,28 @@ </description> <methods> <method name="set_length" > - <argument index="0" name="length" type="real"> + <argument index="0" name="length" type="float"> </argument> <description> Set the length of the groove. </description> </method> <method name="get_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the length of the groove. </description> </method> <method name="set_initial_offset" > - <argument index="0" name="offset" type="real"> + <argument index="0" name="offset" type="float"> </argument> <description> Set the initial offset of the groove on body A. </description> </method> <method name="get_initial_offset" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Set the final offset of the groove on body A. @@ -10446,6 +10947,10 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="separation" type="int"> + </theme_item> + </theme_items> </class> <class name="HButtonArray" inherits="ButtonArray" category="Core"> <brief_description> @@ -10458,6 +10963,28 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="button_separator" type="int"> + </theme_item> + <theme_item name="icon_separator" type="int"> + </theme_item> + <theme_item name="font_color_selected" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_selected" type="Font"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="hover" type="StyleBox"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + <theme_item name="selected" type="StyleBox"> + </theme_item> + <theme_item name="normal" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="HScrollBar" inherits="ScrollBar" category="Core"> <brief_description> @@ -10470,6 +10997,24 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="increment_hilite" type="Texture"> + </theme_item> + <theme_item name="decrement_hilite" type="Texture"> + </theme_item> + <theme_item name="increment" type="Texture"> + </theme_item> + <theme_item name="decrement" type="Texture"> + </theme_item> + <theme_item name="grabber_hilite" type="StyleBox"> + </theme_item> + <theme_item name="grabber" type="StyleBox"> + </theme_item> + <theme_item name="scroll_focus" type="StyleBox"> + </theme_item> + <theme_item name="scroll" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="HSeparator" inherits="Separator" category="Core"> <brief_description> @@ -10482,6 +11027,12 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="separation" type="int"> + </theme_item> + <theme_item name="separator" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="HSlider" inherits="Slider" category="Core"> <brief_description> @@ -10494,6 +11045,20 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="tick" type="Texture"> + </theme_item> + <theme_item name="grabber_hilite" type="Texture"> + </theme_item> + <theme_item name="grabber" type="Texture"> + </theme_item> + <theme_item name="grabber_hilite" type="StyleBox"> + </theme_item> + <theme_item name="slider" type="StyleBox"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="HSplitContainer" inherits="SplitContainer" category="Core"> <brief_description> @@ -10506,6 +11071,16 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="autohide" type="int"> + </theme_item> + <theme_item name="separation" type="int"> + </theme_item> + <theme_item name="grabber" type="Texture"> + </theme_item> + <theme_item name="bg" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="HTTPClient" inherits="Reference" category="Core"> <brief_description> @@ -10520,6 +11095,10 @@ </argument> <argument index="1" name="port" type="int"> </argument> + <argument index="2" name="use_ssl" type="bool" default="false"> + </argument> + <argument index="3" name="arg3" type="bool" default="true"> + </argument> <description> </description> </method> @@ -10605,6 +11184,18 @@ <description> </description> </method> + <method name="set_blocking_mode" > + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_blocking_mode_enabled" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> <method name="get_status" qualifiers="const" > <return type="int"> </return> @@ -10655,6 +11246,8 @@ </constant> <constant name="STATUS_CONNECTION_ERROR" value="8"> </constant> + <constant name="STATUS_SSL_HANDSHAKE_ERROR" value="9"> + </constant> <constant name="RESPONSE_CONTINUE" value="100"> </constant> <constant name="RESPONSE_SWITCHING_PROTOCOLS" value="101"> @@ -10755,6 +11348,72 @@ </constant> </constants> </class> +<class name="HingeJoint" inherits="Joint" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_param" > + <argument index="0" name="param" type="int"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_param" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_flag" > + <argument index="0" name="flag" type="int"> + </argument> + <argument index="1" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_flag" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="flag" type="int"> + </argument> + <description> + </description> + </method> + </methods> + <constants> + <constant name="PARAM_BIAS" value="0"> + </constant> + <constant name="PARAM_LIMIT_UPPER" value="1"> + </constant> + <constant name="PARAM_LIMIT_LOWER" value="2"> + </constant> + <constant name="PARAM_LIMIT_BIAS" value="3"> + </constant> + <constant name="PARAM_LIMIT_SOFTNESS" value="4"> + </constant> + <constant name="PARAM_LIMIT_RELAXATION" value="5"> + </constant> + <constant name="PARAM_MOTOR_TARGET_VELOCITY" value="6"> + </constant> + <constant name="PARAM_MOTOR_MAX_IMPULSE" value="7"> + </constant> + <constant name="PARAM_MAX" value="8"> + </constant> + <constant name="FLAG_USE_LIMIT" value="0"> + </constant> + <constant name="FLAG_ENABLE_MOTOR" value="1"> + </constant> + <constant name="FLAG_MAX" value="2"> + </constant> + </constants> +</class> <class name="IP" inherits="Object" category="Core"> <brief_description> IP Protocol support functions. @@ -10806,6 +11465,12 @@ Erase a queue ID, removing it from the queue if needed. This should be used after a queue is completed to free it and enable more queries to happen. </description> </method> + <method name="get_local_addresses" qualifiers="const" > + <return type="Array"> + </return> + <description> + </description> + </method> </methods> <constants> <constant name="RESOLVER_STATUS_NONE" value="0"> @@ -10880,6 +11545,20 @@ <description> </description> </method> + <method name="converted" > + <return type="Image"> + </return> + <argument index="0" name="format" type="int" default="0"> + </argument> + <description> + </description> + </method> + <method name="decompressed" > + <return type="Image"> + </return> + <description> + </description> + </method> <method name="empty" > <return type="bool"> </return> @@ -10944,6 +11623,18 @@ <description> </description> </method> + <method name="put_pixel" > + <argument index="0" name="x" type="int"> + </argument> + <argument index="1" name="y" type="int"> + </argument> + <argument index="2" name="color" type="Color"> + </argument> + <argument index="3" name="mipmap_level" type="int" default="0"> + </argument> + <description> + </description> + </method> <method name="resized" > <return type="Image"> </return> @@ -11014,48 +11705,6 @@ </constant> </constants> </class> -<class name="ImagePathFinder" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="find_path" > - <return type="Vector2Array"> - </return> - <argument index="0" name="from" type="Vector2"> - </argument> - <argument index="1" name="to" type="Vector2"> - </argument> - <argument index="2" name="optimize" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="get_size" qualifiers="const" > - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="is_solid" > - <return type="bool"> - </return> - <argument index="0" name="pos" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="create_from_image_alpha" > - <argument index="0" name="arg0" type="Image"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> <class name="ImageTexture" inherits="Texture" category="Core"> <brief_description> </brief_description> @@ -11119,13 +11768,13 @@ </description> </method> <method name="set_lossy_storage_quality" > - <argument index="0" name="quality" type="real"> + <argument index="0" name="quality" type="float"> </argument> <description> </description> </method> <method name="get_lossy_storage_quality" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -11134,6 +11783,10 @@ <description> </description> </method> + <method name="premultiply_alpha" > + <description> + </description> + </method> <method name="set_size_override" > <argument index="0" name="size" type="Vector2"> </argument> @@ -11150,6 +11803,78 @@ </constant> </constants> </class> +<class name="ImmediateGeometry" inherits="GeometryInstance" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="begin" > + <argument index="0" name="primitive" type="int"> + </argument> + <argument index="1" name="texture" type="Texture"> + </argument> + <description> + </description> + </method> + <method name="set_normal" > + <argument index="0" name="normal" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="set_tangent" > + <argument index="0" name="tangent" type="Plane"> + </argument> + <description> + </description> + </method> + <method name="set_color" > + <argument index="0" name="color" type="Color"> + </argument> + <description> + </description> + </method> + <method name="set_uv" > + <argument index="0" name="uv" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="set_uv2" > + <argument index="0" name="uv" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="add_vertex" > + <argument index="0" name="color" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="add_sphere" > + <argument index="0" name="lats" type="int"> + </argument> + <argument index="1" name="lons" type="int"> + </argument> + <argument index="2" name="radius" type="float"> + </argument> + <description> + </description> + </method> + <method name="end" > + <description> + </description> + </method> + <method name="clear" > + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="Input" inherits="Object" category="Core"> <brief_description> </brief_description> @@ -11191,7 +11916,7 @@ </description> </method> <method name="get_joy_axis" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="device" type="int"> </argument> @@ -11200,6 +11925,14 @@ <description> </description> </method> + <method name="get_joy_name" > + <return type="String"> + </return> + <argument index="0" name="device" type="int"> + </argument> + <description> + </description> + </method> <method name="get_accelerometer" > <return type="Vector3"> </return> @@ -11239,7 +11972,23 @@ <description> </description> </method> + <method name="warp_mouse_pos" > + <argument index="0" name="to" type="Vector2"> + </argument> + <description> + </description> + </method> </methods> + <signals> + <signal name="joy_connection_changed"> + <argument index="0" name="index" type="int"> + </argument> + <argument index="1" name="connected" type="bool"> + </argument> + <description> + </description> + </signal> + </signals> <constants> <constant name="MOUSE_MODE_VISIBLE" value="0"> </constant> @@ -11420,7 +12169,7 @@ </member> <member name="pressed" type="bool"> </member> - <member name="pressure" type="real"> + <member name="pressure" type="float"> </member> </members> <constants> @@ -11480,7 +12229,7 @@ </member> <member name="axis" type="int"> </member> - <member name="value" type="real"> + <member name="value" type="float"> </member> </members> <constants> @@ -11722,9 +12471,9 @@ </member> <member name="relative_pos" type="Vector2"> </member> - <member name="speed_x" type="real"> + <member name="speed_x" type="float"> </member> - <member name="speed_y" type="real"> + <member name="speed_y" type="float"> </member> <member name="speed" type="Vector2"> </member> @@ -11786,21 +12535,21 @@ </member> <member name="index" type="int"> </member> - <member name="x" type="real"> + <member name="x" type="float"> </member> - <member name="y" type="real"> + <member name="y" type="float"> </member> <member name="pos" type="Vector2"> </member> - <member name="relative_x" type="real"> + <member name="relative_x" type="float"> </member> - <member name="relative_y" type="real"> + <member name="relative_y" type="float"> </member> <member name="relative_pos" type="Vector2"> </member> - <member name="speed_x" type="real"> + <member name="speed_x" type="float"> </member> - <member name="speed_y" type="real"> + <member name="speed_y" type="float"> </member> <member name="speed" type="Vector2"> </member> @@ -11862,9 +12611,9 @@ </member> <member name="index" type="int"> </member> - <member name="x" type="real"> + <member name="x" type="float"> </member> - <member name="y" type="real"> + <member name="y" type="float"> </member> <member name="pos" type="Vector2"> </member> @@ -11900,6 +12649,90 @@ Singleton that manages actions. InputMap has a list of the actions used in InputEvent, which can be modified. </description> <methods> + <method name="has_action" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="action" type="String"> + </argument> + <description> + </description> + </method> + <method name="get_action_id" qualifiers="const" > + <return type="int"> + </return> + <argument index="0" name="action" type="String"> + </argument> + <description> + </description> + </method> + <method name="get_action_from_id" qualifiers="const" > + <return type="String"> + </return> + <argument index="0" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="add_action" > + <argument index="0" name="action" type="String"> + </argument> + <description> + </description> + </method> + <method name="erase_action" > + <argument index="0" name="action" type="String"> + </argument> + <description> + </description> + </method> + <method name="action_add_event" > + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="event" type="InputEvent"> + </argument> + <description> + </description> + </method> + <method name="action_has_event" > + <return type="bool"> + </return> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="event" type="InputEvent"> + </argument> + <description> + </description> + </method> + <method name="action_erase_event" > + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="event" type="InputEvent"> + </argument> + <description> + </description> + </method> + <method name="get_action_list" > + <return type="bool"> + </return> + <argument index="0" name="action" type="String"> + </argument> + <description> + </description> + </method> + <method name="event_is_action" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="event" type="InputEvent"> + </argument> + <argument index="1" name="action" type="String"> + </argument> + <description> + </description> + </method> + <method name="load_from_globals" > + <description> + </description> + </method> </methods> <constants> </constants> @@ -11981,19 +12814,19 @@ </description> </method> <method name="set_target" > - <argument index="0" name="target" type="Object"> + <argument index="0" name="target" type="Camera"> </argument> <description> </description> </method> <method name="set_speed" > - <argument index="0" name="speed" type="real"> + <argument index="0" name="speed" type="float"> </argument> <description> </description> </method> <method name="get_speed" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -12014,6 +12847,52 @@ <constants> </constants> </class> +<class name="Joint" inherits="Spatial" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_node_a" > + <argument index="0" name="node" type="NodePath"> + </argument> + <description> + </description> + </method> + <method name="get_node_a" qualifiers="const" > + <return type="NodePath"> + </return> + <description> + </description> + </method> + <method name="set_node_b" > + <argument index="0" name="node" type="NodePath"> + </argument> + <description> + </description> + </method> + <method name="get_node_b" qualifiers="const" > + <return type="NodePath"> + </return> + <description> + </description> + </method> + <method name="set_solver_priority" > + <argument index="0" name="priority" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_solver_priority" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="Joint2D" inherits="Node2D" category="Core"> <brief_description> Base node for all joint constraints in 2D phyisics. @@ -12051,13 +12930,143 @@ </description> </method> <method name="set_bias" > - <argument index="0" name="bias" type="real"> + <argument index="0" name="bias" type="float"> </argument> <description> </description> </method> <method name="get_bias" qualifiers="const" > - <return type="real"> + <return type="float"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> +<class name="KinematicBody" inherits="PhysicsBody" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="move" > + <return type="Vector3"> + </return> + <argument index="0" name="rel_vec" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="move_to" > + <return type="Vector3"> + </return> + <argument index="0" name="position" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="can_move_to" > + <return type="bool"> + </return> + <argument index="0" name="position" type="Vector3"> + </argument> + <argument index="1" name="arg1" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_colliding" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="get_collision_pos" qualifiers="const" > + <return type="Vector3"> + </return> + <description> + </description> + </method> + <method name="get_collision_normal" qualifiers="const" > + <return type="Vector3"> + </return> + <description> + </description> + </method> + <method name="get_collider_velocity" qualifiers="const" > + <return type="Vector3"> + </return> + <description> + </description> + </method> + <method name="get_collider" qualifiers="const" > + <description> + </description> + </method> + <method name="get_collider_shape" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_collide_with_static_bodies" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="can_collide_with_static_bodies" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_collide_with_kinematic_bodies" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="can_collide_with_kinematic_bodies" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_collide_with_rigid_bodies" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="can_collide_with_rigid_bodies" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_collide_with_character_bodies" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="can_collide_with_character_bodies" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_collision_margin" > + <argument index="0" name="pixels" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_collision_margin" qualifiers="const" > + <return type="float"> </return> <description> </description> @@ -12126,6 +13135,16 @@ <description> </description> </method> + <method name="get_collider_shape" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_collider_metadata" qualifiers="const" > + <description> + </description> + </method> <method name="set_collide_with_static_bodies" > <argument index="0" name="enable" type="bool"> </argument> @@ -12175,13 +13194,13 @@ </description> </method> <method name="set_collision_margin" > - <argument index="0" name="pixels" type="real"> + <argument index="0" name="pixels" type="float"> </argument> <description> </description> </method> <method name="get_collision_margin" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -12291,13 +13310,13 @@ </description> </method> <method name="set_percent_visible" > - <argument index="0" name="percent_visible" type="real"> + <argument index="0" name="percent_visible" type="float"> </argument> <description> </description> </method> <method name="get_percent_visible" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -12329,6 +13348,20 @@ Align the whole text by spreading the rows. </constant> </constants> + <theme_items> + <theme_item name="shadow_offset_x" type="int"> + </theme_item> + <theme_item name="shadow_offset_y" type="int"> + </theme_item> + <theme_item name="shadow_as_outline" type="int"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_color_shadow" type="Color"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + </theme_items> </class> <class name="LargeTexture" inherits="Texture" category="Core"> <brief_description> @@ -12337,6 +13370,8 @@ </description> <methods> <method name="add_piece" > + <return type="int"> + </return> <argument index="0" name="ofs" type="Vector2"> </argument> <argument index="1" name="texture" type="Texture"> @@ -12344,6 +13379,22 @@ <description> </description> </method> + <method name="set_piece_offset" > + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="ofs" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="set_piece_texture" > + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="texture" type="Texture"> + </argument> + <description> + </description> + </method> <method name="set_size" > <argument index="0" name="size" type="Vector2"> </argument> @@ -12391,13 +13442,13 @@ <method name="set_parameter" > <argument index="0" name="variable" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> </description> </method> <method name="get_parameter" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="int"> </argument> @@ -12456,6 +13507,42 @@ <description> </description> </method> + <method name="set_bake_mode" > + <argument index="0" name="bake_mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_bake_mode" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_enabled" > + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_enabled" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_editor_only" > + <argument index="0" name="editor_only" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_editor_only" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> </methods> <constants> <constant name="PARAM_RADIUS" value="2"> @@ -12472,11 +13559,17 @@ </constant> <constant name="PARAM_SHADOW_Z_OFFSET" value="6"> </constant> - <constant name="COLOR_AMBIENT" value="0"> + <constant name="COLOR_DIFFUSE" value="0"> + </constant> + <constant name="COLOR_SPECULAR" value="1"> </constant> - <constant name="COLOR_DIFFUSE" value="1"> + <constant name="BAKE_MODE_DISABLED" value="0"> </constant> - <constant name="COLOR_SPECULAR" value="2"> + <constant name="BAKE_MODE_INDIRECT" value="1"> + </constant> + <constant name="BAKE_MODE_INDIRECT_AND_SHADOWS" value="2"> + </constant> + <constant name="BAKE_MODE_FULL" value="3"> </constant> </constants> </class> @@ -12575,9 +13668,11 @@ Return the [i]secret[/i] status of the [LineEdit] (see [method set_secret]). </description> </method> - <method name="select" qualifiers="const" > - <return type="bool"> - </return> + <method name="select" > + <argument index="0" name="from" type="int" default="0"> + </argument> + <argument index="1" name="to" type="int" default="-1"> + </argument> <description> </description> </method> @@ -12600,6 +13695,26 @@ </signals> <constants> </constants> + <theme_items> + <theme_item name="minimum_spaces" type="int"> + </theme_item> + <theme_item name="selection_color" type="Color"> + </theme_item> + <theme_item name="cursor_color" type="Color"> + </theme_item> + <theme_item name="font_color_selected" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="read_only" type="StyleBox"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + <theme_item name="normal" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="LineShape2D" inherits="Shape2D" category="Core"> <brief_description> @@ -12624,14 +13739,14 @@ </description> </method> <method name="set_d" > - <argument index="0" name="d" type="real"> + <argument index="0" name="d" type="float"> </argument> <description> Set the line distance from the origin. </description> </method> <method name="get_d" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the line distance from the origin. @@ -12665,6 +13780,8 @@ </constant> <constant name="NOTIFICATION_WM_UNFOCUS_REQUEST" value="8"> </constant> + <constant name="NOTIFICATION_OS_MEMORY_WARNING" value="9"> + </constant> </constants> </class> <class name="MarginContainer" inherits="Container" category="Core"> @@ -12678,6 +13795,10 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="margin" type="int"> + </theme_item> + </theme_items> </class> <class name="Marshalls" inherits="Reference" category="Core"> <brief_description> @@ -12729,22 +13850,6 @@ Return a [Material] flag, which toggles on or off a behavior when rendering. See enumeration FLAG_* for a list. </description> </method> - <method name="set_hint" > - <argument index="0" name="hint" type="int"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_hint" qualifiers="const" > - <return type="bool"> - </return> - <argument index="0" name="hint" type="int"> - </argument> - <description> - </description> - </method> <method name="set_blend_mode" > <argument index="0" name="mode" type="int"> </argument> @@ -12759,30 +13864,30 @@ Return blend mode for the material, which can be one of BLEND_MODE_MIX (default), BLEND_MODE_ADD, BLEND_MODE_SUB. Keep in mind that only BLEND_MODE_MIX ensures that the material [i]may[/i] be opaque, any other blend mode will render with alpha blending enabled in raster-based [VisualServer] implementations. </description> </method> - <method name="set_shade_model" > - <argument index="0" name="model" type="int"> + <method name="set_line_width" > + <argument index="0" name="width" type="float"> </argument> <description> + Set the line width for geometry drawn with FLAG_WIREFRAME enabled, or LINE primitives. Note that not all hardware or VisualServer backends support this (like DirectX). </description> </method> - <method name="get_shade_model" qualifiers="const" > - <return type="int"> + <method name="get_line_width" qualifiers="const" > + <return type="float"> </return> <description> + Return the line width for geometry drawn with FLAG_WIREFRAME enabled, or LINE primitives. Note that not all hardware or VisualServer backends support this (like DirectX). </description> </method> - <method name="set_line_width" > - <argument index="0" name="width" type="real"> + <method name="set_depth_draw_mode" > + <argument index="0" name="mode" type="int"> </argument> <description> - Set the line width for geometry drawn with FLAG_WIREFRAME enabled, or LINE primitives. Note that not all hardware or VisualServer backends support this (like DirectX). </description> </method> - <method name="get_line_width" qualifiers="const" > - <return type="real"> + <method name="get_depth_draw_mode" qualifiers="const" > + <return type="int"> </return> <description> - Return the line width for geometry drawn with FLAG_WIREFRAME enabled, or LINE primitives. Note that not all hardware or VisualServer backends support this (like DirectX). </description> </method> </methods> @@ -12801,40 +13906,20 @@ </constant> <constant name="FLAG_ONTOP" value="4"> </constant> - <constant name="FLAG_WIREFRAME" value="5"> - Triangle geometry is drawn as lines if this flag is enabled. + <constant name="FLAG_LIGHTMAP_ON_UV2" value="5"> </constant> - <constant name="FLAG_BILLBOARD_TOGGLE" value="6"> - Geometry world transform is computed as billboard if this flag is enabled, often used for impostors. + <constant name="FLAG_COLOR_ARRAY_SRGB" value="6"> </constant> <constant name="FLAG_MAX" value="7"> Maximum amount of flags </constant> - <constant name="HINT_DECAL" value="0"> - </constant> - <constant name="HINT_OPAQUE_PRE_PASS" value="1"> - </constant> - <constant name="HINT_NO_SHADOW" value="2"> - </constant> - <constant name="HINT_NO_DEPTH_DRAW" value="3"> - </constant> - <constant name="HINT_MAX" value="4"> - </constant> - <constant name="SHADE_MODEL_LAMBERT" value="0"> - </constant> - <constant name="SHADE_MODEL_LAMBERT_WRAP" value="1"> - </constant> - <constant name="SHADE_MODEL_FRESNEL" value="2"> + <constant name="DEPTH_DRAW_ALWAYS" value="0"> </constant> - <constant name="SHADE_MODEL_TOON" value="3"> + <constant name="DEPTH_DRAW_OPAQUE_ONLY" value="1"> </constant> - <constant name="SHADE_MODEL_CUSTOM_0" value="4"> + <constant name="DEPTH_DRAW_OPAQUE_PRE_PASS_ALPHA" value="2"> </constant> - <constant name="SHADE_MODEL_CUSTOM_1" value="5"> - </constant> - <constant name="SHADE_MODEL_CUSTOM_2" value="6"> - </constant> - <constant name="SHADE_MODEL_CUSTOM_3" value="7"> + <constant name="DEPTH_DRAW_NEVER" value="3"> </constant> <constant name="BLEND_MODE_MIX" value="0"> Use the regular alpha blending equation (source and dest colors are faded) (default). @@ -12845,6 +13930,10 @@ <constant name="BLEND_MODE_SUB" value="2"> Use substractive blending equation, often used for some smoke effects or types of glass. </constant> + <constant name="BLEND_MODE_MUL" value="3"> + </constant> + <constant name="BLEND_MODE_PREMULT_ALPHA" value="4"> + </constant> </constants> </class> <class name="Matrix3" category="Built-In Types"> @@ -12856,7 +13945,7 @@ </description> <methods> <method name="determinant" > - <return type="real"> + <return type="float"> </return> <description> Return the determinant of the matrix. @@ -12875,6 +13964,12 @@ <description> </description> </method> + <method name="get_scale" > + <return type="Vector3"> + </return> + <description> + </description> + </method> <method name="inverse" > <return type="Matrix3"> </return> @@ -12894,7 +13989,7 @@ </return> <argument index="0" name="axis" type="Vector3"> </argument> - <argument index="1" name="phi" type="real"> + <argument index="1" name="phi" type="float"> </argument> <description> Return the rotated version of the matrix, by a given axis and angle. @@ -12910,7 +14005,7 @@ </description> </method> <method name="tdotx" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="with" type="Vector3"> </argument> @@ -12919,7 +14014,7 @@ </description> </method> <method name="tdoty" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="with" type="Vector3"> </argument> @@ -12928,7 +14023,7 @@ </description> </method> <method name="tdotz" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="with" type="Vector3"> </argument> @@ -12975,7 +14070,7 @@ <method name="Matrix3" > <argument index="0" name="axis" type="Vector3"> </argument> - <argument index="1" name="phi" type="real"> + <argument index="1" name="phi" type="float"> </argument> <description> Create a matrix from 3 axis vectors. @@ -13014,6 +14109,22 @@ <description> </description> </method> + <method name="basis_xform" > + <return type="Matrix32"> + </return> + <argument index="0" name="v" type="var"> + </argument> + <description> + </description> + </method> + <method name="basis_xform_inv" > + <return type="Matrix32"> + </return> + <argument index="0" name="v" type="var"> + </argument> + <description> + </description> + </method> <method name="get_origin" > <return type="Vector2"> </return> @@ -13021,7 +14132,13 @@ </description> </method> <method name="get_rotation" > - <return type="real"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="get_scale" > + <return type="Vector2"> </return> <description> </description> @@ -13031,7 +14148,7 @@ </return> <argument index="0" name="m" type="Matrix32"> </argument> - <argument index="1" name="c" type="real"> + <argument index="1" name="c" type="float"> </argument> <description> </description> @@ -13051,7 +14168,7 @@ <method name="rotated" > <return type="Matrix32"> </return> - <argument index="0" name="phi" type="real"> + <argument index="0" name="phi" type="float"> </argument> <description> </description> @@ -13100,11 +14217,11 @@ </method> </methods> <members> - <member name="x" type="real"> + <member name="x" type="float"> </member> - <member name="y" type="real"> + <member name="y" type="float"> </member> - <member name="o" type="real"> + <member name="o" type="float"> </member> </members> <constants> @@ -13134,6 +14251,28 @@ </signals> <constants> </constants> + <theme_items> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="font_color_disabled" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_color_hover" type="Color"> + </theme_item> + <theme_item name="font_color_pressed" type="Color"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="hover" type="StyleBox"> + </theme_item> + <theme_item name="pressed" type="StyleBox"> + </theme_item> + <theme_item name="disabled" type="StyleBox"> + </theme_item> + <theme_item name="normal" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="Mesh" inherits="Resource" category="Core"> <brief_description> @@ -13280,6 +14419,22 @@ <description> </description> </method> + <method name="regen_normalmaps" > + <description> + </description> + </method> + <method name="set_custom_aabb" > + <argument index="0" name="aabb" type="AABB"> + </argument> + <description> + </description> + </method> + <method name="get_custom_aabb" qualifiers="const" > + <return type="AABB"> + </return> + <description> + </description> + </method> </methods> <constants> <constant name="NO_INDEX_ARRAY" value="-1"> @@ -13685,6 +14840,18 @@ Return the current [Mesh] resource for the instance. </description> </method> + <method name="set_skeleton_path" > + <argument index="0" name="skeleton_path" type="NodePath"> + </argument> + <description> + </description> + </method> + <method name="get_skeleton_path" > + <return type="NodePath"> + </return> + <description> + </description> + </method> <method name="get_aabb" qualifiers="const" > <return type="AABB"> </return> @@ -13947,6 +15114,172 @@ <constants> </constants> </class> +<class name="Navigation" inherits="Spatial" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="navmesh_create" > + <return type="int"> + </return> + <argument index="0" name="mesh" type="NavigationMesh"> + </argument> + <argument index="1" name="xform" type="Transform"> + </argument> + <argument index="2" name="owner" type="Object" default="NULL"> + </argument> + <description> + </description> + </method> + <method name="navmesh_set_transform" > + <argument index="0" name="id" type="int"> + </argument> + <argument index="1" name="xform" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="navmesh_remove" > + <argument index="0" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_simple_path" > + <return type="Vector3Array"> + </return> + <argument index="0" name="start" type="Vector3"> + </argument> + <argument index="1" name="end" type="Vector3"> + </argument> + <argument index="2" name="optimize" type="bool" default="true"> + </argument> + <description> + </description> + </method> + <method name="get_closest_point_to_segment" > + <return type="Vector3"> + </return> + <argument index="0" name="start" type="Vector3"> + </argument> + <argument index="1" name="end" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="get_closest_point" > + <return type="Vector3"> + </return> + <argument index="0" name="to_point" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="get_closest_point_normal" > + <return type="Vector3"> + </return> + <argument index="0" name="to_point" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="set_up_vector" > + <argument index="0" name="up" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="get_up_vector" qualifiers="const" > + <return type="Vector3"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> +<class name="NavigationMesh" inherits="Resource" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_vertices" > + <argument index="0" name="vertices" type="Vector3Array"> + </argument> + <description> + </description> + </method> + <method name="get_vertices" qualifiers="const" > + <return type="Vector3Array"> + </return> + <description> + </description> + </method> + <method name="add_polygon" > + <argument index="0" name="polygon" type="IntArray"> + </argument> + <description> + </description> + </method> + <method name="get_polygon_count" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_polygon" > + <return type="IntArray"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="clear_polygons" > + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> +<class name="NavigationMeshInstance" inherits="Spatial" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_navigation_mesh" > + <argument index="0" name="navmesh" type="Object"> + </argument> + <description> + </description> + </method> + <method name="get_navigation_mesh" qualifiers="const" > + <return type="Object"> + </return> + <description> + </description> + </method> + <method name="set_enabled" > + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_enabled" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="Nil" category="Built-In Types"> <brief_description> </brief_description> @@ -13966,7 +15299,7 @@ </description> </method> <method name="Nil" > - <argument index="0" name="from" type="real"> + <argument index="0" name="from" type="float"> </argument> <description> </description> @@ -14152,7 +15485,7 @@ </description> </method> <method name="_fixed_process" qualifiers="virtual" > - <argument index="0" name="delta" type="real"> + <argument index="0" name="delta" type="float"> </argument> <description> Called for fixed processing (synced to the physics). @@ -14166,7 +15499,7 @@ </description> </method> <method name="_process" qualifiers="virtual" > - <argument index="0" name="delta" type="real"> + <argument index="0" name="delta" type="float"> </argument> <description> Called for processing. This is called every frame, with the delta time from the previous frame. @@ -14261,7 +15594,7 @@ <argument index="0" name="path" type="NodePath"> </argument> <description> - Fetch a node. NodePath must be valid (or else error will occur) and can be either the path to child node, a relative path (from the current node to another node), or an absolute path to a node.[br] Note: fetching absolute paths only works when the node is inside the scene tree (see [method is_inside_scene]). Examples. Assume your current node is Character and following tree:[br] + Fetch a node. NodePath must be valid (or else error will occur) and can be either the path to child node, a relative path (from the current node to another node), or an absolute path to a node.[br] Note: fetching absolute paths only works when the node is inside the scene tree (see [method is_inside_scene]). Examples. Assume your current node is Character and following tree:[br] root/[br] root/Character[br] root/Character/Sword[br] @@ -14375,6 +15708,12 @@ Move a child node to a different position (order) amongst the other children. Since calls, signals, etc are performed by tree order, changing the order of chilren nodes may be useful. </description> </method> + <method name="get_groups" qualifiers="const" > + <return type="Array"> + </return> + <description> + </description> + </method> <method name="raise" > <description> Move this node to the top of the array of nodes of the parent node. This is often useful on GUIs ([Control]), because their order of drawing fully depends on their order in the tree. @@ -14440,7 +15779,7 @@ </description> </method> <method name="get_fixed_process_delta_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the time elapsed since the last fixed frame. This is always the same in fixed proecssing unless the frames per second is changed in [OS]. @@ -14461,7 +15800,7 @@ </description> </method> <method name="get_process_delta_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the time elapsed (in seconds) since the last process callback. This is almost always different each time. @@ -14502,6 +15841,18 @@ Return true if the node is processing unhandled input (see [method set_process_unhandled_input]). </description> </method> + <method name="set_process_unhandled_key_input" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_processing_unhandled_key_input" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> <method name="set_pause_mode" > <argument index="0" name="mode" type="int"> </argument> @@ -14554,6 +15905,12 @@ Replace a node in a scene by a given one. Subscriptions that pass through this node will be lost. </description> </method> + <method name="get_viewport" qualifiers="const" > + <return type="Object"> + </return> + <description> + </description> + </method> <method name="queue_free" > <description> </description> @@ -14628,7 +15985,7 @@ </description> </method> <method name="set_rot" > - <argument index="0" name="rot" type="real"> + <argument index="0" name="rot" type="float"> </argument> <description> Set the rotation of the 2d node. @@ -14649,7 +16006,7 @@ </description> </method> <method name="get_rot" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the rotation of the 2D node. @@ -14662,6 +16019,28 @@ Return the scale of the 2D node. </description> </method> + <method name="rotate" > + <argument index="0" name="degrees" type="float"> + </argument> + <description> + </description> + </method> + <method name="move_local_x" > + <argument index="0" name="delta" type="float"> + </argument> + <argument index="1" name="scaled" type="bool" default="false"> + </argument> + <description> + </description> + </method> + <method name="move_local_y" > + <argument index="0" name="delta" type="float"> + </argument> + <argument index="1" name="scaled" type="bool" default="false"> + </argument> + <description> + </description> + </method> <method name="get_global_pos" qualifiers="const" > <return type="Vector2"> </return> @@ -14669,6 +16048,12 @@ Return the global position of the 2D node. </description> </method> + <method name="set_global_pos" > + <argument index="0" name="arg0" type="Vector2"> + </argument> + <description> + </description> + </method> <method name="set_transform" > <argument index="0" name="xform" type="Matrix32"> </argument> @@ -14857,6 +16242,30 @@ Return the amount of fixed iterations per second (for fixed process and physics). </description> </method> + <method name="set_target_fps" > + <argument index="0" name="target_fps" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_target_fps" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_time_scale" > + <argument index="0" name="time_scale" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_time_scale" > + <return type="float"> + </return> + <description> + </description> + </method> <method name="has_touchscreen_ui_hint" qualifiers="const" > <return type="bool"> </return> @@ -14900,6 +16309,8 @@ </argument> <argument index="2" name="blocking" type="bool"> </argument> + <argument index="3" name="output" type="Array" default="Array()"> + </argument> <description> Execute the binary file in given path, optionally blocking until it returns. A process ID is returned. </description> @@ -14921,6 +16332,12 @@ <description> </description> </method> + <method name="get_process_ID" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> <method name="get_environment" qualifiers="const" > <return type="String"> </return> @@ -15052,6 +16469,12 @@ <description> </description> </method> + <method name="is_debug_build" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> <method name="dump_memory_to_file" > <argument index="0" name="file" type="String"> </argument> @@ -15109,7 +16532,7 @@ </description> </method> <method name="get_frames_per_second" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -15118,11 +16541,19 @@ <description> </description> </method> + <method name="print_resources_by_type" > + <argument index="0" name="arg0" type="StringArray"> + </argument> + <description> + </description> + </method> <method name="native_video_play" > <return type="int"> </return> <argument index="0" name="arg0" type="String"> </argument> + <argument index="1" name="arg1" type="float"> + </argument> <description> </description> </method> @@ -15140,6 +16571,12 @@ <description> </description> </method> + <method name="set_use_file_access_save_and_swap" > + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> </methods> <constants> <constant name="DAY_SUNDAY" value="0"> @@ -15208,6 +16645,10 @@ Return the property list, array of dictionaries, dictionaries must countain: name:String, type:int (see TYPE_* enum in globals) and optionally: hint:int (see PROPERTY_HINT_* in globals), hint_string:String, usage:int (see PROPERTY_USAGE_* in globals). </description> </method> + <method name="_init" qualifiers="virtual" > + <description> + </description> + </method> <method name="_notification" qualifiers="virtual" > <argument index="0" name="what" type="int"> </argument> @@ -15419,6 +16860,8 @@ </description> </method> <method name="connect" > + <return type="int"> + </return> <argument index="0" name="signal" type="String"> </argument> <argument index="1" name="target" type="Object"> @@ -15479,9 +16922,9 @@ Set true if this object can translate strings (in calls to tr() ). Default is true. </description> </method> - <method name="can_translate_messages" > - <argument index="0" name="arg0" type="bool"> - </argument> + <method name="can_translate_messages" qualifiers="const" > + <return type="bool"> + </return> <description> Return true if this object can translate strings. </description> @@ -15716,6 +17159,72 @@ </signals> <constants> </constants> + <theme_items> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="arrow_margin" type="int"> + </theme_item> + <theme_item name="font_color_disabled" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_color_hover" type="Color"> + </theme_item> + <theme_item name="font_color_pressed" type="Color"> + </theme_item> + <theme_item name="arrow" type="Texture"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="hover" type="StyleBox"> + </theme_item> + <theme_item name="pressed" type="StyleBox"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + <theme_item name="disabled" type="StyleBox"> + </theme_item> + <theme_item name="normal" type="StyleBox"> + </theme_item> + </theme_items> +</class> +<class name="PCKPacker" inherits="Object" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="pck_start" > + <return type="int"> + </return> + <argument index="0" name="pck_name" type="String"> + </argument> + <argument index="1" name="alignment" type="int"> + </argument> + <description> + </description> + </method> + <method name="add_file" > + <return type="int"> + </return> + <argument index="0" name="pck_path" type="String"> + </argument> + <argument index="1" name="source_path" type="String"> + </argument> + <description> + </description> + </method> + <method name="flush" > + <return type="int"> + </return> + <argument index="0" name="arg0" type="bool"> + </argument> + <description> + </description> + </method> + </methods> + <constants> + </constants> </class> <class name="PHashTranslation" inherits="Translation" category="Core"> <brief_description> @@ -15830,6 +17339,12 @@ <description> </description> </method> + <method name="get_available_packet_count" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -15865,6 +17380,14 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="panelf" type="StyleBox"> + </theme_item> + <theme_item name="panel" type="StyleBox"> + </theme_item> + <theme_item name="panelnc" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="PanelContainer" inherits="Container" category="Core"> <brief_description> @@ -15877,6 +17400,10 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="panel" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="ParallaxBackground" inherits="CanvasLayer" category="Core"> <brief_description> @@ -16001,49 +17528,49 @@ </description> </method> <method name="set_radius" > - <argument index="0" name="radius" type="real"> + <argument index="0" name="radius" type="float"> </argument> <description> </description> </method> <method name="get_radius" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_disable_radius" > - <argument index="0" name="radius" type="real"> + <argument index="0" name="radius" type="float"> </argument> <description> </description> </method> <method name="get_disable_radius" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_gravity" > - <argument index="0" name="gravity" type="real"> + <argument index="0" name="gravity" type="float"> </argument> <description> </description> </method> <method name="get_gravity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_absorption" > - <argument index="0" name="absorption" type="real"> + <argument index="0" name="absorption" type="float"> </argument> <description> </description> </method> <method name="get_absorption" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -16191,14 +17718,14 @@ <method name="set_variable" > <argument index="0" name="variable" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> Set a specific variable for the particle system (see VAR_* enum). </description> </method> <method name="get_variable" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="variable" type="int"> </argument> @@ -16209,14 +17736,14 @@ <method name="set_randomness" > <argument index="0" name="variable" type="int"> </argument> - <argument index="1" name="randomness" type="real"> + <argument index="1" name="randomness" type="float"> </argument> <description> Set the randomness for a specific variable of the particle system. Randomness produces small changes from the default each time a particle is emitted. </description> </method> <method name="get_randomness" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="int"> </argument> @@ -16227,14 +17754,14 @@ <method name="set_color_phase_pos" > <argument index="0" name="phase" type="int"> </argument> - <argument index="1" name="pos" type="real"> + <argument index="1" name="pos" type="float"> </argument> <description> Set the position of a color phase (0 to 1) </description> </method> <method name="get_color_phase_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="phase" type="int"> </argument> @@ -16275,13 +17802,13 @@ </description> </method> <method name="set_emit_timeout" > - <argument index="0" name="arg0" type="real"> + <argument index="0" name="arg0" type="float"> </argument> <description> </description> </method> <method name="get_emit_timeout" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -16385,49 +17912,49 @@ </description> </method> <method name="set_lifetime" > - <argument index="0" name="lifetime" type="real"> + <argument index="0" name="lifetime" type="float"> </argument> <description> </description> </method> <method name="get_lifetime" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_time_scale" > - <argument index="0" name="time_scale" type="real"> + <argument index="0" name="time_scale" type="float"> </argument> <description> </description> </method> <method name="get_time_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_pre_process_time" > - <argument index="0" name="time" type="real"> + <argument index="0" name="time" type="float"> </argument> <description> </description> </method> <method name="get_pre_process_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_emit_timeout" > - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> <description> </description> </method> <method name="get_emit_timeout" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -16435,13 +17962,13 @@ <method name="set_param" > <argument index="0" name="param" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> </description> </method> <method name="get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="param" type="int"> </argument> @@ -16451,13 +17978,13 @@ <method name="set_randomness" > <argument index="0" name="param" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> </description> </method> <method name="get_randomness" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="param" type="int"> </argument> @@ -16555,13 +18082,13 @@ <method name="set_color_phase_pos" > <argument index="0" name="phase" type="int"> </argument> - <argument index="1" name="pos" type="real"> + <argument index="1" name="pos" type="float"> </argument> <description> </description> </method> <method name="get_color_phase_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="phase" type="int"> </argument> @@ -16569,7 +18096,7 @@ </description> </method> <method name="pre_process" > - <argument index="0" name="time" type="real"> + <argument index="0" name="time" type="float"> </argument> <description> </description> @@ -16599,13 +18126,13 @@ </description> </method> <method name="set_explosiveness" > - <argument index="0" name="amount" type="real"> + <argument index="0" name="amount" type="float"> </argument> <description> </description> </method> <method name="get_explosiveness" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -16640,13 +18167,13 @@ </constant> <constant name="PARAM_TANGENTIAL_ACCEL" value="8"> </constant> - <constant name="PARAM_INITIAL_SIZE" value="10"> + <constant name="PARAM_INITIAL_SIZE" value="11"> </constant> - <constant name="PARAM_FINAL_SIZE" value="11"> + <constant name="PARAM_FINAL_SIZE" value="12"> </constant> - <constant name="PARAM_HUE_VARIATION" value="12"> + <constant name="PARAM_HUE_VARIATION" value="13"> </constant> - <constant name="PARAM_MAX" value="13"> + <constant name="PARAM_MAX" value="14"> </constant> <constant name="MAX_COLOR_PHASES" value="4"> </constant> @@ -16703,49 +18230,49 @@ </description> <methods> <method name="set_offset" > - <argument index="0" name="offset" type="real"> + <argument index="0" name="offset" type="float"> </argument> <description> </description> </method> <method name="get_offset" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_h_offset" > - <argument index="0" name="h_offset" type="real"> + <argument index="0" name="h_offset" type="float"> </argument> <description> </description> </method> <method name="get_h_offset" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_v_offset" > - <argument index="0" name="v_offset" type="real"> + <argument index="0" name="v_offset" type="float"> </argument> <description> </description> </method> <method name="get_v_offset" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_unit_offset" > - <argument index="0" name="unit_offset" type="real"> + <argument index="0" name="unit_offset" type="float"> </argument> <description> </description> </method> <method name="get_unit_offset" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -16798,6 +18325,100 @@ </constant> </constants> </class> +<class name="PathFollow2D" inherits="Node2D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_offset" > + <argument index="0" name="offset" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_offset" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_h_offset" > + <argument index="0" name="h_offset" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_h_offset" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_v_offset" > + <argument index="0" name="v_offset" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_v_offset" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_unit_offset" > + <argument index="0" name="unit_offset" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_unit_offset" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_rotate" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_rotating" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_cubic_interpolation" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_cubic_interpolation" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_loop" > + <argument index="0" name="loop" type="bool"> + </argument> + <description> + </description> + </method> + <method name="has_loop" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="PathRemap" inherits="Object" category="Core"> <brief_description> Singleton containing the list of remapped resources. @@ -16858,7 +18479,7 @@ </description> <methods> <method name="get_monitor" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="monitor" type="int"> </argument> @@ -16909,7 +18530,19 @@ </constant> <constant name="RENDER_VERTEX_MEM_USED" value="19"> </constant> - <constant name="MONITOR_MAX" value="21"> + <constant name="PHYSICS_2D_ACTIVE_OBJECTS" value="21"> + </constant> + <constant name="PHYSICS_2D_COLLISION_PAIRS" value="22"> + </constant> + <constant name="PHYSICS_2D_ISLAND_COUNT" value="23"> + </constant> + <constant name="PHYSICS_3D_ACTIVE_OBJECTS" value="24"> + </constant> + <constant name="PHYSICS_3D_COLLISION_PAIRS" value="25"> + </constant> + <constant name="PHYSICS_3D_ISLAND_COUNT" value="26"> + </constant> + <constant name="MONITOR_MAX" value="27"> </constant> </constants> </class> @@ -16929,21 +18562,21 @@ </description> </method> <method name="get_total_density" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the space density currently being applied to this body. </description> </method> <method name="get_inverse_mass" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the inverse of the mass of the body. </description> </method> <method name="get_inverse_inertia" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the inverse of the inertia of the body. @@ -16964,14 +18597,14 @@ </description> </method> <method name="set_angular_velocity" > - <argument index="0" name="velocity" type="real"> + <argument index="0" name="velocity" type="float"> </argument> <description> Change the angular velocity of the body. </description> </method> <method name="get_angular_velocity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the angular velocity of the body. @@ -17083,6 +18716,12 @@ Return the collider shape index. </description> </method> + <method name="get_contact_collider_shape_metadata" qualifiers="const" > + <argument index="0" name="contact_idx" type="int"> + </argument> + <description> + </description> + </method> <method name="get_contact_collider_velocity_at_pos" qualifiers="const" > <return type="Vector2"> </return> @@ -17093,7 +18732,7 @@ </description> </method> <method name="get_step" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the timestep (delta) used for the simulation. @@ -17134,13 +18773,17 @@ </description> <methods> <method name="intersect_ray" > + <return type="Dictionary"> + </return> <argument index="0" name="from" type="Vector2"> </argument> <argument index="1" name="to" type="Vector2"> </argument> <argument index="2" name="exclude" type="Array" default="Array()"> </argument> - <argument index="3" name="umask" type="int" default="0"> + <argument index="3" name="layer_mask" type="int" default="2147483647"> + </argument> + <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: [br] @@ -17155,36 +18798,56 @@ </description> </method> <method name="intersect_shape" > - <argument index="0" name="shape" type="RID"> - </argument> - <argument index="1" name="xform" type="Matrix32"> - </argument> - <argument index="2" name="result_max" type="int"> - </argument> - <argument index="3" name="exclude" type="Array" default="Array()"> + <return type="Array"> + </return> + <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> </argument> - <argument index="4" name="umask" type="int" default="0"> + <argument index="1" name="max_results" type="int" default="32"> </argument> <description> Intersect a given shape (RID or [Shape2D]) against the space, the intersected shapes are returned in a special result object. </description> </method> <method name="cast_motion" > - <argument index="0" name="shape" type="RID"> - </argument> - <argument index="1" name="xform" type="Matrix32"> + <return type="Array"> + </return> + <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> </argument> - <argument index="2" name="motion" type="int"> + <description> + </description> + </method> + <method name="collide_shape" > + <return type="Array"> + </return> + <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> </argument> - <argument index="3" name="exclude" type="Array" default="Array()"> + <argument index="1" name="max_results" type="int" default="32"> </argument> - <argument index="4" name="umask" type="int" default="0"> + <description> + </description> + </method> + <method name="get_rest_info" > + <return type="Dictionary"> + </return> + <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> </argument> <description> </description> </method> </methods> <constants> + <constant name="TYPE_MASK_STATIC_BODY" value="1"> + </constant> + <constant name="TYPE_MASK_KINEMATIC_BODY" value="2"> + </constant> + <constant name="TYPE_MASK_RIGID_BODY" value="4"> + </constant> + <constant name="TYPE_MASK_CHARACTER_BODY" value="8"> + </constant> + <constant name="TYPE_MASK_AREA" value="16"> + </constant> + <constant name="TYPE_MASK_COLLISION" value="15"> + </constant> </constants> </class> <class name="Physics2DServer" inherits="Object" category="Core"> @@ -17252,13 +18915,13 @@ </argument> <argument index="1" name="param" type="int"> </argument> - <argument index="2" name="value" type="real"> + <argument index="2" name="value" type="float"> </argument> <description> </description> </method> <method name="space_get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="space" type="RID"> </argument> @@ -17316,20 +18979,20 @@ <method name="area_add_shape" > <argument index="0" name="area" type="RID"> </argument> - <argument index="1" name="shape" type="int"> + <argument index="1" name="shape" type="RID"> </argument> - <argument index="2" name="transform" type="RID" default="1,0, 0,1, 0,0"> + <argument index="2" name="transform" type="Matrix32" default="1,0, 0,1, 0,0"> </argument> <description> </description> </method> - <method name="area_set_shape" qualifiers="const" > - <return type="RID"> - </return> + <method name="area_set_shape" > <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> </argument> + <argument index="2" name="shape" type="RID"> + </argument> <description> </description> </method> @@ -17517,6 +19180,16 @@ <description> </description> </method> + <method name="body_set_shape_metadata" > + <argument index="0" name="body" type="RID"> + </argument> + <argument index="1" name="shape_idx" type="int"> + </argument> + <argument index="2" name="metadata" type="var"> + </argument> + <description> + </description> + </method> <method name="body_get_shape_count" qualifiers="const" > <return type="int"> </return> @@ -17545,6 +19218,14 @@ <description> </description> </method> + <method name="body_get_shape_metadata" qualifiers="const" > + <argument index="0" name="body" type="RID"> + </argument> + <argument index="1" name="shape_idx" type="int"> + </argument> + <description> + </description> + </method> <method name="body_remove_shape" > <argument index="0" name="body" type="RID"> </argument> @@ -17611,18 +19292,54 @@ <description> </description> </method> + <method name="body_set_layer_mask" > + <argument index="0" name="body" type="RID"> + </argument> + <argument index="1" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="body_get_layer_mask" qualifiers="const" > + <return type="int"> + </return> + <argument index="0" name="body" type="RID"> + </argument> + <argument index="1" name="arg1" type="int"> + </argument> + <description> + </description> + </method> + <method name="body_set_user_mask" > + <argument index="0" name="body" type="RID"> + </argument> + <argument index="1" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="body_get_user_mask" qualifiers="const" > + <return type="int"> + </return> + <argument index="0" name="body" type="RID"> + </argument> + <argument index="1" name="arg1" type="int"> + </argument> + <description> + </description> + </method> <method name="body_set_param" > <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="param" type="int"> </argument> - <argument index="2" name="value" type="real"> + <argument index="2" name="value" type="float"> </argument> <description> </description> </method> <method name="body_get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="body" type="RID"> </argument> @@ -17732,13 +19449,13 @@ </argument> <argument index="1" name="param" type="int"> </argument> - <argument index="2" name="value" type="real"> + <argument index="2" name="value" type="float"> </argument> <description> </description> </method> <method name="joint_get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="joint" type="RID"> </argument> @@ -17794,13 +19511,13 @@ </argument> <argument index="1" name="param" type="int"> </argument> - <argument index="2" name="value" type="real" default="RID()"> + <argument index="2" name="value" type="float" default="RID()"> </argument> <description> </description> </method> <method name="damped_string_joint_get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="joint" type="RID"> </argument> @@ -17829,6 +19546,14 @@ <description> </description> </method> + <method name="get_process_info" > + <return type="int"> + </return> + <argument index="0" name="arg0" type="int"> + </argument> + <description> + </description> + </method> </methods> <constants> <constant name="SHAPE_LINE" value="0"> @@ -17913,6 +19638,12 @@ </constant> <constant name="AREA_BODY_REMOVED" value="1"> </constant> + <constant name="INFO_ACTIVE_OBJECTS" value="0"> + </constant> + <constant name="INFO_COLLISION_PAIRS" value="1"> + </constant> + <constant name="INFO_ISLAND_COUNT" value="2"> + </constant> </constants> </class> <class name="Physics2DServerSW" inherits="Physics2DServer" category="Core"> @@ -17925,6 +19656,106 @@ <constants> </constants> </class> +<class name="Physics2DShapeQueryParameters" inherits="Reference" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_shape" > + <argument index="0" name="shape" type="Shape2D"> + </argument> + <description> + </description> + </method> + <method name="set_shape_rid" > + <argument index="0" name="shape" type="RID"> + </argument> + <description> + </description> + </method> + <method name="get_shape_rid" qualifiers="const" > + <return type="RID"> + </return> + <description> + </description> + </method> + <method name="set_transform" > + <argument index="0" name="transform" type="Matrix32"> + </argument> + <description> + </description> + </method> + <method name="get_transform" qualifiers="const" > + <return type="Matrix32"> + </return> + <description> + </description> + </method> + <method name="set_motion" > + <argument index="0" name="motion" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_motion" qualifiers="const" > + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="set_margin" > + <argument index="0" name="margin" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_margin" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_layer_mask" > + <argument index="0" name="layer_mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_layer_mask" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_object_type_mask" > + <argument index="0" name="object_type_mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_object_type_mask" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_exclude" > + <argument index="0" name="exclude" type="Array"> + </argument> + <description> + </description> + </method> + <method name="get_exclude" qualifiers="const" > + <return type="Array"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="Physics2DShapeQueryResult" inherits="Reference" category="Core"> <brief_description> </brief_description> @@ -17981,6 +19812,30 @@ PhysicsBody is an abstract base class for implementing a physics body. All PhysicsBody types inherit from it. </description> <methods> + <method name="set_layer_mask" > + <argument index="0" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_layer_mask" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="add_collision_exception_with" > + <argument index="0" name="body" type="PhysicsBody"> + </argument> + <description> + </description> + </method> + <method name="remove_collision_exception_with" > + <argument index="0" name="body" type="PhysicsBody"> + </argument> + <description> + </description> + </method> </methods> <constants> </constants> @@ -17991,6 +19846,30 @@ <description> </description> <methods> + <method name="set_layer_mask" > + <argument index="0" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_layer_mask" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="add_collision_exception_with" > + <argument index="0" name="body" type="PhysicsBody2D"> + </argument> + <description> + </description> + </method> + <method name="remove_collision_exception_with" > + <argument index="0" name="body" type="PhysicsBody2D"> + </argument> + <description> + </description> + </method> </methods> <constants> </constants> @@ -18008,13 +19887,13 @@ </description> </method> <method name="get_total_density" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_inverse_mass" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -18069,6 +19948,14 @@ <description> </description> </method> + <method name="apply_impulse" > + <argument index="0" name="pos" type="Vector3"> + </argument> + <argument index="1" name="j" type="Vector3"> + </argument> + <description> + </description> + </method> <method name="set_sleep_state" > <argument index="0" name="enabled" type="bool"> </argument> @@ -18160,7 +20047,7 @@ </description> </method> <method name="get_step" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -18196,33 +20083,73 @@ </description> <methods> <method name="intersect_ray" > + <return type="Dictionary"> + </return> <argument index="0" name="from" type="Vector3"> </argument> <argument index="1" name="to" type="Vector3"> </argument> <argument index="2" name="exclude" type="Array" default="Array()"> </argument> - <argument index="3" name="umask" type="int" default="0"> + <argument index="3" name="layer_mask" type="int" default="2147483647"> + </argument> + <argument index="4" name="type_mask" type="int" default="15"> </argument> <description> </description> </method> <method name="intersect_shape" > - <argument index="0" name="shape" type="RID"> + <return type="Array"> + </return> + <argument index="0" name="shape" type="PhysicsShapeQueryParameters"> </argument> - <argument index="1" name="xform" type="Transform"> + <argument index="1" name="max_results" type="int" default="32"> </argument> - <argument index="2" name="result_max" type="int"> + <description> + </description> + </method> + <method name="cast_motion" > + <return type="Array"> + </return> + <argument index="0" name="shape" type="PhysicsShapeQueryParameters"> </argument> - <argument index="3" name="exclude" type="Array" default="Array()"> + <argument index="1" name="motion" type="Vector3"> </argument> - <argument index="4" name="umask" type="int" default="0"> + <description> + </description> + </method> + <method name="collide_shape" > + <return type="Array"> + </return> + <argument index="0" name="shape" type="PhysicsShapeQueryParameters"> + </argument> + <argument index="1" name="max_results" type="int" default="32"> + </argument> + <description> + </description> + </method> + <method name="get_rest_info" > + <return type="Dictionary"> + </return> + <argument index="0" name="shape" type="PhysicsShapeQueryParameters"> </argument> <description> </description> </method> </methods> <constants> + <constant name="TYPE_MASK_STATIC_BODY" value="1"> + </constant> + <constant name="TYPE_MASK_KINEMATIC_BODY" value="2"> + </constant> + <constant name="TYPE_MASK_RIGID_BODY" value="4"> + </constant> + <constant name="TYPE_MASK_CHARACTER_BODY" value="8"> + </constant> + <constant name="TYPE_MASK_AREA" value="16"> + </constant> + <constant name="TYPE_MASK_COLLISION" value="15"> + </constant> </constants> </class> <class name="PhysicsServer" inherits="Object" category="Core"> @@ -18288,13 +20215,13 @@ </argument> <argument index="1" name="param" type="int"> </argument> - <argument index="2" name="value" type="real"> + <argument index="2" name="value" type="float"> </argument> <description> </description> </method> <method name="space_get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="space" type="RID"> </argument> @@ -18352,20 +20279,20 @@ <method name="area_add_shape" > <argument index="0" name="area" type="RID"> </argument> - <argument index="1" name="shape" type="int"> + <argument index="1" name="shape" type="RID"> </argument> - <argument index="2" name="transform" type="RID" default="Transform()"> + <argument index="2" name="transform" type="Transform" default="Transform()"> </argument> <description> </description> </method> - <method name="area_set_shape" qualifiers="const" > - <return type="RID"> - </return> + <method name="area_set_shape" > <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> </argument> + <argument index="2" name="shape" type="RID"> + </argument> <description> </description> </method> @@ -18421,19 +20348,21 @@ <description> </description> </method> - <method name="area_set_param" qualifiers="const" > + <method name="area_set_param" > <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="param" type="int"> </argument> + <argument index="2" name="value" type="var"> + </argument> <description> </description> </method> - <method name="area_set_transform" qualifiers="const" > - <return type="Transform"> - </return> + <method name="area_set_transform" > <argument index="0" name="area" type="RID"> </argument> + <argument index="1" name="transform" type="Transform"> + </argument> <description> </description> </method> @@ -18479,6 +20408,22 @@ <description> </description> </method> + <method name="area_set_ray_pickable" > + <argument index="0" name="area" type="RID"> + </argument> + <argument index="1" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="area_is_ray_pickable" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="area" type="RID"> + </argument> + <description> + </description> + </method> <method name="body_create" > <return type="RID"> </return> @@ -18632,13 +20577,13 @@ </argument> <argument index="1" name="param" type="int"> </argument> - <argument index="2" name="value" type="real"> + <argument index="2" name="value" type="float"> </argument> <description> </description> </method> <method name="body_get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="body" type="RID"> </argument> @@ -18647,14 +20592,6 @@ <description> </description> </method> - <method name="body_static_simulate_motion" > - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="new_xform" type="Transform"> - </argument> - <description> - </description> - </method> <method name="body_set_state" > <argument index="0" name="body" type="RID"> </argument> @@ -18691,6 +20628,22 @@ <description> </description> </method> + <method name="body_set_axis_lock" > + <argument index="0" name="body" type="RID"> + </argument> + <argument index="1" name="axis" type="int"> + </argument> + <description> + </description> + </method> + <method name="body_get_axis_lock" qualifiers="const" > + <return type="int"> + </return> + <argument index="0" name="body" type="RID"> + </argument> + <description> + </description> + </method> <method name="body_add_collision_exception" > <argument index="0" name="body" type="RID"> </argument> @@ -18751,6 +20704,296 @@ <description> </description> </method> + <method name="body_set_ray_pickable" > + <argument index="0" name="body" type="RID"> + </argument> + <argument index="1" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="body_is_ray_pickable" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="body" type="RID"> + </argument> + <description> + </description> + </method> + <method name="joint_create_pin" > + <return type="RID"> + </return> + <argument index="0" name="body_A" type="RID"> + </argument> + <argument index="1" name="local_A" type="Vector3"> + </argument> + <argument index="2" name="body_B" type="RID"> + </argument> + <argument index="3" name="local_B" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="pin_joint_set_param" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="param" type="int"> + </argument> + <argument index="2" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="pin_joint_get_param" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="pin_joint_set_local_A" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="local_A" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="pin_joint_get_local_A" qualifiers="const" > + <return type="Vector3"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <description> + </description> + </method> + <method name="pin_joint_set_local_B" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="local_B" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="pin_joint_get_local_B" qualifiers="const" > + <return type="Vector3"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <description> + </description> + </method> + <method name="joint_create_hinge" > + <return type="RID"> + </return> + <argument index="0" name="body_A" type="RID"> + </argument> + <argument index="1" name="hinge_A" type="Transform"> + </argument> + <argument index="2" name="body_B" type="RID"> + </argument> + <argument index="3" name="hinge_B" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="hinge_joint_set_param" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="param" type="int"> + </argument> + <argument index="2" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="hinge_joint_get_param" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="hinge_joint_set_flag" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="flag" type="int"> + </argument> + <argument index="2" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="hinge_joint_get_flag" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="flag" type="int"> + </argument> + <description> + </description> + </method> + <method name="joint_create_slider" > + <return type="RID"> + </return> + <argument index="0" name="body_A" type="RID"> + </argument> + <argument index="1" name="local_ref_A" type="Transform"> + </argument> + <argument index="2" name="body_B" type="RID"> + </argument> + <argument index="3" name="local_ref_B" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="slider_joint_set_param" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="param" type="int"> + </argument> + <argument index="2" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="slider_joint_get_param" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="joint_create_cone_twist" > + <return type="RID"> + </return> + <argument index="0" name="body_A" type="RID"> + </argument> + <argument index="1" name="local_ref_A" type="Transform"> + </argument> + <argument index="2" name="body_B" type="RID"> + </argument> + <argument index="3" name="local_ref_B" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="cone_twist_joint_set_param" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="param" type="int"> + </argument> + <argument index="2" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="cone_twist_joint_get_param" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="joint_get_type" qualifiers="const" > + <return type="int"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <description> + </description> + </method> + <method name="joint_set_solver_priority" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="priority" type="int"> + </argument> + <description> + </description> + </method> + <method name="joint_get_solver_priority" qualifiers="const" > + <return type="int"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <description> + </description> + </method> + <method name="joint_create_generic_6dof" > + <return type="RID"> + </return> + <argument index="0" name="body_A" type="RID"> + </argument> + <argument index="1" name="local_ref_A" type="Transform"> + </argument> + <argument index="2" name="body_B" type="RID"> + </argument> + <argument index="3" name="local_ref_B" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="generic_6dof_joint_set_param" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="axis" type="int"> + </argument> + <argument index="2" name="param" type="int"> + </argument> + <argument index="3" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="generic_6dof_joint_get_param" > + <return type="float"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="axis" type="int"> + </argument> + <argument index="2" name="param" type="int"> + </argument> + <description> + </description> + </method> + <method name="generic_6dof_joint_set_flag" > + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="axis" type="int"> + </argument> + <argument index="2" name="flag" type="int"> + </argument> + <argument index="3" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="generic_6dof_joint_get_flag" > + <return type="bool"> + </return> + <argument index="0" name="joint" type="RID"> + </argument> + <argument index="1" name="axis" type="int"> + </argument> + <argument index="2" name="flag" type="int"> + </argument> + <description> + </description> + </method> <method name="free" > <argument index="0" name="rid" type="RID"> </argument> @@ -18763,8 +21006,142 @@ <description> </description> </method> + <method name="get_process_info" > + <return type="int"> + </return> + <argument index="0" name="arg0" type="int"> + </argument> + <description> + </description> + </method> </methods> <constants> + <constant name="JOINT_PIN" value="0"> + </constant> + <constant name="JOINT_HINGE" value="1"> + </constant> + <constant name="JOINT_SLIDER" value="2"> + </constant> + <constant name="JOINT_CONE_TWIST" value="3"> + </constant> + <constant name="JOINT_6DOF" value="4"> + </constant> + <constant name="PIN_JOINT_BIAS" value="0"> + </constant> + <constant name="PIN_JOINT_DAMPING" value="1"> + </constant> + <constant name="PIN_JOINT_IMPULSE_CLAMP" value="2"> + </constant> + <constant name="HINGE_JOINT_BIAS" value="0"> + </constant> + <constant name="HINGE_JOINT_LIMIT_UPPER" value="1"> + </constant> + <constant name="HINGE_JOINT_LIMIT_LOWER" value="2"> + </constant> + <constant name="HINGE_JOINT_LIMIT_BIAS" value="3"> + </constant> + <constant name="HINGE_JOINT_LIMIT_SOFTNESS" value="4"> + </constant> + <constant name="HINGE_JOINT_LIMIT_RELAXATION" value="5"> + </constant> + <constant name="HINGE_JOINT_MOTOR_TARGET_VELOCITY" value="6"> + </constant> + <constant name="HINGE_JOINT_MOTOR_MAX_IMPULSE" value="7"> + </constant> + <constant name="HINGE_JOINT_FLAG_USE_LIMIT" value="0"> + </constant> + <constant name="HINGE_JOINT_FLAG_ENABLE_MOTOR" value="1"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_UPPER" value="0"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_LOWER" value="1"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_SOFTNESS" value="2"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_RESTITUTION" value="3"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_LIMIT_DAMPING" value="4"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_MOTION_SOFTNESS" value="5"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_MOTION_RESTITUTION" value="6"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_MOTION_DAMPING" value="7"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_ORTHOGONAL_SOFTNESS" value="8"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_ORTHOGONAL_RESTITUTION" value="9"> + </constant> + <constant name="SLIDER_JOINT_LINEAR_ORTHOGONAL_DAMPING" value="10"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_UPPER" value="11"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_LOWER" value="12"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_SOFTNESS" value="13"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_RESTITUTION" value="14"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_LIMIT_DAMPING" value="15"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_MOTION_SOFTNESS" value="16"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_MOTION_RESTITUTION" value="17"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_MOTION_DAMPING" value="18"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_ORTHOGONAL_SOFTNESS" value="19"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_ORTHOGONAL_RESTITUTION" value="20"> + </constant> + <constant name="SLIDER_JOINT_ANGULAR_ORTHOGONAL_DAMPING" value="21"> + </constant> + <constant name="SLIDER_JOINT_MAX" value="22"> + </constant> + <constant name="CONE_TWIST_JOINT_SWING_SPAN" value="0"> + </constant> + <constant name="CONE_TWIST_JOINT_TWIST_SPAN" value="1"> + </constant> + <constant name="CONE_TWIST_JOINT_BIAS" value="2"> + </constant> + <constant name="CONE_TWIST_JOINT_SOFTNESS" value="3"> + </constant> + <constant name="CONE_TWIST_JOINT_RELAXATION" value="4"> + </constant> + <constant name="G6DOF_JOINT_LINEAR_LOWER_LIMIT" value="0"> + </constant> + <constant name="G6DOF_JOINT_LINEAR_UPPER_LIMIT" value="1"> + </constant> + <constant name="G6DOF_JOINT_LINEAR_LIMIT_SOFTNESS" value="2"> + </constant> + <constant name="G6DOF_JOINT_LINEAR_RESTITUTION" value="3"> + </constant> + <constant name="G6DOF_JOINT_LINEAR_DAMPING" value="4"> + </constant> + <constant name="G6DOF_JOINT_ANGULAR_LOWER_LIMIT" value="5"> + </constant> + <constant name="G6DOF_JOINT_ANGULAR_UPPER_LIMIT" value="6"> + </constant> + <constant name="G6DOF_JOINT_ANGULAR_LIMIT_SOFTNESS" value="7"> + </constant> + <constant name="G6DOF_JOINT_ANGULAR_DAMPING" value="8"> + </constant> + <constant name="G6DOF_JOINT_ANGULAR_RESTITUTION" value="9"> + </constant> + <constant name="G6DOF_JOINT_ANGULAR_FORCE_LIMIT" value="10"> + </constant> + <constant name="G6DOF_JOINT_ANGULAR_ERP" value="11"> + </constant> + <constant name="G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY" value="12"> + </constant> + <constant name="G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT" value="13"> + </constant> + <constant name="G6DOF_JOINT_FLAG_ENABLE_LINEAR_LIMIT" value="0"> + </constant> + <constant name="G6DOF_JOINT_FLAG_ENABLE_ANGULAR_LIMIT" value="1"> + </constant> + <constant name="G6DOF_JOINT_FLAG_ENABLE_MOTOR" value="2"> + </constant> <constant name="SHAPE_PLANE" value="0"> </constant> <constant name="SHAPE_RAY" value="1"> @@ -18831,6 +21208,12 @@ </constant> <constant name="AREA_BODY_REMOVED" value="1"> </constant> + <constant name="INFO_ACTIVE_OBJECTS" value="0"> + </constant> + <constant name="INFO_COLLISION_PAIRS" value="1"> + </constant> + <constant name="INFO_ISLAND_COUNT" value="2"> + </constant> </constants> </class> <class name="PhysicsServerSW" inherits="PhysicsServer" category="Core"> @@ -18843,6 +21226,94 @@ <constants> </constants> </class> +<class name="PhysicsShapeQueryParameters" inherits="Reference" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_shape" > + <argument index="0" name="shape" type="Shape"> + </argument> + <description> + </description> + </method> + <method name="set_shape_rid" > + <argument index="0" name="shape" type="RID"> + </argument> + <description> + </description> + </method> + <method name="get_shape_rid" qualifiers="const" > + <return type="RID"> + </return> + <description> + </description> + </method> + <method name="set_transform" > + <argument index="0" name="transform" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="get_transform" qualifiers="const" > + <return type="Transform"> + </return> + <description> + </description> + </method> + <method name="set_margin" > + <argument index="0" name="margin" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_margin" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_layer_mask" > + <argument index="0" name="layer_mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_layer_mask" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_object_type_mask" > + <argument index="0" name="object_type_mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_object_type_mask" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_exclude" > + <argument index="0" name="exclude" type="Array"> + </argument> + <description> + </description> + </method> + <method name="get_exclude" qualifiers="const" > + <return type="Array"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="PhysicsShapeQueryResult" inherits="Reference" category="Core"> <brief_description> Result of a shape query in Physics2DServer. @@ -18892,6 +21363,38 @@ <constants> </constants> </class> +<class name="PinJoint" inherits="Joint" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_param" > + <argument index="0" name="param" type="int"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_param" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="param" type="int"> + </argument> + <description> + </description> + </method> + </methods> + <constants> + <constant name="PARAM_BIAS" value="0"> + </constant> + <constant name="PARAM_DAMPING" value="1"> + </constant> + <constant name="PARAM_IMPULSE_CLAMP" value="2"> + </constant> + </constants> +</class> <class name="PinJoint2D" inherits="Joint2D" category="Core"> <brief_description> Pin Joint for 2D Shapes. @@ -18919,7 +21422,7 @@ </description> </method> <method name="distance_to" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="point" type="Vector3"> </argument> @@ -18937,7 +21440,7 @@ </return> <argument index="0" name="point" type="Vector3"> </argument> - <argument index="1" name="epsilon" type="real" default="0.00001"> + <argument index="1" name="epsilon" type="float" default="0.00001"> </argument> <description> Returns true if "p" is inside the plane (by a very minimum treshold). @@ -19002,13 +21505,13 @@ </description> </method> <method name="Plane" > - <argument index="0" name="a" type="real"> + <argument index="0" name="a" type="float"> </argument> - <argument index="1" name="b" type="real"> + <argument index="1" name="b" type="float"> </argument> - <argument index="2" name="c" type="real"> + <argument index="2" name="c" type="float"> </argument> - <argument index="3" name="d" type="real"> + <argument index="3" name="d" type="float"> </argument> <description> </description> @@ -19026,7 +21529,7 @@ <method name="Plane" > <argument index="0" name="normal" type="Vector3"> </argument> - <argument index="1" name="d" type="real"> + <argument index="1" name="d" type="float"> </argument> <description> </description> @@ -19035,13 +21538,13 @@ <members> <member name="normal" type="Vector3"> </member> - <member name="x" type="real"> + <member name="x" type="float"> </member> - <member name="y" type="real"> + <member name="y" type="float"> </member> - <member name="z" type="real"> + <member name="z" type="float"> </member> - <member name="d" type="real"> + <member name="d" type="float"> </member> </members> <constants> @@ -19069,6 +21572,224 @@ <constants> </constants> </class> +<class name="Polygon2D" inherits="Node2D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_polygon" > + <argument index="0" name="polygon" type="Vector2Array"> + </argument> + <description> + </description> + </method> + <method name="get_polygon" qualifiers="const" > + <return type="Vector2Array"> + </return> + <description> + </description> + </method> + <method name="set_uv" > + <argument index="0" name="uv" type="Vector2Array"> + </argument> + <description> + </description> + </method> + <method name="get_uv" qualifiers="const" > + <return type="Vector2Array"> + </return> + <description> + </description> + </method> + <method name="set_color" > + <argument index="0" name="color" type="Color"> + </argument> + <description> + </description> + </method> + <method name="get_color" qualifiers="const" > + <return type="Color"> + </return> + <description> + </description> + </method> + <method name="set_texture" > + <argument index="0" name="texture" type="Object"> + </argument> + <description> + </description> + </method> + <method name="get_texture" qualifiers="const" > + <return type="Object"> + </return> + <description> + </description> + </method> + <method name="set_texture_offset" > + <argument index="0" name="texture_offset" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_texture_offset" qualifiers="const" > + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="set_texture_rotation" > + <argument index="0" name="texture_rotation" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_texture_rotation" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_texture_scale" > + <argument index="0" name="texture_scale" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_texture_scale" qualifiers="const" > + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="set_texture_repeat" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_texture_repeat" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_invert" > + <argument index="0" name="invert" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_invert" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_invert_border" > + <argument index="0" name="invert_border" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_invert_border" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_offset" > + <argument index="0" name="offset" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_offset" qualifiers="const" > + <return type="Vector2"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> +<class name="PolygonPathFinder" inherits="Resource" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="setup" > + <argument index="0" name="points" type="Vector2Array"> + </argument> + <argument index="1" name="connections" type="IntArray"> + </argument> + <description> + </description> + </method> + <method name="find_path" > + <return type="Vector2Array"> + </return> + <argument index="0" name="from" type="Vector2"> + </argument> + <argument index="1" name="to" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_intersections" qualifiers="const" > + <return type="Vector2Array"> + </return> + <argument index="0" name="from" type="Vector2"> + </argument> + <argument index="1" name="to" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_closest_point" qualifiers="const" > + <return type="Vector2"> + </return> + <argument index="0" name="point" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="is_point_inside" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="point" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="set_point_penalty" > + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="penalty" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_point_penalty" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_bounds" qualifiers="const" > + <return type="Rect2"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="Popup" inherits="Control" category="Core"> <brief_description> Base container control for popups and dialogs. @@ -19085,7 +21806,7 @@ </description> </method> <method name="popup_centered_ratio" > - <argument index="0" name="ratio" type="real" default="0.75"> + <argument index="0" name="ratio" type="float" default="0.75"> </argument> <description> Popup (show the control in modal form) in the center of the screen, scalled at a ratio of size of the screen. @@ -19116,6 +21837,10 @@ </method> </methods> <signals> + <signal name="popup_hide"> + <description> + </description> + </signal> <signal name="about_to_show"> <description> This signal is emitted when a popup is about to be shown. (often used in [PopupMenu] for clearing the list of options and creating a new one according to the current context). @@ -19125,6 +21850,8 @@ <constants> <constant name="NOTIFICATION_POST_POPUP" value="80"> </constant> + <constant name="NOTIFICATION_POPUP_HIDE" value="81"> + </constant> </constants> </class> <class name="PopupDialog" inherits="Popup" category="Core"> @@ -19197,7 +21924,7 @@ <method name="add_submenu_item" > <argument index="0" name="label" type="String"> </argument> - <argument index="1" name="submenu" type="int"> + <argument index="1" name="submenu" type="String"> </argument> <argument index="2" name="id" type="int" default="-1"> </argument> @@ -19416,6 +22143,36 @@ </signals> <constants> </constants> + <theme_items> + <theme_item name="vseparation" type="int"> + </theme_item> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="font_color_disabled" type="Color"> + </theme_item> + <theme_item name="font_color_accel" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_color_hover" type="Color"> + </theme_item> + <theme_item name="submenu" type="Texture"> + </theme_item> + <theme_item name="checked" type="Texture"> + </theme_item> + <theme_item name="unchecked" type="Texture"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="hover" type="StyleBox"> + </theme_item> + <theme_item name="panel_disabled" type="StyleBox"> + </theme_item> + <theme_item name="panel" type="StyleBox"> + </theme_item> + <theme_item name="separator" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="PopupPanel" inherits="Popup" category="Core"> <brief_description> @@ -19427,6 +22184,10 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="panel" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="Portal" inherits="VisualInstance" category="Core"> <brief_description> @@ -19466,14 +22227,14 @@ </description> </method> <method name="set_disable_distance" > - <argument index="0" name="distance" type="real"> + <argument index="0" name="distance" type="float"> </argument> <description> Set the distance threshold for disabling the portal. Every time that the portal goes beyond "distance", it disables itself, becoming the opaque color (see [method set_disabled_color]). </description> </method> <method name="get_disable_distance" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the distance threshold for disabling the portal. Every time that the portal goes beyond "distance", it disables itself, becoming the opaque color (see [method set_disabled_color]). @@ -19494,14 +22255,14 @@ </description> </method> <method name="set_connect_range" > - <argument index="0" name="range" type="real"> + <argument index="0" name="range" type="float"> </argument> <description> Set the range for auto-connecting two portals from different rooms sharing the same space. </description> </method> <method name="get_connect_range" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the range for auto-connecting two portals from different rooms sharing the same space. @@ -19543,9 +22304,33 @@ General purpose progres bar. Shows fill percentage from right to left. </description> <methods> + <method name="set_percent_visible" > + <argument index="0" name="visible" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_percent_visible" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> + <theme_items> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_color_shadow" type="Color"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="fg" type="StyleBox"> + </theme_item> + <theme_item name="bg" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="ProximityGroup" inherits="Spatial" category="Core"> <brief_description> @@ -19676,13 +22461,13 @@ </argument> <argument index="2" name="post_b" type="Quat"> </argument> - <argument index="3" name="t" type="real"> + <argument index="3" name="t" type="float"> </argument> <description> </description> </method> <method name="dot" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="b" type="Quat"> </argument> @@ -19698,14 +22483,14 @@ </description> </method> <method name="length" > - <return type="real"> + <return type="float"> </return> <description> Returns the length of the quaternion. </description> </method> <method name="length_squared" > - <return type="real"> + <return type="float"> </return> <description> Returns the length of the quaternion, minus the square root. @@ -19723,7 +22508,7 @@ </return> <argument index="0" name="b" type="Quat"> </argument> - <argument index="1" name="t" type="real"> + <argument index="1" name="t" type="float"> </argument> <description> Perform a spherical-linear interpolation with another quaternion. @@ -19734,19 +22519,19 @@ </return> <argument index="0" name="b" type="Quat"> </argument> - <argument index="1" name="t" type="real"> + <argument index="1" name="t" type="float"> </argument> <description> </description> </method> <method name="Quat" > - <argument index="0" name="x" type="real"> + <argument index="0" name="x" type="float"> </argument> - <argument index="1" name="y" type="real"> + <argument index="1" name="y" type="float"> </argument> - <argument index="2" name="z" type="real"> + <argument index="2" name="z" type="float"> </argument> - <argument index="3" name="w" type="real"> + <argument index="3" name="w" type="float"> </argument> <description> </description> @@ -19759,13 +22544,13 @@ </method> </methods> <members> - <member name="x" type="real"> + <member name="x" type="float"> </member> - <member name="y" type="real"> + <member name="y" type="float"> </member> - <member name="z" type="real"> + <member name="z" type="float"> </member> - <member name="w" type="real"> + <member name="w" type="float"> </member> </members> <constants> @@ -19802,48 +22587,48 @@ </description> <methods> <method name="get_val" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the current value. </description> </method> <method name="get_value" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_min" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the minimum value. </description> </method> <method name="get_max" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the maximum value. </description> </method> <method name="get_step" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the stepping, if step is 0, stepping is disabled. </description> </method> <method name="get_page" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the page size, if page is 0, paging is disabled. </description> </method> <method name="get_unit_value" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return value mapped to 0 to 1 (unit) range. @@ -19856,46 +22641,46 @@ </description> </method> <method name="set_val" > - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> <description> </description> </method> <method name="set_value" > - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> <description> </description> </method> <method name="set_min" > - <argument index="0" name="minimum" type="real"> + <argument index="0" name="minimum" type="float"> </argument> <description> Set minimum value, clamped range value to it if it"apos;s less. </description> </method> <method name="set_max" > - <argument index="0" name="maximum" type="real"> + <argument index="0" name="maximum" type="float"> </argument> <description> </description> </method> <method name="set_step" > - <argument index="0" name="step" type="real"> + <argument index="0" name="step" type="float"> </argument> <description> Set step value. If step is 0, stepping will be disabled. </description> </method> <method name="set_page" > - <argument index="0" name="pagesize" type="real"> + <argument index="0" name="pagesize" type="float"> </argument> <description> Set page size. Page is mainly used for scrollbars or anything that controls text scrolling. </description> </method> <method name="set_unit_value" > - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> <description> Set value mapped to 0 to 1 (unit) range, it will then be converted to the actual value within min and max. @@ -19932,7 +22717,7 @@ </methods> <signals> <signal name="value_changed"> - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> <description> This signal is emitted when value changes. @@ -20135,6 +22920,46 @@ <description> </description> </method> + <method name="add_exception_rid" > + <argument index="0" name="rid" type="RID"> + </argument> + <description> + </description> + </method> + <method name="add_exception" > + <argument index="0" name="node" type="Object"> + </argument> + <description> + </description> + </method> + <method name="remove_exception_rid" > + <argument index="0" name="rid" type="RID"> + </argument> + <description> + </description> + </method> + <method name="remove_exception" > + <argument index="0" name="node" type="Object"> + </argument> + <description> + </description> + </method> + <method name="clear_exceptions" > + <description> + </description> + </method> + <method name="set_layer_mask" > + <argument index="0" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_layer_mask" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -20146,13 +22971,13 @@ </description> <methods> <method name="set_length" > - <argument index="0" name="length" type="real"> + <argument index="0" name="length" type="float"> </argument> <description> </description> </method> <method name="get_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -20170,13 +22995,13 @@ </description> <methods> <method name="set_length" > - <argument index="0" name="length" type="real"> + <argument index="0" name="length" type="float"> </argument> <description> </description> </method> <method name="get_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -20194,7 +23019,7 @@ </description> <methods> <method name="get" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="idx" type="int"> </argument> @@ -20202,7 +23027,7 @@ </description> </method> <method name="push_back" > - <argument index="0" name="value" type="real"> + <argument index="0" name="value" type="float"> </argument> <description> </description> @@ -20216,7 +23041,7 @@ <method name="set" > <argument index="0" name="idx" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> </description> @@ -20268,7 +23093,7 @@ </description> </method> <method name="get_area" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -20276,7 +23101,7 @@ <method name="grow" > <return type="Rect2"> </return> - <argument index="0" name="by" type="real"> + <argument index="0" name="by" type="float"> </argument> <description> </description> @@ -20320,13 +23145,13 @@ </description> </method> <method name="Rect2" > - <argument index="0" name="x" type="real"> + <argument index="0" name="x" type="float"> </argument> - <argument index="1" name="y" type="real"> + <argument index="1" name="y" type="float"> </argument> - <argument index="2" name="width" type="real"> + <argument index="2" name="width" type="float"> </argument> - <argument index="3" name="height" type="real"> + <argument index="3" name="height" type="float"> </argument> <description> </description> @@ -20410,6 +23235,10 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="border" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="RegEx" inherits="Reference" category="Core"> <brief_description> @@ -20494,6 +23323,12 @@ Set the path of the resource. This is useful mainly for editors when saving/loading, and shouldn"apos;t be changed by anything else. </description> </method> + <method name="take_over_path" > + <argument index="0" name="path" type="String"> + </argument> + <description> + </description> + </method> <method name="get_path" qualifiers="const" > <return type="String"> </return> @@ -20836,6 +23671,18 @@ </method> </methods> <constants> + <constant name="FLAG_RELATIVE_PATHS" value="1"> + </constant> + <constant name="FLAG_BUNDLE_RESOURCES" value="2"> + </constant> + <constant name="FLAG_CHANGE_PATH" value="4"> + </constant> + <constant name="FLAG_OMIT_EDITOR_PROPERTIES" value="8"> + </constant> + <constant name="FLAG_SAVE_BIG_ENDIAN" value="16"> + </constant> + <constant name="FLAG_COMPRESS" value="32"> + </constant> </constants> </class> <class name="RichTextLabel" inherits="Control" category="Core"> @@ -20972,6 +23819,22 @@ Return true if selecting the text inside this richtext is allowed. </description> </method> + <method name="parse_bbcode" > + <return type="int"> + </return> + <argument index="0" name="bbcode" type="String"> + </argument> + <description> + </description> + </method> + <method name="append_bbcode" > + <return type="int"> + </return> + <argument index="0" name="bbcode" type="String"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="meta_clicked"> @@ -21019,6 +23882,20 @@ <constant name="ITEM_META" value="10"> </constant> </constants> + <theme_items> + <theme_item name="line_separation" type="int"> + </theme_item> + <theme_item name="default_color" type="Color"> + </theme_item> + <theme_item name="selection_color" type="Color"> + </theme_item> + <theme_item name="font_color_selected" type="Color"> + </theme_item> + <theme_item name="default_font" type="Font"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="RigidBody" inherits="PhysicsBody" category="Core"> <brief_description> @@ -21045,49 +23922,49 @@ </description> </method> <method name="set_mass" > - <argument index="0" name="mass" type="real"> + <argument index="0" name="mass" type="float"> </argument> <description> </description> </method> <method name="get_mass" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_weight" > - <argument index="0" name="weight" type="real"> + <argument index="0" name="weight" type="float"> </argument> <description> </description> </method> <method name="get_weight" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_friction" > - <argument index="0" name="friction" type="real"> + <argument index="0" name="friction" type="float"> </argument> <description> </description> </method> <method name="get_friction" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_bounce" > - <argument index="0" name="bounce" type="real"> + <argument index="0" name="bounce" type="float"> </argument> <description> </description> </method> <method name="get_bounce" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -21178,13 +24055,13 @@ <description> </description> </method> - <method name="set_active" > - <argument index="0" name="active" type="bool"> + <method name="set_sleeping" > + <argument index="0" name="sleeping" type="bool"> </argument> <description> </description> </method> - <method name="is_active" qualifiers="const" > + <method name="is_sleeping" qualifiers="const" > <return type="bool"> </return> <description> @@ -21202,6 +24079,18 @@ <description> </description> </method> + <method name="set_axis_lock" > + <argument index="0" name="axis_lock" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_axis_lock" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> </methods> <signals> <signal name="body_enter"> @@ -21284,56 +24173,56 @@ </description> </method> <method name="set_mass" > - <argument index="0" name="mass" type="real"> + <argument index="0" name="mass" type="float"> </argument> <description> Set the body mass. </description> </method> <method name="get_mass" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the body mass. </description> </method> <method name="set_weight" > - <argument index="0" name="weight" type="real"> + <argument index="0" name="weight" type="float"> </argument> <description> Set the body mass given standard earth-weight (gravity 9.8). Not really useful for 2D since most measuers for this node are in pixels. </description> </method> <method name="get_weight" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the body mass given standard earth-weight (gravity 9.8). </description> </method> <method name="set_friction" > - <argument index="0" name="friction" type="real"> + <argument index="0" name="friction" type="float"> </argument> <description> Set the body friction, from 0 (friction less) to 1 (full friction). </description> </method> <method name="get_friction" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the body friction. </description> </method> <method name="set_bounce" > - <argument index="0" name="bounce" type="real"> + <argument index="0" name="bounce" type="float"> </argument> <description> Set the body bounciness, from 0 (no bounce) to 1 (bounce). </description> </method> <method name="get_bounce" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the body bouncyness. @@ -21354,14 +24243,14 @@ </description> </method> <method name="set_angular_velocity" > - <argument index="0" name="angular_velocity" type="real"> + <argument index="0" name="angular_velocity" type="float"> </argument> <description> Set the body angular velocity. Can be used sporadically, but[b] DONT SET THIS IN EVERY FRAME [/b], because physics may be running in another thread and definitely runs at a different granularity. Use [_integrate_forces] as your process loop if you want to have precise control of the body state. </description> </method> <method name="get_angular_velocity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the body angular velocity. This changes by physics granularity. See [set_angular_velocity]. @@ -21449,18 +24338,16 @@ <description> </description> </method> - <method name="set_active" > - <argument index="0" name="active" type="bool"> + <method name="set_sleeping" > + <argument index="0" name="sleeping" type="bool"> </argument> <description> - Change the body state between sleeping/active states. As a note, static bodies can never be active. </description> </method> - <method name="is_active" qualifiers="const" > + <method name="is_sleeping" qualifiers="const" > <return type="bool"> </return> <description> - Return the body state. As a note, static bodies are never active. </description> </method> <method name="set_can_sleep" > @@ -21799,13 +24686,13 @@ <method name="sample_set_volume_db" > <argument index="0" name="name" type="String"> </argument> - <argument index="1" name="db" type="real"> + <argument index="1" name="db" type="float"> </argument> <description> </description> </method> <method name="sample_get_volume_db" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="name" type="String"> </argument> @@ -21815,13 +24702,13 @@ <method name="sample_set_pitch_scale" > <argument index="0" name="name" type="String"> </argument> - <argument index="1" name="pitch" type="real"> + <argument index="1" name="pitch" type="float"> </argument> <description> </description> </method> <method name="sample_get_pitch_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="name" type="String"> </argument> @@ -21900,7 +24787,7 @@ <method name="set_pitch_scale" > <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="ratio" type="real"> + <argument index="1" name="ratio" type="float"> </argument> <description> Scale the pitch (mix rate) of a voice by a ratio value "ratio". A ratio of 1.0 means the voice is unscaled. @@ -21909,7 +24796,7 @@ <method name="set_volume" > <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="nrg" type="real"> + <argument index="1" name="nrg" type="float"> </argument> <description> Set the volume of a voice, 0db is maximum volume (every about -6db, volume is reduced in half). "db" does in fact go from zero to negative. @@ -21918,7 +24805,7 @@ <method name="set_volume_db" > <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="nrg" type="real"> + <argument index="1" name="nrg" type="float"> </argument> <description> </description> @@ -21926,11 +24813,11 @@ <method name="set_pan" > <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="pan" type="real"> + <argument index="1" name="pan" type="float"> </argument> - <argument index="2" name="depth" type="real" default="0"> + <argument index="2" name="depth" type="float" default="0"> </argument> - <argument index="3" name="height" type="real" default="0"> + <argument index="3" name="height" type="float" default="0"> </argument> <description> Set the panning of a voice. Panning goes from -1 (left) to +1 (right). Optionally, if the hardware supports 3D sound, also set depth and height (also in range -1 to +1). @@ -21941,11 +24828,11 @@ </argument> <argument index="1" name="type" type="int"> </argument> - <argument index="2" name="cutoff_hz" type="real"> + <argument index="2" name="cutoff_hz" type="float"> </argument> - <argument index="3" name="resonance" type="real"> + <argument index="3" name="resonance" type="float"> </argument> - <argument index="4" name="gain" type="real" default="0"> + <argument index="4" name="gain" type="float" default="0"> </argument> <description> Set and enable a filter of a voice, with type "type" (see FILTER_* enum), cutoff (0 to 22khz) frequency and resonance (0+). @@ -21954,7 +24841,7 @@ <method name="set_chorus" > <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="send" type="real"> + <argument index="1" name="send" type="float"> </argument> <description> Set the chorus send level of a voice (0 to 1). For setting chorus parameters, see [AudioServer]. @@ -21965,7 +24852,7 @@ </argument> <argument index="1" name="room_type" type="int"> </argument> - <argument index="2" name="send" type="real"> + <argument index="2" name="send" type="float"> </argument> <description> Set the reverb send level and type of a voice (0 to 1). (see REVERB_* enum for type). @@ -21981,7 +24868,7 @@ </description> </method> <method name="get_pitch_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -21990,7 +24877,7 @@ </description> </method> <method name="get_volume" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -21999,7 +24886,7 @@ </description> </method> <method name="get_volume_db" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22007,7 +24894,7 @@ </description> </method> <method name="get_pan" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22016,7 +24903,7 @@ </description> </method> <method name="get_pan_depth" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22025,7 +24912,7 @@ </description> </method> <method name="get_pan_height" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22043,7 +24930,7 @@ </description> </method> <method name="get_filter_cutoff" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22052,7 +24939,7 @@ </description> </method> <method name="get_filter_resonance" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22061,7 +24948,7 @@ </description> </method> <method name="get_filter_gain" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22069,7 +24956,7 @@ </description> </method> <method name="get_chorus" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22078,7 +24965,7 @@ </description> </method> <method name="get_reverb_room" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22087,7 +24974,7 @@ </description> </method> <method name="get_reverb" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> @@ -22096,29 +24983,29 @@ </description> </method> <method name="set_default_pitch_scale" > - <argument index="0" name="ratio" type="real"> + <argument index="0" name="ratio" type="float"> </argument> <description> </description> </method> <method name="set_default_volume" > - <argument index="0" name="nrg" type="real"> + <argument index="0" name="nrg" type="float"> </argument> <description> </description> </method> <method name="set_default_volume_db" > - <argument index="0" name="db" type="real"> + <argument index="0" name="db" type="float"> </argument> <description> </description> </method> <method name="set_default_pan" > - <argument index="0" name="pan" type="real"> + <argument index="0" name="pan" type="float"> </argument> - <argument index="1" name="depth" type="real" default="0"> + <argument index="1" name="depth" type="float" default="0"> </argument> - <argument index="2" name="height" type="real" default="0"> + <argument index="2" name="height" type="float" default="0"> </argument> <description> </description> @@ -22126,17 +25013,17 @@ <method name="set_default_filter" > <argument index="0" name="type" type="int"> </argument> - <argument index="1" name="cutoff_hz" type="real"> + <argument index="1" name="cutoff_hz" type="float"> </argument> - <argument index="2" name="resonance" type="real"> + <argument index="2" name="resonance" type="float"> </argument> - <argument index="3" name="gain" type="real" default="0"> + <argument index="3" name="gain" type="float" default="0"> </argument> <description> </description> </method> <method name="set_default_chorus" > - <argument index="0" name="send" type="real"> + <argument index="0" name="send" type="float"> </argument> <description> </description> @@ -22144,43 +25031,43 @@ <method name="set_default_reverb" > <argument index="0" name="room_type" type="int"> </argument> - <argument index="1" name="send" type="real"> + <argument index="1" name="send" type="float"> </argument> <description> </description> </method> <method name="get_default_pitch_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_volume" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_volume_db" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_pan" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_pan_depth" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_pan_height" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -22192,37 +25079,37 @@ </description> </method> <method name="get_default_filter_cutoff" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_filter_resonance" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_filter_gain" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_chorus" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_reverb_room" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="get_default_reverb" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -22331,7 +25218,7 @@ <method name="voice_set_pitch_scale" > <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="ratio" type="real"> + <argument index="1" name="ratio" type="float"> </argument> <description> Change the pitch scale of a currently playing voice. @@ -22340,7 +25227,7 @@ <method name="voice_set_volume_scale_db" > <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="db" type="real"> + <argument index="1" name="db" type="float"> </argument> <description> Change the volume scale of a currently playing voice (using dB). @@ -22368,13 +25255,13 @@ </description> </method> <method name="set_random_pitch_scale" > - <argument index="0" name="val" type="real"> + <argument index="0" name="val" type="float"> </argument> <description> </description> </method> <method name="get_random_pitch_scale" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -22388,80 +25275,6 @@ </constant> </constants> </class> -<class name="SceneIO" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="load" > - <return type="Node"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="save" > - <return type="int"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <argument index="1" name="scene" type="Node"> - </argument> - <argument index="2" name="flags" type="int" default="0"> - </argument> - <argument index="3" name="optimizer" type="OptimizedSaver" default="Object()"> - </argument> - <description> - </description> - </method> - <method name="load_interactive" > - <return type="SceneInteractiveLoader"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SceneInteractiveLoader" inherits="Reference" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_scene" > - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="poll" > - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_stage" qualifiers="const" > - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_stage_count" qualifiers="const" > - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> <class name="SceneMainLoop" inherits="MainLoop" category="Core"> <brief_description> Scene-Based implementation of the MainLoop. @@ -22531,6 +25344,18 @@ Return true if the scene is being run inside an editor. </description> </method> + <method name="set_edited_scene_root" > + <argument index="0" name="scene" type="Object"> + </argument> + <description> + </description> + </method> + <method name="get_edited_scene_root" qualifiers="const" > + <return type="Object"> + </return> + <description> + </description> + </method> <method name="set_pause" > <argument index="0" name="enable" type="bool"> </argument> @@ -22568,6 +25393,16 @@ Quit the application. </description> </method> + <method name="set_screen_stretch" > + <argument index="0" name="mode" type="int"> + </argument> + <argument index="1" name="aspect" type="int"> + </argument> + <argument index="2" name="minsize" type="Vector2"> + </argument> + <description> + </description> + </method> <method name="queue_delete" > <argument index="0" name="obj" type="Object"> </argument> @@ -22629,42 +25464,20 @@ <constant name="GROUP_CALL_UNIQUE" value="4"> Call a group only once, even if call is performed many times. </constant> - </constants> -</class> -<class name="ScenePreloader" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="load_scene" > - <return type="int"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_scene_path" qualifiers="const" > - <return type="String"> - </return> - <description> - </description> - </method> - <method name="instance" qualifiers="const" > - <return type="Node"> - </return> - <description> - </description> - </method> - <method name="can_instance" qualifiers="const" > - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> + <constant name="STRETCH_MODE_DISABLED" value="0"> + </constant> + <constant name="STRETCH_MODE_2D" value="1"> + </constant> + <constant name="STRETCH_MODE_VIEWPORT" value="2"> + </constant> + <constant name="STRETCH_ASPECT_IGNORE" value="0"> + </constant> + <constant name="STRETCH_ASPECT_KEEP" value="1"> + </constant> + <constant name="STRETCH_ASPECT_KEEP_WIDTH" value="2"> + </constant> + <constant name="STRETCH_ASPECT_KEEP_HEIGHT" value="3"> + </constant> </constants> </class> <class name="Script" inherits="Resource" category="Core"> @@ -22732,13 +25545,13 @@ </description> <methods> <method name="set_custom_step" > - <argument index="0" name="step" type="real"> + <argument index="0" name="step" type="float"> </argument> <description> </description> </method> <method name="get_custom_step" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -22900,10 +25713,12 @@ </argument> <argument index="1" name="fcode" type="String"> </argument> - <argument index="2" name="vofs" type="int" default="0"> + <argument index="2" name="lcode" type="String"> </argument> <argument index="3" name="fofs" type="int" default="0"> </argument> + <argument index="4" name="lofs" type="int" default="0"> + </argument> <description> </description> </method> @@ -22919,6 +25734,12 @@ <description> </description> </method> + <method name="get_light_code" qualifiers="const" > + <return type="String"> + </return> + <description> + </description> + </method> <method name="has_param" qualifiers="const" > <return type="bool"> </return> @@ -22955,6 +25776,20 @@ <description> </description> </method> + <method name="set_shader_param" > + <argument index="0" name="param" type="String"> + </argument> + <argument index="1" name="value" type="var"> + </argument> + <description> + </description> + </method> + <method name="get_shader_param" qualifiers="const" > + <argument index="0" name="param" type="String"> + </argument> + <description> + </description> + </method> </methods> <constants> </constants> @@ -22978,14 +25813,14 @@ </description> <methods> <method name="set_custom_solver_bias" > - <argument index="0" name="bias" type="real"> + <argument index="0" name="bias" type="float"> </argument> <description> Use a custom solver bias. No need to change this unless you really know what you are doing. </description> </method> <method name="get_custom_solver_bias" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the custom solver bias. No need to change this unless you really know what you are doing. @@ -23032,10 +25867,14 @@ <method name="collide_with_motion_and_get_contacts" > <argument index="0" name="local_xform" type="Matrix32"> </argument> - <argument index="1" name="local_motion" type="Object"> + <argument index="1" name="local_motion" type="Vector2"> </argument> <argument index="2" name="with_shape" type="Shape2D"> </argument> + <argument index="3" name="shape_xform" type="Matrix32"> + </argument> + <argument index="4" name="shape_motion" type="Vector2"> + </argument> <description> </description> </method> @@ -23169,6 +26008,22 @@ Return the pose transform for bone "bone_idx". </description> </method> + <method name="set_bone_global_pose" > + <argument index="0" name="bone_idx" type="int"> + </argument> + <argument index="1" name="pose" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="get_bone_global_pose" qualifiers="const" > + <return type="Transform"> + </return> + <argument index="0" name="bone_idx" type="int"> + </argument> + <description> + </description> + </method> <method name="get_bone_custom_pose" qualifiers="const" > <return type="Transform"> </return> @@ -23239,6 +26094,78 @@ <constants> </constants> </class> +<class name="SliderJoint" inherits="Joint" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_param" > + <argument index="0" name="param" type="int"> + </argument> + <argument index="1" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_param" qualifiers="const" > + <return type="float"> + </return> + <argument index="0" name="param" type="int"> + </argument> + <description> + </description> + </method> + </methods> + <constants> + <constant name="PARAM_LINEAR_LIMIT_UPPER" value="0"> + </constant> + <constant name="PARAM_LINEAR_LIMIT_LOWER" value="1"> + </constant> + <constant name="PARAM_LINEAR_LIMIT_SOFTNESS" value="2"> + </constant> + <constant name="PARAM_LINEAR_LIMIT_RESTITUTION" value="3"> + </constant> + <constant name="PARAM_LINEAR_LIMIT_DAMPING" value="4"> + </constant> + <constant name="PARAM_LINEAR_MOTION_SOFTNESS" value="5"> + </constant> + <constant name="PARAM_LINEAR_MOTION_RESTITUTION" value="6"> + </constant> + <constant name="PARAM_LINEAR_MOTION_DAMPING" value="7"> + </constant> + <constant name="PARAM_LINEAR_ORTHOGONAL_SOFTNESS" value="8"> + </constant> + <constant name="PARAM_LINEAR_ORTHOGONAL_RESTITUTION" value="9"> + </constant> + <constant name="PARAM_LINEAR_ORTHOGONAL_DAMPING" value="10"> + </constant> + <constant name="PARAM_ANGULAR_LIMIT_UPPER" value="11"> + </constant> + <constant name="PARAM_ANGULAR_LIMIT_LOWER" value="12"> + </constant> + <constant name="PARAM_ANGULAR_LIMIT_SOFTNESS" value="13"> + </constant> + <constant name="PARAM_ANGULAR_LIMIT_RESTITUTION" value="14"> + </constant> + <constant name="PARAM_ANGULAR_LIMIT_DAMPING" value="15"> + </constant> + <constant name="PARAM_ANGULAR_MOTION_SOFTNESS" value="16"> + </constant> + <constant name="PARAM_ANGULAR_MOTION_RESTITUTION" value="17"> + </constant> + <constant name="PARAM_ANGULAR_MOTION_DAMPING" value="18"> + </constant> + <constant name="PARAM_ANGULAR_ORTHOGONAL_SOFTNESS" value="19"> + </constant> + <constant name="PARAM_ANGULAR_ORTHOGONAL_RESTITUTION" value="20"> + </constant> + <constant name="PARAM_ANGULAR_ORTHOGONAL_DAMPING" value="21"> + </constant> + <constant name="PARAM_MAX" value="22"> + </constant> + </constants> +</class> <class name="SoundPlayer2D" inherits="Node2D" category="Core"> <brief_description> Base class for playing spatial 2D sound. @@ -23250,13 +26177,13 @@ <method name="set_param" > <argument index="0" name="param" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> </description> </method> <method name="get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="param" type="int"> </argument> @@ -23288,13 +26215,13 @@ <method name="set_param" > <argument index="0" name="param" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> </description> </method> <method name="get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="param" type="int"> </argument> @@ -23448,7 +26375,33 @@ <description> </description> </method> + <method name="show" > + <description> + </description> + </method> + <method name="hide" > + <description> + </description> + </method> + <method name="is_visible" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="is_hidden" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> </methods> + <signals> + <signal name="visibility_changed"> + <description> + </description> + </signal> + </signals> <constants> <constant name="NOTIFICATION_TRANSFORM_CHANGED" value="29"> Spatial nodes receive this notifacation with their global transform changes. This means that either the current or a parent node changed it's transform. @@ -23457,6 +26410,8 @@ </constant> <constant name="NOTIFICATION_EXIT_WORLD" value="42"> </constant> + <constant name="NOTIFICATION_VISIBILITY_CHANGED" value="43"> + </constant> </constants> </class> <class name="SpatialPlayer" inherits="Spatial" category="Core"> @@ -23468,13 +26423,13 @@ <method name="set_param" > <argument index="0" name="param" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> </description> </method> <method name="get_param" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="param" type="int"> </argument> @@ -23544,7 +26499,7 @@ <method name="voice_set_pitch_scale" > <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="ratio" type="real"> + <argument index="1" name="ratio" type="float"> </argument> <description> </description> @@ -23552,7 +26507,7 @@ <method name="voice_set_volume_scale_db" > <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="db" type="real"> + <argument index="1" name="db" type="float"> </argument> <description> </description> @@ -23682,13 +26637,13 @@ </description> </method> <method name="get_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="seek_pos" > - <argument index="0" name="time" type="real"> + <argument index="0" name="time" type="float"> </argument> <description> </description> @@ -23704,13 +26659,13 @@ </description> <methods> <method name="set_radius" > - <argument index="0" name="radius" type="real"> + <argument index="0" name="radius" type="float"> </argument> <description> </description> </method> <method name="get_radius" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -23777,6 +26732,10 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="updown" type="Texture"> + </theme_item> + </theme_items> </class> <class name="SplitContainer" inherits="Container" category="Core"> <brief_description> @@ -24008,6 +26967,240 @@ <constants> </constants> </class> +<class name="Sprite3D" inherits="SpriteBase3D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_texture" > + <argument index="0" name="texture" type="Texture"> + </argument> + <description> + </description> + </method> + <method name="get_texture" qualifiers="const" > + <return type="Texture"> + </return> + <description> + </description> + </method> + <method name="set_region" > + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_region" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_region_rect" > + <argument index="0" name="rect" type="Rect2"> + </argument> + <description> + </description> + </method> + <method name="get_region_rect" qualifiers="const" > + <return type="Rect2"> + </return> + <description> + </description> + </method> + <method name="set_frame" > + <argument index="0" name="frame" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_frame" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_vframes" > + <argument index="0" name="vframes" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_vframes" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_hframes" > + <argument index="0" name="hframes" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_hframes" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> +<class name="SpriteBase3D" inherits="GeometryInstance" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_centered" > + <argument index="0" name="centered" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_centered" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_offset" > + <argument index="0" name="offset" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_offset" qualifiers="const" > + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="set_flip_h" > + <argument index="0" name="flip_h" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_flipped_h" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_flip_v" > + <argument index="0" name="flip_v" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_flipped_v" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_modulate" > + <argument index="0" name="modulate" type="Color"> + </argument> + <description> + </description> + </method> + <method name="get_modulate" qualifiers="const" > + <return type="Color"> + </return> + <description> + </description> + </method> + <method name="set_opacity" > + <argument index="0" name="opacity" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_opacity" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_pixel_size" > + <argument index="0" name="pixel_size" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_pixel_size" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_axis" > + <argument index="0" name="axis" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_axis" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_draw_flag" > + <argument index="0" name="flag" type="int"> + </argument> + <argument index="1" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_draw_flag" qualifiers="const" > + <return type="bool"> + </return> + <argument index="0" name="flag" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_alpha_cut_mode" > + <argument index="0" name="mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_alpha_cut_mode" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_item_rect" qualifiers="const" > + <return type="Rect2"> + </return> + <description> + </description> + </method> + </methods> + <constants> + <constant name="FLAG_TRANSPARENT" value="0"> + </constant> + <constant name="FLAG_SHADED" value="1"> + </constant> + <constant name="FLAG_MAX" value="2"> + </constant> + <constant name="ALPHA_CUT_DISABLED" value="0"> + </constant> + <constant name="ALPHA_CUT_DISCARD" value="1"> + </constant> + <constant name="ALPHA_CUT_OPAQUE_PREPASS" value="2"> + </constant> + </constants> +</class> <class name="SpriteFrames" inherits="Resource" category="Core"> <brief_description> Sprite frame library for AnimatedSprite. @@ -24073,18 +27266,6 @@ StaticBody implements a static collision [Node], by utilizing a rigid body in the [PhysicsServer]. Static bodies are used for static collision. For more information on physics body nodes, see [PhysicsBody]. </description> <methods> - <method name="set_simulate_motion" > - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_simulating_motion" qualifiers="const" > - <return type="bool"> - </return> - <description> - </description> - </method> <method name="set_constant_linear_velocity" > <argument index="0" name="vel" type="Vector3"> </argument> @@ -24109,6 +27290,30 @@ <description> </description> </method> + <method name="set_friction" > + <argument index="0" name="friction" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_friction" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_bounce" > + <argument index="0" name="bounce" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_bounce" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -24131,7 +27336,7 @@ </description> </method> <method name="set_constant_angular_velocity" > - <argument index="0" name="vel" type="real"> + <argument index="0" name="vel" type="float"> </argument> <description> Set a constant angular velocity for the body. @@ -24145,32 +27350,32 @@ </description> </method> <method name="get_constant_angular_velocity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the constant angular velocity for the body. </description> </method> <method name="set_friction" > - <argument index="0" name="friction" type="real"> + <argument index="0" name="friction" type="float"> </argument> <description> </description> </method> <method name="get_friction" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_bounce" > - <argument index="0" name="bounce" type="real"> + <argument index="0" name="bounce" type="float"> </argument> <description> </description> </method> <method name="get_bounce" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -24227,6 +27432,54 @@ <constants> </constants> </class> +<class name="StreamPeerSSL" inherits="StreamPeer" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="accept" > + <return type="int"> + </return> + <argument index="0" name="stream" type="StreamPeer"> + </argument> + <description> + </description> + </method> + <method name="connect" > + <return type="int"> + </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=""""> + </argument> + <description> + </description> + </method> + <method name="get_status" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="disconnect" > + <description> + </description> + </method> + </methods> + <constants> + <constant name="STATUS_DISCONNECTED" value="0"> + </constant> + <constant name="STATUS_CONNECTED" value="1"> + </constant> + <constant name="STATUS_ERROR_NO_CERTIFICATE" value="2"> + </constant> + <constant name="STATUS_ERROR_HOSTNAME_MISMATCH" value="3"> + </constant> + </constants> +</class> <class name="StreamPeerTCP" inherits="StreamPeer" category="Core"> <brief_description> TCP Stream peer. @@ -24251,6 +27504,12 @@ <description> </description> </method> + <method name="get_status" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> <method name="get_connected_host" qualifiers="const" > <return type="String"> </return> @@ -24269,6 +27528,14 @@ </method> </methods> <constants> + <constant name="STATUS_NONE" value="0"> + </constant> + <constant name="STATUS_CONNECTING" value="1"> + </constant> + <constant name="STATUS_CONNECTED" value="2"> + </constant> + <constant name="STATUS_ERROR" value="3"> + </constant> </constants> </class> <class name="StreamPlayer" inherits="Node" category="Core"> @@ -24330,25 +27597,25 @@ </description> </method> <method name="set_volume" > - <argument index="0" name="volume" type="real"> + <argument index="0" name="volume" type="float"> </argument> <description> </description> </method> <method name="get_volume" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_volume_db" > - <argument index="0" name="db" type="real"> + <argument index="0" name="db" type="float"> </argument> <description> </description> </method> <method name="get_volume_db" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -24366,13 +27633,13 @@ </description> </method> <method name="get_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="seek_pos" > - <argument index="0" name="time" type="real"> + <argument index="0" name="time" type="float"> </argument> <description> </description> @@ -24390,7 +27657,7 @@ </description> </method> <method name="get_length" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -24600,6 +27867,18 @@ Do a simple, case insensitive, expression matching, using ? and * wildcards. </description> </method> + <method name="md5_buffer" > + <return type="RawArray"> + </return> + <description> + </description> + </method> + <method name="md5_text" > + <return type="String"> + </return> + <description> + </description> + </method> <method name="nocasecmp_to" > <return type="int"> </return> @@ -24746,7 +28025,7 @@ </description> </method> <method name="to_float" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -24863,14 +28142,14 @@ <method name="set_default_margin" > <argument index="0" name="margin" type="int"> </argument> - <argument index="1" name="offset" type="real"> + <argument index="1" name="offset" type="float"> </argument> <description> Set the default offset "offset" of the margin "margin" (see MARGIN_* enum) for a StyleBox, Controls that draw styleboxes with context inside need to know the margin, so the border of the stylebox is not occluded. </description> </method> <method name="get_default_margin" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="margin" type="int"> </argument> @@ -24879,7 +28158,7 @@ </description> </method> <method name="get_margin" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="margin" type="int"> </argument> @@ -25054,14 +28333,14 @@ <method name="set_expand_margin_size" > <argument index="0" name="margin" type="int"> </argument> - <argument index="1" name="size" type="real"> + <argument index="1" name="size" type="float"> </argument> <description> Set an expand margin size (from enum MARGIN_*). Parts of the image below the size of the margin (and in the direction of the margin) will not expand. </description> </method> <method name="get_expand_margin_size" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="int"> </argument> @@ -25096,13 +28375,13 @@ <method name="set_margin_size" > <argument index="0" name="margin" type="int"> </argument> - <argument index="1" name="size" type="real"> + <argument index="1" name="size" type="float"> </argument> <description> </description> </method> <method name="get_margin_size" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="int"> </argument> @@ -25112,13 +28391,13 @@ <method name="set_expand_margin_size" > <argument index="0" name="margin" type="int"> </argument> - <argument index="1" name="size" type="real"> + <argument index="1" name="size" type="float"> </argument> <description> </description> </method> <method name="get_expand_margin_size" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="int"> </argument> @@ -25203,6 +28482,12 @@ <description> </description> </method> + <method name="add_smooth_group" > + <argument index="0" name="smooth" type="bool"> + </argument> + <description> + </description> + </method> <method name="set_material" > <argument index="0" name="material" type="Material"> </argument> @@ -25217,15 +28502,7 @@ <description> </description> </method> - <method name="generate_flat_normals" > - <description> - </description> - </method> - <method name="generate_smooth_normals" > - <description> - </description> - </method> - <method name="generate_tangents" > + <method name="generate_normals" > <description> </description> </method> @@ -25392,6 +28669,38 @@ </signals> <constants> </constants> + <theme_items> + <theme_item name="label_valign_fg" type="int"> + </theme_item> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="label_valign_bg" type="int"> + </theme_item> + <theme_item name="top_margin" type="int"> + </theme_item> + <theme_item name="side_margin" type="int"> + </theme_item> + <theme_item name="font_color_bg" type="Color"> + </theme_item> + <theme_item name="font_color_fg" type="Color"> + </theme_item> + <theme_item name="increment_hilite" type="Texture"> + </theme_item> + <theme_item name="decrement_hilite" type="Texture"> + </theme_item> + <theme_item name="increment" type="Texture"> + </theme_item> + <theme_item name="decrement" type="Texture"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="tab_fg" type="StyleBox"> + </theme_item> + <theme_item name="tab_bg" type="StyleBox"> + </theme_item> + <theme_item name="panel" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="Tabs" inherits="Control" category="Core"> <brief_description> @@ -25457,6 +28766,14 @@ <description> </description> </method> + <method name="add_tab" > + <argument index="0" name="title" type="String"> + </argument> + <argument index="1" name="icon" type="Texture"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="tab_changed"> @@ -25468,6 +28785,28 @@ </signals> <constants> </constants> + <theme_items> + <theme_item name="label_valign_fg" type="int"> + </theme_item> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="label_valign_bg" type="int"> + </theme_item> + <theme_item name="top_margin" type="int"> + </theme_item> + <theme_item name="font_color_bg" type="Color"> + </theme_item> + <theme_item name="font_color_fg" type="Color"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="tab_fg" type="StyleBox"> + </theme_item> + <theme_item name="tab_bg" type="StyleBox"> + </theme_item> + <theme_item name="panel" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="TestCube" inherits="GeometryInstance" category="Core"> <brief_description> @@ -25648,6 +28987,12 @@ Return the text inside the selection. </description> </method> + <method name="get_word_under_cursor" qualifiers="const" > + <return type="String"> + </return> + <description> + </description> + </method> <method name="search" qualifiers="const" > <return type="IntArray"> </return> @@ -25765,6 +29110,48 @@ Search from end to begining. </constant> </constants> + <theme_items> + <theme_item name="line_spacing" type="int"> + </theme_item> + <theme_item name="completion_lines" type="int"> + </theme_item> + <theme_item name="completion_max_width" type="int"> + </theme_item> + <theme_item name="completion_scroll_width" type="int"> + </theme_item> + <theme_item name="symbol_color" type="Color"> + </theme_item> + <theme_item name="cursor_color" type="Color"> + </theme_item> + <theme_item name="selection_color" type="Color"> + </theme_item> + <theme_item name="completion_existing" type="Color"> + </theme_item> + <theme_item name="breakpoint_color" type="Color"> + </theme_item> + <theme_item name="font_color_selected" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="completion_scroll_color" type="Color"> + </theme_item> + <theme_item name="current_line_color" type="Color"> + </theme_item> + <theme_item name="mark_color" type="Color"> + </theme_item> + <theme_item name="tab" type="Texture"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + <theme_item name="normal" type="StyleBox"> + </theme_item> + <theme_item name="completion_selected" type="StyleBox"> + </theme_item> + <theme_item name="completion" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="Texture" inherits="Resource" category="Core"> <brief_description> @@ -25868,12 +29255,16 @@ <constant name="FLAG_FILTER" value="4"> Turn on magnifying filter. </constant> - <constant name="FLAG_VIDEO_SURFACE" value="16"> + <constant name="FLAG_VIDEO_SURFACE" value="4096"> Texture is a video surface </constant> <constant name="FLAGS_DEFAULT" value="7"> Default flags </constant> + <constant name="FLAG_ANISOTROPIC_FILTER" value="8"> + </constant> + <constant name="FLAG_CONVERT_TO_LINEAR" value="16"> + </constant> </constants> </class> <class name="TextureButton" inherits="BaseButton" category="Core"> @@ -26393,15 +29784,51 @@ Return the current tileset. </description> </method> + <method name="set_mode" > + <argument index="0" name="mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_mode" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_half_offset" > + <argument index="0" name="half_offset" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_half_offset" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_custom_transform" > + <argument index="0" name="custom_transform" type="Matrix32"> + </argument> + <description> + </description> + </method> + <method name="get_custom_transform" qualifiers="const" > + <return type="Matrix32"> + </return> + <description> + </description> + </method> <method name="set_cell_size" > - <argument index="0" name="size" type="int"> + <argument index="0" name="size" type="Vector2"> </argument> <description> Set the cell size. </description> </method> <method name="get_cell_size" qualifiers="const" > - <return type="int"> + <return type="Vector2"> </return> <description> Return the cell size. @@ -26449,6 +29876,42 @@ Return true if tiles are to be centered in y coordinate (by default this is false and they are drawn from upper left cell corner). </description> </method> + <method name="set_collision_layer_mask" > + <argument index="0" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_collision_layer_mask" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_collision_friction" > + <argument index="0" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_collision_friction" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_collision_bounce" > + <argument index="0" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_collision_bounce" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> <method name="set_cell" > <argument index="0" name="x" type="int"> </argument> @@ -26502,11 +29965,47 @@ Clear all cells. </description> </method> + <method name="map_to_world" qualifiers="const" > + <return type="Vector2"> + </return> + <argument index="0" name="mappos" type="Vector2"> + </argument> + <argument index="1" name="ignore_half_ofs" type="bool" default="false"> + </argument> + <description> + </description> + </method> + <method name="world_to_map" qualifiers="const" > + <return type="Vector2"> + </return> + <argument index="0" name="worldpos" type="Vector2"> + </argument> + <description> + </description> + </method> </methods> + <signals> + <signal name="settings_changed"> + <description> + </description> + </signal> + </signals> <constants> <constant name="INVALID_CELL" value="-1"> Returned when a cell doesn't exist. </constant> + <constant name="MODE_SQUARE" value="0"> + </constant> + <constant name="MODE_ISOMETRIC" value="1"> + </constant> + <constant name="MODE_CUSTOM" value="2"> + </constant> + <constant name="HALF_OFFSET_X" value="0"> + </constant> + <constant name="HALF_OFFSET_Y" value="1"> + </constant> + <constant name="HALF_OFFSET_DISABLED" value="2"> + </constant> </constants> </class> <class name="TileSet" inherits="Resource" category="Core"> @@ -26690,14 +30189,14 @@ </description> <methods> <method name="set_wait_time" > - <argument index="0" name="time_sec" type="real"> + <argument index="0" name="time_sec" type="float"> </argument> <description> Set wait time. When the time is over, it will emit timeout signal. </description> </method> <method name="get_wait_time" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the wait time. When the time is over, it will emit timeout signal. @@ -26742,7 +30241,7 @@ </description> </method> <method name="get_time_left" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> Return the time left for timeout if the timer is active. @@ -26845,11 +30344,11 @@ </method> </methods> <signals> - <signal name="pressed"> + <signal name="released"> <description> </description> </signal> - <signal name="released"> + <signal name="pressed"> <description> </description> </signal> @@ -26899,7 +30398,7 @@ </return> <argument index="0" name="axis" type="Vector3"> </argument> - <argument index="1" name="phi" type="real"> + <argument index="1" name="phi" type="float"> </argument> <description> </description> @@ -27040,6 +30539,12 @@ Return all the messages (keys). </description> </method> + <method name="get_message_count" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -27083,6 +30588,10 @@ <description> </description> </method> + <method name="clear" > + <description> + </description> + </method> </methods> <constants> </constants> @@ -27310,6 +30819,66 @@ <constant name="SELECT_MULTI" value="2"> </constant> </constants> + <theme_items> + <theme_item name="item_margin" type="int"> + </theme_item> + <theme_item name="vseparation" type="int"> + </theme_item> + <theme_item name="guide_width" type="int"> + </theme_item> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="button_margin" type="int"> + </theme_item> + <theme_item name="title_button_color" type="Color"> + </theme_item> + <theme_item name="guide_color" type="Color"> + </theme_item> + <theme_item name="cursor_color" type="Color"> + </theme_item> + <theme_item name="selection_color" type="Color"> + </theme_item> + <theme_item name="font_color_selected" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="arrow" type="Texture"> + </theme_item> + <theme_item name="updown" type="Texture"> + </theme_item> + <theme_item name="checked" type="Texture"> + </theme_item> + <theme_item name="arrow_collapsed" type="Texture"> + </theme_item> + <theme_item name="select_arrow" type="Texture"> + </theme_item> + <theme_item name="unchecked" type="Texture"> + </theme_item> + <theme_item name="title_button_font" type="Font"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="title_button_normal" type="StyleBox"> + </theme_item> + <theme_item name="cursor" type="StyleBox"> + </theme_item> + <theme_item name="title_button_hover" type="StyleBox"> + </theme_item> + <theme_item name="selected_focus" type="StyleBox"> + </theme_item> + <theme_item name="bg_focus" type="StyleBox"> + </theme_item> + <theme_item name="button_pressed" type="StyleBox"> + </theme_item> + <theme_item name="cursor_unfocused" type="StyleBox"> + </theme_item> + <theme_item name="selected" type="StyleBox"> + </theme_item> + <theme_item name="bg" type="StyleBox"> + </theme_item> + <theme_item name="title_button_pressed" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="TreeItem" inherits="Object" category="Core"> <brief_description> @@ -27416,13 +30985,13 @@ <method name="set_range" > <argument index="0" name="column" type="int"> </argument> - <argument index="1" name="value" type="real"> + <argument index="1" name="value" type="float"> </argument> <description> </description> </method> <method name="get_range" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="column" type="int"> </argument> @@ -27432,11 +31001,11 @@ <method name="set_range_config" > <argument index="0" name="column" type="int"> </argument> - <argument index="1" name="min" type="real"> + <argument index="1" name="min" type="float"> </argument> - <argument index="2" name="max" type="real"> + <argument index="2" name="max" type="float"> </argument> - <argument index="3" name="step" type="real"> + <argument index="3" name="step" type="float"> </argument> <argument index="4" name="expr" type="bool" default="false"> </argument> @@ -27691,6 +31260,368 @@ </constant> </constants> </class> +<class name="Tween" inherits="Node" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="is_active" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_active" > + <argument index="0" name="active" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_repeat" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_repeat" > + <argument index="0" name="repeat" type="bool"> + </argument> + <description> + </description> + </method> + <method name="set_speed" > + <argument index="0" name="speed" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_speed" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_tween_process_mode" > + <argument index="0" name="mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_tween_process_mode" qualifiers="const" > + <return type="int"> + </return> + <description> + </description> + </method> + <method name="start" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="reset" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="key" type="String"> + </argument> + <description> + </description> + </method> + <method name="reset_all" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="stop" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="key" type="String"> + </argument> + <description> + </description> + </method> + <method name="stop_all" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="resume" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="key" type="String"> + </argument> + <description> + </description> + </method> + <method name="resume_all" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="remove" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="key" type="String"> + </argument> + <description> + </description> + </method> + <method name="remove_all" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="seek" > + <return type="bool"> + </return> + <argument index="0" name="time" type="float"> + </argument> + <description> + </description> + </method> + <method name="tell" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="get_runtime" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="interpolate_property" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="property" type="String"> + </argument> + <argument index="2" name="initial_val" type="var"> + </argument> + <argument index="3" name="final_val" type="var"> + </argument> + <argument index="4" name="times_in_sec" type="float"> + </argument> + <argument index="5" name="trans_type" type="int"> + </argument> + <argument index="6" name="ease_type" type="int"> + </argument> + <argument index="7" name="delay" type="float" default="0"> + </argument> + <description> + </description> + </method> + <method name="interpolate_method" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="method" type="String"> + </argument> + <argument index="2" name="initial_val" type="var"> + </argument> + <argument index="3" name="final_val" type="var"> + </argument> + <argument index="4" name="times_in_sec" type="float"> + </argument> + <argument index="5" name="trans_type" type="int"> + </argument> + <argument index="6" name="ease_type" type="int"> + </argument> + <argument index="7" name="delay" type="float" default="0"> + </argument> + <description> + </description> + </method> + <method name="interpolate_callback" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="callback" type="String"> + </argument> + <argument index="2" name="times_in_sec" type="float"> + </argument> + <argument index="3" name="args" type="var" default="NULL"> + </argument> + <description> + </description> + </method> + <method name="follow_property" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="property" type="String"> + </argument> + <argument index="2" name="initial_val" type="var"> + </argument> + <argument index="3" name="target" type="Object"> + </argument> + <argument index="4" name="target_property" type="String"> + </argument> + <argument index="5" name="times_in_sec" type="float"> + </argument> + <argument index="6" name="trans_type" type="int"> + </argument> + <argument index="7" name="ease_type" type="int"> + </argument> + <argument index="8" name="delay" type="float" default="0"> + </argument> + <description> + </description> + </method> + <method name="follow_method" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="method" type="String"> + </argument> + <argument index="2" name="initial_val" type="var"> + </argument> + <argument index="3" name="target" type="Object"> + </argument> + <argument index="4" name="target_method" type="String"> + </argument> + <argument index="5" name="times_in_sec" type="float"> + </argument> + <argument index="6" name="trans_type" type="int"> + </argument> + <argument index="7" name="ease_type" type="int"> + </argument> + <argument index="8" name="delay" type="float" default="0"> + </argument> + <description> + </description> + </method> + <method name="targeting_property" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="property" type="String"> + </argument> + <argument index="2" name="initial" type="Object"> + </argument> + <argument index="3" name="initial_val" type="String"> + </argument> + <argument index="4" name="final_val" type="var"> + </argument> + <argument index="5" name="times_in_sec" type="float"> + </argument> + <argument index="6" name="trans_type" type="int"> + </argument> + <argument index="7" name="ease_type" type="int"> + </argument> + <argument index="8" name="delay" type="float" default="0"> + </argument> + <description> + </description> + </method> + <method name="targeting_method" > + <return type="bool"> + </return> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="method" type="String"> + </argument> + <argument index="2" name="initial" type="Object"> + </argument> + <argument index="3" name="initial_method" type="String"> + </argument> + <argument index="4" name="final_val" type="var"> + </argument> + <argument index="5" name="times_in_sec" type="float"> + </argument> + <argument index="6" name="trans_type" type="int"> + </argument> + <argument index="7" name="ease_type" type="int"> + </argument> + <argument index="8" name="delay" type="float" default="0"> + </argument> + <description> + </description> + </method> + </methods> + <signals> + <signal name="tween_complete"> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="key" type="String"> + </argument> + <description> + </description> + </signal> + <signal name="tween_step"> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="key" type="String"> + </argument> + <argument index="2" name="elapsed" type="float"> + </argument> + <argument index="3" name="value" type="Object"> + </argument> + <description> + </description> + </signal> + <signal name="tween_start"> + <argument index="0" name="node" type="Object"> + </argument> + <argument index="1" name="key" type="String"> + </argument> + <description> + </description> + </signal> + </signals> + <constants> + <constant name="TRANS_LINEAR" value="0"> + </constant> + <constant name="TRANS_SINE" value="1"> + </constant> + <constant name="TRANS_QUINT" value="2"> + </constant> + <constant name="TRANS_QUART" value="3"> + </constant> + <constant name="TRANS_QUAD" value="4"> + </constant> + <constant name="TRANS_EXPO" value="5"> + </constant> + <constant name="TRANS_ELASTIC" value="6"> + </constant> + <constant name="TRANS_CUBIC" value="7"> + </constant> + <constant name="TRANS_CIRC" value="8"> + </constant> + <constant name="TRANS_BOUNCE" value="9"> + </constant> + <constant name="TRANS_BACK" value="10"> + </constant> + <constant name="EASE_IN" value="0"> + </constant> + <constant name="EASE_OUT" value="1"> + </constant> + <constant name="EASE_IN_OUT" value="2"> + </constant> + <constant name="EASE_OUT_IN" value="3"> + </constant> + </constants> +</class> <class name="UnshadedMaterial" inherits="Material" category="Core"> <brief_description> </brief_description> @@ -27748,6 +31679,10 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="separation" type="int"> + </theme_item> + </theme_items> </class> <class name="VButtonArray" inherits="ButtonArray" category="Core"> <brief_description> @@ -27760,6 +31695,28 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="button_separator" type="int"> + </theme_item> + <theme_item name="icon_separator" type="int"> + </theme_item> + <theme_item name="font_color_selected" type="Color"> + </theme_item> + <theme_item name="font_color" type="Color"> + </theme_item> + <theme_item name="font_selected" type="Font"> + </theme_item> + <theme_item name="font" type="Font"> + </theme_item> + <theme_item name="hover" type="StyleBox"> + </theme_item> + <theme_item name="focus" type="StyleBox"> + </theme_item> + <theme_item name="selected" type="StyleBox"> + </theme_item> + <theme_item name="normal" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="VScrollBar" inherits="ScrollBar" category="Core"> <brief_description> @@ -27771,6 +31728,24 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="increment_hilite" type="Texture"> + </theme_item> + <theme_item name="decrement_hilite" type="Texture"> + </theme_item> + <theme_item name="increment" type="Texture"> + </theme_item> + <theme_item name="decrement" type="Texture"> + </theme_item> + <theme_item name="grabber_hilite" type="StyleBox"> + </theme_item> + <theme_item name="grabber" type="StyleBox"> + </theme_item> + <theme_item name="scroll_focus" type="StyleBox"> + </theme_item> + <theme_item name="scroll" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="VSeparator" inherits="Separator" category="Core"> <brief_description> @@ -27783,6 +31758,12 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="separation" type="int"> + </theme_item> + <theme_item name="separator" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="VSlider" inherits="Slider" category="Core"> <brief_description> @@ -27795,6 +31776,18 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="tick" type="Texture"> + </theme_item> + <theme_item name="grabber_hilite" type="Texture"> + </theme_item> + <theme_item name="grabber" type="Texture"> + </theme_item> + <theme_item name="grabber_hilite" type="StyleBox"> + </theme_item> + <theme_item name="slider" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="VSplitContainer" inherits="SplitContainer" category="Core"> <brief_description> @@ -27807,6 +31800,16 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="autohide" type="int"> + </theme_item> + <theme_item name="separation" type="int"> + </theme_item> + <theme_item name="grabber" type="Texture"> + </theme_item> + <theme_item name="bg" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="Vector2" category="Built-In Types"> <brief_description> @@ -27816,13 +31819,27 @@ </description> <methods> <method name="angle_to" > - <return type="real"> + <return type="float"> + </return> + <argument index="0" name="to" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="angle_to_point" > + <return type="float"> </return> <argument index="0" name="to" type="Vector2"> </argument> <description> </description> </method> + <method name="atan2" > + <return type="float"> + </return> + <description> + </description> + </method> <method name="cubic_interpolate" > <return type="Vector2"> </return> @@ -27832,13 +31849,13 @@ </argument> <argument index="2" name="post_b" type="Vector2"> </argument> - <argument index="3" name="t" type="real"> + <argument index="3" name="t" type="float"> </argument> <description> </description> </method> <method name="distance_squared_to" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="to" type="Vector2"> </argument> @@ -27846,7 +31863,7 @@ </description> </method> <method name="distance_to" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="to" type="Vector2"> </argument> @@ -27855,7 +31872,7 @@ </description> </method> <method name="dot" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="with" type="Vector2"> </argument> @@ -27877,20 +31894,20 @@ </description> </method> <method name="get_aspect" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="length" > - <return type="real"> + <return type="float"> </return> <description> Returns the length of the vector. </description> </method> <method name="length_squared" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -27900,7 +31917,7 @@ </return> <argument index="0" name="b" type="Vector2"> </argument> - <argument index="1" name="t" type="real"> + <argument index="1" name="t" type="float"> </argument> <description> Returns the result of the linear interpolation between this vector and "b", by amount "i". @@ -27914,7 +31931,7 @@ </description> </method> <method name="reflect" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="vec" type="Vector2"> </argument> @@ -27924,13 +31941,13 @@ <method name="rotated" > <return type="Vector2"> </return> - <argument index="0" name="phi" type="real"> + <argument index="0" name="phi" type="float"> </argument> <description> </description> </method> <method name="slide" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="vec" type="Vector2"> </argument> @@ -27952,22 +31969,22 @@ </description> </method> <method name="Vector2" > - <argument index="0" name="x" type="real"> + <argument index="0" name="x" type="float"> </argument> - <argument index="1" name="y" type="real"> + <argument index="1" name="y" type="float"> </argument> <description> </description> </method> </methods> <members> - <member name="x" type="real"> + <member name="x" type="float"> </member> - <member name="y" type="real"> + <member name="y" type="float"> </member> - <member name="width" type="real"> + <member name="width" type="float"> </member> - <member name="height" type="real"> + <member name="height" type="float"> </member> </members> <constants> @@ -28055,14 +32072,14 @@ </argument> <argument index="2" name="post_b" type="Vector3"> </argument> - <argument index="3" name="t" type="real"> + <argument index="3" name="t" type="float"> </argument> <description> Perform a cubic interpolation between vectors a,b,c,d (b is current), by the given amount (i). </description> </method> <method name="distance_squared_to" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="b" type="Vector3"> </argument> @@ -28071,7 +32088,7 @@ </description> </method> <method name="distance_to" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="b" type="Vector3"> </argument> @@ -28080,7 +32097,7 @@ </description> </method> <method name="dot" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="b" type="Vector3"> </argument> @@ -28096,14 +32113,14 @@ </description> </method> <method name="length" > - <return type="real"> + <return type="float"> </return> <description> Return the length of the vector. </description> </method> <method name="length_squared" > - <return type="real"> + <return type="float"> </return> <description> Return the length of the vector, without the square root step. @@ -28114,7 +32131,7 @@ </return> <argument index="0" name="b" type="Vector3"> </argument> - <argument index="1" name="t" type="real"> + <argument index="1" name="t" type="float"> </argument> <description> Linearly interpolates the vector to a given one (b), by the given amount (i) @@ -28139,12 +32156,28 @@ Return a copy of the normalized vector to unit length. This is the same as v / v.length() </description> </method> + <method name="reflect" > + <return type="Vector3"> + </return> + <argument index="0" name="by" type="Vector3"> + </argument> + <description> + </description> + </method> <method name="rotated" > <return type="Vector3"> </return> <argument index="0" name="axis" type="Vector3"> </argument> - <argument index="1" name="phi" type="real"> + <argument index="1" name="phi" type="float"> + </argument> + <description> + </description> + </method> + <method name="slide" > + <return type="Vector3"> + </return> + <argument index="0" name="by" type="Vector3"> </argument> <description> </description> @@ -28152,29 +32185,29 @@ <method name="snapped" > <return type="Vector3"> </return> - <argument index="0" name="by" type="real"> + <argument index="0" name="by" type="float"> </argument> <description> Return a copy of the vector, snapped to the lowest neared multiple. </description> </method> <method name="Vector3" > - <argument index="0" name="x" type="real"> + <argument index="0" name="x" type="float"> </argument> - <argument index="1" name="y" type="real"> + <argument index="1" name="y" type="float"> </argument> - <argument index="2" name="z" type="real"> + <argument index="2" name="z" type="float"> </argument> <description> </description> </method> </methods> <members> - <member name="x" type="real"> + <member name="x" type="float"> </member> - <member name="y" type="real"> + <member name="y" type="float"> </member> - <member name="z" type="real"> + <member name="z" type="float"> </member> </members> <constants> @@ -28236,6 +32269,206 @@ <constants> </constants> </class> +<class name="VehicleBody" inherits="PhysicsBody" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_mass" > + <argument index="0" name="mass" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_mass" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_friction" > + <argument index="0" name="friction" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_friction" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_engine_force" > + <argument index="0" name="engine_force" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_engine_force" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_brake" > + <argument index="0" name="brake" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_brake" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_steering" > + <argument index="0" name="steering" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_steering" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> +<class name="VehicleWheel" inherits="Spatial" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_radius" > + <argument index="0" name="length" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_radius" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_suspension_rest_length" > + <argument index="0" name="length" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_suspension_rest_length" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_suspension_travel" > + <argument index="0" name="length" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_suspension_travel" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_suspension_stiffness" > + <argument index="0" name="length" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_suspension_stiffness" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_suspension_max_force" > + <argument index="0" name="length" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_suspension_max_force" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_damping_compression" > + <argument index="0" name="length" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_damping_compression" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_damping_relaxation" > + <argument index="0" name="length" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_damping_relaxation" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_use_as_traction" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_used_as_traction" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_use_as_steering" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_used_as_steering" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_friction_slip" > + <argument index="0" name="length" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_friction_slip" qualifiers="const" > + <return type="float"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="VideoPlayer" inherits="Control" category="Core"> <brief_description> </brief_description> @@ -28281,25 +32514,25 @@ </description> </method> <method name="set_volume" > - <argument index="0" name="volume" type="real"> + <argument index="0" name="volume" type="float"> </argument> <description> </description> </method> <method name="get_volume" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> </method> <method name="set_volume_db" > - <argument index="0" name="db" type="real"> + <argument index="0" name="db" type="float"> </argument> <description> </description> </method> <method name="get_volume_db" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -28311,7 +32544,7 @@ </description> </method> <method name="get_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <description> </description> @@ -28344,7 +32577,7 @@ <constants> </constants> </class> -<class name="VideoStream" inherits="AudioStreamResampled" category="Core"> +<class name="VideoStream" inherits="Resource" category="Core"> <brief_description> </brief_description> <description> @@ -28357,8 +32590,8 @@ </description> </method> <method name="pop_frame" > - <return type="Image"> - </return> + <argument index="0" name="arg0" type="Object"> + </argument> <description> </description> </method> @@ -28372,16 +32605,6 @@ <constants> </constants> </class> -<class name="VideoStreamTheora" inherits="VideoStream" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> <class name="Viewport" inherits="Node" category="Core"> <brief_description> Creates a sub-view into the screen. @@ -28540,6 +32763,42 @@ <description> </description> </method> + <method name="set_render_target_vflip" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_render_target_vflip" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_render_target_filter" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_render_target_filter" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_render_target_gen_mipmaps" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_render_target_gen_mipmaps" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> <method name="set_render_target_update_mode" > <argument index="0" name="mode" type="int"> </argument> @@ -28558,6 +32817,18 @@ <description> </description> </method> + <method name="set_physics_object_picking" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_physics_object_picking" > + <return type="bool"> + </return> + <description> + </description> + </method> <method name="get_viewport" qualifiers="const" > <return type="RID"> </return> @@ -28565,10 +32836,40 @@ Get the viewport RID from the visual server. </description> </method> + <method name="input" > + <argument index="0" name="local_event" type="InputEvent"> + </argument> + <description> + </description> + </method> + <method name="unhandled_input" > + <argument index="0" name="local_event" type="InputEvent"> + </argument> + <description> + </description> + </method> <method name="update_worlds" > <description> </description> </method> + <method name="set_use_own_world" > + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_using_own_world" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="get_camera" qualifiers="const" > + <return type="Camera"> + </return> + <description> + </description> + </method> <method name="set_as_audio_listener" > <argument index="0" name="enable" type="bool"> </argument> @@ -28593,6 +32894,12 @@ <description> </description> </method> + <method name="set_render_target_to_screen_rect" > + <argument index="0" name="arg0" type="Rect2"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="size_changed"> @@ -28611,6 +32918,64 @@ </constant> </constants> </class> +<class name="ViewportSprite" inherits="Node2D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_viewport_path" > + <argument index="0" name="path" type="NodePath"> + </argument> + <description> + </description> + </method> + <method name="get_viewport_path" qualifiers="const" > + <return type="NodePath"> + </return> + <description> + </description> + </method> + <method name="set_centered" > + <argument index="0" name="centered" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_centered" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_offset" > + <argument index="0" name="offset" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_offset" qualifiers="const" > + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="set_modulate" > + <argument index="0" name="modulate" type="Color"> + </argument> + <description> + </description> + </method> + <method name="get_modulate" qualifiers="const" > + <return type="Color"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="VisibilityEnabler" inherits="VisibilityNotifier" category="Core"> <brief_description> </brief_description> @@ -28955,13 +33320,13 @@ <method name="material_set_line_width" > <argument index="0" name="arg0" type="RID"> </argument> - <argument index="1" name="arg1" type="real"> + <argument index="1" name="arg1" type="float"> </argument> <description> </description> </method> <method name="material_get_line_width" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="RID"> </argument> @@ -29205,13 +33570,13 @@ </argument> <argument index="1" name="arg1" type="int"> </argument> - <argument index="2" name="arg2" type="real"> + <argument index="2" name="arg2" type="float"> </argument> <description> </description> </method> <method name="particles_get_variable" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="RID"> </argument> @@ -29225,13 +33590,13 @@ </argument> <argument index="1" name="arg1" type="int"> </argument> - <argument index="2" name="arg2" type="real"> + <argument index="2" name="arg2" type="float"> </argument> <description> </description> </method> <method name="particles_get_randomness" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="RID"> </argument> @@ -29261,13 +33626,13 @@ </argument> <argument index="1" name="arg1" type="int"> </argument> - <argument index="2" name="arg2" type="real"> + <argument index="2" name="arg2" type="float"> </argument> <description> </description> </method> <method name="particles_get_color_phase_pos" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="RID"> </argument> @@ -29337,13 +33702,13 @@ </argument> <argument index="1" name="arg1" type="int"> </argument> - <argument index="2" name="arg2" type="real"> + <argument index="2" name="arg2" type="float"> </argument> <description> </description> </method> <method name="particles_get_attractor_strength" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="RID"> </argument> @@ -29467,13 +33832,13 @@ </argument> <argument index="1" name="arg1" type="int"> </argument> - <argument index="2" name="arg2" type="real"> + <argument index="2" name="arg2" type="float"> </argument> <description> </description> </method> <method name="light_get_var" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="RID"> </argument> @@ -29587,13 +33952,13 @@ <method name="portal_set_disable_distance" > <argument index="0" name="arg0" type="RID"> </argument> - <argument index="1" name="arg1" type="real"> + <argument index="1" name="arg1" type="float"> </argument> <description> </description> </method> <method name="portal_get_disable_distance" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="RID"> </argument> @@ -29625,11 +33990,11 @@ <method name="camera_set_perspective" > <argument index="0" name="arg0" type="RID"> </argument> - <argument index="1" name="arg1" type="real"> + <argument index="1" name="arg1" type="float"> </argument> - <argument index="2" name="arg2" type="real"> + <argument index="2" name="arg2" type="float"> </argument> - <argument index="3" name="arg3" type="real"> + <argument index="3" name="arg3" type="float"> </argument> <description> </description> @@ -29637,11 +34002,11 @@ <method name="camera_set_orthogonal" > <argument index="0" name="arg0" type="RID"> </argument> - <argument index="1" name="arg1" type="real"> + <argument index="1" name="arg1" type="float"> </argument> - <argument index="2" name="arg2" type="real"> + <argument index="2" name="arg2" type="float"> </argument> - <argument index="3" name="arg3" type="real"> + <argument index="3" name="arg3" type="float"> </argument> <description> </description> @@ -29865,11 +34230,9 @@ <method name="instances_cull_convex" qualifiers="const" > <return type="Array"> </return> - <argument index="0" name="arg0" type="Vector3"> + <argument index="0" name="arg0" type="Array"> </argument> - <argument index="1" name="arg1" type="Vector3"> - </argument> - <argument index="2" name="arg2" type="RID"> + <argument index="1" name="arg1" type="RID"> </argument> <description> </description> @@ -29953,17 +34316,17 @@ <method name="canvas_item_set_opacity" > <argument index="0" name="arg0" type="RID"> </argument> - <argument index="1" name="arg1" type="real"> + <argument index="1" name="arg1" type="float"> </argument> <description> </description> </method> <method name="canvas_item_get_opacity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="RID"> </argument> - <argument index="1" name="arg1" type="real"> + <argument index="1" name="arg1" type="float"> </argument> <description> </description> @@ -29971,17 +34334,17 @@ <method name="canvas_item_set_self_opacity" > <argument index="0" name="arg0" type="RID"> </argument> - <argument index="1" name="arg1" type="real"> + <argument index="1" name="arg1" type="float"> </argument> <description> </description> </method> <method name="canvas_item_get_self_opacity" qualifiers="const" > - <return type="real"> + <return type="float"> </return> <argument index="0" name="arg0" type="RID"> </argument> - <argument index="1" name="arg1" type="real"> + <argument index="1" name="arg1" type="float"> </argument> <description> </description> @@ -29995,7 +34358,7 @@ </argument> <argument index="3" name="arg3" type="Color"> </argument> - <argument index="4" name="arg4" type="real" default="1"> + <argument index="4" name="arg4" type="float" default="1"> </argument> <description> </description> @@ -30057,7 +34420,7 @@ </argument> <argument index="1" name="arg1" type="Vector2"> </argument> - <argument index="2" name="arg2" type="real"> + <argument index="2" name="arg2" type="float"> </argument> <argument index="3" name="arg3" type="Color"> </argument> @@ -30087,7 +34450,7 @@ </description> </method> <method name="cursor_set_rotation" > - <argument index="0" name="arg0" type="real"> + <argument index="0" name="arg0" type="float"> </argument> <argument index="1" name="arg1" type="int"> </argument> @@ -30132,6 +34495,18 @@ <description> </description> </method> + <method name="black_bars_set_images" > + <argument index="0" name="left" type="RID"> + </argument> + <argument index="1" name="top" type="RID"> + </argument> + <argument index="2" name="right" type="RID"> + </argument> + <argument index="3" name="bottom" type="RID"> + </argument> + <description> + </description> + </method> <method name="make_sphere_mesh" > <return type="RID"> </return> @@ -30139,7 +34514,7 @@ </argument> <argument index="1" name="arg1" type="int"> </argument> - <argument index="2" name="arg2" type="real"> + <argument index="2" name="arg2" type="float"> </argument> <description> </description> @@ -30156,6 +34531,10 @@ <description> </description> </method> + <method name="flush" > + <description> + </description> + </method> <method name="free" > <argument index="0" name="arg0" type="RID"> </argument> @@ -30196,7 +34575,7 @@ </constant> <constant name="TEXTURE_FLAG_FILTER" value="4"> </constant> - <constant name="TEXTURE_FLAG_CUBEMAP" value="8"> + <constant name="TEXTURE_FLAG_CUBEMAP" value="2048"> </constant> <constant name="TEXTURE_FLAGS_DEFAULT" value="7"> </constant> @@ -30226,10 +34605,6 @@ </constant> <constant name="MATERIAL_FLAG_ONTOP" value="4"> </constant> - <constant name="MATERIAL_FLAG_WIREFRAME" value="5"> - </constant> - <constant name="MATERIAL_FLAG_BILLBOARD" value="6"> - </constant> <constant name="MATERIAL_FLAG_MAX" value="7"> </constant> <constant name="MATERIAL_BLEND_MODE_MIX" value="0"> @@ -30350,11 +34725,9 @@ </constant> <constant name="LIGHT_SPOT" value="2"> </constant> - <constant name="LIGHT_COLOR_AMBIENT" value="0"> - </constant> - <constant name="LIGHT_COLOR_DIFFUSE" value="1"> + <constant name="LIGHT_COLOR_DIFFUSE" value="0"> </constant> - <constant name="LIGHT_COLOR_SPECULAR" value="2"> + <constant name="LIGHT_COLOR_SPECULAR" value="1"> </constant> <constant name="LIGHT_PARAM_SPOT_ATTENUATION" value="0"> </constant> @@ -30366,7 +34739,7 @@ </constant> <constant name="LIGHT_PARAM_ATTENUATION" value="4"> </constant> - <constant name="LIGHT_PARAM_MAX" value="8"> + <constant name="LIGHT_PARAM_MAX" value="10"> </constant> <constant name="SCENARIO_DEBUG_DISABLED" value="0"> </constant> @@ -30378,15 +34751,15 @@ </constant> <constant name="INSTANCE_MULTIMESH" value="2"> </constant> - <constant name="INSTANCE_PARTICLES" value="3"> + <constant name="INSTANCE_PARTICLES" value="4"> </constant> - <constant name="INSTANCE_LIGHT" value="4"> + <constant name="INSTANCE_LIGHT" value="5"> </constant> - <constant name="INSTANCE_ROOM" value="5"> + <constant name="INSTANCE_ROOM" value="6"> </constant> - <constant name="INSTANCE_PORTAL" value="6"> + <constant name="INSTANCE_PORTAL" value="7"> </constant> - <constant name="INSTANCE_GEOMETRY_MASK" value="14"> + <constant name="INSTANCE_GEOMETRY_MASK" value="30"> </constant> <constant name="INFO_OBJECTS_IN_FRAME" value="0"> </constant> @@ -30442,6 +34815,26 @@ </methods> <constants> </constants> + <theme_items> + <theme_item name="close_h_ofs" type="int"> + </theme_item> + <theme_item name="titlebar_height" type="int"> + </theme_item> + <theme_item name="close_v_ofs" type="int"> + </theme_item> + <theme_item name="title_height" type="int"> + </theme_item> + <theme_item name="title_color" type="Color"> + </theme_item> + <theme_item name="close_hilite" type="Texture"> + </theme_item> + <theme_item name="close" type="Texture"> + </theme_item> + <theme_item name="title_font" type="Font"> + </theme_item> + <theme_item name="panel" type="StyleBox"> + </theme_item> + </theme_items> </class> <class name="World" inherits="Resource" category="Core"> <brief_description> @@ -30677,6 +35070,28 @@ </constant> </constants> </class> +<class name="YSort" inherits="Node2D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_sort_enabled" > + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_sort_enabled" qualifiers="const" > + <return type="bool"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="bool" category="Built-In Types"> <brief_description> Boolean built-in type @@ -30692,7 +35107,7 @@ </description> </method> <method name="bool" > - <argument index="0" name="from" type="real"> + <argument index="0" name="from" type="float"> </argument> <description> </description> @@ -30707,27 +35122,25 @@ <constants> </constants> </class> -<class name="int" category="Built-In Types"> +<class name="float" category="Built-In Types"> <brief_description> - Integer built-in type. </brief_description> <description> - Integer built-in type. </description> <methods> - <method name="int" > + <method name="float" > <argument index="0" name="from" type="bool"> </argument> <description> </description> </method> - <method name="int" > - <argument index="0" name="from" type="real"> + <method name="float" > + <argument index="0" name="from" type="int"> </argument> <description> </description> </method> - <method name="int" > + <method name="float" > <argument index="0" name="from" type="String"> </argument> <description> @@ -30737,27 +35150,27 @@ <constants> </constants> </class> -<class name="real" category="Built-In Types"> +<class name="int" category="Built-In Types"> <brief_description> - Real (float) built-in type. + Integer built-in type. </brief_description> <description> - Real (float) built-in type. + Integer built-in type. </description> <methods> - <method name="real" > + <method name="int" > <argument index="0" name="from" type="bool"> </argument> <description> </description> </method> - <method name="real" > - <argument index="0" name="from" type="int"> + <method name="int" > + <argument index="0" name="from" type="float"> </argument> <description> </description> </method> - <method name="real" > + <method name="int" > <argument index="0" name="from" type="String"> </argument> <description> |