diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/base/classes.xml | 14123 | ||||
-rw-r--r-- | doc/engine_classes.xml | 4060 |
2 files changed, 11686 insertions, 6497 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 215f21b94b..157d49fbc8 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<doc version="1.0.3917-beta1" name="Engine Types"> +<doc version="2.0.alpha.custom_build" name="Engine Types"> <class name="@GDScript" category="Core"> <brief_description> Built-in GDScript functions. @@ -8,7 +8,7 @@ This contains the list of built-in gdscript functions. Mostly math functions and other utilities. Everything else is expanded by objects. </description> <methods> - <method name="sin" > + <method name="sin"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -17,7 +17,7 @@ Standard sine function. </description> </method> - <method name="cos" > + <method name="cos"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -26,7 +26,7 @@ Standard cosine function. </description> </method> - <method name="tan" > + <method name="tan"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -35,7 +35,7 @@ Standard tangent function. </description> </method> - <method name="sinh" > + <method name="sinh"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -44,7 +44,7 @@ Hyperbolic sine. </description> </method> - <method name="cosh" > + <method name="cosh"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -53,7 +53,7 @@ Hyperbolic cosine. </description> </method> - <method name="tanh" > + <method name="tanh"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -62,7 +62,7 @@ Hyperbolic tangent. </description> </method> - <method name="asin" > + <method name="asin"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -71,7 +71,7 @@ Arc-sine. </description> </method> - <method name="acos" > + <method name="acos"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -80,7 +80,7 @@ Arc-cosine. </description> </method> - <method name="atan" > + <method name="atan"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -89,7 +89,7 @@ Arc-tangent. </description> </method> - <method name="atan2" > + <method name="atan2"> <return type="float"> </return> <argument index="0" name="x" type="float"> @@ -100,7 +100,7 @@ Arc-tangent that takes a 2D vector as argument, retuns the full -pi to +pi range. </description> </method> - <method name="sqrt" > + <method name="sqrt"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -109,7 +109,7 @@ Square root. </description> </method> - <method name="fmod" > + <method name="fmod"> <return type="float"> </return> <argument index="0" name="x" type="float"> @@ -120,7 +120,7 @@ Module (remainder of x/y). </description> </method> - <method name="fposmod" > + <method name="fposmod"> <return type="float"> </return> <argument index="0" name="x" type="float"> @@ -131,7 +131,7 @@ Module (remainder of x/y) that wraps equally in positive and negative. </description> </method> - <method name="floor" > + <method name="floor"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -140,7 +140,7 @@ Floor (rounds down to nearest integer). </description> </method> - <method name="ceil" > + <method name="ceil"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -149,7 +149,7 @@ Ceiling (rounds up to nearest integer). </description> </method> - <method name="round" > + <method name="round"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -158,16 +158,16 @@ Round to nearest integer. </description> </method> - <method name="abs" > + <method name="abs"> <return type="float"> </return> <argument index="0" name="s" type="float"> </argument> <description> - Remove sign (works for integer and float). + Remove sign (works for integer and float). </description> </method> - <method name="sign" > + <method name="sign"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -176,7 +176,7 @@ Return sign (-1 or +1). </description> </method> - <method name="pow" > + <method name="pow"> <return type="float"> </return> <argument index="0" name="x" type="float"> @@ -187,7 +187,7 @@ Power function, x elevate to y. </description> </method> - <method name="log" > + <method name="log"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -196,7 +196,7 @@ Natural logarithm. </description> </method> - <method name="exp" > + <method name="exp"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -205,7 +205,7 @@ Exponential logarithm. </description> </method> - <method name="isnan" > + <method name="isnan"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -214,7 +214,7 @@ Return true if the float is not a number. </description> </method> - <method name="isinf" > + <method name="isinf"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -223,7 +223,7 @@ Return true if the float is infinite. </description> </method> - <method name="ease" > + <method name="ease"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -234,7 +234,7 @@ 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" > + <method name="decimals"> <return type="float"> </return> <argument index="0" name="step" type="float"> @@ -243,7 +243,7 @@ Return the amount of decimals in the floating point value. </description> </method> - <method name="stepify" > + <method name="stepify"> <return type="float"> </return> <argument index="0" name="s" type="float"> @@ -254,7 +254,7 @@ Snap float value to a given step. </description> </method> - <method name="lerp" > + <method name="lerp"> <return type="float"> </return> <argument index="0" name="from" type="float"> @@ -267,7 +267,7 @@ Linear interpolates between two values by a normalized value. </description> </method> - <method name="dectime" > + <method name="dectime"> <return type="float"> </return> <argument index="0" name="value" type="float"> @@ -280,32 +280,28 @@ Decreases time by a specified amount. </description> </method> - <method name="randomize" > + <method name="randomize"> <return type="Nil"> </return> <description> - Reset the seed of the random number generator with a - new, different one. + Reset the seed of the random number generator with a new, different one. </description> </method> - <method name="randi" > + <method name="randi"> <return type="int"> </return> <description> - Random 32 bits value (integer). To obtain a value - from 0 to N, you can use remainder, like (for random - from 0 to 19): randi() % - 20. + Random 32 bits value (integer). To obtain a value from 0 to N, you can use remainder, like (for random from 0 to 19): randi() % 20. </description> </method> - <method name="randf" > + <method name="randf"> <return type="float"> </return> <description> Random value (0 to 1 float). </description> </method> - <method name="rand_range" > + <method name="rand_range"> <return type="float"> </return> <argument index="0" name="from" type="float"> @@ -313,11 +309,18 @@ <argument index="1" name="to" type="float"> </argument> <description> - Random range, any floating point value between - 'from' and 'to' + Random range, any floating point value between 'from' and 'to' </description> </method> - <method name="rand_seed" > + <method name="seed"> + <return type="Nil"> + </return> + <argument index="0" name="seed" type="float"> + </argument> + <description> + </description> + </method> + <method name="rand_seed"> <return type="Array"> </return> <argument index="0" name="seed" type="float"> @@ -326,7 +329,7 @@ Random from seed, pass a seed and an array with both number and new seed is returned. </description> </method> - <method name="deg2rad" > + <method name="deg2rad"> <return type="float"> </return> <argument index="0" name="deg" type="float"> @@ -335,7 +338,7 @@ Convert from degrees to radians. </description> </method> - <method name="rad2deg" > + <method name="rad2deg"> <return type="float"> </return> <argument index="0" name="rad" type="float"> @@ -344,7 +347,7 @@ Convert from radias to degrees. </description> </method> - <method name="linear2db" > + <method name="linear2db"> <return type="float"> </return> <argument index="0" name="nrg" type="float"> @@ -353,7 +356,7 @@ Convert from linear energy to decibels (audio). </description> </method> - <method name="db2linear" > + <method name="db2linear"> <return type="float"> </return> <argument index="0" name="db" type="float"> @@ -362,7 +365,7 @@ Convert from decibels to linear energy (audio). </description> </method> - <method name="max" > + <method name="max"> <return type="float"> </return> <argument index="0" name="a" type="float"> @@ -373,7 +376,7 @@ Return the maximum of two values. </description> </method> - <method name="min" > + <method name="min"> <return type="float"> </return> <argument index="0" name="a" type="float"> @@ -384,7 +387,7 @@ Return the minimum of two values. </description> </method> - <method name="clamp" > + <method name="clamp"> <return type="float"> </return> <argument index="0" name="val" type="float"> @@ -397,7 +400,7 @@ Clamp both values to a range. </description> </method> - <method name="nearest_po2" > + <method name="nearest_po2"> <return type="int"> </return> <argument index="0" name="val" type="int"> @@ -406,8 +409,8 @@ Return the nearest larger power of 2 for an integer. </description> </method> - <method name="weakref" > - <return type="Object"> + <method name="weakref"> + <return type="WeakRef"> </return> <argument index="0" name="obj" type="Object"> </argument> @@ -415,8 +418,8 @@ Return a weak reference to an object. </description> </method> - <method name="funcref" > - <return type="Object"> + <method name="funcref"> + <return type="FuncRef"> </return> <argument index="0" name="instance" type="Object"> </argument> @@ -426,7 +429,7 @@ Returns a reference to the specified function </description> </method> - <method name="convert" > + <method name="convert"> <return type="Object"> </return> <argument index="0" name="what" type="var"> @@ -437,7 +440,7 @@ Convert from a type to another in the best way possible. The "type" parameter uses the enum TYPE_* in Global Scope. </description> </method> - <method name="str" > + <method name="str"> <return type="String"> </return> <argument index="0" name="what" type="var"> @@ -448,7 +451,7 @@ Convert one or more arguments to strings in the best way possible. </description> </method> - <method name="str" > + <method name="str"> <return type="String"> </return> <argument index="0" name="what" type="var"> @@ -459,7 +462,7 @@ Convert one or more arguments to strings in the best way possible. </description> </method> - <method name="print" > + <method name="print"> <return type="Nil"> </return> <argument index="0" name="what" type="var"> @@ -470,7 +473,7 @@ Print one or more arguments to strings in the best way possible to a console line. </description> </method> - <method name="printt" > + <method name="printt"> <return type="Nil"> </return> <argument index="0" name="what" type="var"> @@ -481,7 +484,17 @@ Print one or more arguments to the console with a tab between each argument. </description> </method> - <method name="printerr" > + <method name="prints"> + <return type="Nil"> + </return> + <argument index="0" name="what" type="var"> + </argument> + <argument index="1" name="..." type="var"> + </argument> + <description> + </description> + </method> + <method name="printerr"> <return type="Nil"> </return> <argument index="0" name="what" type="var"> @@ -492,7 +505,7 @@ Print one or more arguments to strings in the best way possible to standard error line. </description> </method> - <method name="printraw" > + <method name="printraw"> <return type="Nil"> </return> <argument index="0" name="what" type="var"> @@ -503,7 +516,7 @@ Print one or more arguments to strings in the best way possible to console. No newline is added at the end. </description> </method> - <method name="var2str" > + <method name="var2str"> <return type="String"> </return> <argument index="0" name="var" type="var"> @@ -512,16 +525,16 @@ Converts the value of a variable to a String. </description> </method> - <method name="str2var:var" > - <return type="String"> + <method name="str2var:var"> + <return type="Nil"> </return> - <argument index="0" name="str" type="String"> + <argument index="0" name="string" type="String"> </argument> <description> Converts the value of a String to a variable. </description> </method> - <method name="range" > + <method name="range"> <return type="Array"> </return> <argument index="0" name="..." type="var"> @@ -530,37 +543,34 @@ Return an array with the given range. Range can be 1 argument N (0 to N-1), two arguments (initial, final-1) or three arguments (initial,final-1,increment). </description> </method> - <method name="load" > - <return type="Object"> + <method name="load"> + <return type="Resource"> </return> <argument index="0" name="path" type="String"> </argument> <description> - Load a resource from the filesystem, pass a valid - path as argument. + Load a resource from the filesystem, pass a valid path as argument. </description> </method> - <method name="inst2dict" > + <method name="inst2dict"> <return type="Dictionary"> </return> <argument index="0" name="inst" type="Object"> </argument> <description> - Convert a script class instance to a dictionary - (useful for serializing). + Convert a script class instance to a dictionary (useful for serializing). </description> </method> - <method name="dict2inst" > + <method name="dict2inst"> <return type="Object"> </return> <argument index="0" name="dict" type="Dictionary"> </argument> <description> - Convert a previously converted instances to dictionary - back into an instance. Useful for deserializing. + Convert a previously converted instances to dictionary back into an instance. Useful for deserializing. </description> </method> - <method name="hash" > + <method name="hash"> <return type="int"> </return> <argument index="0" name="var:var" type="var"> @@ -569,19 +579,25 @@ Hashes the variable passed and returns an integer. </description> </method> - <method name="print_stack" > + <method name="print_stack"> <return type="Nil"> </return> <description> - Print a stack track at code location, only works when - running with debugger turned on. + Print a stack track at code location, only works when running with debugger turned on. + </description> + </method> + <method name="instance_from_id"> + <return type="Object"> + </return> + <argument index="0" name="instance_id" type="int"> + </argument> + <description> </description> </method> </methods> <constants> <constant name="PI" value="3.141593"> - Constant that represents how many times the diameter of a - circumference fits around it's perimeter. + Constant that represents how many times the diameter of a circumference fits around it's perimeter. </constant> </constants> </class> @@ -591,7 +607,7 @@ </brief_description> <description> Global scope constants and variables. This is all that resides in the globals, constants regarding error codes, scancodes, property hints, etc. It's not much. - Singletons are also documented here, since they can be accessed from anywhere. + Singletons are also documented here, since they can be accessed from anywhere. </description> <methods> </methods> @@ -1188,6 +1204,8 @@ </constant> <constant name="KEY_MASK_CTRL" value="268435456"> </constant> + <constant name="KEY_MASK_CMD" value="268435456"> + </constant> <constant name="KEY_MASK_KPAD" value="536870912"> </constant> <constant name="KEY_MASK_GROUP_SWITCH" value="1073741824"> @@ -1357,7 +1375,7 @@ Functions that return [Error] return OK when everything went ok. Most functions don't return error anyway and/or just print errors to stdout. </constant> <constant name="FAILED" value="1"> - Generic fail return error; + Generic fail return error. </constant> <constant name="ERR_UNAVAILABLE" value="2"> </constant> @@ -1389,95 +1407,98 @@ </constant> <constant name="ERR_FILE_CORRUPT" value="16"> </constant> - <constant name="ERR_FILE_EOF" value="17"> + <constant name="ERR_FILE_MISSING_DEPENDENCIES" value="17"> </constant> - <constant name="ERR_CANT_OPEN" value="18"> + <constant name="ERR_FILE_EOF" value="18"> </constant> - <constant name="ERR_CANT_CREATE" value="19"> + <constant name="ERR_CANT_OPEN" value="19"> </constant> - <constant name="ERROR_QUERY_FAILED" value="20"> + <constant name="ERR_CANT_CREATE" value="20"> </constant> - <constant name="ERR_ALREADY_IN_USE" value="21"> + <constant name="ERROR_QUERY_FAILED" value="21"> </constant> - <constant name="ERR_LOCKED" value="22"> + <constant name="ERR_ALREADY_IN_USE" value="22"> </constant> - <constant name="ERR_TIMEOUT" value="23"> + <constant name="ERR_LOCKED" value="23"> </constant> - <constant name="ERR_CANT_AQUIRE_RESOURCE" value="27"> + <constant name="ERR_TIMEOUT" value="24"> </constant> - <constant name="ERR_INVALID_DATA" value="29"> + <constant name="ERR_CANT_AQUIRE_RESOURCE" value="28"> </constant> - <constant name="ERR_INVALID_PARAMETER" value="30"> + <constant name="ERR_INVALID_DATA" value="30"> </constant> - <constant name="ERR_ALREADY_EXISTS" value="31"> + <constant name="ERR_INVALID_PARAMETER" value="31"> </constant> - <constant name="ERR_DOES_NOT_EXIST" value="32"> + <constant name="ERR_ALREADY_EXISTS" value="32"> </constant> - <constant name="ERR_DATABASE_CANT_READ" value="33"> + <constant name="ERR_DOES_NOT_EXIST" value="33"> </constant> - <constant name="ERR_DATABASE_CANT_WRITE" value="34"> + <constant name="ERR_DATABASE_CANT_READ" value="34"> </constant> - <constant name="ERR_COMPILATION_FAILED" value="35"> + <constant name="ERR_DATABASE_CANT_WRITE" value="35"> </constant> - <constant name="ERR_METHOD_NOT_FOUND" value="36"> + <constant name="ERR_COMPILATION_FAILED" value="36"> </constant> - <constant name="ERR_LINK_FAILED" value="37"> + <constant name="ERR_METHOD_NOT_FOUND" value="37"> </constant> - <constant name="ERR_SCRIPT_FAILED" value="38"> + <constant name="ERR_LINK_FAILED" value="38"> </constant> - <constant name="ERR_CYCLIC_LINK" value="39"> + <constant name="ERR_SCRIPT_FAILED" value="39"> </constant> - <constant name="ERR_BUSY" value="43"> + <constant name="ERR_CYCLIC_LINK" value="40"> </constant> - <constant name="ERR_HELP" value="45"> + <constant name="ERR_BUSY" value="44"> </constant> - <constant name="ERR_BUG" value="46"> + <constant name="ERR_HELP" value="46"> </constant> - <constant name="ERR_WTF" value="48"> + <constant name="ERR_BUG" value="47"> + </constant> + <constant name="ERR_WTF" value="49"> </constant> <constant name="PROPERTY_HINT_NONE" value="0"> No hint for edited property. </constant> <constant name="PROPERTY_HINT_RANGE" value="1"> - Hint string is a range, defined as "min,max" or "min,max,step". This is valid for integers and floats. + Hints that the string is a range, defined as "min,max" or "min,max,step". This is valid for integers and floats. </constant> <constant name="PROPERTY_HINT_EXP_RANGE" value="2"> - Hint string is an exponential range, defined as "min,max" or "min,max,step". This is valid for integers and floats. + Hints that the string is an exponential range, defined as "min,max" or "min,max,step". This is valid for integers and floats. </constant> <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. + Property hint for an enumerated value, like "Hello,Something,Else". This is valid for integer, float and string 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 name="PROPERTY_HINT_KEY_ACCEL" value="7"> </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 name="PROPERTY_HINT_FLAGS" value="8"> + Property hint for a bitmask description, for bits 0,1,2,3 and 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 name="PROPERTY_HINT_ALL_FLAGS" value="9"> + Property hint for a bitmask description that covers all 32 bits. Valid only for integers. </constant> - <constant name="PROPERTY_HINT_FILE" value="9"> + <constant name="PROPERTY_HINT_FILE" value="10"> 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"> + <constant name="PROPERTY_HINT_DIR" value="11"> String property is a directory (so pop up a file dialog when edited). </constant> - <constant name="PROPERTY_HINT_GLOBAL_FILE" value="11"> + <constant name="PROPERTY_HINT_GLOBAL_FILE" value="12"> </constant> - <constant name="PROPERTY_HINT_GLOBAL_DIR" value="12"> + <constant name="PROPERTY_HINT_GLOBAL_DIR" value="13"> </constant> - <constant name="PROPERTY_HINT_RESOURCE_TYPE" value="13"> + <constant name="PROPERTY_HINT_RESOURCE_TYPE" value="14"> String property is a resource, so open the resource popup menu when edited. </constant> - <constant name="PROPERTY_HINT_MULTILINE_TEXT" value="14"> + <constant name="PROPERTY_HINT_MULTILINE_TEXT" value="15"> </constant> - <constant name="PROPERTY_HINT_COLOR_NO_ALPHA" value="15"> + <constant name="PROPERTY_HINT_COLOR_NO_ALPHA" value="16"> </constant> - <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSY" value="16"> + <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSY" value="17"> </constant> - <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS" value="17"> + <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS" value="18"> </constant> <constant name="PROPERTY_USAGE_STORAGE" value="1"> Property will be used as storage (default). @@ -1582,39 +1603,35 @@ Axis-Aligned Bounding Box. </brief_description> <description> - AABB provides an 3D Axis-Aligned Bounding Box. It consists of a - position and a size, and several utility functions. It is typically - used for simple (fast) overlap tests. + AABB provides an 3D Axis-Aligned Bounding Box. It consists of a position and a size, and several utility functions. It is typically used for simple (fast) overlap tests. </description> <methods> - <method name="encloses" > + <method name="encloses"> <return type="bool"> </return> <argument index="0" name="with" type="AABB"> </argument> <description> - Return true if this [AABB] completely encloses another - one. + Return true if this [AABB] completely encloses another one. </description> </method> - <method name="expand" > + <method name="expand"> <return type="AABB"> </return> <argument index="0" name="to_point" type="Vector3"> </argument> <description> - Return this [AABB] expanded to include a given - point. + Return this [AABB] expanded to include a given point. </description> </method> - <method name="get_area" > + <method name="get_area"> <return type="float"> </return> <description> - Get the area inside the [AABB] + Get the area inside the [AABB]. </description> </method> - <method name="get_endpoint" > + <method name="get_endpoint"> <return type="Vector3"> </return> <argument index="0" name="idx" type="int"> @@ -1623,87 +1640,81 @@ Get the position of the 8 endpoints of the [AABB] in space. </description> </method> - <method name="get_longest_axis" > + <method name="get_longest_axis"> <return type="Vector3"> </return> <description> - Return the normalized longest axis of the [AABB] + Return the normalized longest axis of the [AABB]. </description> </method> - <method name="get_longest_axis_index" > + <method name="get_longest_axis_index"> <return type="int"> </return> <description> - Return the index of the longest axis of the [AABB] - (according to [Vector3]::AXIS* enum). + Return the index of the longest axis of the [AABB] (according to [Vector3]::AXIS* enum). </description> </method> - <method name="get_longest_axis_size" > + <method name="get_longest_axis_size"> <return type="float"> </return> <description> - Return the scalar length of the longest axis of the - [AABB]. + Return the scalar length of the longest axis of the [AABB]. </description> </method> - <method name="get_shortest_axis" > + <method name="get_shortest_axis"> <return type="Vector3"> </return> <description> - Return the normalized shortest axis of the [AABB] + Return the normalized shortest axis of the [AABB]. </description> </method> - <method name="get_shortest_axis_index" > + <method name="get_shortest_axis_index"> <return type="int"> </return> <description> - Return the index of the shortest axis of the [AABB] - (according to [Vector3]::AXIS* enum). + Return the index of the shortest axis of the [AABB] (according to [Vector3]::AXIS* enum). </description> </method> - <method name="get_shortest_axis_size" > + <method name="get_shortest_axis_size"> <return type="float"> </return> <description> - Return the scalar length of the shortest axis of the - [AABB]. + Return the scalar length of the shortest axis of the [AABB]. </description> </method> - <method name="get_support" > + <method name="get_support"> <return type="Vector3"> </return> <argument index="0" name="dir" type="Vector3"> </argument> <description> - Return the support point in a given direction. This - is useful for collision detection algorithms. + Return the support point in a given direction. This is useful for collision detection algorithms. </description> </method> - <method name="grow" > + <method name="grow"> <return type="AABB"> </return> <argument index="0" name="by" type="float"> </argument> <description> - Return a copy of the AABB grown a given a mount of - units towards all the sides. + Return a copy of the AABB grown a given a mount of units towards all the sides. </description> </method> - <method name="has_no_area" > + <method name="has_no_area"> <return type="bool"> </return> <description> Return true if the [AABB] is flat or empty. </description> </method> - <method name="has_no_surface" > + <method name="has_no_surface"> <return type="bool"> </return> <description> Return true if the [AABB] is empty. </description> </method> - <method name="has_point" > + <method name="has_point"> <return type="bool"> </return> <argument index="0" name="point" type="Vector3"> @@ -1712,17 +1723,16 @@ Return true if the [AABB] contains a point. </description> </method> - <method name="intersection" > + <method name="intersection"> <return type="AABB"> </return> <argument index="0" name="with" type="AABB"> </argument> <description> - Return the intersection between two [AABB]s. An - empty AABB (size 0,0,0) is returned on failure. + Return the intersection between two [AABB]s. An empty AABB (size 0,0,0) is returned on failure. </description> </method> - <method name="intersects" > + <method name="intersects"> <return type="bool"> </return> <argument index="0" name="with" type="AABB"> @@ -1731,7 +1741,7 @@ Return true if the [AABB] overlaps with another. </description> </method> - <method name="intersects_plane" > + <method name="intersects_plane"> <return type="bool"> </return> <argument index="0" name="plane" type="Plane"> @@ -1740,7 +1750,7 @@ Return true if the AABB is at both sides of a plane. </description> </method> - <method name="intersects_segment" > + <method name="intersects_segment"> <return type="bool"> </return> <argument index="0" name="from" type="Vector3"> @@ -1750,17 +1760,18 @@ <description> </description> </method> - <method name="merge" > + <method name="merge"> <return type="AABB"> </return> <argument index="0" name="with" type="AABB"> </argument> <description> - Combine this [AABB] with another one, a larger one - is returned that contains both. + Combine this [AABB] with another one, a larger one is returned that contains both. </description> </method> - <method name="AABB" > + <method name="AABB"> + <return type="AABB"> + </return> <argument index="0" name="pos" type="Vector3"> </argument> <argument index="1" name="size" type="Vector3"> @@ -1786,41 +1797,38 @@ Base dialog for user notification. </brief_description> <description> - This dialog is useful for small notifications to the user about an - event. It can only be accepted or closed, with the same result. + This dialog is useful for small notifications to the user about an event. It can only be accepted or closed, with the same result. </description> <methods> - <method name="get_ok" > + <method name="get_ok"> <return type="Object"> </return> <description> Return the OK Button. </description> </method> - <method name="get_label" > + <method name="get_label"> <return type="Object"> </return> <description> Return the label used for built-in text. </description> </method> - <method name="set_hide_on_ok" > + <method name="set_hide_on_ok"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set whether the dialog is hidden when accepted - (default true). + Set whether the dialog is hidden when accepted (default true). </description> </method> - <method name="get_hide_on_ok" qualifiers="const" > + <method name="get_hide_on_ok" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the dialog will be hidden when - accepted (default true). + Return true if the dialog will be hidden when accepted (default true). </description> </method> - <method name="add_button" > + <method name="add_button"> <return type="Button"> </return> <argument index="0" name="text" type="String"> @@ -1832,7 +1840,7 @@ <description> </description> </method> - <method name="add_cancel" > + <method name="add_cancel"> <return type="Button"> </return> <argument index="0" name="name" type="String"> @@ -1840,22 +1848,21 @@ <description> </description> </method> - <method name="register_text_enter" > + <method name="register_text_enter"> <argument index="0" name="line_edit" type="Object"> </argument> <description> - Register a [LineEdit] in the dialog. When the enter - key is pressed, the dialog will be accepted. + Register a [LineEdit] in the dialog. When the enter key is pressed, the dialog will be accepted. </description> </method> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> Set the built-in label text. </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> @@ -1888,104 +1895,98 @@ Sprite node that can use multiple textures for animation. </description> <methods> - <method name="set_sprite_frames" > + <method name="set_sprite_frames"> <argument index="0" name="sprite_frames" type="SpriteFrames"> </argument> <description> - Set the [SpriteFrames] resource, which contains all - frames. + Set the [SpriteFrames] resource, which contains all frames. </description> </method> - <method name="get_sprite_frames" qualifiers="const" > + <method name="get_sprite_frames" qualifiers="const"> <return type="SpriteFrames"> </return> <description> - Get the [SpriteFrames] resource, which contains all - frames. + Get the [SpriteFrames] resource, which contains all frames. </description> </method> - <method name="set_centered" > + <method name="set_centered"> <argument index="0" name="centered" type="bool"> </argument> <description> - When turned on, offset at (0,0) is the center of the - sprite, when off, the top-left corner is. + When turned on, offset at (0,0) is the center of the sprite, when off, the top-left corner is. </description> </method> - <method name="is_centered" qualifiers="const" > + <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> Return true when centered. See [set_centered]. </description> </method> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Set the offset of the sprite in the node origin. - Position varies depending on whether it is centered - or not. + Set the offset of the sprite in the node origin. Position varies depending on whether it is centered or not. </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> Return the offset of the sprite in the node origin. </description> </method> - <method name="set_flip_h" > + <method name="set_flip_h"> <argument index="0" name="flip_h" type="bool"> </argument> <description> If true, sprite is flipped horizontally. </description> </method> - <method name="is_flipped_h" qualifiers="const" > + <method name="is_flipped_h" qualifiers="const"> <return type="bool"> </return> <description> Return true if sprite is flipped horizontally. </description> </method> - <method name="set_flip_v" > + <method name="set_flip_v"> <argument index="0" name="flip_v" type="bool"> </argument> <description> If true, sprite is flipped vertically. </description> </method> - <method name="is_flipped_v" qualifiers="const" > + <method name="is_flipped_v" qualifiers="const"> <return type="bool"> </return> <description> Return true if sprite is flipped vertically. </description> </method> - <method name="set_frame" > + <method name="set_frame"> <argument index="0" name="frame" type="int"> </argument> <description> - Set the visible sprite frame index (from the list of - frames inside the [SpriteFrames] resource). + Set the visible sprite frame index (from the list of frames inside the [SpriteFrames] resource). </description> </method> - <method name="get_frame" qualifiers="const" > + <method name="get_frame" qualifiers="const"> <return type="int"> </return> <description> Return the visible frame index. </description> </method> - <method name="set_modulate" > + <method name="set_modulate"> <argument index="0" name="modulate" type="Color"> </argument> <description> Change the color modulation (multiplication) for this sprite. </description> </method> - <method name="get_modulate" qualifiers="const" > + <method name="get_modulate" qualifiers="const"> <return type="Color"> </return> <description> @@ -1993,6 +1994,12 @@ </description> </method> </methods> + <signals> + <signal name="frame_changed"> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> @@ -2002,31 +2009,37 @@ <description> </description> <methods> - <method name="set_sprite_frames" > + <method name="set_sprite_frames"> <argument index="0" name="sprite_frames" type="SpriteFrames"> </argument> <description> </description> </method> - <method name="get_sprite_frames" qualifiers="const" > + <method name="get_sprite_frames" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_frame" > + <method name="set_frame"> <argument index="0" name="frame" type="int"> </argument> <description> </description> </method> - <method name="get_frame" qualifiers="const" > + <method name="get_frame" qualifiers="const"> <return type="int"> </return> <description> </description> </method> </methods> + <signals> + <signal name="frame_changed"> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> @@ -2038,7 +2051,7 @@ An Animation resource contains data used to animate everything in the engine. Animations are divided into tracks, and each track must be linked to a node. The state of that node can be changed through time, by adding timed keys (events) to the track. [br] Animations are just data containers, and must be added to odes such as an [AnimationPlayer] or [AnimationTreePlayer] to be played back. </description> <methods> - <method name="add_track" > + <method name="add_track"> <return type="int"> </return> <argument index="0" name="type" type="int"> @@ -2049,21 +2062,21 @@ Add a track to the Animation. The track type must be specified as any of the values in te TYPE_* enumeration. </description> </method> - <method name="remove_track" > + <method name="remove_track"> <argument index="0" name="idx" type="int"> </argument> <description> Remove a track by specifying the track index. </description> </method> - <method name="get_track_count" qualifiers="const" > + <method name="get_track_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of tracks in the animation. </description> </method> - <method name="track_get_type" qualifiers="const" > + <method name="track_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -2072,7 +2085,7 @@ Get the type of a track. </description> </method> - <method name="track_get_path" qualifiers="const" > + <method name="track_get_path" qualifiers="const"> <return type="NodePath"> </return> <argument index="0" name="idx" type="int"> @@ -2081,16 +2094,16 @@ Get the path of a track. for more information on the path format, see [method track_set_path] </description> </method> - <method name="track_set_path" > + <method name="track_set_path"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="path" type="NodePath"> </argument> <description> - Set the path of a track. Paths must be valid scene-tree paths to a node, and must be specified starting from the parent node of the node that will reproduce the animation. Tracks that control properties or bones must append their name after the path, separated by ":". Example: "character/skeleton:ankle" or "character/mesh:transform/local" + Set the path of a track. Paths must be valid scene-tree paths to a node, and must be specified starting from the parent node of the node that will reproduce the animation. Tracks that control properties or bones must append their name after the path, separated by ":". Example: "character/skeleton:ankle" or "character/mesh:transform/local" </description> </method> - <method name="find_track" qualifiers="const" > + <method name="find_track" qualifiers="const"> <return type="int"> </return> <argument index="0" name="path" type="NodePath"> @@ -2098,21 +2111,21 @@ <description> </description> </method> - <method name="track_move_up" > + <method name="track_move_up"> <argument index="0" name="idx" type="int"> </argument> <description> Move a track up. </description> </method> - <method name="track_move_down" > + <method name="track_move_down"> <argument index="0" name="idx" type="int"> </argument> <description> Nove a track down. </description> </method> - <method name="transform_track_insert_key" > + <method name="transform_track_insert_key"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -2129,7 +2142,7 @@ Insert a transform key for a transform track. </description> </method> - <method name="track_insert_key" > + <method name="track_insert_key"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="time" type="float"> @@ -2142,7 +2155,7 @@ Insert a generic key in a given track. </description> </method> - <method name="track_remove_key" > + <method name="track_remove_key"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="key_idx" type="int"> @@ -2151,7 +2164,7 @@ Remove a key by index in a given track. </description> </method> - <method name="track_remove_key_at_pos" > + <method name="track_remove_key_at_pos"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="pos" type="float"> @@ -2160,7 +2173,7 @@ Remove a key by position (seconds) in a given track. </description> </method> - <method name="track_set_key_value" > + <method name="track_set_key_value"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="key" type="int"> @@ -2171,7 +2184,7 @@ Set the value of an existing key. </description> </method> - <method name="track_set_key_transition" > + <method name="track_set_key_transition"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="key_idx" type="int"> @@ -2179,11 +2192,10 @@ <argument index="2" name="transition" type="float"> </argument> <description> - Set the transition curve (easing) for a specific key (see built-in - math function "ease"). + Set the transition curve (easing) for a specific key (see built-in math function "ease"). </description> </method> - <method name="track_get_key_transition" qualifiers="const" > + <method name="track_get_key_transition" qualifiers="const"> <return type="float"> </return> <argument index="0" name="idx" type="int"> @@ -2191,11 +2203,10 @@ <argument index="1" name="key_idx" type="int"> </argument> <description> - Return the transition curve (easing) for a specific key (see built-in - math function "ease"). + Return the transition curve (easing) for a specific key (see built-in math function "ease"). </description> </method> - <method name="track_get_key_count" qualifiers="const" > + <method name="track_get_key_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -2204,7 +2215,7 @@ Return the amount of keys in a given track. </description> </method> - <method name="track_get_key_value" qualifiers="const" > + <method name="track_get_key_value" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="key_idx" type="int"> @@ -2213,7 +2224,7 @@ Return the value of a given key in a given track. </description> </method> - <method name="track_get_key_time" qualifiers="const" > + <method name="track_get_key_time" qualifiers="const"> <return type="float"> </return> <argument index="0" name="idx" type="int"> @@ -2224,7 +2235,7 @@ Return the time at which the key is located. </description> </method> - <method name="track_find_key" qualifiers="const" > + <method name="track_find_key" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -2237,7 +2248,7 @@ Find the key index by time in a given track. Optionally, only find it if the exact time is given. </description> </method> - <method name="track_set_interpolation_type" > + <method name="track_set_interpolation_type"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="interpolation" type="int"> @@ -2246,7 +2257,7 @@ Set the interpolation type of a given track, from the INTERPOLATION_* enum. </description> </method> - <method name="track_get_interpolation_type" qualifiers="const" > + <method name="track_get_interpolation_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -2255,7 +2266,7 @@ Return the interpolation type of a given track, from the INTERPOLATION_* enum. </description> </method> - <method name="transform_track_interpolate" qualifiers="const" > + <method name="transform_track_interpolate" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="idx" type="int"> @@ -2266,7 +2277,7 @@ 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]). </description> </method> - <method name="value_track_set_continuous" > + <method name="value_track_set_continuous"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="continuous" type="bool"> @@ -2275,7 +2286,7 @@ Enable or disable interpolation for a whole track. By default tracks are interpolated. </description> </method> - <method name="value_track_is_continuous" qualifiers="const" > + <method name="value_track_is_continuous" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -2284,7 +2295,7 @@ Return wether interpolation is enabled or disabled for a whole track. By default tracks are interpolated. </description> </method> - <method name="value_track_get_key_indices" qualifiers="const" > + <method name="value_track_get_key_indices" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="idx" type="int"> @@ -2297,7 +2308,7 @@ Return all the key indices of a value track, given a position and delta time. </description> </method> - <method name="method_track_get_key_indices" qualifiers="const" > + <method name="method_track_get_key_indices" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="idx" type="int"> @@ -2310,7 +2321,7 @@ Return all the key indices of a method track, given a position and delta time. </description> </method> - <method name="method_track_get_name" qualifiers="const" > + <method name="method_track_get_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -2321,7 +2332,7 @@ Return the method name of a method track. </description> </method> - <method name="method_track_get_params" qualifiers="const" > + <method name="method_track_get_params" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="idx" type="int"> @@ -2332,47 +2343,47 @@ Return the arguments values to be called on a method track for a given key in a given track. </description> </method> - <method name="set_length" > + <method name="set_length"> <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" > + <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> Return the total length of the animation (in seconds). </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> Set a flag indicating that the animation must loop. This is uses for correct interpolation of animation cycles, and for hinting the player that it must restart the animation. </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> Return wether the animation has the loop flag set. </description> </method> - <method name="set_step" > + <method name="set_step"> <argument index="0" name="size_sec" type="float"> </argument> <description> </description> </method> - <method name="get_step" qualifiers="const" > + <method name="get_step" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> Clear the animation (clear all tracks and reset all). </description> @@ -2407,7 +2418,7 @@ An animation player is used for general purpose playback of [Animation] resources. It contains a dictionary of animations (referenced by name) and custom blend times between their transitions. Additionally, animations can be played and blended in diferent channels. </description> <methods> - <method name="add_animation" > + <method name="add_animation"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -2418,14 +2429,14 @@ Add an animation resource to the player, which will be later referenced by the "name" argument. </description> </method> - <method name="remove_animation" > + <method name="remove_animation"> <argument index="0" name="name" type="String"> </argument> <description> Remove an animation from the player (by supplying the same name used to add it). </description> </method> - <method name="rename_animation" > + <method name="rename_animation"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="newname" type="String"> @@ -2434,7 +2445,7 @@ Rename an existing animation. </description> </method> - <method name="has_animation" qualifiers="const" > + <method name="has_animation" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -2443,7 +2454,7 @@ Request wether an [Animation] name exist within the player. </description> </method> - <method name="get_animation" qualifiers="const" > + <method name="get_animation" qualifiers="const"> <return type="Animation"> </return> <argument index="0" name="name" type="String"> @@ -2452,14 +2463,14 @@ Get an [Animation] resource by requesting a name. </description> </method> - <method name="get_animation_list" qualifiers="const" > + <method name="get_animation_list" qualifiers="const"> <return type="StringArray"> </return> <description> Get the list of names of the animations stored in the player. </description> </method> - <method name="set_blend_time" > + <method name="set_blend_time"> <argument index="0" name="anim_from" type="String"> </argument> <argument index="1" name="anim_to" type="String"> @@ -2470,7 +2481,7 @@ Specify a blend time (in seconds) between two animations, referemced by their names. </description> </method> - <method name="get_blend_time" qualifiers="const" > + <method name="get_blend_time" qualifiers="const"> <return type="float"> </return> <argument index="0" name="anim_from" type="String"> @@ -2481,21 +2492,21 @@ Get the blend time between two animations, referemced by their names. </description> </method> - <method name="set_default_blend_time" > + <method name="set_default_blend_time"> <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" > + <method name="get_default_blend_time" qualifiers="const"> <return type="float"> </return> <description> Return the default blend time between animations. </description> </method> - <method name="play" > + <method name="play"> <argument index="0" name="name" type="String" default=""""> </argument> <argument index="1" name="custom_blend" type="float" default="-1"> @@ -2505,56 +2516,62 @@ <argument index="3" name="from_end" type="bool" default="false"> </argument> <description> - Play a given animation by the animation name. Custom - speed and blend times can be set. If custom speed is - negative (-1), 'from_end' being true can play the - animation backwards. + Play a given animation by the animation name. Custom speed and blend times can be set. If custom speed is negative (-1), 'from_end' being true can play the animation backwards. + </description> + </method> + <method name="play_backwards"> + <argument index="0" name="name" type="String" default=""""> + </argument> + <argument index="1" name="custom_blend" type="float" default="-1"> + </argument> + <description> </description> </method> - <method name="stop" > + <method name="stop"> + <argument index="0" name="reset" type="bool" default="true"> + </argument> <description> - Stop the currently played animation. </description> </method> - <method name="stop_all" > + <method name="stop_all"> <description> Stop playback of animations (deprecated). </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> Return wether an animation is playing. </description> </method> - <method name="set_current_animation" > + <method name="set_current_animation"> <argument index="0" name="anim" type="String"> </argument> <description> - Set the current animation (even if no playback occurs). Using set_current_animation() and set_active() are similar to claling play(). + Set the current animation (even if no playback occurs). Using set_current_animation() and set_active() are similar to calling play(). </description> </method> - <method name="get_current_animation" qualifiers="const" > + <method name="get_current_animation" qualifiers="const"> <return type="String"> </return> <description> Return the name of the animation being played. </description> </method> - <method name="queue" > + <method name="queue"> <argument index="0" name="name" type="String"> </argument> <description> Queue an animation for playback once the current one is done. </description> </method> - <method name="clear_queue" > + <method name="clear_queue"> <description> If animations are queued to play, clear them. </description> </method> - <method name="set_active" > + <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> @@ -2562,77 +2579,72 @@ will do nothing. </description> </method> - <method name="is_active" qualifiers="const" > + <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> Return true if the player is active. </description> </method> - <method name="set_speed" > + <method name="set_speed"> <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" > + <method name="get_speed" qualifiers="const"> <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). </description> </method> - <method name="set_autoplay" > + <method name="set_autoplay"> <argument index="0" name="name" type="String"> </argument> <description> Set the name of the animation that will be automatically played when the scene is loaded. </description> </method> - <method name="get_autoplay" qualifiers="const" > + <method name="get_autoplay" qualifiers="const"> <return type="String"> </return> <description> Return the name of the animation that will be automatically played when the scene is loaded. </description> </method> - <method name="set_root" > + <method name="set_root"> <argument index="0" name="path" type="NodePath"> </argument> <description> - AnimationPlayer resolves animation track paths from - this node (which is relative to itself), by - default root is "..", but it can be changed.. + AnimationPlayer resolves animation track paths from this node (which is relative to itself), by default root is "..", but it can be changed. </description> </method> - <method name="get_root" qualifiers="const" > + <method name="get_root" qualifiers="const"> <return type="NodePath"> </return> <description> Return path to root node (see [set_root]). </description> </method> - <method name="seek" > + <method name="seek"> <argument index="0" name="pos_sec" type="float"> </argument> <argument index="1" name="update" type="bool" default="false"> </argument> <description> - Seek the animation to a given position in time (in - seconds). If 'update' - is true, the animation will be updated too, - otherwise it will be updated at process time. + Seek the animation to a given position in time (in seconds). If 'update' is true, the animation will be updated too, otherwise it will be updated at process time. </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="float"> </return> <description> - Return the playback position (in seconds) in an animation channel (or channel 0 if none is provided) + Return the playback position (in seconds) in an animation channel (or channel 0 if none is provided). </description> </method> - <method name="find_animation" qualifiers="const" > + <method name="find_animation" qualifiers="const"> <return type="String"> </return> <argument index="0" name="animation" type="Animation"> @@ -2641,42 +2653,40 @@ Find an animation name by resource. </description> </method> - <method name="clear_caches" > + <method name="clear_caches"> <description> The animation player creates caches for faster access to the nodes it will animate. However, if a specific node is removed, it may not notice it, so clear_caches will force the player to search for the nodes again. </description> </method> - <method name="set_animation_process_mode" > + <method name="set_animation_process_mode"> <argument index="0" name="mode" type="int"> </argument> <description> Set the mode in which the animation player processes. By default, it processes on idle time (framerate dependent), but using fixed time works well for animating static collision bodies in 2D and 3D. See enum ANIMATION_PROCESS_*. </description> </method> - <method name="get_animation_process_mode" qualifiers="const" > + <method name="get_animation_process_mode" qualifiers="const"> <return type="int"> </return> <description> Return the mode in which the animation player processes. See [method set_animation_process_mode]. </description> </method> - <method name="get_current_animation_pos" qualifiers="const" > + <method name="get_current_animation_pos" qualifiers="const"> <return type="float"> </return> <description> - Get the position (in seconds) of the currently being - played animation. + Get the position (in seconds) of the currently being played animation. </description> </method> - <method name="get_current_animation_length" qualifiers="const" > + <method name="get_current_animation_length" qualifiers="const"> <return type="float"> </return> <description> - Get the length (in seconds) of the currently being - played animation. + Get the length (in seconds) of the currently being played animation. </description> </method> - <method name="advance" > + <method name="advance"> <argument index="0" name="delta" type="float"> </argument> <description> @@ -2690,8 +2700,7 @@ <argument index="1" name="new_name" type="String"> </argument> <description> - If the currently being played animation changes, - this signal will notify of such change. + If the currently being played animation changes, this signal will notify of such change. </description> </signal> <signal name="finished"> @@ -2702,8 +2711,7 @@ </signals> <constants> <constant name="ANIMATION_PROCESS_FIXED" value="0"> - Process animation on fixed process. This is specially useful - when animating kinematic bodies. + 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. @@ -2715,23 +2723,19 @@ Animation Player that uses a node graph for the blending. </brief_description> <description> - Animation Player that uses a node graph for the blending. This kind - of player is very useful when animating character or other skeleton - based rigs, because it can combine several animations to form a - desired pose. + Animation Player that uses a node graph for the blending. This kind of player is very useful when animating character or other skeleton based rigs, because it can combine several animations to form a desired pose. </description> <methods> - <method name="add_node" > + <method name="add_node"> <argument index="0" name="type" type="int"> </argument> <argument index="1" name="id" type="String"> </argument> <description> - Add a node of a given type in the graph with given - id. + Add a node of a given type in the graph with given id. </description> </method> - <method name="node_exists" qualifiers="const" > + <method name="node_exists" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="node" type="String"> @@ -2740,7 +2744,7 @@ Check if a node exists (by name). </description> </method> - <method name="node_rename" > + <method name="node_rename"> <return type="int"> </return> <argument index="0" name="node" type="String"> @@ -2751,7 +2755,7 @@ Rename a node in the graph. </description> </method> - <method name="node_get_type" qualifiers="const" > + <method name="node_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="String"> @@ -2760,17 +2764,16 @@ Get the node type, will return from NODE_* enum. </description> </method> - <method name="node_get_input_count" qualifiers="const" > + <method name="node_get_input_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="String"> </argument> <description> - Return the input count for a given node. Different - types of nodes have different amount of inputs. + Return the input count for a given node. Different types of nodes have different amount of inputs. </description> </method> - <method name="node_get_input_source" qualifiers="const" > + <method name="node_get_input_source" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="String"> @@ -2781,7 +2784,7 @@ Return the input source for a given node input. </description> </method> - <method name="animation_node_set_animation" > + <method name="animation_node_set_animation"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="animation" type="Animation"> @@ -2790,7 +2793,7 @@ Set the animation for an animation node. </description> </method> - <method name="animation_node_get_animation" qualifiers="const" > + <method name="animation_node_get_animation" qualifiers="const"> <return type="Animation"> </return> <argument index="0" name="id" type="String"> @@ -2798,7 +2801,7 @@ <description> </description> </method> - <method name="animation_node_set_master_animation" > + <method name="animation_node_set_master_animation"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="source" type="String"> @@ -2806,7 +2809,7 @@ <description> </description> </method> - <method name="animation_node_get_master_animation" qualifiers="const" > + <method name="animation_node_get_master_animation" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="String"> @@ -2814,7 +2817,7 @@ <description> </description> </method> - <method name="oneshot_node_set_fadein_time" > + <method name="oneshot_node_set_fadein_time"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="time_sec" type="float"> @@ -2822,7 +2825,7 @@ <description> </description> </method> - <method name="oneshot_node_get_fadein_time" qualifiers="const" > + <method name="oneshot_node_get_fadein_time" qualifiers="const"> <return type="float"> </return> <argument index="0" name="id" type="String"> @@ -2830,7 +2833,7 @@ <description> </description> </method> - <method name="oneshot_node_set_fadeout_time" > + <method name="oneshot_node_set_fadeout_time"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="time_sec" type="float"> @@ -2838,7 +2841,7 @@ <description> </description> </method> - <method name="oneshot_node_get_fadeout_time" qualifiers="const" > + <method name="oneshot_node_get_fadeout_time" qualifiers="const"> <return type="float"> </return> <argument index="0" name="id" type="String"> @@ -2846,7 +2849,7 @@ <description> </description> </method> - <method name="oneshot_node_set_autorestart" > + <method name="oneshot_node_set_autorestart"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="enable" type="bool"> @@ -2854,7 +2857,7 @@ <description> </description> </method> - <method name="oneshot_node_set_autorestart_delay" > + <method name="oneshot_node_set_autorestart_delay"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="delay_sec" type="float"> @@ -2862,7 +2865,7 @@ <description> </description> </method> - <method name="oneshot_node_set_autorestart_random_delay" > + <method name="oneshot_node_set_autorestart_random_delay"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="rand_sec" type="float"> @@ -2870,7 +2873,7 @@ <description> </description> </method> - <method name="oneshot_node_has_autorestart" qualifiers="const" > + <method name="oneshot_node_has_autorestart" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="id" type="String"> @@ -2878,7 +2881,7 @@ <description> </description> </method> - <method name="oneshot_node_get_autorestart_delay" qualifiers="const" > + <method name="oneshot_node_get_autorestart_delay" qualifiers="const"> <return type="float"> </return> <argument index="0" name="id" type="String"> @@ -2886,7 +2889,7 @@ <description> </description> </method> - <method name="oneshot_node_get_autorestart_random_delay" qualifiers="const" > + <method name="oneshot_node_get_autorestart_random_delay" qualifiers="const"> <return type="float"> </return> <argument index="0" name="id" type="String"> @@ -2894,19 +2897,19 @@ <description> </description> </method> - <method name="oneshot_node_start" > + <method name="oneshot_node_start"> <argument index="0" name="id" type="String"> </argument> <description> </description> </method> - <method name="oneshot_node_stop" > + <method name="oneshot_node_stop"> <argument index="0" name="id" type="String"> </argument> <description> </description> </method> - <method name="oneshot_node_is_active" qualifiers="const" > + <method name="oneshot_node_is_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="id" type="String"> @@ -2914,7 +2917,7 @@ <description> </description> </method> - <method name="oneshot_node_set_filter_path" > + <method name="oneshot_node_set_filter_path"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="path" type="NodePath"> @@ -2924,7 +2927,7 @@ <description> </description> </method> - <method name="mix_node_set_amount" > + <method name="mix_node_set_amount"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="ratio" type="float"> @@ -2932,7 +2935,7 @@ <description> </description> </method> - <method name="mix_node_get_amount" qualifiers="const" > + <method name="mix_node_get_amount" qualifiers="const"> <return type="float"> </return> <argument index="0" name="id" type="String"> @@ -2940,7 +2943,7 @@ <description> </description> </method> - <method name="blend2_node_set_amount" > + <method name="blend2_node_set_amount"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="blend" type="float"> @@ -2948,7 +2951,7 @@ <description> </description> </method> - <method name="blend2_node_get_amount" qualifiers="const" > + <method name="blend2_node_get_amount" qualifiers="const"> <return type="float"> </return> <argument index="0" name="id" type="String"> @@ -2956,7 +2959,7 @@ <description> </description> </method> - <method name="blend2_node_set_filter_path" > + <method name="blend2_node_set_filter_path"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="path" type="NodePath"> @@ -2966,7 +2969,7 @@ <description> </description> </method> - <method name="blend3_node_set_amount" > + <method name="blend3_node_set_amount"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="blend" type="float"> @@ -2974,7 +2977,7 @@ <description> </description> </method> - <method name="blend3_node_get_amount" qualifiers="const" > + <method name="blend3_node_get_amount" qualifiers="const"> <return type="float"> </return> <argument index="0" name="id" type="String"> @@ -2982,7 +2985,7 @@ <description> </description> </method> - <method name="blend4_node_set_amount" > + <method name="blend4_node_set_amount"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="blend" type="Vector2"> @@ -2990,7 +2993,7 @@ <description> </description> </method> - <method name="blend4_node_get_amount" qualifiers="const" > + <method name="blend4_node_get_amount" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="id" type="String"> @@ -2998,7 +3001,7 @@ <description> </description> </method> - <method name="timescale_node_set_scale" > + <method name="timescale_node_set_scale"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="scale" type="float"> @@ -3006,7 +3009,7 @@ <description> </description> </method> - <method name="timescale_node_get_scale" qualifiers="const" > + <method name="timescale_node_get_scale" qualifiers="const"> <return type="float"> </return> <argument index="0" name="id" type="String"> @@ -3014,7 +3017,7 @@ <description> </description> </method> - <method name="timeseek_node_seek" > + <method name="timeseek_node_seek"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="pos_sec" type="float"> @@ -3022,7 +3025,7 @@ <description> </description> </method> - <method name="transition_node_set_input_count" > + <method name="transition_node_set_input_count"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="count" type="int"> @@ -3030,7 +3033,7 @@ <description> </description> </method> - <method name="transition_node_get_input_count" qualifiers="const" > + <method name="transition_node_get_input_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="String"> @@ -3038,7 +3041,7 @@ <description> </description> </method> - <method name="transition_node_delete_input" > + <method name="transition_node_delete_input"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="input_idx" type="int"> @@ -3046,7 +3049,7 @@ <description> </description> </method> - <method name="transition_node_set_input_auto_advance" > + <method name="transition_node_set_input_auto_advance"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="input_idx" type="int"> @@ -3056,7 +3059,7 @@ <description> </description> </method> - <method name="transition_node_has_input_auto_advance" qualifiers="const" > + <method name="transition_node_has_input_auto_advance" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="id" type="String"> @@ -3066,7 +3069,7 @@ <description> </description> </method> - <method name="transition_node_set_xfade_time" > + <method name="transition_node_set_xfade_time"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="time_sec" type="float"> @@ -3074,7 +3077,7 @@ <description> </description> </method> - <method name="transition_node_get_xfade_time" qualifiers="const" > + <method name="transition_node_get_xfade_time" qualifiers="const"> <return type="float"> </return> <argument index="0" name="id" type="String"> @@ -3082,7 +3085,7 @@ <description> </description> </method> - <method name="transition_node_set_current" > + <method name="transition_node_set_current"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="input_idx" type="int"> @@ -3090,7 +3093,7 @@ <description> </description> </method> - <method name="transition_node_get_current" qualifiers="const" > + <method name="transition_node_get_current" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="String"> @@ -3098,7 +3101,7 @@ <description> </description> </method> - <method name="node_set_pos" > + <method name="node_set_pos"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="screen_pos" type="Vector2"> @@ -3106,7 +3109,7 @@ <description> </description> </method> - <method name="node_get_pos" qualifiers="const" > + <method name="node_get_pos" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="id" type="String"> @@ -3114,13 +3117,13 @@ <description> </description> </method> - <method name="remove_node" > + <method name="remove_node"> <argument index="0" name="id" type="String"> </argument> <description> </description> </method> - <method name="connect" > + <method name="connect"> <return type="int"> </return> <argument index="0" name="id" type="String"> @@ -3132,7 +3135,7 @@ <description> </description> </method> - <method name="is_connected" qualifiers="const" > + <method name="is_connected" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="id" type="String"> @@ -3144,7 +3147,7 @@ <description> </description> </method> - <method name="disconnect" > + <method name="disconnect"> <argument index="0" name="id" type="String"> </argument> <argument index="1" name="dst_input_idx" type="int"> @@ -3152,41 +3155,53 @@ <description> </description> </method> - <method name="set_active" > + <method name="set_active"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_active" qualifiers="const" > + <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_base_path" > + <method name="set_base_path"> <argument index="0" name="path" type="NodePath"> </argument> <description> </description> </method> - <method name="get_base_path" qualifiers="const" > + <method name="get_base_path" qualifiers="const"> <return type="NodePath"> </return> <description> </description> </method> - <method name="get_node_list" > + <method name="set_master_player"> + <argument index="0" name="nodepath" type="NodePath"> + </argument> + <description> + </description> + </method> + <method name="get_master_player" qualifiers="const"> + <return type="NodePath"> + </return> + <description> + </description> + </method> + <method name="get_node_list"> <return type="StringArray"> </return> <description> </description> </method> - <method name="reset" > + <method name="reset"> <description> </description> </method> - <method name="recompute_caches" > + <method name="recompute_caches"> <description> </description> </method> @@ -3220,96 +3235,154 @@ <description> </description> <methods> - <method name="set_space_override_mode" > + <method name="set_space_override_mode"> <argument index="0" name="enable" type="int"> </argument> <description> </description> </method> - <method name="get_space_override_mode" qualifiers="const" > + <method name="get_space_override_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_gravity_is_point" > + <method name="set_gravity_is_point"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_gravity_a_point" qualifiers="const" > + <method name="is_gravity_a_point" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_gravity_vector" > + <method name="set_gravity_distance_scale"> + <argument index="0" name="distance_scale" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_gravity_distance_scale" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_gravity_vector"> <argument index="0" name="vector" type="Vector3"> </argument> <description> </description> </method> - <method name="get_gravity_vector" qualifiers="const" > + <method name="get_gravity_vector" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_gravity" > + <method name="set_gravity"> <argument index="0" name="gravity" type="float"> </argument> <description> </description> </method> - <method name="get_gravity" qualifiers="const" > + <method name="get_gravity" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_density" > - <argument index="0" name="density" type="float"> + <method name="set_angular_damp"> + <argument index="0" name="angular_damp" type="float"> </argument> <description> </description> </method> - <method name="get_density" qualifiers="const" > + <method name="get_angular_damp" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_priority" > + <method name="set_linear_damp"> + <argument index="0" name="linear_damp" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_linear_damp" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_priority"> <argument index="0" name="priority" type="float"> </argument> <description> </description> </method> - <method name="get_priority" qualifiers="const" > + <method name="get_priority" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_enable_monitoring" > + <method name="set_monitorable"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_monitorable" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_enable_monitoring"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_monitoring_enabled" qualifiers="const" > + <method name="is_monitoring_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_overlapping_bodies" qualifiers="const" > + <method name="get_overlapping_bodies" qualifiers="const"> <return type="Array"> </return> <description> </description> </method> + <method name="get_overlapping_areas" qualifiers="const"> + <return type="Array"> + </return> + <description> + </description> + </method> + <method name="overlaps_body" qualifiers="const"> + <return type="PhysicsBody"> + </return> + <argument index="0" name="body" type="Object"> + </argument> + <description> + </description> + </method> + <method name="overlaps_area" qualifiers="const"> + <return type="Area"> + </return> + <argument index="0" name="area" type="Object"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="body_enter"> @@ -3330,6 +3403,24 @@ <description> </description> </signal> + <signal name="area_enter"> + <argument index="0" name="area" type="Object"> + </argument> + <description> + </description> + </signal> + <signal name="area_enter_shape"> + <argument index="0" name="area_id" type="int"> + </argument> + <argument index="1" name="area" type="Object"> + </argument> + <argument index="2" name="area_shape" type="int"> + </argument> + <argument index="3" name="area_shape" type="int"> + </argument> + <description> + </description> + </signal> <signal name="body_exit"> <argument index="0" name="body" type="Object"> </argument> @@ -3348,6 +3439,24 @@ <description> </description> </signal> + <signal name="area_exit"> + <argument index="0" name="area" type="Object"> + </argument> + <description> + </description> + </signal> + <signal name="area_exit_shape"> + <argument index="0" name="area_id" type="int"> + </argument> + <argument index="1" name="area" type="Object"> + </argument> + <argument index="2" name="area_shape" type="int"> + </argument> + <argument index="3" name="area_shape" type="int"> + </argument> + <description> + </description> + </signal> </signals> <constants> </constants> @@ -3360,99 +3469,213 @@ General purpose area detection for 2D Phisics. Areas can be used for detection of objects that enter/exit them, as well as overriding space parameters (changing gravity, damping, etc). An Area2D can be set as a children to a RigidBody2D to generate a custom gravity field. For this, use SPACE_OVERRIDE_COMBINE and point gravity at the center of mass. </description> <methods> - <method name="set_space_override_mode" > + <method name="set_space_override_mode"> <argument index="0" name="enable" type="int"> </argument> <description> </description> </method> - <method name="get_space_override_mode" qualifiers="const" > + <method name="get_space_override_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_gravity_is_point" > + <method name="set_gravity_is_point"> <argument index="0" name="enable" type="bool"> </argument> <description> When overriding space parameters, areas can have a center of gravity as a point. </description> </method> - <method name="is_gravity_a_point" qualifiers="const" > + <method name="is_gravity_a_point" qualifiers="const"> <return type="bool"> </return> <description> Return if gravity is a point. When overriding space parameters, areas can have a center of gravity as a point. </description> </method> - <method name="set_gravity_vector" > + <method name="set_gravity_distance_scale"> + <argument index="0" name="distance_scale" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_gravity_distance_scale" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_gravity_vector"> <argument index="0" name="vector" type="Vector2"> </argument> <description> - Set gravity vector. If gravity is a point, this will be the attraction center + Set gravity vector. If gravity is a point, this will be the attraction center. </description> </method> - <method name="get_gravity_vector" qualifiers="const" > + <method name="get_gravity_vector" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_gravity" > + <method name="set_gravity"> <argument index="0" name="gravity" type="float"> </argument> <description> </description> </method> - <method name="get_gravity" qualifiers="const" > + <method name="get_gravity" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_linear_damp"> + <argument index="0" name="linear_damp" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_linear_damp" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_density" > - <argument index="0" name="density" type="float"> + <method name="set_angular_damp"> + <argument index="0" name="angular_damp" type="float"> </argument> <description> </description> </method> - <method name="get_density" qualifiers="const" > + <method name="get_angular_damp" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_priority" > + <method name="set_priority"> <argument index="0" name="priority" type="float"> </argument> <description> </description> </method> - <method name="get_priority" qualifiers="const" > + <method name="get_priority" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_enable_monitoring" > + <method name="set_collision_mask"> + <argument index="0" name="collision_mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_collision_mask" qualifiers="const"> + <return type="int"> + </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_collision_mask_bit"> + <argument index="0" name="bit" type="int"> + </argument> + <argument index="1" name="value" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_collision_mask_bit" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="bit" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_layer_mask_bit"> + <argument index="0" name="bit" type="int"> + </argument> + <argument index="1" name="value" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_layer_mask_bit" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="bit" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_enable_monitoring"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_monitoring_enabled" qualifiers="const" > + <method name="is_monitoring_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_overlapping_bodies" qualifiers="const" > + <method name="set_monitorable"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_monitorable" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="get_overlapping_bodies" qualifiers="const"> + <return type="Array"> + </return> + <description> + </description> + </method> + <method name="get_overlapping_areas" qualifiers="const"> <return type="Array"> </return> <description> </description> </method> + <method name="overlaps_body" qualifiers="const"> + <return type="PhysicsBody2D"> + </return> + <argument index="0" name="body" type="Object"> + </argument> + <description> + </description> + </method> + <method name="overlaps_area" qualifiers="const"> + <return type="Area2D"> + </return> + <argument index="0" name="area" type="Object"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="body_enter"> @@ -3473,6 +3696,24 @@ <description> </description> </signal> + <signal name="area_enter"> + <argument index="0" name="area" type="Object"> + </argument> + <description> + </description> + </signal> + <signal name="area_enter_shape"> + <argument index="0" name="area_id" type="int"> + </argument> + <argument index="1" name="area" type="Object"> + </argument> + <argument index="2" name="area_shape" type="int"> + </argument> + <argument index="3" name="area_shape" type="int"> + </argument> + <description> + </description> + </signal> <signal name="body_exit"> <argument index="0" name="body" type="Object"> </argument> @@ -3491,6 +3732,24 @@ <description> </description> </signal> + <signal name="area_exit"> + <argument index="0" name="area" type="Object"> + </argument> + <description> + </description> + </signal> + <signal name="area_exit_shape"> + <argument index="0" name="area_id" type="int"> + </argument> + <argument index="1" name="area" type="Object"> + </argument> + <argument index="2" name="area_shape" type="int"> + </argument> + <argument index="3" name="area_shape" type="int"> + </argument> + <description> + </description> + </signal> </signals> <constants> </constants> @@ -3503,31 +3762,31 @@ Generic array, contains several elements of any type, accessible by numerical index starting at 0. Arrays are always passed by reference. </description> <methods> - <method name="append" > + <method name="append"> <argument index="0" name="value" type="var"> </argument> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> Clear the array (resize to 0). </description> </method> - <method name="empty" > + <method name="empty"> <return type="bool"> </return> <description> Return true if the array is empty (size==0). </description> </method> - <method name="erase" > + <method name="erase"> <argument index="0" name="value" type="var"> </argument> <description> </description> </method> - <method name="find" > + <method name="find"> <return type="int"> </return> <argument index="0" name="value" type="var"> @@ -3535,14 +3794,14 @@ <description> </description> </method> - <method name="hash" > + <method name="hash"> <return type="int"> </return> <description> Return a hashed integer value representing the array contents. </description> </method> - <method name="insert" > + <method name="insert"> <argument index="0" name="pos" type="int"> </argument> <argument index="1" name="value" type="var"> @@ -3551,43 +3810,49 @@ Insert a new element at a given position in the array. The position must be valid, or at the end of the array (pos==size()). </description> </method> - <method name="invert" > + <method name="invert"> <description> </description> </method> - <method name="push_back" > + <method name="is_shared"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="push_back"> <argument index="0" name="value" type="var"> </argument> <description> Append an element at the end of the array. </description> </method> - <method name="remove" > + <method name="remove"> <argument index="0" name="pos" type="int"> </argument> <description> Remove an element from the array by index. </description> </method> - <method name="resize" > + <method name="resize"> <argument index="0" name="pos" type="int"> </argument> <description> Resize the array to contain a different number of elements. If the array size is smaller, elements are cleared, if bigger, new elements are Null. </description> </method> - <method name="size" > + <method name="size"> <return type="int"> </return> <description> Return the amount of elements in the array. </description> </method> - <method name="sort" > + <method name="sort"> <description> </description> </method> - <method name="sort_custom" > + <method name="sort_custom"> <argument index="0" name="obj" type="Object"> </argument> <argument index="1" name="func" type="String"> @@ -3595,49 +3860,63 @@ <description> </description> </method> - <method name="Array" > + <method name="Array"> + <return type="Array"> + </return> <argument index="0" name="from" type="RawArray"> </argument> <description> Construct an array from a [RawArray]. </description> </method> - <method name="Array" > + <method name="Array"> + <return type="Array"> + </return> <argument index="0" name="from" type="IntArray"> </argument> <description> Construct an array from a [RawArray]. </description> </method> - <method name="Array" > + <method name="Array"> + <return type="Array"> + </return> <argument index="0" name="from" type="RealArray"> </argument> <description> Construct an array from a [RawArray]. </description> </method> - <method name="Array" > + <method name="Array"> + <return type="Array"> + </return> <argument index="0" name="from" type="StringArray"> </argument> <description> Construct an array from a [RawArray]. </description> </method> - <method name="Array" > + <method name="Array"> + <return type="Array"> + </return> <argument index="0" name="from" type="Vector2Array"> </argument> <description> Construct an array from a [RawArray]. </description> </method> - <method name="Array" > + <method name="Array"> + <return type="Array"> + </return> <argument index="0" name="from" type="Vector3Array"> </argument> <description> Construct an array from a [RawArray]. </description> </method> - <method name="Array" > + <method name="Array"> + <return type="Array"> + </return> <argument index="0" name="from" type="ColorArray"> </argument> <description> @@ -3654,37 +3933,37 @@ <description> </description> <methods> - <method name="set_atlas" > + <method name="set_atlas"> <argument index="0" name="atlas" type="Texture"> </argument> <description> </description> </method> - <method name="get_atlas" qualifiers="const" > + <method name="get_atlas" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_region" > + <method name="set_region"> <argument index="0" name="region" type="Rect2"> </argument> <description> </description> </method> - <method name="get_region" qualifiers="const" > + <method name="get_region" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="set_margin" > + <method name="set_margin"> <argument index="0" name="margin" type="Rect2"> </argument> <description> </description> </method> - <method name="get_margin" qualifiers="const" > + <method name="get_margin" qualifiers="const"> <return type="Rect2"> </return> <description> @@ -3699,10 +3978,10 @@ Server interface for low level audio access. </brief_description> <description> - AudioServer is a low level server interface for audio access. It is"#10;"#9;in charge of creating sample data (playable audio) as well as it's"#10;"#9;playback via a voice interface. + AudioServer is a low level server interface for audio access. It is in charge of creating sample data (playable audio) as well as its playback via a voice interface. </description> <methods> - <method name="sample_create" > + <method name="sample_create"> <return type="RID"> </return> <argument index="0" name="format" type="int"> @@ -3712,19 +3991,19 @@ <argument index="2" name="length" type="int"> </argument> <description> - Create an audio sample, return a [RID] referencing"#10;"#9;"#9;"#9;it. The sample will be created with a given format"#10;"#9;"#9;"#9;(from the SAMPLE_FORMAT_* enum), a total length (in"#10;"#9;"#9;"#9;frames, not samples or bytes), in either stereo or"#10;"#9;"#9;"#9;mono. + Create an audio sample, return a [RID] referencing it. The sample will be created with a given format (from the SAMPLE_FORMAT_* enum), a total length (in frames, not samples or bytes), in either stereo or mono. </description> </method> - <method name="sample_set_description" > + <method name="sample_set_description"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="description" type="String"> </argument> <description> - Set the description of an audio sample. Mainly used"#10;"#9;"#9;"#9;for organization. + Set the description of an audio sample. Mainly used for organization. </description> </method> - <method name="sample_get_description" qualifiers="const" > + <method name="sample_get_description" qualifiers="const"> <return type="String"> </return> <argument index="0" name="sample" type="RID"> @@ -3732,19 +4011,19 @@ <argument index="1" name="arg1" type="String"> </argument> <description> - Return the description of an audio sample. Mainly"#10;"#9;"#9;"#9;used for organization. + Return the description of an audio sample. Mainly used for organization. </description> </method> - <method name="sample_get_format" qualifiers="const" > + <method name="sample_get_format" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> </argument> <description> - Return the format of the audio sample, in the form"#10;"#9;"#9;"#9;of the SAMPLE_FORMAT_* enum. + Return the format of the audio sample, in the form of the SAMPLE_FORMAT_* enum. </description> </method> - <method name="sample_is_stereo" qualifiers="const" > + <method name="sample_is_stereo" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="sample" type="RID"> @@ -3753,43 +4032,43 @@ Return wether the sample is stereo (2 channels) </description> </method> - <method name="sample_get_length" qualifiers="const" > + <method name="sample_get_length" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> </argument> <description> - Return the length in frames of the audio sample (not"#10;"#9;"#9;"#9;samples or bytes). + Return the length in frames of the audio sample (not samples or bytes). </description> </method> - <method name="sample_set_signed_data" > + <method name="sample_set_signed_data"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="data" type="RealArray"> </argument> <description> - Set the sample data for a given sample as an array"#10;"#9;"#9;"#9;of floats. The length must be equal to the sample"#10;"#9;"#9;"#9;lenght or an error will be produced. + Set the sample data for a given sample as an array of floats. The length must be equal to the sample lenght or an error will be produced. </description> </method> - <method name="sample_set_data" > + <method name="sample_set_data"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="arg1" type="RawArray"> </argument> <description> - Set the sample data for a given sample as an array"#10;"#9;"#9;"#9;of bytes. The length must be equal to the sample"#10;"#9;"#9;"#9;lenght expected in bytes or an error will be produced. + Set the sample data for a given sample as an array of bytes. The length must be equal to the sample lenght expected in bytes or an error will be produced. </description> </method> - <method name="sample_get_data" qualifiers="const" > + <method name="sample_get_data" qualifiers="const"> <return type="RawArray"> </return> <argument index="0" name="sample" type="RID"> </argument> <description> - Return the sample data as an array of bytes. The"#10;"#9;"#9;"#9;length will be the expected length in bytes. + Return the sample data as an array of bytes. The length will be the expected length in bytes. </description> </method> - <method name="sample_set_mix_rate" > + <method name="sample_set_mix_rate"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="mix_rate" type="int"> @@ -3798,7 +4077,7 @@ Change the default mix rate of a given sample. </description> </method> - <method name="sample_get_mix_rate" qualifiers="const" > + <method name="sample_get_mix_rate" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> @@ -3807,86 +4086,86 @@ Return the mix rate of the given sample. </description> </method> - <method name="sample_set_loop_format" > + <method name="sample_set_loop_format"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="loop_format" type="int"> </argument> <description> - Set the loop format for a sample from the"#10;"#9;"#9;"#9;SAMPLE_LOOP_* enum. As a warning, Ping Pong loops"#10;"#9;"#9;"#9;may not be available on some hardware-mixing"#10;"#9;"#9;"#9;platforms. + Set the loop format for a sample from the SAMPLE_LOOP_* enum. As a warning, Ping Pong loops may not be available on some hardware-mixing platforms. </description> </method> - <method name="sample_get_loop_format" qualifiers="const" > + <method name="sample_get_loop_format" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> </argument> <description> - Return the loop format for a sample, as a value from"#10;"#9;"#9;"#9;the SAMPLE_LOOP_* enum. + Return the loop format for a sample, as a value from the SAMPLE_LOOP_* enum. </description> </method> - <method name="sample_set_loop_begin" > + <method name="sample_set_loop_begin"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="pos" type="int"> </argument> <description> - Set the initial loop point of a sample. Only has"#10;"#9;"#9;"#9;effect if sample loop is enabled. See [method sample_set_loop_format]. + Set the initial loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. </description> </method> - <method name="sample_get_loop_begin" qualifiers="const" > + <method name="sample_get_loop_begin" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> </argument> <description> - Return the initial loop point of a sample. Only has"#10;"#9;"#9;"#9;effect if sample loop is enabled. See [method sample_set_loop_format]. + Return the initial loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. </description> </method> - <method name="sample_set_loop_end" > + <method name="sample_set_loop_end"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="pos" type="int"> </argument> <description> - Set the final loop point of a sample. Only has"#10;"#9;"#9;"#9;effect if sample loop is enabled. See [method sample_set_loop_format]. + Set the final loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. </description> </method> - <method name="sample_get_loop_end" qualifiers="const" > + <method name="sample_get_loop_end" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> </argument> <description> - Return the final loop point of a sample. Only has"#10;"#9;"#9;"#9;effect if sample loop is enabled. See [method sample_set_loop_format]. + Return the final loop point of a sample. Only has effect if sample loop is enabled. See [method sample_set_loop_format]. </description> </method> - <method name="voice_create" > + <method name="voice_create"> <return type="RID"> </return> <description> - Allocate a voice for playback. Voices are"#10;"#9;"#9;"#9;persistent. A voice can play a single sample at the"#10;"#9;"#9;"#9;same time. See [method sample_create]. + Allocate a voice for playback. Voices are persistent. A voice can play a single sample at the same time. See [method sample_create]. </description> </method> - <method name="voice_play" > + <method name="voice_play"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="sample" type="RID"> </argument> <description> - Start playback of a given voice using a given"#10;"#9;"#9;"#9;sample. If the voice was already playing it will be"#10;"#9;"#9;"#9;restarted. + Start playback of a given voice using a given sample. If the voice was already playing it will be restarted. </description> </method> - <method name="voice_set_volume" > + <method name="voice_set_volume"> <argument index="0" name="voice" type="RID"> </argument> <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. + Change the volume of a currently playing voice. Volume is expressed as linear gain where 0.0 is mute and 1.0 is default. </description> </method> - <method name="voice_set_pan" > + <method name="voice_set_pan"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="pan" type="float"> @@ -3896,10 +4175,10 @@ <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. + Change the pan of a currently playing voice and, optionally, the depth and height for a positional/3D sound. Panning values are expressed within the -1 to +1 range. </description> </method> - <method name="voice_set_filter" > + <method name="voice_set_filter"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="type" type="int"> @@ -3911,19 +4190,19 @@ <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. + Set a resonant filter post processing for the voice. Filter type is a value from the FILTER_* enum. </description> </method> - <method name="voice_set_chorus" > + <method name="voice_set_chorus"> <argument index="0" name="voice" type="RID"> </argument> <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). + Set chorus send post processing for the voice (from 0 to 1). </description> </method> - <method name="voice_set_reverb" > + <method name="voice_set_reverb"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="room" type="int"> @@ -3931,28 +4210,28 @@ <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. + Set the reverb send post processing for the voice (from 0 to 1) and the reverb type, from the REVERB_* enum. </description> </method> - <method name="voice_set_mix_rate" > + <method name="voice_set_mix_rate"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="rate" type="int"> </argument> <description> - Set a different playback mix rate for the given"#10;"#9;"#9;"#9;voice. + Set a different playback mix rate for the given voice. </description> </method> - <method name="voice_set_positional" > + <method name="voice_set_positional"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="enabled" type="bool"> </argument> <description> - Set wether a given voice is positional. This is only"#10;"#9;"#9;"#9;interpreted as a hint and used for backends that may"#10;"#9;"#9;"#9;support binaural encoding. + Set wether a given voice is positional. This is only interpreted as a hint and used for backends that may support binaural encoding. </description> </method> - <method name="voice_get_volume" qualifiers="const" > + <method name="voice_get_volume" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="RID"> @@ -3961,88 +4240,88 @@ Return the current volume for a given voice. </description> </method> - <method name="voice_get_pan" qualifiers="const" > + <method name="voice_get_pan" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current pan for a given voice (-1 to +1"#10;"#9;"#9;"#9;range). + Return the current pan for a given voice (-1 to +1 range). </description> </method> - <method name="voice_get_pan_height" qualifiers="const" > + <method name="voice_get_pan_height" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current pan height for a given voice (-1 to +1"#10;"#9;"#9;"#9;range). + Return the current pan height for a given voice (-1 to +1 range). </description> </method> - <method name="voice_get_pan_depth" qualifiers="const" > + <method name="voice_get_pan_depth" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current pan depth for a given voice (-1 to +1"#10;"#9;"#9;"#9;range). + Return the current pan depth for a given voice (-1 to +1 range). </description> </method> - <method name="voice_get_filter_type" qualifiers="const" > + <method name="voice_get_filter_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current selected filter type for a given"#10;"#9;"#9;"#9;voice, from the FILTER_* enum. + Return the current selected filter type for a given voice, from the FILTER_* enum. </description> </method> - <method name="voice_get_filter_cutoff" qualifiers="const" > + <method name="voice_get_filter_cutoff" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current filter cutoff (in hz) for a given"#10;"#9;"#9;"#9;voice. + Return the current filter cutoff (in hz) for a given voice. </description> </method> - <method name="voice_get_filter_resonance" qualifiers="const" > + <method name="voice_get_filter_resonance" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current filter resonance for a given"#10;"#9;"#9;"#9;voice. + Return the current filter resonance for a given voice. </description> </method> - <method name="voice_get_chorus" qualifiers="const" > + <method name="voice_get_chorus" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current chorus send for a given"#10;"#9;"#9;"#9;voice (0 to 1). + Return the current chorus send for a given voice (0 to 1). </description> </method> - <method name="voice_get_reverb_type" qualifiers="const" > + <method name="voice_get_reverb_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current reverb type for a given voice"#10;"#9;"#9;"#9;from the REVERB_* enum. + Return the current reverb type for a given voice from the REVERB_* enum. </description> </method> - <method name="voice_get_reverb" qualifiers="const" > + <method name="voice_get_reverb" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return the current reverb send for a given voice"#10;"#9;"#9;"#9;(0 to 1). + Return the current reverb send for a given voice (0 to 1). </description> </method> - <method name="voice_get_mix_rate" qualifiers="const" > + <method name="voice_get_mix_rate" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="RID"> @@ -4051,62 +4330,62 @@ Return the current mix rate for a given voice. </description> </method> - <method name="voice_is_positional" qualifiers="const" > + <method name="voice_is_positional" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="voice" type="RID"> </argument> <description> - Return wether the current voice is positional. See"#10;"#9;"#9;"#9;[method voice_set_positional]. + Return wether the current voice is positional. See [method voice_set_positional]. </description> </method> - <method name="voice_stop" > + <method name="voice_stop"> <argument index="0" name="voice" type="RID"> </argument> <description> Stop a given voice. </description> </method> - <method name="free" > + <method name="free"> <argument index="0" name="rid" type="RID"> </argument> <description> Free a [RID] resource. </description> </method> - <method name="set_stream_global_volume_scale" > + <method name="set_stream_global_volume_scale"> <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" > + <method name="get_stream_global_volume_scale" qualifiers="const"> <return type="float"> </return> <description> Return the global scale for stream playback. </description> </method> - <method name="set_fx_global_volume_scale" > + <method name="set_fx_global_volume_scale"> <argument index="0" name="scale" type="float"> </argument> <description> </description> </method> - <method name="get_fx_global_volume_scale" qualifiers="const" > + <method name="get_fx_global_volume_scale" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_event_voice_global_volume_scale" > + <method name="set_event_voice_global_volume_scale"> <argument index="0" name="scale" type="float"> </argument> <description> </description> </method> - <method name="get_event_voice_global_volume_scale" qualifiers="const" > + <method name="get_event_voice_global_volume_scale" qualifiers="const"> <return type="float"> </return> <description> @@ -4133,7 +4412,7 @@ Sample loops in a bidirectional way. </constant> <constant name="FILTER_NONE" value="0"> - Filter is disable. + Filter is disabled. </constant> <constant name="FILTER_LOWPASS" value="1"> Filter is a resonant lowpass. @@ -4145,7 +4424,7 @@ Filter is a resonant highpass. </constant> <constant name="FILTER_NOTCH" value="4"> - Filter is a notch. + Filter is a notch (band reject). </constant> <constant name="FILTER_BANDLIMIT" value="6"> Filter is a bandlimit (resonance used as highpass). @@ -4179,241 +4458,179 @@ Base class for audio streams. </brief_description> <description> - Base class for audio streams. Audio streams are used for music"#10;"#9;playback, or other types of streamed sounds that don't fit or"#10;"#9;requiere more flexibility than a [Sample]. + Base class for audio streams. Audio streams are used for music playback, or other types of streamed sounds that don't fit or requiere more flexibility than a [Sample]. + </description> + <methods> + </methods> + <constants> + </constants> +</class> +<class name="AudioStreamMPC" inherits="AudioStream" category="Core"> + <brief_description> + MusePack audio stream driver. + </brief_description> + <description> + MusePack audio stream driver. + </description> + <methods> + </methods> + <constants> + </constants> +</class> +<class name="AudioStreamOGGVorbis" inherits="AudioStream" category="Core"> + <brief_description> + OGG Vorbis audio stream driver. + </brief_description> + <description> + OGG Vorbis audio stream driver. + </description> + <methods> + </methods> + <constants> + </constants> +</class> +<class name="AudioStreamOpus" inherits="AudioStream" category="Core"> + <brief_description> + Opus Codec audio stream driver. + </brief_description> + <description> + Opus Codec audio stream driver. + </description> + <methods> + </methods> + <constants> + </constants> +</class> +<class name="AudioStreamPlayback" inherits="Reference" category="Core"> + <brief_description> + </brief_description> + <description> </description> <methods> - <method name="play" > + <method name="play"> + <argument index="0" name="from_pos_sec" type="float" default="0"> + </argument> <description> - Start playback of an audio stream. </description> </method> - <method name="stop" > + <method name="stop"> <description> - Stop playback of an audio stream. </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> - Return wether the audio stream is currently playing. </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the loop hint for the audio stream playback. if"#10;"#9;"#9;"#9;true, audio stream will attempt to loop (restart)"#10;"#9;"#9;"#9;when finished. </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> - Return wether the audio stream loops. See [method set_loop] - </description> - </method> - <method name="get_stream_name" qualifiers="const" > - <return type="String"> - </return> - <description> - Return the name of the audio stream. Often the song"#10;"#9;"#9;"#9;title when the stream is music. </description> </method> - <method name="get_loop_count" qualifiers="const" > + <method name="get_loop_count" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of times that the stream has"#10;"#9;"#9;"#9;looped (if loop is supported). </description> </method> - <method name="seek_pos" > + <method name="seek_pos"> <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" > + <method name="get_pos" qualifiers="const"> <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" > + <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_update_mode" qualifiers="const" > + <method name="get_channels" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_mix_rate" qualifiers="const"> <return type="int"> </return> <description> - Return the type of update that the stream uses. Some"#10;"#9;"#9;"#9;types of stream may need manual polling. </description> </method> - <method name="update" > + <method name="get_minimum_buffer_size" qualifiers="const"> + <return type="int"> + </return> <description> - Manually poll the audio stream (if it is requested"#10;"#9;"#9;"#9;to). </description> </method> </methods> <constants> - <constant name="UPDATE_NONE" value="0"> - Does not need update, or manual polling. - </constant> - <constant name="UPDATE_IDLE" value="1"> - Stream is updated on the main thread, when idle. - </constant> - <constant name="UPDATE_THREAD" value="2"> - Stream is updated on its own thread. - </constant> </constants> </class> -<class name="AudioStreamGibberish" inherits="AudioStream" category="Core"> +<class name="AudioStreamSpeex" inherits="AudioStream" category="Core"> <brief_description> - Simple gibberish speech stream playback. + Speex audio stream driver. </brief_description> <description> - AudioStream used for gibberish playback. It plays randomized phonemes, which can be used to accompany text dialogs. + Speex audio stream driver. Speex is very useful for compressed speech. It allows loading a very large amount of speech in memory at little IO/latency cost. </description> <methods> - <method name="set_phonemes" > - <argument index="0" name="phonemes" type="Object"> - </argument> - <description> - Set the phoneme library. - </description> - </method> - <method name="get_phonemes" qualifiers="const" > - <return type="Object"> - </return> - <description> - Return the phoneme library. - </description> - </method> - <method name="set_pitch_scale" > - <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="float"> - </return> - <description> - Return the pitch scale. - </description> - </method> - <method name="set_pitch_random_scale" > - <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="float"> - </return> - <description> - Return the pitch random scaling. - </description> - </method> - <method name="set_xfade_time" > - <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="float"> - </return> - <description> - Return the cross-fade time between random phonemes. - </description> - </method> </methods> <constants> </constants> </class> -<class name="AudioStreamMPC" inherits="AudioStreamResampled" category="Core"> +<class name="BackBufferCopy" inherits="Node2D" category="Core"> <brief_description> - MusePack audio stream driver. </brief_description> <description> - MusePack audio stream driver. </description> <methods> - <method name="set_file" > - <argument index="0" name="name" type="String"> + <method name="set_rect"> + <argument index="0" name="rect" type="Rect2"> </argument> <description> - Set the file to be played. </description> </method> - <method name="get_file" qualifiers="const" > - <return type="String"> + <method name="get_rect" qualifiers="const"> + <return type="Rect2"> </return> <description> - Return the file being played. </description> </method> - </methods> - <constants> - </constants> -</class> -<class name="AudioStreamOGGVorbis" inherits="AudioStreamResampled" category="Core"> - <brief_description> - OGG Vorbis audio stream driver. - </brief_description> - <description> - OGG Vorbis audio stream driver. - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="AudioStreamResampled" inherits="AudioStream" category="Core"> - <brief_description> - Base class for resampled audio streams. - </brief_description> - <description> - Base class for resampled audio streams. - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="AudioStreamSpeex" inherits="AudioStreamResampled" category="Core"> - <brief_description> - Speex audio stream driver. - </brief_description> - <description> - Speex audio stream driver. Speex is very useful for compressed speech. It allows loading a very large amount of speech in memory at little IO/latency cost. - </description> - <methods> - <method name="set_file" > - <argument index="0" name="file" type="String"> + <method name="set_copy_mode"> + <argument index="0" name="copy_mode" type="int"> </argument> <description> - Set the speech file (which is loaded to memory). </description> </method> - <method name="get_file" qualifiers="const" > - <return type="String"> + <method name="get_copy_mode" qualifiers="const"> + <return type="int"> </return> <description> - Return the speech file. </description> </method> </methods> <constants> + <constant name="COPY_MODE_DISABLED" value="0"> + </constant> + <constant name="COPY_MODE_RECT" value="1"> + </constant> + <constant name="COPY_MODE_VIEWPORT" value="2"> + </constant> </constants> </class> <class name="BakedLight" inherits="Resource" category="Core"> @@ -4422,55 +4639,55 @@ <description> </description> <methods> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_octree" > + <method name="set_octree"> <argument index="0" name="octree" type="RawArray"> </argument> <description> </description> </method> - <method name="get_octree" qualifiers="const" > + <method name="get_octree" qualifiers="const"> <return type="RawArray"> </return> <description> </description> </method> - <method name="set_light" > + <method name="set_light"> <argument index="0" name="light" type="RawArray"> </argument> <description> </description> </method> - <method name="get_light" qualifiers="const" > + <method name="get_light" qualifiers="const"> <return type="RawArray"> </return> <description> </description> </method> - <method name="set_sampler_octree" > + <method name="set_sampler_octree"> <argument index="0" name="sampler_octree" type="IntArray"> </argument> <description> </description> </method> - <method name="get_sampler_octree" qualifiers="const" > + <method name="get_sampler_octree" qualifiers="const"> <return type="IntArray"> </return> <description> </description> </method> - <method name="add_lightmap" > + <method name="add_lightmap"> <argument index="0" name="texture" type="Texture"> </argument> <argument index="1" name="gen_size" type="Vector2"> @@ -4478,197 +4695,197 @@ <description> </description> </method> - <method name="erase_lightmap" > + <method name="erase_lightmap"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="clear_lightmaps" > + <method name="clear_lightmaps"> <description> </description> </method> - <method name="set_cell_subdivision" > + <method name="set_cell_subdivision"> <argument index="0" name="cell_subdivision" type="int"> </argument> <description> </description> </method> - <method name="get_cell_subdivision" qualifiers="const" > + <method name="get_cell_subdivision" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_initial_lattice_subdiv" > + <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" > + <method name="get_initial_lattice_subdiv" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_plot_size" > + <method name="set_plot_size"> <argument index="0" name="plot_size" type="float"> </argument> <description> </description> </method> - <method name="get_plot_size" qualifiers="const" > + <method name="get_plot_size" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_bounces" > + <method name="set_bounces"> <argument index="0" name="bounces" type="int"> </argument> <description> </description> </method> - <method name="get_bounces" qualifiers="const" > + <method name="get_bounces" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_cell_extra_margin" > + <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" > + <method name="get_cell_extra_margin" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_edge_damp" > + <method name="set_edge_damp"> <argument index="0" name="edge_damp" type="float"> </argument> <description> </description> </method> - <method name="get_edge_damp" qualifiers="const" > + <method name="get_edge_damp" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_normal_damp" > + <method name="set_normal_damp"> <argument index="0" name="normal_damp" type="float"> </argument> <description> </description> </method> - <method name="get_normal_damp" qualifiers="const" > + <method name="get_normal_damp" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_tint" > + <method name="set_tint"> <argument index="0" name="tint" type="float"> </argument> <description> </description> </method> - <method name="get_tint" qualifiers="const" > + <method name="get_tint" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_saturation" > + <method name="set_saturation"> <argument index="0" name="saturation" type="float"> </argument> <description> </description> </method> - <method name="get_saturation" qualifiers="const" > + <method name="get_saturation" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_ao_radius" > + <method name="set_ao_radius"> <argument index="0" name="ao_radius" type="float"> </argument> <description> </description> </method> - <method name="get_ao_radius" qualifiers="const" > + <method name="get_ao_radius" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_ao_strength" > + <method name="set_ao_strength"> <argument index="0" name="ao_strength" type="float"> </argument> <description> </description> </method> - <method name="get_ao_strength" qualifiers="const" > + <method name="get_ao_strength" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_format" > + <method name="set_format"> <argument index="0" name="format" type="int"> </argument> <description> </description> </method> - <method name="get_format" qualifiers="const" > + <method name="get_format" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_transfer_lightmaps_only_to_uv2" > + <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" > + <method name="get_transfer_lightmaps_only_to_uv2" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_energy_multiplier" > + <method name="set_energy_multiplier"> <argument index="0" name="energy_multiplier" type="float"> </argument> <description> </description> </method> - <method name="get_energy_multiplier" qualifiers="const" > + <method name="get_energy_multiplier" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_gamma_adjust" > + <method name="set_gamma_adjust"> <argument index="0" name="gamma_adjust" type="float"> </argument> <description> </description> </method> - <method name="get_gamma_adjust" qualifiers="const" > + <method name="get_gamma_adjust" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_bake_flag" > + <method name="set_bake_flag"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="enabled" type="bool"> @@ -4676,7 +4893,7 @@ <description> </description> </method> - <method name="get_bake_flag" qualifiers="const" > + <method name="get_bake_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -4708,19 +4925,19 @@ <description> </description> <methods> - <method name="set_baked_light" > + <method name="set_baked_light"> <argument index="0" name="baked_light" type="Object"> </argument> <description> </description> </method> - <method name="get_baked_light" qualifiers="const" > + <method name="get_baked_light" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="get_baked_light_instance" qualifiers="const" > + <method name="get_baked_light_instance" qualifiers="const"> <return type="RID"> </return> <description> @@ -4742,7 +4959,7 @@ <description> </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -4750,7 +4967,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -4758,13 +4975,13 @@ <description> </description> </method> - <method name="set_resolution" > + <method name="set_resolution"> <argument index="0" name="resolution" type="int"> </argument> <description> </description> </method> - <method name="get_resolution" qualifiers="const" > + <method name="get_resolution" qualifiers="const"> <return type="int"> </return> <description> @@ -4792,69 +5009,79 @@ BaseButton is the abstract base class for buttons, so it shouldn't be used directly (It doesnt display anything). Other types of buttons inherit from it. </description> <methods> - <method name="set_pressed" > + <method name="_pressed" qualifiers="virtual"> + <description> + </description> + </method> + <method name="_toggled" qualifiers="virtual"> + <argument index="0" name="pressed" type="bool"> + </argument> + <description> + </description> + </method> + <method name="set_pressed"> <argument index="0" name="pressed" type="bool"> </argument> <description> Set the button to pressed state (only if toggle_mode is active). </description> </method> - <method name="is_pressed" qualifiers="const" > + <method name="is_pressed" qualifiers="const"> <return type="bool"> </return> <description> - Return when the button is pressed (only if toggle_mode is active). + If toggle_mode is active, return whether the button is toggled. If toggle_mode is not active, return whether the button is pressed down. </description> </method> - <method name="is_hovered" qualifiers="const" > + <method name="is_hovered" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_toggle_mode" > + <method name="set_toggle_mode"> <argument index="0" name="enabled" type="bool"> </argument> <description> Set the button toggle_mode property. Toggle mode makes the button flip state between pressed and unpressed each time its area is clicked. </description> </method> - <method name="is_toggle_mode" qualifiers="const" > + <method name="is_toggle_mode" qualifiers="const"> <return type="bool"> </return> <description> Return the toggle_mode property (see [method set_toggle_mode]). </description> </method> - <method name="set_disabled" > + <method name="set_disabled"> <argument index="0" name="disabled" type="bool"> </argument> <description> - Set the button into disabled state. When a button is disabled, it can"apos;t be clicked or toggled. + Set the button into disabled state. When a button is disabled, it can't be clicked or toggled. </description> </method> - <method name="is_disabled" qualifiers="const" > + <method name="is_disabled" qualifiers="const"> <return type="bool"> </return> <description> Return wether the button is in disabled state (see [method set_disabled]). </description> </method> - <method name="set_click_on_press" > + <method name="set_click_on_press"> <argument index="0" name="enable" type="bool"> </argument> <description> Set the button click_on_press mode. This mode generates click events when a mousebutton or key is just pressed (by default events are generated when the button/keys are released and both press and release occur in the visual area of the Button). </description> </method> - <method name="get_click_on_press" qualifiers="const" > + <method name="get_click_on_press" qualifiers="const"> <return type="bool"> </return> <description> Return the state of the click_on_press property (see [method set_click_on_press]). </description> </method> - <method name="get_draw_mode" qualifiers="const" > + <method name="get_draw_mode" qualifiers="const"> <return type="int"> </return> <description> @@ -4897,19 +5124,19 @@ <description> </description> <methods> - <method name="create" > + <method name="create"> <argument index="0" name="size" type="Vector2"> </argument> <description> </description> </method> - <method name="create_from_image_alpha" > + <method name="create_from_image_alpha"> <argument index="0" name="image" type="Image"> </argument> <description> </description> </method> - <method name="set_bit" > + <method name="set_bit"> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="bit" type="bool"> @@ -4917,7 +5144,7 @@ <description> </description> </method> - <method name="get_bit" qualifiers="const" > + <method name="get_bit" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="pos" type="Vector2"> @@ -4925,7 +5152,7 @@ <description> </description> </method> - <method name="set_bit_rect" > + <method name="set_bit_rect"> <argument index="0" name="p_rect" type="Rect2"> </argument> <argument index="1" name="bit" type="bool"> @@ -4933,13 +5160,13 @@ <description> </description> </method> - <method name="get_true_bit_count" qualifiers="const" > + <method name="get_true_bit_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_size" qualifiers="const" > + <method name="get_size" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -4967,8 +5194,26 @@ Base class for Box containers. It arranges children controls vertically or horizontally, and rearranges them automatically when their minimum size changes. </description> <methods> + <method name="get_alignment" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_alignment"> + <argument index="0" name="alignment" type="int"> + </argument> + <description> + </description> + </method> </methods> <constants> + <constant name="ALIGN_BEGIN" value="0"> + </constant> + <constant name="ALIGN_CENTER" value="1"> + </constant> + <constant name="ALIGN_END" value="2"> + </constant> </constants> </class> <class name="BoxShape" inherits="Shape" category="Core"> @@ -4979,14 +5224,14 @@ Box shape resource, which can be set into a [PhysicsBody] or area. </description> <methods> - <method name="set_extents" > + <method name="set_extents"> <argument index="0" name="extents" type="Vector3"> </argument> <description> Set the half extents for the shape. </description> </method> - <method name="get_extents" qualifiers="const" > + <method name="get_extents" qualifiers="const"> <return type="Vector3"> </return> <description> @@ -5005,66 +5250,66 @@ Button is just the standard themed button: [image src="images/button_example.png"/] It can contain text and an icon, and will display them according to the current [Theme]. </description> <methods> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> Set the button text, which will be displayed inside the button area. </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> Return the button text. </description> </method> - <method name="set_button_icon" > + <method name="set_button_icon"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="get_button_icon" qualifiers="const" > + <method name="get_button_icon" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_flat" > + <method name="set_flat"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the [i]flat[/i] property of a Button. Flat buttons don"apos;t display decoration unless hoevered or pressed. + Set the [i]flat[/i] property of a Button. Flat buttons don't display decoration unless hoevered or pressed. </description> </method> - <method name="set_clip_text" > + <method name="set_clip_text"> <argument index="0" name="enabled" type="bool"> </argument> <description> Set the [i]clip_text[/i] property of a Button. When this property is enabled, text that is too large to fit the button is clipped, when disabled (default) the Button will always be wide enough to hold the text. </description> </method> - <method name="get_clip_text" qualifiers="const" > + <method name="get_clip_text" qualifiers="const"> <return type="bool"> </return> <description> Return the state of the [i]clip_text[/i] property (see [method set_clip_text]) </description> </method> - <method name="set_text_align" > + <method name="set_text_align"> <argument index="0" name="align" type="int"> </argument> <description> </description> </method> - <method name="get_text_align" qualifiers="const" > + <method name="get_text_align" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="is_flat" qualifiers="const" > + <method name="is_flat" qualifiers="const"> <return type="bool"> </return> <description> @@ -5107,14 +5352,14 @@ Array of Buttons. A Button array is useful to have an array of buttons laid out vertically or horizontally. Only one can be selected. This is useful for joypad based interfaces and option menus. </description> <methods> - <method name="add_button" > + <method name="add_button"> <argument index="0" name="text" type="String"> </argument> <description> Add a new button. </description> </method> - <method name="add_icon_button" > + <method name="add_icon_button"> <argument index="0" name="icon" type="Object"> </argument> <argument index="1" name="text" type="String" default=""""> @@ -5122,7 +5367,7 @@ <description> </description> </method> - <method name="set_button_text" > + <method name="set_button_text"> <argument index="0" name="button" type="int"> </argument> <argument index="1" name="text" type="String"> @@ -5130,7 +5375,7 @@ <description> </description> </method> - <method name="set_button_icon" > + <method name="set_button_icon"> <argument index="0" name="button" type="int"> </argument> <argument index="1" name="icon" type="Object"> @@ -5139,7 +5384,7 @@ Set the icon of an existing button. </description> </method> - <method name="get_button_text" qualifiers="const" > + <method name="get_button_text" qualifiers="const"> <return type="String"> </return> <argument index="0" name="button" type="int"> @@ -5148,7 +5393,7 @@ Return the text of an existing button. </description> </method> - <method name="get_button_icon" qualifiers="const" > + <method name="get_button_icon" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="button" type="int"> @@ -5157,42 +5402,42 @@ Return the icon of an existing button. </description> </method> - <method name="get_button_count" qualifiers="const" > + <method name="get_button_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of buttons in the array. </description> </method> - <method name="get_selected" qualifiers="const" > + <method name="get_selected" qualifiers="const"> <return type="int"> </return> <description> Return the currently selected button in the array. </description> </method> - <method name="get_hovered" qualifiers="const" > + <method name="get_hovered" qualifiers="const"> <return type="int"> </return> <description> Return the currently hovered button in the array. </description> </method> - <method name="set_selected" > + <method name="set_selected"> <argument index="0" name="button" type="int"> </argument> <description> Sekect a button in the array. </description> </method> - <method name="erase_button" > + <method name="erase_button"> <argument index="0" name="button" type="int"> </argument> <description> Remove a button in the array, by index. </description> </method> - <method name="clear" > + <method name="clear"> <description> Clear the button array. </description> @@ -5233,35 +5478,35 @@ Group of [Button]s. All direct and indirect children buttons become radios. Only one allows being pressed. </description> <methods> - <method name="get_pressed_button" qualifiers="const" > + <method name="get_pressed_button" qualifiers="const"> <return type="BaseButton"> </return> <description> Return the pressed button. </description> </method> - <method name="get_pressed_button_index" qualifiers="const" > + <method name="get_pressed_button_index" qualifiers="const"> <return type="int"> </return> <description> Return the index of the pressed button (by tree order). </description> </method> - <method name="get_focused_button" qualifiers="const" > + <method name="get_focused_button" qualifiers="const"> <return type="BaseButton"> </return> <description> Return the focused button. </description> </method> - <method name="get_button_list" qualifiers="const" > + <method name="get_button_list" qualifiers="const"> <return type="Array"> </return> <description> Return the list of all the buttons in the group. </description> </method> - <method name="set_pressed_button" > + <method name="set_pressed_button"> <argument index="0" name="button" type="BaseButton"> </argument> <description> @@ -5280,7 +5525,7 @@ Camera is a special node that displays what is visible from its current location. Cameras register themselves in the nearest [Viewport] node (when ascending the tree). Only one camera can be active per viewport. If no viewport is available ascending the tree, the Camera will register in the global viewport. In other words, a Camera just provides [i]3D[/i] display capabilities to a [Viewport], and, without one, a [Scene] registered in that [Viewport] (or higher viewports) can't be displayed. </description> <methods> - <method name="project_ray_normal" qualifiers="const" > + <method name="project_ray_normal" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="screen_point" type="Vector2"> @@ -5289,7 +5534,7 @@ Return a normal vector in worldspace, that is the result of projecting a point on the [Viewport] rectangle by the camera projection. This is useful for casting rays in the form of (origin,normal) for object intersection or picking. </description> </method> - <method name="project_local_ray_normal" qualifiers="const" > + <method name="project_local_ray_normal" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="screen_point" type="Vector2"> @@ -5297,7 +5542,7 @@ <description> </description> </method> - <method name="project_ray_origin" qualifiers="const" > + <method name="project_ray_origin" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="screen_point" type="Vector2"> @@ -5306,7 +5551,7 @@ Return a 3D position in worldspace, that is the result of projecting a point on the [Viewport] rectangle by the camera projection. This is useful for casting rays in the form of (origin,normal) for object intersection or picking. </description> </method> - <method name="unproject_position" qualifiers="const" > + <method name="unproject_position" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="world_point" type="Vector3"> @@ -5315,7 +5560,15 @@ Return how a 3D point in worldpsace maps to a 2D coordinate in the [Viewport] rectangle. </description> </method> - <method name="project_position" qualifiers="const" > + <method name="is_position_behind" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="world_point" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="project_position" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="screen_point" type="Vector2"> @@ -5323,7 +5576,7 @@ <description> </description> </method> - <method name="set_perspective" > + <method name="set_perspective"> <argument index="0" name="fov" type="float"> </argument> <argument index="1" name="z_near" type="float"> @@ -5334,7 +5587,7 @@ 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" > + <method name="set_orthogonal"> <argument index="0" name="size" type="float"> </argument> <argument index="1" name="z_near" type="float"> @@ -5342,111 +5595,93 @@ <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) + Set the camera projection to orthogonal mode, by specifying a 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) </description> </method> - <method name="make_current" > + <method name="make_current"> <description> - Make this camera the current Camera for the [Viewport] (see class description). If the Camera Node is outside the scene tree, it will attempt to become current once it"apos;s added. + Make this camera the current Camera for the [Viewport] (see class description). If the Camera Node is outside the scene tree, it will attempt to become current once it's added. </description> </method> - <method name="clear_current" > + <method name="clear_current"> <description> </description> </method> - <method name="is_current" qualifiers="const" > + <method name="is_current" qualifiers="const"> <return type="bool"> </return> <description> Return wether the Camera is the current one in the [Viewport], or plans to become current (if outside the scene tree). </description> </method> - <method name="get_camera_transform" qualifiers="const" > + <method name="get_camera_transform" qualifiers="const"> <return type="Transform"> </return> <description> Get the camera transform. Subclassed cameras (such as CharacterCamera) may provide different transforms than the [Node] transform. </description> </method> - <method name="get_fov" qualifiers="const" > + <method name="get_fov" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_size" qualifiers="const" > + <method name="get_size" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_zfar" qualifiers="const" > + <method name="get_zfar" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_znear" qualifiers="const" > + <method name="get_znear" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_projection" qualifiers="const" > + <method name="get_projection" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_visible_layers" > + <method name="set_visible_layers"> <argument index="0" name="mask" type="int"> </argument> <description> </description> </method> - <method name="get_visible_layers" qualifiers="const" > + <method name="get_visible_layers" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="look_at" > - <argument index="0" name="target" type="Vector3"> - </argument> - <argument index="1" name="up" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="look_at_from_pos" > - <argument index="0" name="pos" type="Vector3"> - </argument> - <argument index="1" name="target" type="Vector3"> - </argument> - <argument index="2" name="up" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="set_environment" > + <method name="set_environment"> <argument index="0" name="env" type="Environment"> </argument> <description> </description> </method> - <method name="get_environment" qualifiers="const" > + <method name="get_environment" qualifiers="const"> <return type="Environment"> </return> <description> </description> </method> - <method name="set_keep_aspect_mode" > + <method name="set_keep_aspect_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_keep_aspect_mode" qualifiers="const" > + <method name="get_keep_aspect_mode" qualifiers="const"> <return type="int"> </return> <description> @@ -5472,142 +5707,139 @@ </brief_description> <description> Camera node for 2D scenes. It forces the screen (current layer) to scroll following this node. This makes it easier (and faster) to program scrollable scenes than manually changing the position of [CanvasItem] based nodes. - This node is intended to be a simple helper get get things going quickly - and it may happen often that more functionality is desired to change - how the camera works. To make your own custom camera node, simply - inherit from [Node2D] and change the transform of the canvas by - calling get_viewport().set_canvas_transform(m) in [Viewport]. + This node is intended to be a simple helper get get things going quickly and it may happen often that more functionality is desired to change how the camera works. To make your own custom camera node, simply inherit from [Node2D] and change the transform of the canvas by calling get_viewport().set_canvas_transform(m) in [Viewport]. </description> <methods> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> - Set the scroll offset. Useful for looking around or - camera shake animations. + Set the scroll offset. Useful for looking around or camera shake animations. </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> Return the scroll offset. </description> </method> - <method name="set_centered" > - <argument index="0" name="centered" type="bool"> + <method name="set_anchor_mode"> + <argument index="0" name="anchor_mode" type="int"> </argument> <description> - Set to true if the camera is at the center of the screen (default: true). </description> </method> - <method name="is_centered" qualifiers="const" > - <return type="bool"> + <method name="get_anchor_mode" qualifiers="const"> + <return type="int"> </return> <description> - Return true if the camera is at the center of the screen (default: true). </description> </method> - <method name="set_rotating" > + <method name="set_rotating"> <argument index="0" name="rotating" type="bool"> </argument> <description> </description> </method> - <method name="is_rotating" qualifiers="const" > + <method name="is_rotating" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="make_current" > + <method name="make_current"> <description> Make this the current 2D camera for the scene (viewport and layer), in case there's many cameras in the scene. </description> </method> - <method name="is_current" qualifiers="const" > + <method name="clear_current"> + <description> + </description> + </method> + <method name="is_current" qualifiers="const"> <return type="bool"> </return> <description> Return true of this is the current camera (see [method Camera2D.make_current]). </description> </method> - <method name="set_limit" > + <method name="set_limit"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="limit" type="int"> </argument> <description> - Set the scrolling limit in pixels + Set the scrolling limit in pixels. </description> </method> - <method name="get_limit" qualifiers="const" > + <method name="get_limit" qualifiers="const"> <return type="int"> </return> <argument index="0" name="margin" type="int"> </argument> <description> - Return the scrolling limit in pixels + Return the scrolling limit in pixels. </description> </method> - <method name="set_v_drag_enabled" > + <method name="set_v_drag_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_v_drag_enabled" qualifiers="const" > + <method name="is_v_drag_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_h_drag_enabled" > + <method name="set_h_drag_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_h_drag_enabled" qualifiers="const" > + <method name="is_h_drag_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_v_offset" > + <method name="set_v_offset"> <argument index="0" name="ofs" type="float"> </argument> <description> </description> </method> - <method name="get_v_offset" qualifiers="const" > + <method name="get_v_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_h_offset" > + <method name="set_h_offset"> <argument index="0" name="ofs" type="float"> </argument> <description> </description> </method> - <method name="get_h_offset" qualifiers="const" > + <method name="get_h_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_drag_margin" > + <method name="set_drag_margin"> <argument index="0" name="margin" type="int"> </argument> <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. + 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" > + <method name="get_drag_margin" qualifiers="const"> <return type="float"> </return> <argument index="0" name="margin" type="int"> @@ -5616,50 +5848,54 @@ Return the margins needed to drag the camera (see [method set_drag_margin]). </description> </method> - <method name="get_camera_pos" qualifiers="const" > + <method name="get_camera_pos" qualifiers="const"> <return type="Vector2"> </return> <description> Return the camera position. </description> </method> - <method name="get_camera_screen_center" qualifiers="const" > + <method name="get_camera_screen_center" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_zoom" > + <method name="set_zoom"> <argument index="0" name="arg0" type="Vector2"> </argument> <description> </description> </method> - <method name="get_zoom" qualifiers="const" > + <method name="get_zoom" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_follow_smoothing" > + <method name="set_follow_smoothing"> <argument index="0" name="follow_smoothing" type="float"> </argument> <description> </description> </method> - <method name="get_follow_smoothing" qualifiers="const" > + <method name="get_follow_smoothing" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="force_update_scroll" > + <method name="force_update_scroll"> <description> Force the camera to update scroll immediately. </description> </method> </methods> <constants> + <constant name="ANCHOR_MODE_DRAG_CENTER" value="1"> + </constant> + <constant name="ANCHOR_MODE_FIXED_TOP_LEFT" value="0"> + </constant> </constants> </class> <class name="CanvasItem" inherits="Node" category="Core"> @@ -5668,152 +5904,167 @@ </brief_description> <description> Base class of anything 2D. Canvas items are laid out in a tree and children inherit and extend the transform of their parent. CanvasItem is extended by [Control], for anything GUI related, and by [Node2D] for anything 2D engine related. - Any CanvasItem can draw. For this, the "update" function must be called, then NOTIFICATION_DRAW will be received on idle time to request redraw. Because of this, canvas items don't need to be redraw on every frame, improving the performance significantly. Several functions for drawing on the CanvasItem are provided (see draw_* functions). They can only be used inside the notification, signal or _draw() overrided function, though. - Canvas items are draw in tree order. By default, children are on top of their parents so a root CanvasItem will be drawn behind everything (this can be changed per item though). + Any CanvasItem can draw. For this, the "update" function must be called, then NOTIFICATION_DRAW will be received on idle time to request redraw. Because of this, canvas items don't need to be redraw on every frame, improving the performance significan'tly. Several functions for drawing on the CanvasItem are provided (see draw_* functions). They can only be used inside the notification, signal or _draw() overrided function, though. + Canvas items are draw in tree order. By default, children are on top of their parents so a root CanvasItem will be drawn behind everything (this can be changed per item though). Canvas items can also be hidden (hiding also their subtree). They provide many means for changing standard parameters such as opacity (for it and the subtree) and self opacity, blend mode. Ultimately, a transform notification can be requested, which will notify the node that its global position changed in case the parent tree changed. </description> <methods> - <method name="_draw" qualifiers="virtual" > + <method name="_draw" qualifiers="virtual"> <description> Called (if exists) to draw the canvas item. </description> </method> - <method name="edit_set_state" > + <method name="edit_set_state"> <argument index="0" name="state" type="var"> </argument> <description> Used for editing, returns an opaque value represeting the transform state. </description> </method> - <method name="edit_get" qualifiers="const" > + <method name="edit_get" qualifiers="const"> <description> </description> </method> - <method name="edit_set_rect" > + <method name="edit_set_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> </description> </method> - <method name="edit_rotate" > + <method name="edit_rotate"> <argument index="0" name="degrees" type="float"> </argument> <description> Used for editing, handle rotation. </description> </method> - <method name="get_item_rect" qualifiers="const" > + <method name="get_item_rect" qualifiers="const"> <return type="Rect2"> </return> <description> Return a rect containing the editable contents of the item. </description> </method> - <method name="get_canvas_item" qualifiers="const" > + <method name="get_canvas_item" qualifiers="const"> <return type="RID"> </return> <description> Return the canvas item RID used by [VisualServer] for this item. </description> </method> - <method name="is_visible" qualifiers="const" > + <method name="is_visible" qualifiers="const"> <return type="bool"> </return> <description> Return true if this CanvasItem is visible. It may be invisible because itself or a parent canvas item is hidden. </description> </method> - <method name="is_hidden" qualifiers="const" > + <method name="is_hidden" qualifiers="const"> <return type="bool"> </return> <description> Return true if this CanvasItem is hidden. Note that the CanvasItem may not be visible, but as long as it's not hidden ([method hide] called) the function will return false. </description> </method> - <method name="show" > + <method name="show"> <description> Show the CanvasItem currently hidden. </description> </method> - <method name="hide" > + <method name="hide"> <description> Hide the CanvasItem currently visible. </description> </method> - <method name="update" > + <method name="update"> <description> Queue the CanvasItem for update. NOTIFICATION_DRAW will be called on idle time to request redraw. </description> </method> - <method name="set_as_toplevel" > + <method name="set_as_toplevel"> <argument index="0" name="enable" type="bool"> </argument> <description> Set as toplevel. This means that it will not inherit transform from parent canvas items. </description> </method> - <method name="is_set_as_toplevel" qualifiers="const" > + <method name="is_set_as_toplevel" qualifiers="const"> <return type="bool"> </return> <description> Return if set as toplevel. See [method set_as_toplevel]/ </description> </method> - <method name="set_blend_mode" > + <method name="set_blend_mode"> <argument index="0" name="blend_mode" type="int"> </argument> <description> Set the blending mode from enum BLEND_MODE_*. </description> </method> - <method name="get_blend_mode" qualifiers="const" > + <method name="get_blend_mode" qualifiers="const"> <return type="int"> </return> <description> Return the current blending mode from enum BLEND_MODE_*. </description> </method> - <method name="set_opacity" > + <method name="set_light_mask"> + <argument index="0" name="light_mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_light_mask" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_opacity"> <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" > + <method name="get_opacity" qualifiers="const"> <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" > + <method name="set_self_opacity"> <argument index="0" name="self_opacity" type="float"> </argument> <description> + Set canvas item self-opacity. This does not affect the opacity of children items. </description> </method> - <method name="get_self_opacity" qualifiers="const" > + <method name="get_self_opacity" qualifiers="const"> <return type="float"> </return> <description> - Set canvas item self-opacity. This does not affect the opacity of children items. + Return the canvas item self-opacity. </description> </method> - <method name="set_draw_behind_parent" > - <argument index="0" name="enabe" type="bool"> + <method name="set_draw_behind_parent"> + <argument index="0" name="enable" type="bool"> </argument> <description> + Sets whether the canvas item is drawn behind its parent. </description> </method> - <method name="is_draw_behind_parent_enabled" qualifiers="const" > + <method name="is_draw_behind_parent_enabled" qualifiers="const"> <return type="bool"> </return> <description> + Return whether the item is drawn behind its parent. </description> </method> - <method name="draw_line" > + <method name="draw_line"> <argument index="0" name="from" type="Vector2"> </argument> <argument index="1" name="to" type="Vector2"> @@ -5826,7 +6077,7 @@ Draw a line from a 2D point to another, with a given color and width. </description> </method> - <method name="draw_rect" > + <method name="draw_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <argument index="1" name="color" type="Color"> @@ -5835,7 +6086,7 @@ Draw a colored rectangle. </description> </method> - <method name="draw_circle" > + <method name="draw_circle"> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="radius" type="float"> @@ -5846,7 +6097,7 @@ Draw a colored circle. </description> </method> - <method name="draw_texture" > + <method name="draw_texture"> <argument index="0" name="texture" type="Texture"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -5855,20 +6106,22 @@ Draw a texture at a given position. </description> </method> - <method name="draw_texture_rect" > + <method name="draw_texture_rect"> <argument index="0" name="texture" type="Texture"> </argument> <argument index="1" name="rect" type="Rect2"> </argument> - <argument index="2" name="tile" type="bool" default="false"> + <argument index="2" name="tile" type="bool"> </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="transpose" type="bool" default="false"> + </argument> <description> - Draw a textured rectangle at a given position, optionally modulated by a color. + Draw a textured rectangle at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. </description> </method> - <method name="draw_texture_rect_region" > + <method name="draw_texture_rect_region"> <argument index="0" name="texture" type="Texture"> </argument> <argument index="1" name="rect" type="Rect2"> @@ -5877,11 +6130,13 @@ </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="transpose" type="bool" default="false"> + </argument> <description> - Draw a textured rectangle region at a given position, optionally modulated by a color. + Draw a textured rectangle region at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. </description> </method> - <method name="draw_style_box" > + <method name="draw_style_box"> <argument index="0" name="style_box" type="StyleBox"> </argument> <argument index="1" name="rect" type="Rect2"> @@ -5890,7 +6145,7 @@ Draw a styled rectangle. </description> </method> - <method name="draw_primitive" > + <method name="draw_primitive"> <argument index="0" name="points" type="Vector2Array"> </argument> <argument index="1" name="colors" type="ColorArray"> @@ -5905,7 +6160,7 @@ 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. </description> </method> - <method name="draw_polygon" > + <method name="draw_polygon"> <argument index="0" name="points" type="Vector2Array"> </argument> <argument index="1" name="colors" type="ColorArray"> @@ -5918,7 +6173,7 @@ Draw a polygon of any amount of points, convex or concave. </description> </method> - <method name="draw_colored_polygon" > + <method name="draw_colored_polygon"> <argument index="0" name="points" type="Vector2Array"> </argument> <argument index="1" name="color" type="Color"> @@ -5931,7 +6186,7 @@ Draw a colored polygon of any amount of points, convex or concave. </description> </method> - <method name="draw_string" > + <method name="draw_string"> <argument index="0" name="font" type="Font"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -5946,7 +6201,7 @@ Draw a string using a custom font. </description> </method> - <method name="draw_char" > + <method name="draw_char"> <return type="float"> </return> <argument index="0" name="font" type="Font"> @@ -5963,7 +6218,7 @@ Draw a string character using a custom font. Returns the advance, depending on the char width and kerning with an optional next char. </description> </method> - <method name="draw_set_transform" > + <method name="draw_set_transform"> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="rot" type="float"> @@ -5974,42 +6229,98 @@ Set a custom transform for drawing. Anything drawn afterwards will be transformed by this. </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> + <return type="Matrix32"> + </return> + <description> + </description> + </method> + <method name="get_global_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="get_global_transform" qualifiers="const" > + <method name="get_global_transform_with_canvas" qualifiers="const"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="get_viewport_transform" qualifiers="const" > + <method name="get_viewport_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="get_viewport_rect" qualifiers="const" > + <method name="get_viewport_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="get_canvas" qualifiers="const" > + <method name="get_canvas_transform" qualifiers="const"> + <return type="Matrix32"> + </return> + <description> + </description> + </method> + <method name="get_local_mouse_pos" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="get_global_mouse_pos" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="get_canvas" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="get_world_2d" qualifiers="const" > + <method name="get_world_2d" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> + <method name="set_material"> + <argument index="0" name="material" type="CanvasItemMaterial"> + </argument> + <description> + </description> + </method> + <method name="get_material" qualifiers="const"> + <return type="CanvasItemMaterial"> + </return> + <description> + </description> + </method> + <method name="set_use_parent_material"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_use_parent_material" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="make_input_local" qualifiers="const"> + <return type="InputEvent"> + </return> + <argument index="0" name="event" type="InputEvent"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="item_rect_changed"> @@ -6029,13 +6340,13 @@ </signal> <signal name="hide"> <description> - Emitten when becoming hidden. + Emitted when becoming hidden. </description> </signal> </signals> <constants> <constant name="BLEND_MODE_MIX" value="0"> - Mix blending mode. + Mix blending mode. Colors are assumed to be independent of the alpha (opacity) value. </constant> <constant name="BLEND_MODE_ADD" value="1"> Additive blending mode. @@ -6047,6 +6358,7 @@ Multiplicative blending mode. </constant> <constant name="BLEND_MODE_PREMULT_ALPHA" value="4"> + Mix blending mode. Colors are assumed to be premultiplied by the alpha (opacity) value. </constant> <constant name="NOTIFICATION_DRAW" value="30"> CanvasItem is requested to draw. @@ -6065,6 +6377,80 @@ </constant> </constants> </class> +<class name="CanvasItemMaterial" inherits="Resource" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_shader"> + <argument index="0" name="shader" type="Shader"> + </argument> + <description> + </description> + </method> + <method name="get_shader" qualifiers="const"> + <return type="Shader"> + </return> + <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> + <method name="set_shading_mode"> + <argument index="0" name="mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_shading_mode" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + </methods> + <constants> + <constant name="SHADING_NORMAL" value="0"> + </constant> + <constant name="SHADING_UNSHADED" value="1"> + </constant> + <constant name="SHADING_ONLY_LIGHT" value="2"> + </constant> + </constants> +</class> +<class name="CanvasItemShader" inherits="Shader" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + </methods> + <constants> + </constants> +</class> +<class name="CanvasItemShaderGraph" inherits="ShaderGraph" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + </methods> + <constants> + </constants> +</class> <class name="CanvasLayer" inherits="Node" category="Core"> <brief_description> Canvas Item layer. @@ -6073,84 +6459,84 @@ Canvas Item layer. [CanvasItem] nodes that are direct or indirect children of a [CanvasLayer] will be drawn in that layer. The layer is a numeric index that defines the draw order. The default 2D scene renders with index 0, so a [CanvasLayer] with index -1 will be drawn below, and one with index 1 will be drawn above. This is very useful for HUDs (in layer 1+ or above), or backgrounds (in layer -1 or below). </description> <methods> - <method name="set_layer" > + <method name="set_layer"> <argument index="0" name="layer" type="int"> </argument> <description> Set the layer index, determines the draw order, a lower value will be below a higher one. </description> </method> - <method name="get_layer" qualifiers="const" > + <method name="get_layer" qualifiers="const"> <return type="int"> </return> <description> Return the layer index, determines the draw order, a lower value will be below a higher one. </description> </method> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="transform" type="Matrix32"> </argument> <description> Set the base transform for this layer. </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> Return the base transform for this layer. </description> </method> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> Set the base offset for this layer (helper). </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> Return the base offset for this layer (helper). </description> </method> - <method name="set_rotation" > + <method name="set_rotation"> <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" > + <method name="get_rotation" qualifiers="const"> <return type="float"> </return> <description> Return the base rotation for this layer (helper). </description> </method> - <method name="set_scale" > + <method name="set_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> Set the base scale for this layer (helper). </description> </method> - <method name="get_scale" qualifiers="const" > + <method name="get_scale" qualifiers="const"> <return type="Vector2"> </return> <description> Return the base scale for this layer (helper). </description> </method> - <method name="get_world_2d" qualifiers="const" > + <method name="get_world_2d" qualifiers="const"> <return type="Canvas"> </return> <description> Return the [World2D] used by this layer. </description> </method> - <method name="get_viewport" qualifiers="const" > + <method name="get_viewport" qualifiers="const"> <return type="RID"> </return> <description> @@ -6161,6 +6547,28 @@ <constants> </constants> </class> +<class name="CanvasModulate" inherits="Node2D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <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> + </methods> + <constants> + </constants> +</class> <class name="CapsuleShape" inherits="Shape" category="Core"> <brief_description> Capsule shape resource. @@ -6169,28 +6577,28 @@ Capsule shape resource, which can be set into a [PhysicsBody] or area. </description> <methods> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="radius" type="float"> </argument> <description> Set the capsule radius. </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="float"> </return> <description> Return the capsule radius. </description> </method> - <method name="set_height" > + <method name="set_height"> <argument index="0" name="height" type="float"> </argument> <description> Set the capsule height. </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="float"> </return> <description> @@ -6209,28 +6617,28 @@ Capsule 2D shape resource for physics. A capsule (or sometimes called "pill") is like a line grown in all directions. It has a radius and a height, and is often useful for modelling biped characters. </description> <methods> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="radius" type="float"> </argument> <description> Radius of the [CapsuleShape2D]. </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="float"> </return> <description> Return the radius of the [CapsuleShape2D]. </description> </method> - <method name="set_height" > + <method name="set_height"> <argument index="0" name="height" type="float"> </argument> <description> Height of the [CapsuleShape2D]. </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="float"> </return> <description> @@ -6249,13 +6657,13 @@ CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center. </description> <methods> - <method name="set_use_top_left" > + <method name="set_use_top_left"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_using_top_left" qualifiers="const" > + <method name="is_using_top_left" qualifiers="const"> <return type="bool"> </return> <description> @@ -6265,6 +6673,50 @@ <constants> </constants> </class> +<class name="CheckBox" inherits="Button" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + </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="radio_checked" type="Texture"> + </theme_item> + <theme_item name="checked" type="Texture"> + </theme_item> + <theme_item name="radio_unchecked" 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="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="CheckButton" inherits="Button" category="Core"> <brief_description> Checkable button. @@ -6315,14 +6767,14 @@ Circular Shape for 2D Physics. This shape is useful for modelling balls or small characters and it's collision detection with everything else is very fast. </description> <methods> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="radius" type="float"> </argument> <description> - Set the radius of the circle shape; + Set the radius of the circle shape. </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="float"> </return> <description> @@ -6339,7 +6791,7 @@ <description> </description> <methods> - <method name="_input_event" qualifiers="virtual" > + <method name="_input_event" qualifiers="virtual"> <argument index="0" name="camera" type="Object"> </argument> <argument index="1" name="event" type="InputEvent"> @@ -6353,7 +6805,7 @@ <description> </description> </method> - <method name="add_shape" > + <method name="add_shape"> <argument index="0" name="shape" type="Shape"> </argument> <argument index="1" name="transform" type="Transform" default="Transform()"> @@ -6361,13 +6813,13 @@ <description> </description> </method> - <method name="get_shape_count" qualifiers="const" > + <method name="get_shape_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_shape" > + <method name="set_shape"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="shape" type="Shape"> @@ -6375,7 +6827,7 @@ <description> </description> </method> - <method name="set_shape_transform" > + <method name="set_shape_transform"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="transform" type="Transform"> @@ -6383,7 +6835,7 @@ <description> </description> </method> - <method name="set_shape_as_trigger" > + <method name="set_shape_as_trigger"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -6391,7 +6843,7 @@ <description> </description> </method> - <method name="is_shape_set_as_trigger" qualifiers="const" > + <method name="is_shape_set_as_trigger" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="shape_idx" type="int"> @@ -6399,7 +6851,7 @@ <description> </description> </method> - <method name="get_shape" qualifiers="const" > + <method name="get_shape" qualifiers="const"> <return type="Shape"> </return> <argument index="0" name="shape_idx" type="int"> @@ -6407,7 +6859,7 @@ <description> </description> </method> - <method name="get_shape_transform" qualifiers="const" > + <method name="get_shape_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="shape_idx" type="int"> @@ -6415,41 +6867,41 @@ <description> </description> </method> - <method name="remove_shape" > + <method name="remove_shape"> <argument index="0" name="shape_idx" type="int"> </argument> <description> </description> </method> - <method name="clear_shapes" > + <method name="clear_shapes"> <description> </description> </method> - <method name="set_ray_pickable" > + <method name="set_ray_pickable"> <argument index="0" name="ray_pickable" type="bool"> </argument> <description> </description> </method> - <method name="is_ray_pickable" qualifiers="const" > + <method name="is_ray_pickable" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_capture_input_on_drag" > + <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" > + <method name="get_capture_input_on_drag" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_rid" qualifiers="const" > + <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> @@ -6491,7 +6943,17 @@ CollisionObject2D is the base class for 2D physics collisionables. They can hold any number of 2D collision shapes. Usually, they are edited by placing CollisionBody2D and CollisionPolygon2D nodes as children. Such nodes are for reference ant not present outside the editor, so code should use the regular shape API. </description> <methods> - <method name="add_shape" > + <method name="_input_event" qualifiers="virtual"> + <argument index="0" name="viewport" type="Object"> + </argument> + <argument index="1" name="event" type="InputEvent"> + </argument> + <argument index="2" name="shape_idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="add_shape"> <argument index="0" name="shape" type="Shape2D"> </argument> <argument index="1" name="transform" type="Matrix32" default="1,0, 0,1, 0,0"> @@ -6500,14 +6962,14 @@ Add a [Shape2D] to the collision body, with a given custom transform. </description> </method> - <method name="get_shape_count" qualifiers="const" > + <method name="get_shape_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of shapes in the collision body. </description> </method> - <method name="set_shape" > + <method name="set_shape"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="shape" type="Shape"> @@ -6516,7 +6978,7 @@ Change a shape in the collision body. </description> </method> - <method name="set_shape_transform" > + <method name="set_shape_transform"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="transform" type="Matrix32"> @@ -6525,7 +6987,7 @@ Change the shape transform in the collision body. </description> </method> - <method name="set_shape_as_trigger" > + <method name="set_shape_as_trigger"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -6533,7 +6995,7 @@ <description> </description> </method> - <method name="get_shape" qualifiers="const" > + <method name="get_shape" qualifiers="const"> <return type="Shape2D"> </return> <argument index="0" name="shape_idx" type="int"> @@ -6542,7 +7004,7 @@ Return the shape in the given index. </description> </method> - <method name="get_shape_transform" qualifiers="const" > + <method name="get_shape_transform" qualifiers="const"> <return type="Matrix32"> </return> <argument index="0" name="shape_idx" type="int"> @@ -6551,7 +7013,7 @@ Return the shape transform in the given index. </description> </method> - <method name="is_shape_set_as_trigger" qualifiers="const" > + <method name="is_shape_set_as_trigger" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="shape_idx" type="int"> @@ -6559,25 +7021,58 @@ <description> </description> </method> - <method name="remove_shape" > + <method name="remove_shape"> <argument index="0" name="shape_idx" type="int"> </argument> <description> Remove the shape in the given index. </description> </method> - <method name="clear_shapes" > + <method name="clear_shapes"> <description> Remove all shapes. </description> </method> - <method name="get_rid" qualifiers="const" > + <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> + Return the RID of the object. + </description> + </method> + <method name="set_pickable"> + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_pickable" qualifiers="const"> + <return type="bool"> + </return> + <description> </description> </method> </methods> + <signals> + <signal name="mouse_enter"> + <description> + </description> + </signal> + <signal name="input_event"> + <argument index="0" name="viewport" type="Object"> + </argument> + <argument index="1" name="event" type="InputEvent"> + </argument> + <argument index="2" name="shape_idx" type="int"> + </argument> + <description> + </description> + </signal> + <signal name="mouse_exit"> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> @@ -6587,37 +7082,49 @@ <description> </description> <methods> - <method name="set_polygon" > - <argument index="0" name="polygon" type="Vector2Array"> + <method name="set_build_mode"> + <argument index="0" name="arg0" type="int"> </argument> <description> </description> </method> - <method name="get_polygon" qualifiers="const" > - <return type="Vector2Array"> + <method name="get_build_mode" qualifiers="const"> + <return type="int"> </return> <description> </description> </method> - <method name="set_depth" > + <method name="set_depth"> <argument index="0" name="depth" type="float"> </argument> <description> </description> </method> - <method name="get_depth" qualifiers="const" > + <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"> + <method name="set_polygon"> + <argument index="0" name="polygon" type="Vector2Array"> </argument> <description> </description> </method> - <method name="get_build_mode" qualifiers="const" > + <method name="get_polygon" qualifiers="const"> + <return type="Vector2Array"> + </return> + <description> + </description> + </method> + <method name="get_collision_object_first_shape" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_collision_object_last_shape" qualifiers="const"> <return type="int"> </return> <description> @@ -6635,6 +7142,54 @@ Editor-Only class. This is not present when running the game. It's used in the editor to properly edit and position collision shapes in [CollisionObject2D]. This is not accessible from regular code. This class is for editing custom shape polygons. </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_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> + <method name="set_trigger"> + <argument index="0" name="arg0" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_trigger" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="get_collision_object_first_shape" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_collision_object_last_shape" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -6645,6 +7200,46 @@ <description> </description> <methods> + <method name="resource_changed"> + <argument index="0" name="arg0" type="Object"> + </argument> + <description> + </description> + </method> + <method name="set_shape"> + <argument index="0" name="shape" type="Object"> + </argument> + <description> + </description> + </method> + <method name="get_shape" qualifiers="const"> + <return type="Object"> + </return> + <description> + </description> + </method> + <method name="set_trigger"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_trigger" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="make_convex_from_brothers"> + <description> + </description> + </method> + <method name="get_collision_object_shape_index" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -6657,6 +7252,36 @@ Editor-Only class. This is not present when running the game. It's used in the editor to properly edit and position collision shapes in [CollisionObject2D]. This is not accessible from regular code. </description> <methods> + <method name="set_shape"> + <argument index="0" name="shape" type="Object"> + </argument> + <description> + </description> + </method> + <method name="get_shape" qualifiers="const"> + <return type="Object"> + </return> + <description> + </description> + </method> + <method name="set_trigger"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_trigger" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="get_collision_object_shape_index" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -6669,7 +7294,7 @@ A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point, ranging from 0 to 1. </description> <methods> - <method name="blend" > + <method name="blend"> <return type="Color"> </return> <argument index="0" name="over" type="Color"> @@ -6677,28 +7302,28 @@ <description> </description> </method> - <method name="contrasted" > + <method name="contrasted"> <return type="Color"> </return> <description> Return the most contrasting color with this one. </description> </method> - <method name="gray" > + <method name="gray"> <return type="float"> </return> <description> Convert the color to gray. </description> </method> - <method name="inverted" > + <method name="inverted"> <return type="Color"> </return> <description> Return the inverted color (1-r, 1-g, 1-b, 1-a). </description> </method> - <method name="linear_interpolate" > + <method name="linear_interpolate"> <return type="Color"> </return> <argument index="0" name="b" type="Color"> @@ -6709,21 +7334,21 @@ Return the linear interpolation with another color. </description> </method> - <method name="to_32" > + <method name="to_32"> <return type="int"> </return> <description> Convert the color to a 32 its integer (each byte represets a RGBA). </description> </method> - <method name="to_ARGB32" > + <method name="to_ARGB32"> <return type="int"> </return> <description> Convert color to ARGB32, more compatible with DirectX. </description> </method> - <method name="to_html" > + <method name="to_html"> <return type="String"> </return> <argument index="0" name="with_alpha" type="bool" default="True"> @@ -6732,7 +7357,9 @@ Return the HTML hexadecimal color string. </description> </method> - <method name="Color" > + <method name="Color"> + <return type="Color"> + </return> <argument index="0" name="r" type="float"> </argument> <argument index="1" name="g" type="float"> @@ -6745,7 +7372,9 @@ Construct the color from an RGBA profile. </description> </method> - <method name="Color" > + <method name="Color"> + <return type="Color"> + </return> <argument index="0" name="r" type="float"> </argument> <argument index="1" name="g" type="float"> @@ -6756,14 +7385,18 @@ Construct the color from an RGBA profile. </description> </method> - <method name="Color" > + <method name="Color"> + <return type="Color"> + </return> <argument index="0" name="from" type="int"> </argument> <description> Construct the color from an RGBA profile. </description> </method> - <method name="Color" > + <method name="Color"> + <return type="Color"> + </return> <argument index="0" name="from" type="String"> </argument> <description> @@ -6795,10 +7428,10 @@ Array of Colors </brief_description> <description> - Array of Color, can only contains colors. Optimized for memory usage, cant fragment the memory. + Array of Color, can only contains colors. Optimized for memory usage, can't fragment the memory. </description> <methods> - <method name="get" > + <method name="get"> <return type="Color"> </return> <argument index="0" name="idx" type="int"> @@ -6807,21 +7440,21 @@ Get an index in the array. </description> </method> - <method name="push_back" > + <method name="push_back"> <argument index="0" name="color" type="Color"> </argument> <description> Append a value to the array. </description> </method> - <method name="resize" > + <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> Resize the array. </description> </method> - <method name="set" > + <method name="set"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -6830,14 +7463,16 @@ Set an index in the array. </description> </method> - <method name="size" > + <method name="size"> <return type="int"> </return> <description> Return the array size. </description> </method> - <method name="ColorArray" > + <method name="ColorArray"> + <return type="ColorArray"> + </return> <argument index="0" name="from" type="Array"> </argument> <description> @@ -6856,39 +7491,39 @@ This is a simple color picker [Control]. It's useful for selecting a color from an RGB/RGBA colorspace. </description> <methods> - <method name="set_color" > + <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> Select the current color. </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> Return the current (edited) color. </description> </method> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_edit_alpha" > + <method name="set_edit_alpha"> <argument index="0" name="show" type="bool"> </argument> <description> </description> </method> - <method name="is_editing_alpha" qualifiers="const" > + <method name="is_editing_alpha" qualifiers="const"> <return type="bool"> </return> <description> @@ -6925,25 +7560,25 @@ <description> </description> <methods> - <method name="set_color" > + <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_edit_alpha" > + <method name="set_edit_alpha"> <argument index="0" name="show" type="bool"> </argument> <description> </description> </method> - <method name="is_editing_alpha" qualifiers="const" > + <method name="is_editing_alpha" qualifiers="const"> <return type="bool"> </return> <description> @@ -6985,22 +7620,56 @@ </theme_item> </theme_items> </class> +<class name="ColorRamp" inherits="Resource" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_offsets"> + <argument index="0" name="offsets" type="RealArray"> + </argument> + <description> + </description> + </method> + <method name="get_offsets" qualifiers="const"> + <return type="RealArray"> + </return> + <description> + </description> + </method> + <method name="set_colors"> + <argument index="0" name="colors" type="ColorArray"> + </argument> + <description> + </description> + </method> + <method name="get_colors" qualifiers="const"> + <return type="ColorArray"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="ConcavePolygonShape" inherits="Shape" category="Core"> <brief_description> Concave polygon shape. </brief_description> <description> - Concave polygon shape resource, which can be set into a [PhysicsBody] or area."#10; This shape is created by feeding a list of triangles. + Concave polygon shape resource, which can be set into a [PhysicsBody] or area. This shape is created by feeding a list of triangles. </description> <methods> - <method name="set_faces" > + <method name="set_faces"> <argument index="0" name="faces" type="Vector3Array"> </argument> <description> Set the faces (an array of triangles). </description> </method> - <method name="get_faces" qualifiers="const" > + <method name="get_faces" qualifiers="const"> <return type="Vector3Array"> </return> <description> @@ -7019,14 +7688,14 @@ Concave polygon 2D shape resource for physics. It is made out of segments and is very optimal for complex polygonal concave collisions. It is really not advised to use for RigidBody nodes. A CollisionPolygon2D in convex decomposition mode (solids) or several convex objects are advised for that instead. Otherwise, a concave polygon 2D shape is better for static collisions. </description> <methods> - <method name="set_segments" > + <method name="set_segments"> <argument index="0" name="segments" type="Vector2Array"> </argument> <description> Set the array of segments. </description> </method> - <method name="get_segments" qualifiers="const" > + <method name="get_segments" qualifiers="const"> <return type="Vector2Array"> </return> <description> @@ -7043,7 +7712,7 @@ <description> </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -7051,7 +7720,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -7081,7 +7750,7 @@ <description> </description> <methods> - <method name="set_value" > + <method name="set_value"> <argument index="0" name="section" type="String"> </argument> <argument index="1" name="key" type="String"> @@ -7091,7 +7760,7 @@ <description> </description> </method> - <method name="get_value" qualifiers="const" > + <method name="get_value" qualifiers="const"> <argument index="0" name="section" type="String"> </argument> <argument index="1" name="key" type="String"> @@ -7099,7 +7768,7 @@ <description> </description> </method> - <method name="has_section" qualifiers="const" > + <method name="has_section" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="section" type="String"> @@ -7107,7 +7776,7 @@ <description> </description> </method> - <method name="has_section_key" qualifiers="const" > + <method name="has_section_key" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="section" type="String"> @@ -7117,13 +7786,13 @@ <description> </description> </method> - <method name="get_sections" qualifiers="const" > + <method name="get_sections" qualifiers="const"> <return type="StringArray"> </return> <description> </description> </method> - <method name="get_section_keys" qualifiers="const" > + <method name="get_section_keys" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -7131,16 +7800,16 @@ <description> </description> </method> - <method name="load" > - <return type="int"> + <method name="load"> + <return type="Error"> </return> <argument index="0" name="path" type="String"> </argument> <description> </description> </method> - <method name="save" > - <return type="int"> + <method name="save"> + <return type="Error"> </return> <argument index="0" name="path" type="String"> </argument> @@ -7159,7 +7828,7 @@ Dialog for confirmation of actions. This dialog inherits from [AcceptDialog], but has by default an OK and Cancel buton (in host OS order). </description> <methods> - <method name="get_cancel" > + <method name="get_cancel"> <return type="Button"> </return> <description> @@ -7179,12 +7848,12 @@ A Control can inherit this to reate custom container classes. </description> <methods> - <method name="queue_sort" > + <method name="queue_sort"> <description> Queue resort of the contained children. This is called automatically anyway, but can be called upon request. </description> </method> - <method name="fit_child_in_rect" > + <method name="fit_child_in_rect"> <argument index="0" name="child" type="Control"> </argument> <argument index="1" name="rect" type="Rect2"> @@ -7221,14 +7890,14 @@ Finally, controls are skinned according to a [Theme]. Setting a [Theme] on a control will propagate all the skinning down the tree. Optionally, skinning can be overrided per each control by calling the add_*_override functions, or from the editor. </description> <methods> - <method name="_input_event" qualifiers="virtual" > + <method name="_input_event" qualifiers="virtual"> <argument index="0" name="event" type="InputEvent"> </argument> <description> Called when an input event reaches the control. </description> </method> - <method name="can_drop_data" qualifiers="virtual" > + <method name="can_drop_data" qualifiers="virtual"> <return type="bool"> </return> <argument index="0" name="pos" type="Vector2"> @@ -7238,7 +7907,7 @@ <description> </description> </method> - <method name="drop_data" qualifiers="virtual" > + <method name="drop_data" qualifiers="virtual"> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="data" type="var"> @@ -7246,7 +7915,7 @@ <description> </description> </method> - <method name="get_drag_data" qualifiers="virtual" > + <method name="get_drag_data" qualifiers="virtual"> <return type="Object"> </return> <argument index="0" name="pos" type="Vector2"> @@ -7254,46 +7923,46 @@ <description> </description> </method> - <method name="get_minimum_size" qualifiers="virtual" > + <method name="get_minimum_size" qualifiers="virtual"> <return type="Vector2"> </return> <description> Return the minimum size this Control can shrink to. A control will never be displayed or resized smaller than its minimum size. </description> </method> - <method name="accept_event" > + <method name="accept_event"> <description> Handles the event, no other control will receive it and it will not be sent to nodes waiting on [method Node._unhandled_input] or [method Node._unhandled_key_input]. </description> </method> - <method name="get_minimum_size" qualifiers="const" > + <method name="get_minimum_size" qualifiers="const"> <return type="Vector2"> </return> <description> Return the minimum size this Control can shrink to. A control will never be displayed or resized smaller than its minimum size. </description> </method> - <method name="get_combined_minimum_size" qualifiers="const" > + <method name="get_combined_minimum_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="is_window" qualifiers="const" > + <method name="is_window" qualifiers="const"> <return type="bool"> </return> <description> Return wether this control is a [i]window[/i]. Controls are considered windows when their parent [Node] is not a Control. </description> </method> - <method name="get_window" qualifiers="const" > + <method name="get_window" qualifiers="const"> <return type="Object"> </return> <description> Return the [i]window[/i] for this control, ascending the scene tree (see [method is_window]). </description> </method> - <method name="set_anchor" > + <method name="set_anchor"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="anchor_mode" type="int"> @@ -7302,7 +7971,7 @@ Change the anchor (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) type for a margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Changing the anchor mode converts the current margin offset from the previos anchor mode to the new one, so margin offsets ([method set_margin]) must be done after setting anchors, or at the same time ([method set_anchor_and_margin]). </description> </method> - <method name="get_anchor" qualifiers="const" > + <method name="get_anchor" qualifiers="const"> <return type="int"> </return> <argument index="0" name="margin" type="int"> @@ -7311,7 +7980,7 @@ Return the anchor type (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) for a given margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). </description> </method> - <method name="set_margin" > + <method name="set_margin"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="offset" type="float"> @@ -7320,7 +7989,7 @@ 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. </description> </method> - <method name="set_anchor_and_margin" > + <method name="set_anchor_and_margin"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="anchor_mode" type="int"> @@ -7331,48 +8000,48 @@ 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]). </description> </method> - <method name="set_begin" > + <method name="set_begin"> <argument index="0" name="pos" type="Vector2"> </argument> <description> Sets MARGIN_LEFT and MARGIN_TOP at the same time. This is a helper (see [method set_margin]). </description> </method> - <method name="set_end" > + <method name="set_end"> <argument index="0" name="pos" type="Vector2"> </argument> <description> Sets MARGIN_RIGHT and MARGIN_BOTTOM at the same time. This is a helper (see [method set_margin]). </description> </method> - <method name="set_pos" > + <method name="set_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> Move the Control to a new position, relative to the top-left corner of the parent Control, changing all margins if needed and without changing current anchor mode. This is a helper (see [method set_margin]). </description> </method> - <method name="set_size" > + <method name="set_size"> <argument index="0" name="size" type="Vector2"> </argument> <description> Changes MARGIN_RIGHT and MARGIN_BOTTOM to fit a given size. This is a helper (see [method set_margin]). </description> </method> - <method name="set_custom_minimum_size" > + <method name="set_custom_minimum_size"> <argument index="0" name="size" type="Vector2"> </argument> <description> </description> </method> - <method name="set_global_pos" > + <method name="set_global_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> Move the Control to a new position, relative to the top-left corner of the [i]window[/i] Control, and without changing current anchor mode. (see [method set_margin]). </description> </method> - <method name="get_margin" qualifiers="const" > + <method name="get_margin" qualifiers="const"> <return type="float"> </return> <argument index="0" name="margin" type="int"> @@ -7381,168 +8050,168 @@ Return a margin offset. Margin can be one of (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Offset value being returned depends on the anchor mode. </description> </method> - <method name="get_begin" qualifiers="const" > + <method name="get_begin" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_end" qualifiers="const" > + <method name="get_end" qualifiers="const"> <return type="Vector2"> </return> <description> Returns MARGIN_LEFT and MARGIN_TOP at the same time. This is a helper (see [method set_margin]). </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="Vector2"> </return> <description> Returns the Control position, relative to the top-left corner of the parent Control and independly of the anchor mode. </description> </method> - <method name="get_size" qualifiers="const" > + <method name="get_size" qualifiers="const"> <return type="Vector2"> </return> <description> Returns the size of the Control, computed from all margins, however the size returned will [b]never be smaller than the minimum size reported by [method get_minimum_size][/b]. This means that even if end position of the Control rectangle is smaller than the begin position, the Control will still display and interact correctly. (see description, [method get_minimum_size], [method set_margin], [method set_anchor]). </description> </method> - <method name="get_custom_minimum_size" qualifiers="const" > + <method name="get_custom_minimum_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_parent_area_size" qualifiers="const" > + <method name="get_parent_area_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_global_pos" qualifiers="const" > + <method name="get_global_pos" qualifiers="const"> <return type="Vector2"> </return> <description> Returns the Control position, relative to the top-left corner of the parent Control and independent of the anchor mode. </description> </method> - <method name="get_rect" qualifiers="const" > + <method name="get_rect" qualifiers="const"> <return type="Rect2"> </return> <description> Return position and size of the Control, relative to the top-left corner of the parent Control. This is a helper (see [method get_pos],[method get_size]). </description> </method> - <method name="get_global_rect" qualifiers="const" > + <method name="get_global_rect" qualifiers="const"> <return type="Rect2"> </return> <description> Return position and size of the Control, relative to the top-left corner of the [i]window[/i] Control. This is a helper (see [method get_global_pos],[method get_size]). </description> </method> - <method name="set_area_as_parent_rect" > + <method name="set_area_as_parent_rect"> <argument index="0" name="margin" type="int" default="0"> </argument> <description> Change all margins and anchors, so this Control always takes up the same area as the parent Control. This is a helper (see [method set_anchor],[method set_margin]). </description> </method> - <method name="show_modal" > + <method name="show_modal"> <argument index="0" name="exclusive" type="bool" default="false"> </argument> <description> Display a Control as modal. Control must be a subwindow (see [method set_as_subwindow]). Modal controls capture the input signals until closed or the area outside them is accessed. When a modal control loses focus, or the ESC key is pressed, they automatically hide. Modal controls are used extensively for popup dialogs and menus. </description> </method> - <method name="set_focus_mode" > + <method name="set_focus_mode"> <argument index="0" name="mode" type="int"> </argument> <description> Set the focus access mode for the control (FOCUS_NONE, FOCUS_CLICK, FOCUS_ALL). Only one Control can be focused at the same time, and it will receive keyboard signals. </description> </method> - <method name="has_focus" qualifiers="const" > + <method name="has_focus" qualifiers="const"> <return type="bool"> </return> <description> Return wether the Control is the current focused control (see [method set_focus_mode]). </description> </method> - <method name="grab_focus" > + <method name="grab_focus"> <description> Steal the focus from another control and become the focused control (see [method set_focus_mode]). </description> </method> - <method name="release_focus" > + <method name="release_focus"> <description> Give up the focus, no other control will be able to receive keyboard input. </description> </method> - <method name="get_focus_owner" qualifiers="const" > + <method name="get_focus_owner" qualifiers="const"> <return type="Control"> </return> <description> Return which control is owning the keyboard focus, or null if no one. </description> </method> - <method name="set_h_size_flags" > + <method name="set_h_size_flags"> <argument index="0" name="flags" type="int"> </argument> <description> Hint for containers, set horizontal positioning flags. </description> </method> - <method name="get_h_size_flags" qualifiers="const" > + <method name="get_h_size_flags" qualifiers="const"> <return type="int"> </return> <description> Hint for containers, return horizontal positioning flags. </description> </method> - <method name="set_stretch_ratio" > + <method name="set_stretch_ratio"> <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" > + <method name="get_stretch_ratio" qualifiers="const"> <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. </description> </method> - <method name="set_v_size_flags" > + <method name="set_v_size_flags"> <argument index="0" name="flags" type="int"> </argument> <description> Hint for containers, set vertical positioning flags. </description> </method> - <method name="get_v_size_flags" qualifiers="const" > + <method name="get_v_size_flags" qualifiers="const"> <return type="int"> </return> <description> Hint for containers, return vertical positioning flags. </description> </method> - <method name="set_theme" > + <method name="set_theme"> <argument index="0" name="theme" type="Theme"> </argument> <description> Override whole the [Theme] for this Control and all its children controls. </description> </method> - <method name="get_theme" qualifiers="const" > + <method name="get_theme" qualifiers="const"> <return type="Theme"> </return> <description> Return a [Theme] override, if one exists (see [method set_theme]). </description> </method> - <method name="add_icon_override" > + <method name="add_icon_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="texture" type="Texture"> @@ -7551,7 +8220,7 @@ Override a single icon ([Texture]) in the theme of this Control. If texture is empty, override is cleared. </description> </method> - <method name="add_style_override" > + <method name="add_style_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="stylebox" type="StyleBox"> @@ -7560,7 +8229,7 @@ Override a single stylebox ([Stylebox]) in the theme of this Control. If stylebox is empty, override is cleared. </description> </method> - <method name="add_font_override" > + <method name="add_font_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="font" type="Font"> @@ -7569,7 +8238,7 @@ Override a single font (font) in the theme of this Control. If font is empty, override is cleared. </description> </method> - <method name="add_color_override" > + <method name="add_color_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="color" type="Color"> @@ -7577,7 +8246,7 @@ <description> </description> </method> - <method name="add_constant_override" > + <method name="add_constant_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="constant" type="int"> @@ -7586,7 +8255,7 @@ Override a single constant (integer) in the theme of this Control. If constant equals Theme.INVALID_CONSTANT, override is cleared. </description> </method> - <method name="get_icon" qualifiers="const" > + <method name="get_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="name" type="String"> @@ -7596,7 +8265,7 @@ <description> </description> </method> - <method name="get_stylebox" qualifiers="const" > + <method name="get_stylebox" qualifiers="const"> <return type="StyleBox"> </return> <argument index="0" name="name" type="String"> @@ -7606,7 +8275,7 @@ <description> </description> </method> - <method name="get_font" qualifiers="const" > + <method name="get_font" qualifiers="const"> <return type="Font"> </return> <argument index="0" name="name" type="String"> @@ -7616,7 +8285,7 @@ <description> </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="name" type="String"> @@ -7626,7 +8295,7 @@ <description> </description> </method> - <method name="get_constant" qualifiers="const" > + <method name="get_constant" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -7636,20 +8305,20 @@ <description> </description> </method> - <method name="get_parent_control" qualifiers="const" > + <method name="get_parent_control" qualifiers="const"> <return type="Control"> </return> <description> </description> </method> - <method name="set_tooltip" > + <method name="set_tooltip"> <argument index="0" name="tooltip" type="String"> </argument> <description> Set a tooltip, which will appear when the cursor is resting over this control. </description> </method> - <method name="get_tooltip" qualifiers="const" > + <method name="get_tooltip" qualifiers="const"> <return type="String"> </return> <argument index="0" name="atpos" type="Vector2" default="Vector2(0,0)"> @@ -7658,21 +8327,21 @@ Return the tooltip, which will appear when the cursor is resting over this control. </description> </method> - <method name="set_default_cursor_shape" > + <method name="set_default_cursor_shape"> <argument index="0" name="shape" type="int"> </argument> <description> Set the default cursor shape for this control. See enum CURSOR_* for the list of shapes. </description> </method> - <method name="get_default_cursor_shape" qualifiers="const" > + <method name="get_default_cursor_shape" qualifiers="const"> <return type="int"> </return> <description> Return the default cursor shape for this control. See enum CURSOR_* for the list of shapes. </description> </method> - <method name="get_cursor_shape" qualifiers="const" > + <method name="get_cursor_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="pos" type="Vector2" default="Vector2(0,0)"> @@ -7681,7 +8350,7 @@ Return the cursor shape at a certain position in the control. </description> </method> - <method name="set_focus_neighbour" > + <method name="set_focus_neighbour"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="neighbour" type="NodePath"> @@ -7690,7 +8359,7 @@ Force a neighbour for moving the input focus to. When pressing TAB or directional/joypad directions focus is moved to the next control in that direction. However, the neighbour to move to can be forced with this function. </description> </method> - <method name="get_focus_neighbour" qualifiers="const" > + <method name="get_focus_neighbour" qualifiers="const"> <return type="NodePath"> </return> <argument index="0" name="margin" type="int"> @@ -7699,21 +8368,21 @@ Return the forced neighbour for moving the input focus to. When pressing TAB or directional/joypad directions focus is moved to the next control in that direction. However, the neighbour to move to can be forced with this function. </description> </method> - <method name="set_ignore_mouse" > + <method name="set_ignore_mouse"> <argument index="0" name="ignore" type="bool"> </argument> <description> Ignore mouse events on this control (even touchpad events send mouse events). </description> </method> - <method name="is_ignoring_mouse" qualifiers="const" > + <method name="is_ignoring_mouse" qualifiers="const"> <return type="bool"> </return> <description> Return if the control is ignoring mouse events (even touchpad events send mouse events). </description> </method> - <method name="force_drag" > + <method name="force_drag"> <argument index="0" name="data" type="var"> </argument> <argument index="1" name="preview" type="Object"> @@ -7721,28 +8390,34 @@ <description> </description> </method> - <method name="set_stop_mouse" > + <method name="set_stop_mouse"> <argument index="0" name="stop" type="bool"> </argument> <description> </description> </method> - <method name="is_stopping_mouse" qualifiers="const" > + <method name="is_stopping_mouse" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="grab_click_focus" > + <method name="grab_click_focus"> <description> </description> </method> - <method name="set_drag_preview" > + <method name="set_drag_preview"> <argument index="0" name="control" type="Control"> </argument> <description> </description> </method> + <method name="warp_mouse"> + <argument index="0" name="to_pos" type="Vector2"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="focus_enter"> @@ -7776,6 +8451,8 @@ </description> </signal> <signal name="input_event"> + <argument index="0" name="ev" type="InputEvent"> + </argument> <description> Emitted when an input event is received. Connecting in realtime is recommended for accepting the events. </description> @@ -7788,10 +8465,10 @@ </signals> <constants> <constant name="ANCHOR_BEGIN" value="0"> - X is relative to MARGIN_LEFT, Y is relative to MARGIN_TOP, + X is relative to MARGIN_LEFT, Y is relative to MARGIN_TOP. </constant> <constant name="ANCHOR_END" value="1"> - X is relative to -MARGIN_RIGHT, Y is relative to -MARGIN_BOTTOM, + X is relative to -MARGIN_RIGHT, Y is relative to -MARGIN_BOTTOM. </constant> <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. @@ -7872,19 +8549,19 @@ </class> <class name="ConvexPolygonShape" inherits="Shape" category="Core"> <brief_description> - Convex Polygon Shape + Convex Polygon Shape. </brief_description> <description> Convex polygon shape resource, which can be set into a [PhysicsBody] or area. </description> <methods> - <method name="set_points" > + <method name="set_points"> <argument index="0" name="points" type="Vector3Array"> </argument> <description> </description> </method> - <method name="get_points" qualifiers="const" > + <method name="get_points" qualifiers="const"> <return type="Vector3Array"> </return> <description> @@ -7896,27 +8573,27 @@ </class> <class name="ConvexPolygonShape2D" inherits="Shape2D" category="Core"> <brief_description> - Convex Polygon Shape for 2D physics + Convex Polygon Shape for 2D physics. </brief_description> <description> Convex Polygon Shape for 2D physics. </description> <methods> - <method name="set_point_cloud" > + <method name="set_point_cloud"> <argument index="0" name="point_cloud" type="Vector2Array"> </argument> <description> Create the point set from a point cloud. The resulting convex hull will be set as the shape. </description> </method> - <method name="set_points" > + <method name="set_points"> <argument index="0" name="points" type="Vector2Array"> </argument> <description> Set a list of points in either clockwise or counter clockwise order, forming a convex polygon. </description> </method> - <method name="get_points" qualifiers="const" > + <method name="get_points" qualifiers="const"> <return type="Vector2Array"> </return> <description> @@ -7933,37 +8610,37 @@ <description> </description> <methods> - <method name="get_width" qualifiers="const" > + <method name="get_width" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_rid" qualifiers="const" > + <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="set_flags" > + <method name="set_flags"> <argument index="0" name="flags" type="int"> </argument> <description> </description> </method> - <method name="get_flags" qualifiers="const" > + <method name="get_flags" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_side" > + <method name="set_side"> <argument index="0" name="side" type="int"> </argument> <argument index="1" name="image" type="Image"> @@ -7971,7 +8648,7 @@ <description> </description> </method> - <method name="get_side" qualifiers="const" > + <method name="get_side" qualifiers="const"> <return type="Image"> </return> <argument index="0" name="side" type="int"> @@ -7979,25 +8656,25 @@ <description> </description> </method> - <method name="set_storage" > + <method name="set_storage"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_storage" qualifiers="const" > + <method name="get_storage" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_lossy_storage_quality" > + <method name="set_lossy_storage_quality"> <argument index="0" name="quality" type="float"> </argument> <description> </description> </method> - <method name="get_lossy_storage_quality" qualifiers="const" > + <method name="get_lossy_storage_quality" qualifiers="const"> <return type="float"> </return> <description> @@ -8039,13 +8716,13 @@ <description> </description> <methods> - <method name="get_point_count" qualifiers="const" > + <method name="get_point_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="add_point" > + <method name="add_point"> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="in" type="Vector2" default="Vector2(0,0)"> @@ -8057,7 +8734,7 @@ <description> </description> </method> - <method name="set_point_pos" > + <method name="set_point_pos"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -8065,7 +8742,7 @@ <description> </description> </method> - <method name="get_point_pos" qualifiers="const" > + <method name="get_point_pos" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="idx" type="int"> @@ -8073,7 +8750,7 @@ <description> </description> </method> - <method name="set_point_in" > + <method name="set_point_in"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -8081,7 +8758,7 @@ <description> </description> </method> - <method name="get_point_in" qualifiers="const" > + <method name="get_point_in" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="idx" type="int"> @@ -8089,7 +8766,7 @@ <description> </description> </method> - <method name="set_point_out" > + <method name="set_point_out"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -8097,7 +8774,7 @@ <description> </description> </method> - <method name="get_point_out" qualifiers="const" > + <method name="get_point_out" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="idx" type="int"> @@ -8105,13 +8782,13 @@ <description> </description> </method> - <method name="remove_point" > + <method name="remove_point"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="interpolate" qualifiers="const" > + <method name="interpolate" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="idx" type="int"> @@ -8121,7 +8798,7 @@ <description> </description> </method> - <method name="interpolatef" qualifiers="const" > + <method name="interpolatef" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="fofs" type="float"> @@ -8129,25 +8806,25 @@ <description> </description> </method> - <method name="set_bake_interval" > + <method name="set_bake_interval"> <argument index="0" name="distance" type="float"> </argument> <description> </description> </method> - <method name="get_bake_interval" qualifiers="const" > + <method name="get_bake_interval" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_baked_length" qualifiers="const" > + <method name="get_baked_length" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="interpolate_baked" qualifiers="const" > + <method name="interpolate_baked" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="offset" type="float"> @@ -8157,12 +8834,22 @@ <description> </description> </method> - <method name="get_baked_points" qualifiers="const" > + <method name="get_baked_points" qualifiers="const"> <return type="Vector2Array"> </return> <description> </description> </method> + <method name="tesselate" qualifiers="const"> + <return type="Vector2Array"> + </return> + <argument index="0" name="max_stages" type="int" default="5"> + </argument> + <argument index="1" name="tolerance_degrees" type="float" default="4"> + </argument> + <description> + </description> + </method> </methods> <constants> </constants> @@ -8173,13 +8860,13 @@ <description> </description> <methods> - <method name="get_point_count" qualifiers="const" > + <method name="get_point_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="add_point" > + <method name="add_point"> <argument index="0" name="pos" type="Vector3"> </argument> <argument index="1" name="in" type="Vector3" default="Vector3(0, 0, 0)"> @@ -8191,7 +8878,7 @@ <description> </description> </method> - <method name="set_point_pos" > + <method name="set_point_pos"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="pos" type="Vector3"> @@ -8199,7 +8886,7 @@ <description> </description> </method> - <method name="get_point_pos" qualifiers="const" > + <method name="get_point_pos" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="idx" type="int"> @@ -8207,7 +8894,7 @@ <description> </description> </method> - <method name="set_point_tilt" > + <method name="set_point_tilt"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="tilt" type="float"> @@ -8215,7 +8902,7 @@ <description> </description> </method> - <method name="get_point_tilt" qualifiers="const" > + <method name="get_point_tilt" qualifiers="const"> <return type="float"> </return> <argument index="0" name="idx" type="int"> @@ -8223,7 +8910,7 @@ <description> </description> </method> - <method name="set_point_in" > + <method name="set_point_in"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="pos" type="Vector3"> @@ -8231,7 +8918,7 @@ <description> </description> </method> - <method name="get_point_in" qualifiers="const" > + <method name="get_point_in" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="idx" type="int"> @@ -8239,7 +8926,7 @@ <description> </description> </method> - <method name="set_point_out" > + <method name="set_point_out"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="pos" type="Vector3"> @@ -8247,7 +8934,7 @@ <description> </description> </method> - <method name="get_point_out" qualifiers="const" > + <method name="get_point_out" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="idx" type="int"> @@ -8255,13 +8942,13 @@ <description> </description> </method> - <method name="remove_point" > + <method name="remove_point"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="interpolate" qualifiers="const" > + <method name="interpolate" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="idx" type="int"> @@ -8271,7 +8958,7 @@ <description> </description> </method> - <method name="interpolatef" qualifiers="const" > + <method name="interpolatef" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="fofs" type="float"> @@ -8279,25 +8966,25 @@ <description> </description> </method> - <method name="set_bake_interval" > + <method name="set_bake_interval"> <argument index="0" name="distance" type="float"> </argument> <description> </description> </method> - <method name="get_bake_interval" qualifiers="const" > + <method name="get_bake_interval" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_baked_length" qualifiers="const" > + <method name="get_baked_length" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="interpolate_baked" qualifiers="const" > + <method name="interpolate_baked" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="offset" type="float"> @@ -8307,80 +8994,90 @@ <description> </description> </method> - <method name="get_baked_points" qualifiers="const" > + <method name="get_baked_points" qualifiers="const"> <return type="Vector3Array"> </return> <description> </description> </method> - <method name="get_baked_tilts" qualifiers="const" > + <method name="get_baked_tilts" qualifiers="const"> <return type="RealArray"> </return> <description> </description> </method> + <method name="tesselate" qualifiers="const"> + <return type="Vector3Array"> + </return> + <argument index="0" name="max_stages" type="int" default="5"> + </argument> + <argument index="1" name="tolerance_degrees" type="float" default="4"> + </argument> + <description> + </description> + </method> </methods> <constants> </constants> </class> <class name="DampedSpringJoint2D" inherits="Joint2D" category="Core"> <brief_description> - Damped sprint constraint for 2D physics. + Damped spring constraint for 2D physics. </brief_description> <description> - Damped sprint constraint for 2D physics. This resembles a sprint joint that always want to go back to a given length. + Damped spring constraint for 2D physics. This resembles a spring joint that always want to go back to a given length. </description> <methods> - <method name="set_length" > + <method name="set_length"> <argument index="0" name="length" type="float"> </argument> <description> - Set the maximum length of the sprint joint. + Set the maximum length of the spring joint. </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> - Return the maximum length of the sprint joint. + Return the maximum length of the spring joint. </description> </method> - <method name="set_rest_length" > + <method name="set_rest_length"> <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. + Set the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. </description> </method> - <method name="get_rest_length" qualifiers="const" > + <method name="get_rest_length" qualifiers="const"> <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. + Return the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. </description> </method> - <method name="set_stiffness" > + <method name="set_stiffness"> <argument index="0" name="stiffness" type="float"> </argument> <description> Set the stiffness of the spring joint. </description> </method> - <method name="get_stiffness" qualifiers="const" > + <method name="get_stiffness" qualifiers="const"> <return type="float"> </return> <description> Return the stiffness of the spring joint. </description> </method> - <method name="set_damping" > + <method name="set_damping"> <argument index="0" name="damping" type="float"> </argument> <description> Set the damping of the spring joint. </description> </method> - <method name="get_damping" qualifiers="const" > + <method name="get_damping" qualifiers="const"> <return type="float"> </return> <description> @@ -8399,26 +9096,26 @@ Dictionary type. Associative container which contains values referenced by unique keys. Dictionaries are always passed by reference. </description> <methods> - <method name="clear" > + <method name="clear"> <description> Clear the dictionary, removing all key/value pairs. </description> </method> - <method name="empty" > + <method name="empty"> <return type="bool"> </return> <description> Return true if the dictionary is empty. </description> </method> - <method name="erase" > + <method name="erase"> <argument index="0" name="value" type="var"> </argument> <description> Erase a dictionary key/value pair by key. </description> </method> - <method name="has" > + <method name="has"> <return type="bool"> </return> <argument index="0" name="value" type="var"> @@ -8427,21 +9124,21 @@ Return true if the dictionary has a given key. </description> </method> - <method name="hash" > + <method name="hash"> <return type="int"> </return> <description> Return a hashed integer value representing the dictionary contents. </description> </method> - <method name="keys" > + <method name="keys"> <return type="Array"> </return> <description> Return the list of keys in the dictionary. </description> </method> - <method name="parse_json" > + <method name="parse_json"> <return type="int"> </return> <argument index="0" name="json" type="String"> @@ -8449,14 +9146,14 @@ <description> </description> </method> - <method name="size" > + <method name="size"> <return type="int"> </return> <description> Return the size of the dictionary (in pairs). </description> </method> - <method name="to_json" > + <method name="to_json"> <return type="String"> </return> <description> @@ -8474,19 +9171,19 @@ A DirectionalLight is a type of [Light] node that emits light constantly in one direction (the negative z axis of the node). It is used lights with strong intensity that are located far away from the scene to model sunlight or moonlight. The worldpace location of the DirectionalLight transform (origin) is ignored, only the basis is used do determine light direction. </description> <methods> - <method name="set_shadow_mode" > + <method name="set_shadow_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_shadow_mode" qualifiers="const" > + <method name="get_shadow_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_shadow_param" > + <method name="set_shadow_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -8494,7 +9191,7 @@ <description> </description> </method> - <method name="get_shadow_param" qualifiers="const" > + <method name="get_shadow_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -8526,43 +9223,43 @@ <description> </description> <methods> - <method name="open" > - <return type="int"> + <method name="open"> + <return type="Error"> </return> <argument index="0" name="path" type="String"> </argument> <description> </description> </method> - <method name="list_dir_begin" > + <method name="list_dir_begin"> <return type="bool"> </return> <description> </description> </method> - <method name="get_next" > + <method name="get_next"> <return type="String"> </return> <description> </description> </method> - <method name="current_is_dir" qualifiers="const" > + <method name="current_is_dir" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="list_dir_end" > + <method name="list_dir_end"> <description> </description> </method> - <method name="get_drive_count" > + <method name="get_drive_count"> <return type="int"> </return> <description> </description> </method> - <method name="get_drive" > + <method name="get_drive"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -8570,37 +9267,37 @@ <description> </description> </method> - <method name="change_dir" > - <return type="int"> + <method name="change_dir"> + <return type="Error"> </return> <argument index="0" name="todir" type="String"> </argument> <description> </description> </method> - <method name="get_current_dir" > + <method name="get_current_dir"> <return type="String"> </return> <description> </description> </method> - <method name="make_dir" > - <return type="int"> + <method name="make_dir"> + <return type="Error"> </return> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="make_dir_recursive" > - <return type="int"> + <method name="make_dir_recursive"> + <return type="Error"> </return> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="file_exists" > + <method name="file_exists"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -8608,7 +9305,7 @@ <description> </description> </method> - <method name="dir_exists" > + <method name="dir_exists"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -8616,14 +9313,14 @@ <description> </description> </method> - <method name="get_space_left" > + <method name="get_space_left"> <return type="int"> </return> <description> </description> </method> - <method name="copy" > - <return type="int"> + <method name="copy"> + <return type="Error"> </return> <argument index="0" name="from" type="String"> </argument> @@ -8632,8 +9329,8 @@ <description> </description> </method> - <method name="rename" > - <return type="int"> + <method name="rename"> + <return type="Error"> </return> <argument index="0" name="from" type="String"> </argument> @@ -8642,16 +9339,164 @@ <description> </description> </method> - <method name="remove" > - <return type="int"> + <method name="remove"> + <return type="Error"> + </return> + <argument index="0" name="file" type="String"> + </argument> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> +<class name="EditorFileDialog" inherits="ConfirmationDialog" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="clear_filters"> + <description> + </description> + </method> + <method name="add_filter"> + <argument index="0" name="filter" type="String"> + </argument> + <description> + </description> + </method> + <method name="get_current_dir" qualifiers="const"> + <return type="String"> + </return> + <description> + </description> + </method> + <method name="get_current_file" qualifiers="const"> + <return type="String"> </return> + <description> + </description> + </method> + <method name="get_current_path" qualifiers="const"> + <return type="String"> + </return> + <description> + </description> + </method> + <method name="set_current_dir"> + <argument index="0" name="dir" type="String"> + </argument> + <description> + </description> + </method> + <method name="set_current_file"> <argument index="0" name="file" type="String"> </argument> <description> </description> </method> + <method name="set_current_path"> + <argument index="0" name="path" type="String"> + </argument> + <description> + </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="get_vbox"> + <return type="VBoxContainer"> + </return> + <description> + </description> + </method> + <method name="set_access"> + <argument index="0" name="access" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_access" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_show_hidden_files"> + <argument index="0" name="arg0" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_showing_hidden_files" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_display_mode"> + <argument index="0" name="mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_display_mode" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="invalidate"> + <description> + </description> + </method> </methods> + <signals> + <signal name="files_selected"> + <argument index="0" name="paths" type="StringArray"> + </argument> + <description> + </description> + </signal> + <signal name="dir_selected"> + <argument index="0" name="dir" type="String"> + </argument> + <description> + </description> + </signal> + <signal name="file_selected"> + <argument index="0" name="path" type="String"> + </argument> + <description> + </description> + </signal> + </signals> <constants> + <constant name="MODE_OPEN_FILE" value="0"> + </constant> + <constant name="MODE_OPEN_FILES" value="1"> + </constant> + <constant name="MODE_OPEN_DIR" value="2"> + </constant> + <constant name="MODE_SAVE_FILE" value="3"> + </constant> + <constant name="ACCESS_RESOURCES" value="0"> + </constant> + <constant name="ACCESS_USERDATA" value="1"> + </constant> + <constant name="ACCESS_FILESYSTEM" value="2"> + </constant> </constants> </class> <class name="EditorImportPlugin" inherits="Reference" category="Core"> @@ -8660,7 +9505,7 @@ <description> </description> <methods> - <method name="custom_export" qualifiers="virtual" > + <method name="custom_export" qualifiers="virtual"> <return type="RawArray"> </return> <argument index="0" name="path" type="String"> @@ -8668,19 +9513,19 @@ <description> </description> </method> - <method name="get_name" qualifiers="virtual" > + <method name="get_name" qualifiers="virtual"> <return type="String"> </return> <description> </description> </method> - <method name="get_visible_name" qualifiers="virtual" > + <method name="get_visible_name" qualifiers="virtual"> <return type="String"> </return> <description> </description> </method> - <method name="import" qualifiers="virtual" > + <method name="import" qualifiers="virtual"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -8690,7 +9535,7 @@ <description> </description> </method> - <method name="import_dialog" qualifiers="virtual" > + <method name="import_dialog" qualifiers="virtual"> <argument index="0" name="from" type="String"> </argument> <description> @@ -8706,21 +9551,21 @@ <description> </description> <methods> - <method name="apply_changes" qualifiers="virtual" > + <method name="apply_changes" qualifiers="virtual"> <description> </description> </method> - <method name="clear" qualifiers="virtual" > + <method name="clear" qualifiers="virtual"> <description> </description> </method> - <method name="edit" qualifiers="virtual" > + <method name="edit" qualifiers="virtual"> <argument index="0" name="object" type="Object"> </argument> <description> </description> </method> - <method name="forward_input_event" qualifiers="virtual" > + <method name="forward_input_event" qualifiers="virtual"> <return type="bool"> </return> <argument index="0" name="event" type="InputEvent"> @@ -8728,7 +9573,7 @@ <description> </description> </method> - <method name="forward_spatial_input_event" qualifiers="virtual" > + <method name="forward_spatial_input_event" qualifiers="virtual"> <return type="bool"> </return> <argument index="0" name="camera" type="Camera"> @@ -8738,25 +9583,25 @@ <description> </description> </method> - <method name="get_breakpoints" qualifiers="virtual" > + <method name="get_breakpoints" qualifiers="virtual"> <return type="StringArray"> </return> <description> </description> </method> - <method name="get_name" qualifiers="virtual" > + <method name="get_name" qualifiers="virtual"> <return type="String"> </return> <description> </description> </method> - <method name="get_state" qualifiers="virtual" > + <method name="get_state" qualifiers="virtual"> <return type="Dictionary"> </return> <description> </description> </method> - <method name="handles" qualifiers="virtual" > + <method name="handles" qualifiers="virtual"> <return type="bool"> </return> <argument index="0" name="object" type="Object"> @@ -8764,31 +9609,31 @@ <description> </description> </method> - <method name="has_main_screen" qualifiers="virtual" > + <method name="has_main_screen" qualifiers="virtual"> <return type="bool"> </return> <description> </description> </method> - <method name="make_visible" qualifiers="virtual" > + <method name="make_visible" qualifiers="virtual"> <argument index="0" name="visible" type="bool"> </argument> <description> </description> </method> - <method name="set_state" qualifiers="virtual" > + <method name="set_state" qualifiers="virtual"> <argument index="0" name="state" type="Dictionary"> </argument> <description> </description> </method> - <method name="get_undo_redo" > - <return type="UndoRedo"> + <method name="get_undo_redo"> + <return type="Object"> </return> <description> </description> </method> - <method name="add_custom_control" > + <method name="add_custom_control"> <argument index="0" name="container" type="int"> </argument> <argument index="1" name="control" type="Object"> @@ -8796,7 +9641,7 @@ <description> </description> </method> - <method name="add_custom_type" > + <method name="add_custom_type"> <argument index="0" name="type" type="String"> </argument> <argument index="1" name="base" type="String"> @@ -8808,7 +9653,7 @@ <description> </description> </method> - <method name="remove_custom_type" > + <method name="remove_custom_type"> <argument index="0" name="type" type="String"> </argument> <description> @@ -8836,7 +9681,7 @@ <description> </description> <methods> - <method name="post_import" qualifiers="virtual" > + <method name="post_import" qualifiers="virtual"> <argument index="0" name="scene" type="Object"> </argument> <description> @@ -8852,17 +9697,17 @@ <description> </description> <methods> - <method name="_run" qualifiers="virtual" > + <method name="_run" qualifiers="virtual"> <description> </description> </method> - <method name="add_root_node" > + <method name="add_root_node"> <argument index="0" name="node" type="Object"> </argument> <description> </description> </method> - <method name="get_scene" > + <method name="get_scene"> <return type="Object"> </return> <description> @@ -8872,47 +9717,25 @@ <constants> </constants> </class> -<class name="EmptyControl" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_minsize" > - <argument index="0" name="minsize" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_minsize" qualifiers="const" > - <return type="Vector2"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> <class name="Environment" inherits="Resource" category="Core"> <brief_description> </brief_description> <description> </description> <methods> - <method name="set_background" > + <method name="set_background"> <argument index="0" name="bgmode" type="int"> </argument> <description> </description> </method> - <method name="get_background" qualifiers="const" > + <method name="get_background" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_background_param" > + <method name="set_background_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="var"> @@ -8920,13 +9743,13 @@ <description> </description> </method> - <method name="get_background_param" qualifiers="const" > + <method name="get_background_param" qualifiers="const"> <argument index="0" name="param" type="int"> </argument> <description> </description> </method> - <method name="set_enable_fx" > + <method name="set_enable_fx"> <argument index="0" name="effect" type="int"> </argument> <argument index="1" name="enabled" type="bool"> @@ -8934,7 +9757,7 @@ <description> </description> </method> - <method name="is_fx_enabled" qualifiers="const" > + <method name="is_fx_enabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="effect" type="int"> @@ -8942,7 +9765,7 @@ <description> </description> </method> - <method name="fx_set_param" > + <method name="fx_set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="var"> @@ -8950,7 +9773,7 @@ <description> </description> </method> - <method name="fx_get_param" qualifiers="const" > + <method name="fx_get_param" qualifiers="const"> <argument index="0" name="param" type="int"> </argument> <description> @@ -8968,23 +9791,23 @@ </constant> <constant name="BG_CUBEMAP" value="4"> </constant> - <constant name="BG_TEXTURE_RGBE" value="5"> + <constant name="BG_CANVAS" value="5"> </constant> - <constant name="BG_CUBEMAP_RGBE" value="6"> + <constant name="BG_MAX" value="6"> </constant> - <constant name="BG_MAX" value="7"> + <constant name="BG_PARAM_CANVAS_MAX_LAYER" value="0"> </constant> - <constant name="BG_PARAM_COLOR" value="0"> + <constant name="BG_PARAM_COLOR" value="1"> </constant> - <constant name="BG_PARAM_TEXTURE" value="1"> + <constant name="BG_PARAM_TEXTURE" value="2"> </constant> - <constant name="BG_PARAM_CUBEMAP" value="2"> + <constant name="BG_PARAM_CUBEMAP" value="3"> </constant> - <constant name="BG_PARAM_ENERGY" value="3"> + <constant name="BG_PARAM_ENERGY" value="4"> </constant> - <constant name="BG_PARAM_GLOW" value="5"> + <constant name="BG_PARAM_GLOW" value="6"> </constant> - <constant name="BG_PARAM_MAX" value="6"> + <constant name="BG_PARAM_MAX" value="7"> </constant> <constant name="FX_AMBIENT_LIGHT" value="0"> </constant> @@ -9082,141 +9905,141 @@ <description> </description> <methods> - <method name="set_stream" > + <method name="set_stream"> <argument index="0" name="stream" type="EventStream"> </argument> <description> </description> </method> - <method name="get_stream" qualifiers="const" > + <method name="get_stream" qualifiers="const"> <return type="EventStream"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_paused" > + <method name="set_paused"> <argument index="0" name="paused" type="bool"> </argument> <description> </description> </method> - <method name="is_paused" qualifiers="const" > + <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_volume" > + <method name="set_volume"> <argument index="0" name="volume" type="float"> </argument> <description> </description> </method> - <method name="get_volume" qualifiers="const" > + <method name="get_volume" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_pitch_scale" > + <method name="set_pitch_scale"> <argument index="0" name="pitch_scale" type="float"> </argument> <description> </description> </method> - <method name="get_pitch_scale" qualifiers="const" > + <method name="get_pitch_scale" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_tempo_scale" > + <method name="set_tempo_scale"> <argument index="0" name="tempo_scale" type="float"> </argument> <description> </description> </method> - <method name="get_tempo_scale" qualifiers="const" > + <method name="get_tempo_scale" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_volume_db" > + <method name="set_volume_db"> <argument index="0" name="db" type="float"> </argument> <description> </description> </method> - <method name="get_volume_db" qualifiers="const" > + <method name="get_volume_db" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_stream_name" qualifiers="const" > + <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_loop_count" qualifiers="const" > + <method name="get_loop_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="seek_pos" > + <method name="seek_pos"> <argument index="0" name="time" type="float"> </argument> <description> </description> </method> - <method name="set_autoplay" > + <method name="set_autoplay"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_autoplay" qualifiers="const" > + <method name="has_autoplay" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_channel_volume" > + <method name="set_channel_volume"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="channel_volume" type="float"> @@ -9224,7 +10047,7 @@ <description> </description> </method> - <method name="get_channel_volumeidx" qualifiers="const" > + <method name="get_channel_volumeidx" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="int"> @@ -9232,13 +10055,13 @@ <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_channel_last_note_time" qualifiers="const" > + <method name="get_channel_last_note_time" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="int"> @@ -9276,7 +10099,7 @@ <description> </description> <methods> - <method name="open_encrypted" > + <method name="open_encrypted"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -9288,7 +10111,7 @@ <description> </description> </method> - <method name="open_encrypted_with_pass" > + <method name="open_encrypted_with_pass"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -9300,7 +10123,7 @@ <description> </description> </method> - <method name="open" > + <method name="open"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -9310,89 +10133,89 @@ <description> </description> </method> - <method name="close" > + <method name="close"> <description> </description> </method> - <method name="is_open" qualifiers="const" > + <method name="is_open" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="seek" > + <method name="seek"> <argument index="0" name="pos" type="int"> </argument> <description> </description> </method> - <method name="seek_end" > + <method name="seek_end"> <argument index="0" name="pos" type="int" default="0"> </argument> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_len" qualifiers="const" > + <method name="get_len" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="eof_reached" qualifiers="const" > + <method name="eof_reached" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_8" qualifiers="const" > + <method name="get_8" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_16" qualifiers="const" > + <method name="get_16" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_32" qualifiers="const" > + <method name="get_32" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_64" qualifiers="const" > + <method name="get_64" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_float" qualifiers="const" > + <method name="get_float" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_double" qualifiers="const" > + <method name="get_double" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_real" qualifiers="const" > + <method name="get_real" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_buffer" qualifiers="const" > + <method name="get_buffer" qualifiers="const"> <return type="RawArray"> </return> <argument index="0" name="len" type="int"> @@ -9400,125 +10223,125 @@ <description> </description> </method> - <method name="get_line" qualifiers="const" > + <method name="get_line" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_as_text" qualifiers="const" > + <method name="get_as_text" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_endian_swap" > + <method name="get_endian_swap"> <return type="bool"> </return> <description> </description> </method> - <method name="set_endian_swap" > + <method name="set_endian_swap"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_error" qualifiers="const" > - <return type="int"> + <method name="get_error" qualifiers="const"> + <return type="Error"> </return> <description> </description> </method> - <method name="get_var" qualifiers="const" > + <method name="get_var" qualifiers="const"> <description> </description> </method> - <method name="get_csv_line" qualifiers="const" > + <method name="get_csv_line" qualifiers="const"> <return type="StringArray"> </return> <description> </description> </method> - <method name="store_8" > + <method name="store_8"> <argument index="0" name="value" type="int"> </argument> <description> </description> </method> - <method name="store_16" > + <method name="store_16"> <argument index="0" name="value" type="int"> </argument> <description> </description> </method> - <method name="store_32" > + <method name="store_32"> <argument index="0" name="value" type="int"> </argument> <description> </description> </method> - <method name="store_64" > + <method name="store_64"> <argument index="0" name="value" type="int"> </argument> <description> </description> </method> - <method name="store_float" > + <method name="store_float"> <argument index="0" name="value" type="float"> </argument> <description> </description> </method> - <method name="store_double" > + <method name="store_double"> <argument index="0" name="value" type="float"> </argument> <description> </description> </method> - <method name="store_real" > + <method name="store_real"> <argument index="0" name="value" type="float"> </argument> <description> </description> </method> - <method name="store_buffer" > + <method name="store_buffer"> <argument index="0" name="buffer" type="RawArray"> </argument> <description> </description> </method> - <method name="store_line" > + <method name="store_line"> <argument index="0" name="line" type="String"> </argument> <description> </description> </method> - <method name="store_string" > + <method name="store_string"> <argument index="0" name="string" type="String"> </argument> <description> </description> </method> - <method name="store_var" > + <method name="store_var"> <argument index="0" name="value" type="var"> </argument> <description> </description> </method> - <method name="store_pascal_string" > + <method name="store_pascal_string"> <argument index="0" name="string" type="String"> </argument> <description> </description> </method> - <method name="get_pascal_string" > + <method name="get_pascal_string"> <return type="String"> </return> <description> </description> </method> - <method name="file_exists" qualifiers="const" > + <method name="file_exists" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="path" type="String"> @@ -9544,90 +10367,102 @@ FileDialog is a preset dialog used to choose files and directories in the filesystem. It supports filter masks. </description> <methods> - <method name="clear_filters" > + <method name="clear_filters"> <description> Clear all the added filters in the dialog. </description> </method> - <method name="add_filter" > + <method name="add_filter"> <argument index="0" name="filter" type="String"> </argument> <description> - Add a custom filter. Filter format is: "mask ; description", example (C++): dialog-"lt;add_filter("*.png ; PNG Images"); + Add a custom filter. Filter format is: "mask ; description", example (C++): dialog->add_filter("*.png ; PNG Images"); </description> </method> - <method name="get_current_dir" qualifiers="const" > + <method name="get_current_dir" qualifiers="const"> <return type="String"> </return> <description> Get the current working directory of the file dialog. </description> </method> - <method name="get_current_file" qualifiers="const" > + <method name="get_current_file" qualifiers="const"> <return type="String"> </return> <description> Get the current selected file of the file dialog (empty if none). </description> </method> - <method name="get_current_path" qualifiers="const" > + <method name="get_current_path" qualifiers="const"> <return type="String"> </return> <description> Get the current selected path (directory and file) of the file dialog (empty if none). </description> </method> - <method name="set_current_dir" > + <method name="set_current_dir"> <argument index="0" name="dir" type="String"> </argument> <description> </description> </method> - <method name="set_current_file" > + <method name="set_current_file"> <argument index="0" name="file" type="String"> </argument> <description> </description> </method> - <method name="set_current_path" > + <method name="set_current_path"> <argument index="0" name="path" type="String"> </argument> <description> </description> </method> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> Set the file dialog mode from the MODE_* enum. </description> </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> Get the file dialog mode from the MODE_* enum. </description> </method> - <method name="get_vbox" > + <method name="get_vbox"> <return type="VBoxContainer"> </return> <description> </description> </method> - <method name="set_access" > + <method name="set_access"> <argument index="0" name="access" type="int"> </argument> <description> </description> </method> - <method name="get_access" qualifiers="const" > + <method name="get_access" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="invalidate" > + <method name="set_show_hidden_files"> + <argument index="0" name="arg0" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_showing_hidden_files" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="invalidate"> <description> </description> </method> @@ -9655,14 +10490,16 @@ </signals> <constants> <constant name="MODE_OPEN_FILE" value="0"> - Editor will not allow to select nonexistent files. + The dialog allows the selection of one, and only one file. </constant> <constant name="MODE_OPEN_FILES" value="1"> + The dialog allows the selection of multiple files. </constant> <constant name="MODE_OPEN_DIR" value="2"> + The dialog functions as a folder selector, disallowing the selection of any file. </constant> <constant name="MODE_SAVE_FILE" value="3"> - Editor will warn when a file exists. + The dialog will warn when a file exists. </constant> <constant name="ACCESS_RESOURCES" value="0"> </constant> @@ -9686,23 +10523,23 @@ FixedMaterial is a simple type of material [Resource], which contains a fixed amount of paramters. It is the only type of material supported in fixed-pipeline devices and APIs. It is also an often a better alternative to [ShaderMaterial] for most simple use cases. </description> <methods> - <method name="set_parameter" > + <method name="set_parameter"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="var"> </argument> <description> - Set a parameter, parameters are defined in the PARAM_* enum. The type of each parameter may change, so it"apos;s best to check the enum. + Set a parameter, parameters are defined in the PARAM_* enum. The type of each parameter may change, so it's best to check the enum. </description> </method> - <method name="get_parameter" qualifiers="const" > + <method name="get_parameter" qualifiers="const"> <argument index="0" name="param" type="int"> </argument> <description> - Return a parameter, parameters are defined in the PARAM_* enum. The type of each parameter may change, so it"apos;s best to check the enum. + Return a parameter, parameters are defined in the PARAM_* enum. The type of each parameter may change, so it's best to check the enum. </description> </method> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -9711,7 +10548,7 @@ Set a texture. Textures change parameters per texel and are mapped to the model depending on the texcoord mode (see [method set_texcoord_mode]). </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="param" type="int"> @@ -9720,7 +10557,7 @@ Return a texture. Textures change parameters per texel and are mapped to the model depending on the texcoord mode (see [method set_texcoord_mode]). </description> </method> - <method name="set_texcoord_mode" > + <method name="set_texcoord_mode"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="mode" type="int"> @@ -9729,7 +10566,7 @@ Set the texture coordinate mode. Each texture param (from the PARAM_* enum) has one. It defines how the textures are mapped to the object. </description> </method> - <method name="get_texcoord_mode" qualifiers="const" > + <method name="get_texcoord_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="param" type="int"> @@ -9738,7 +10575,7 @@ Return the texture coordinate mode. Each texture param (from the PARAM_* enum) has one. It defines how the textures are mapped to the object. </description> </method> - <method name="set_fixed_flag" > + <method name="set_fixed_flag"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="value" type="bool"> @@ -9746,7 +10583,7 @@ <description> </description> </method> - <method name="get_fixed_flag" qualifiers="const" > + <method name="get_fixed_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -9754,39 +10591,39 @@ <description> </description> </method> - <method name="set_uv_transform" > + <method name="set_uv_transform"> <argument index="0" name="transform" type="Transform"> </argument> <description> - Sets a special transform used to post-transform UV coordinates of the uv_xfrom tecoord mode: TEXCOORD_UV_TRANSFORM + Sets a special transform used to post-transform UV coordinates of the uv_xfrom tecoord mode: TEXCOORD_UV_TRANSFORM. </description> </method> - <method name="get_uv_transform" qualifiers="const" > + <method name="get_uv_transform" qualifiers="const"> <return type="Transform"> </return> <description> - Returns the special transform used to post-transform UV coordinates of the uv_xfrom tecoord mode: TEXCOORD_UV_TRANSFORM + Returns the special transform used to post-transform UV coordinates of the uv_xfrom tecoord mode: TEXCOORD_UV_TRANSFORM. </description> </method> - <method name="set_light_shader" > + <method name="set_light_shader"> <argument index="0" name="shader" type="int"> </argument> <description> </description> </method> - <method name="get_light_shader" qualifiers="const" > + <method name="get_light_shader" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_point_size" > + <method name="set_point_size"> <argument index="0" name="size" type="float"> </argument> <description> </description> </method> - <method name="get_point_size" qualifiers="const" > + <method name="get_point_size" qualifiers="const"> <return type="float"> </return> <description> @@ -9804,10 +10641,10 @@ Specular Lighting (light reflected from the surface). </constant> <constant name="PARAM_EMISSION" value="3"> - Emission Lighting (light emitted from the surface) + Emission Lighting (light emitted from the surface). </constant> <constant name="PARAM_SPECULAR_EXP" value="4"> - Specular Exponent (size of the specular dot) + Specular Exponent (size of the specular dot). </constant> <constant name="PARAM_GLOW" value="5"> Glow (Visible emitted scattered light). @@ -9818,7 +10655,7 @@ <constant name="PARAM_SHADE_PARAM" value="7"> </constant> <constant name="PARAM_MAX" value="8"> - Maximum amount of parameters + Maximum amount of parameters. </constant> <constant name="TEXCOORD_SPHERE" value="3"> </constant> @@ -9849,42 +10686,50 @@ Font contains an unicode compatible character set, as well as the ability to draw it with variable width, ascent, descent and kerning. For creating fonts from TTF files (or other font formats), see the editor support for fonts. TODO check wikipedia for graph of ascent/baseline/descent/height/etc. </description> <methods> - <method name="set_height" > + <method name="create_from_fnt"> + <return type="int"> + </return> + <argument index="0" name="path" type="String"> + </argument> + <description> + </description> + </method> + <method name="set_height"> <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" > + <method name="get_height" qualifiers="const"> <return type="float"> </return> <description> Return the total font height (ascent plus descent) in pixels. </description> </method> - <method name="set_ascent" > + <method name="set_ascent"> <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" > + <method name="get_ascent" qualifiers="const"> <return type="float"> </return> <description> Return the font ascent (number of pixels above the baseline). </description> </method> - <method name="get_descent" qualifiers="const" > + <method name="get_descent" qualifiers="const"> <return type="float"> </return> <description> Return the font descent (number of pixels below the baseline). </description> </method> - <method name="add_kerning_pair" > + <method name="add_kerning_pair"> <argument index="0" name="char_a" type="int"> </argument> <argument index="1" name="char_b" type="int"> @@ -9895,7 +10740,7 @@ Add a kerning pair to the [Font] as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character. </description> </method> - <method name="get_kerning_pair" qualifiers="const" > + <method name="get_kerning_pair" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="int"> @@ -9906,14 +10751,14 @@ Return a kerning pair as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character. </description> </method> - <method name="add_texture" > + <method name="add_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> Add a texture to the [Font]. </description> </method> - <method name="add_char" > + <method name="add_char"> <argument index="0" name="character" type="int"> </argument> <argument index="1" name="texture" type="int"> @@ -9928,7 +10773,21 @@ 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. </description> </method> - <method name="get_char_size" qualifiers="const" > + <method name="get_texture_count" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_texture" qualifiers="const"> + <return type="Texture"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_char_size" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="char" type="int"> @@ -9939,7 +10798,7 @@ Return the size of a character, optionally taking kerning into account if the next character is provided. </description> </method> - <method name="get_string_size" qualifiers="const" > + <method name="get_string_size" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="string" type="String"> @@ -9948,12 +10807,24 @@ Return the size of a string, taking kerning and advance into account. </description> </method> - <method name="clear" > + <method name="set_distance_field_hint"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_distance_field_hint" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="clear"> <description> Clear all the font data. </description> </method> - <method name="draw" qualifiers="const" > + <method name="draw" qualifiers="const"> <argument index="0" name="canvas_item" type="RID"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -9968,7 +10839,7 @@ Draw "string" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally clipping the width. "pos" specifies te baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. </description> </method> - <method name="draw_char" qualifiers="const" > + <method name="draw_char" qualifiers="const"> <return type="float"> </return> <argument index="0" name="canvas_item" type="RID"> @@ -9995,7 +10866,7 @@ <description> </description> <methods> - <method name="call_func" > + <method name="call_func"> <argument index="0" name="method" type="String"> </argument> <argument index="1" name="arg0" type="var" default="NULL"> @@ -10021,13 +10892,13 @@ <description> </description> </method> - <method name="set_instance" > + <method name="set_instance"> <argument index="0" name="instance" type="Object"> </argument> <description> </description> </method> - <method name="set_function" > + <method name="set_function"> <argument index="0" name="name" type="String"> </argument> <description> @@ -10043,13 +10914,13 @@ <description> </description> <methods> - <method name="resume" > + <method name="resume"> <argument index="0" name="arg" type="var" default="NULL"> </argument> <description> </description> </method> - <method name="is_valid" qualifiers="const" > + <method name="is_valid" qualifiers="const"> <return type="bool"> </return> <description> @@ -10065,7 +10936,7 @@ <description> </description> <methods> - <method name="new" > + <method name="new"> <description> </description> </method> @@ -10079,7 +10950,13 @@ <description> </description> <methods> - <method name="new" > + <method name="new"> + <description> + </description> + </method> + <method name="get_as_byte_code" qualifiers="const"> + <return type="RawArray"> + </return> <description> </description> </method> @@ -10093,7 +10970,7 @@ <description> </description> <methods> - <method name="set_param_x" > + <method name="set_param_x"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -10101,7 +10978,7 @@ <description> </description> </method> - <method name="get_param_x" qualifiers="const" > + <method name="get_param_x" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -10109,7 +10986,7 @@ <description> </description> </method> - <method name="set_param_y" > + <method name="set_param_y"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -10117,7 +10994,7 @@ <description> </description> </method> - <method name="get_param_y" qualifiers="const" > + <method name="get_param_y" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -10125,7 +11002,7 @@ <description> </description> </method> - <method name="set_param_z" > + <method name="set_param_z"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -10133,7 +11010,7 @@ <description> </description> </method> - <method name="get_param_z" qualifiers="const" > + <method name="get_param_z" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -10141,7 +11018,7 @@ <description> </description> </method> - <method name="set_flag_x" > + <method name="set_flag_x"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="value" type="bool"> @@ -10149,7 +11026,7 @@ <description> </description> </method> - <method name="get_flag_x" qualifiers="const" > + <method name="get_flag_x" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -10157,7 +11034,7 @@ <description> </description> </method> - <method name="set_flag_y" > + <method name="set_flag_y"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="value" type="bool"> @@ -10165,7 +11042,7 @@ <description> </description> </method> - <method name="get_flag_y" qualifiers="const" > + <method name="get_flag_y" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -10173,7 +11050,7 @@ <description> </description> </method> - <method name="set_flag_z" > + <method name="set_flag_z"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="value" type="bool"> @@ -10181,7 +11058,7 @@ <description> </description> </method> - <method name="get_flag_z" qualifiers="const" > + <method name="get_flag_z" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -10237,7 +11114,7 @@ <description> </description> <methods> - <method name="build_box_planes" > + <method name="build_box_planes"> <return type="Array"> </return> <argument index="0" name="extents" type="Vector3"> @@ -10245,7 +11122,7 @@ <description> </description> </method> - <method name="build_cylinder_planes" > + <method name="build_cylinder_planes"> <return type="Array"> </return> <argument index="0" name="radius" type="float"> @@ -10259,7 +11136,7 @@ <description> </description> </method> - <method name="build_capsule_planes" > + <method name="build_capsule_planes"> <return type="Array"> </return> <argument index="0" name="radius" type="float"> @@ -10275,7 +11152,7 @@ <description> </description> </method> - <method name="segment_intersects_circle" > + <method name="segment_intersects_circle"> <return type="float"> </return> <argument index="0" name="segment_from" type="Vector2"> @@ -10289,7 +11166,7 @@ <description> </description> </method> - <method name="segment_intersects_segment_2d" > + <method name="segment_intersects_segment_2d"> <argument index="0" name="from_a" type="Vector2"> </argument> <argument index="1" name="to_a" type="Vector2"> @@ -10301,7 +11178,7 @@ <description> </description> </method> - <method name="get_closest_points_between_segments_2d" > + <method name="get_closest_points_between_segments_2d"> <return type="Vector2Array"> </return> <argument index="0" name="p1" type="Vector2"> @@ -10315,7 +11192,7 @@ <description> </description> </method> - <method name="get_closest_points_between_segments" > + <method name="get_closest_points_between_segments"> <return type="Vector3Array"> </return> <argument index="0" name="p1" type="Vector3"> @@ -10329,7 +11206,7 @@ <description> </description> </method> - <method name="get_closest_point_to_segment" > + <method name="get_closest_point_to_segment"> <return type="Vector3"> </return> <argument index="0" name="point" type="Vector3"> @@ -10341,7 +11218,7 @@ <description> </description> </method> - <method name="get_uv84_normal_bit" > + <method name="get_uv84_normal_bit"> <return type="int"> </return> <argument index="0" name="normal" type="Vector3"> @@ -10349,7 +11226,7 @@ <description> </description> </method> - <method name="ray_intersects_triangle" > + <method name="ray_intersects_triangle"> <argument index="0" name="from" type="Vector3"> </argument> <argument index="1" name="dir" type="Vector3"> @@ -10363,7 +11240,7 @@ <description> </description> </method> - <method name="segment_intersects_triangle" > + <method name="segment_intersects_triangle"> <argument index="0" name="from" type="Vector3"> </argument> <argument index="1" name="to" type="Vector3"> @@ -10377,7 +11254,7 @@ <description> </description> </method> - <method name="segment_intersects_sphere" > + <method name="segment_intersects_sphere"> <return type="Vector3Array"> </return> <argument index="0" name="from" type="Vector3"> @@ -10391,7 +11268,7 @@ <description> </description> </method> - <method name="segment_intersects_cylinder" > + <method name="segment_intersects_cylinder"> <return type="Vector3Array"> </return> <argument index="0" name="from" type="Vector3"> @@ -10405,7 +11282,7 @@ <description> </description> </method> - <method name="segment_intersects_convex" > + <method name="segment_intersects_convex"> <return type="Vector3Array"> </return> <argument index="0" name="from" type="Vector3"> @@ -10417,7 +11294,21 @@ <description> </description> </method> - <method name="triangulate_polygon" > + <method name="point_is_inside_triangle" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="point" type="Vector2"> + </argument> + <argument index="1" name="a" type="Vector2"> + </argument> + <argument index="2" name="b" type="Vector2"> + </argument> + <argument index="3" name="c" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="triangulate_polygon"> <return type="IntArray"> </return> <argument index="0" name="polygon" type="Vector2Array"> @@ -10425,7 +11316,7 @@ <description> </description> </method> - <method name="make_atlas" > + <method name="make_atlas"> <return type="Dictionary"> </return> <argument index="0" name="sizes" type="Vector2Array"> @@ -10445,21 +11336,21 @@ Base node for geometry based visual instances. Shares some common functionality like visibility and custom materials. </description> <methods> - <method name="set_material_override" > + <method name="set_material_override"> <argument index="0" name="material" type="Object"> </argument> <description> Set the material override for the whole geometry. </description> </method> - <method name="get_material_override" qualifiers="const" > + <method name="get_material_override" qualifiers="const"> <return type="Object"> </return> <description> Return the material override for the whole geometry. </description> </method> - <method name="set_flag" > + <method name="set_flag"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="value" type="bool"> @@ -10467,7 +11358,7 @@ <description> </description> </method> - <method name="get_flag" qualifiers="const" > + <method name="get_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -10475,42 +11366,54 @@ <description> </description> </method> - <method name="set_draw_range_begin" > + <method name="set_draw_range_begin"> <argument index="0" name="mode" type="float"> </argument> <description> </description> </method> - <method name="get_draw_range_begin" qualifiers="const" > + <method name="get_draw_range_begin" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_draw_range_end" > + <method name="set_draw_range_end"> <argument index="0" name="mode" type="float"> </argument> <description> </description> </method> - <method name="get_draw_range_end" qualifiers="const" > + <method name="get_draw_range_end" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_baked_light_texture_id" > + <method name="set_baked_light_texture_id"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="get_baked_light_texture_id" qualifiers="const" > + <method name="get_baked_light_texture_id" qualifiers="const"> <return type="int"> </return> <description> </description> </method> + <method name="set_extra_cull_margin"> + <argument index="0" name="margin" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_extra_cull_margin" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> </methods> <constants> <constant name="FLAG_VISIBLE" value="0"> @@ -10539,7 +11442,7 @@ Contains global variables accessible from everywhere. Use the normal [Object] API, such as "Globals.get(variable)", "Globals.set(variable,value)" or "Globals.has(variable)" to access them. Variables stored in engine.cfg are also loaded into globals, making this object very useful for reading custom game configuration options. </description> <methods> - <method name="has" qualifiers="const" > + <method name="has" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -10548,7 +11451,7 @@ Return true if a configuration value is present. </description> </method> - <method name="set_order" > + <method name="set_order"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="pos" type="int"> @@ -10557,7 +11460,7 @@ Set the order of a configuration value (influences when saved to the config file). </description> </method> - <method name="get_order" qualifiers="const" > + <method name="get_order" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -10566,7 +11469,7 @@ Return the order of a configuration value (influences when saved to the config file). </description> </method> - <method name="set_persisting" > + <method name="set_persisting"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="enable" type="bool"> @@ -10575,7 +11478,7 @@ If set to true, this value can be saved to the configuration file. This is useful for editors. </description> </method> - <method name="is_persisting" qualifiers="const" > + <method name="is_persisting" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -10584,14 +11487,14 @@ If returns true, this value can be saved to the configuration file. This is useful for editors. </description> </method> - <method name="clear" > + <method name="clear"> <argument index="0" name="name" type="String"> </argument> <description> Clear the whole configuration (not recommended, may break things). </description> </method> - <method name="localize_path" qualifiers="const" > + <method name="localize_path" qualifiers="const"> <return type="String"> </return> <argument index="0" name="path" type="String"> @@ -10600,7 +11503,7 @@ Convert a path to a localized path (res:// path). </description> </method> - <method name="globalize_path" qualifiers="const" > + <method name="globalize_path" qualifiers="const"> <return type="String"> </return> <argument index="0" name="path" type="String"> @@ -10609,13 +11512,13 @@ Convert a localized path (res://) to a full native OS path. </description> </method> - <method name="save" > + <method name="save"> <return type="int"> </return> <description> </description> </method> - <method name="has_singleton" qualifiers="const" > + <method name="has_singleton" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="String"> @@ -10623,7 +11526,7 @@ <description> </description> </method> - <method name="get_singleton" qualifiers="const" > + <method name="get_singleton" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="arg0" type="String"> @@ -10631,7 +11534,7 @@ <description> </description> </method> - <method name="load_resource_pack" > + <method name="load_resource_pack"> <return type="bool"> </return> <argument index="0" name="arg0" type="String"> @@ -10639,23 +11542,389 @@ <description> </description> </method> + <method name="save_custom"> + <return type="int"> + </return> + <argument index="0" name="arg0" type="String"> + </argument> + <description> + </description> + </method> </methods> <constants> </constants> </class> +<class name="GraphEdit" inherits="Control" category="Core"> + <brief_description> + GraphEdit is an area capable of showing various GraphNodes. It manages connection events between them. + </brief_description> + <description> + GraphEdit manages the showing of GraphNodes it contains, as well as connections an disconnections between them. Signals are sent for each of these two events. Disconnection between GraphNodes slots is disabled by default. + It is greatly advised to enable low processor usage mode [OS.set_low_processor_usage_mode()] when using GraphEdits. + </description> + <methods> + <method name="connect_node"> + <return type="Error"> + </return> + <argument index="0" name="from" type="String"> + </argument> + <argument index="1" name="from_port" type="int"> + </argument> + <argument index="2" name="to" type="String"> + </argument> + <argument index="3" name="to_port" type="int"> + </argument> + <description> + Create a connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode. If the connection already exists, no connection is created. + </description> + </method> + <method name="is_node_connected"> + <return type="bool"> + </return> + <argument index="0" name="from" type="String"> + </argument> + <argument index="1" name="from_port" type="int"> + </argument> + <argument index="2" name="to" type="String"> + </argument> + <argument index="3" name="to_port" type="int"> + </argument> + <description> + Return true if the 'from_port' slot of 'from' GraphNode is connected to the 'to_port' slot of 'to' GraphNode. + </description> + </method> + <method name="disconnect_node"> + <argument index="0" name="from" type="String"> + </argument> + <argument index="1" name="from_port" type="int"> + </argument> + <argument index="2" name="to" type="String"> + </argument> + <argument index="3" name="to_port" type="int"> + </argument> + <description> + Remove the connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode, if connection exists. + </description> + </method> + <method name="get_connection_list" qualifiers="const"> + <return type="Array"> + </return> + <description> + Return an Array containing the list of connections. A connection consists in a structure of the form {from_slot: 0, from: "GraphNode name 0", to_slot: 1, to: "GraphNode name 1" } + </description> + </method> + <method name="set_right_disconnects"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + Enable the disconnection of existing connections in the visual GraphEdit by left-clicking a connection and releasing into the void. + </description> + </method> + <method name="is_right_disconnects_enabled" qualifiers="const"> + <return type="bool"> + </return> + <description> + Return true is the disconnection of connections is enable in the visual GraphEdit. False otherwise. + </description> + </method> + </methods> + <signals> + <signal name="disconnection_request"> + <argument index="0" name="from" type="String"> + </argument> + <argument index="1" name="from_slot" type="int"> + </argument> + <argument index="2" name="to" type="String"> + </argument> + <argument index="3" name="to_slot" type="int"> + </argument> + <description> + Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be removed. + </description> + </signal> + <signal name="connection_request"> + <argument index="0" name="from" type="String"> + </argument> + <argument index="1" name="from_slot" type="int"> + </argument> + <argument index="2" name="to" type="String"> + </argument> + <argument index="3" name="to_slot" type="int"> + </argument> + <description> + Signal sent to the GraphEdit when the connection between 'from_slot' slot of 'from' GraphNode and 'to_slot' slot of 'to' GraphNode is attempted to be created. + </description> + </signal> + </signals> + <constants> + </constants> +</class> +<class name="GraphNode" inherits="Container" category="Core"> + <brief_description> + A GraphNode is a container with several input and output slots allowing connections between GraphNodes. Slots can have different, incompatible types. + </brief_description> + <description> + A GraphNode is a container defined by a title. It can have 1 or more input and output slots, which can be enabled (shown) or disabled (not shown) and have different (incompatible) types. Colors can also be assigned to slots. A tuple of input and output slots is defined for each GUI element included in the GraphNode. Input and output connections are left and right slots, but only enabled slots are counted as connections. + </description> + <methods> + <method name="set_title"> + <argument index="0" name="title" type="String"> + </argument> + <description> + Set the title of the GraphNode. + </description> + </method> + <method name="get_title" qualifiers="const"> + <return type="String"> + </return> + <description> + Return the title of the GraphNode. + </description> + </method> + <method name="set_slot"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="enable_left" type="bool"> + </argument> + <argument index="2" name="type_left" type="int"> + </argument> + <argument index="3" name="color_left" type="Color"> + </argument> + <argument index="4" name="enable_right" type="bool"> + </argument> + <argument index="5" name="type_right" type="int"> + </argument> + <argument index="6" name="color_right" type="Color"> + </argument> + <description> + Set the tuple of input/output slots defined by 'idx' ID. 'left' slots are input, 'right' are output. 'type' is an integer defining the type of the slot. Refer to description for the compatibility between slot types. + </description> + </method> + <method name="clear_slot"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Disable input and ouput slot whose index is 'idx'. + </description> + </method> + <method name="clear_all_slots"> + <description> + Disable all input and output slots of the GraphNode. + </description> + </method> + <method name="is_slot_enabled_left" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return true if left (input) slot 'idx' is enabled. False otherwise. + </description> + </method> + <method name="get_slot_type_left" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the (integer) type of left (input) 'idx' slot. + </description> + </method> + <method name="get_slot_color_left" qualifiers="const"> + <return type="Color"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the color set to 'idx' left (input) slot. + </description> + </method> + <method name="is_slot_enabled_right" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return true if right (output) slot 'idx' is enabled. False otherwise. + </description> + </method> + <method name="get_slot_type_right" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the (integer) type of right (output) 'idx' slot. + </description> + </method> + <method name="get_slot_color_right" qualifiers="const"> + <return type="Color"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the color set to 'idx' right (output) slot. + </description> + </method> + <method name="set_offset"> + <argument index="0" name="offset" type="Vector2"> + </argument> + <description> + Set the offset of the GraphNode. + </description> + </method> + <method name="get_offset" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + Return the offset of the GraphNode. + </description> + </method> + <method name="get_connection_output_count"> + <return type="int"> + </return> + <description> + Return the number of enabled output slots (connections) of the GraphNode. + </description> + </method> + <method name="get_connection_input_count"> + <return type="int"> + </return> + <description> + Return the number of enabled input slots (connections) to the GraphNode. + </description> + </method> + <method name="get_connection_output_pos"> + <return type="Vector2"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the position of the output connection 'idx'. + </description> + </method> + <method name="get_connection_output_type"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the type of the output connection 'idx'. + </description> + </method> + <method name="get_connection_output_color"> + <return type="Color"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the color of the output connection 'idx'. + </description> + </method> + <method name="get_connection_input_pos"> + <return type="Vector2"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the position of the input connection 'idx'. + </description> + </method> + <method name="get_connection_input_type"> + <return type="int"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the type of the input connection 'idx'. + </description> + </method> + <method name="get_connection_input_color"> + <return type="Color"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Return the color of the input connection 'idx'. + </description> + </method> + <method name="set_show_close_button"> + <argument index="0" name="show" type="bool"> + </argument> + <description> + Show the close button on the GraphNode if 'show' is true (disabled by default). If enabled, a connection on the signal close_request is needed for the close button to work. + </description> + </method> + <method name="is_close_button_visible" qualifiers="const"> + <return type="bool"> + </return> + <description> + Returns true if the close button is shown. False otherwise. + </description> + </method> + </methods> + <signals> + <signal name="raise_request"> + <description> + Signal sent when the GraphNode is requested to be displayed over other ones. Happens on focusing (clicking into) the GraphNode. + </description> + </signal> + <signal name="close_request"> + <description> + Signal sent on closing the GraphNode. + </description> + </signal> + <signal name="dragged"> + <argument index="0" name="from" type="Vector2"> + </argument> + <argument index="1" name="to" type="Vector2"> + </argument> + <description> + Signal sent when the GraphNode is dragged. + </description> + </signal> + <signal name="offset_changed"> + <description> + Signal sent when the GraphNode is moved. + </description> + </signal> + </signals> + <constants> + </constants> + <theme_items> + <theme_item name="port_offset" type="int"> + </theme_item> + <theme_item name="close_offset" type="int"> + </theme_item> + <theme_item name="separation" type="int"> + </theme_item> + <theme_item name="title_offset" type="int"> + </theme_item> + <theme_item name="title_color" type="Color"> + </theme_item> + <theme_item name="port" type="Texture"> + </theme_item> + <theme_item name="close" type="Texture"> + </theme_item> + <theme_item name="title_font" type="Font"> + </theme_item> + <theme_item name="frame" type="StyleBox"> + </theme_item> + </theme_items> +</class> <class name="GridContainer" inherits="Container" category="Core"> <brief_description> </brief_description> <description> </description> <methods> - <method name="set_columns" > + <method name="set_columns"> <argument index="0" name="columns" type="int"> </argument> <description> </description> </method> - <method name="get_columns" qualifiers="const" > + <method name="get_columns" qualifiers="const"> <return type="int"> </return> <description> @@ -10665,7 +11934,9 @@ <constants> </constants> <theme_items> - <theme_item name="separation" type="int"> + <theme_item name="vseparation" type="int"> + </theme_item> + <theme_item name="hseparation" type="int"> </theme_item> </theme_items> </class> @@ -10675,55 +11946,55 @@ <description> </description> <methods> - <method name="set_theme" > + <method name="set_theme"> <argument index="0" name="theme" type="MeshLibrary"> </argument> <description> </description> </method> - <method name="get_theme" qualifiers="const" > + <method name="get_theme" qualifiers="const"> <return type="MeshLibrary"> </return> <description> </description> </method> - <method name="set_bake" > + <method name="set_bake"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_baking_enabled" qualifiers="const" > + <method name="is_baking_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_cell_size" > + <method name="set_cell_size"> <argument index="0" name="size" type="float"> </argument> <description> </description> </method> - <method name="get_cell_size" qualifiers="const" > + <method name="get_cell_size" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_octant_size" > + <method name="set_octant_size"> <argument index="0" name="size" type="int"> </argument> <description> </description> </method> - <method name="get_octant_size" qualifiers="const" > + <method name="get_octant_size" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_cell_item" > + <method name="set_cell_item"> <argument index="0" name="x" type="int"> </argument> <argument index="1" name="y" type="int"> @@ -10737,7 +12008,7 @@ <description> </description> </method> - <method name="get_cell_item" qualifiers="const" > + <method name="get_cell_item" qualifiers="const"> <return type="int"> </return> <argument index="0" name="x" type="int"> @@ -10749,7 +12020,7 @@ <description> </description> </method> - <method name="get_cell_item_orientation" qualifiers="const" > + <method name="get_cell_item_orientation" qualifiers="const"> <return type="int"> </return> <argument index="0" name="x" type="int"> @@ -10761,49 +12032,49 @@ <description> </description> </method> - <method name="resource_changed" > + <method name="resource_changed"> <argument index="0" name="arg0" type="Object"> </argument> <description> </description> </method> - <method name="set_center_x" > + <method name="set_center_x"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_center_x" qualifiers="const" > + <method name="get_center_x" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_center_y" > + <method name="set_center_y"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_center_y" qualifiers="const" > + <method name="get_center_y" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_center_z" > + <method name="set_center_z"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_center_z" qualifiers="const" > + <method name="get_center_z" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_clip" > + <method name="set_clip"> <argument index="0" name="enabled" type="bool"> </argument> <argument index="1" name="clipabove" type="bool" default="true"> @@ -10815,7 +12086,7 @@ <description> </description> </method> - <method name="create_area" > + <method name="create_area"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -10825,7 +12096,7 @@ <description> </description> </method> - <method name="area_get_bounds" qualifiers="const" > + <method name="area_get_bounds" qualifiers="const"> <return type="AABB"> </return> <argument index="0" name="area" type="int"> @@ -10833,7 +12104,7 @@ <description> </description> </method> - <method name="area_set_exterior_portal" > + <method name="area_set_exterior_portal"> <argument index="0" name="area" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -10841,7 +12112,7 @@ <description> </description> </method> - <method name="area_set_name" > + <method name="area_set_name"> <argument index="0" name="area" type="int"> </argument> <argument index="1" name="name" type="String"> @@ -10849,7 +12120,7 @@ <description> </description> </method> - <method name="area_get_name" qualifiers="const" > + <method name="area_get_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="area" type="int"> @@ -10857,7 +12128,7 @@ <description> </description> </method> - <method name="area_is_exterior_portal" qualifiers="const" > + <method name="area_is_exterior_portal" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="area" type="int"> @@ -10865,7 +12136,7 @@ <description> </description> </method> - <method name="area_set_portal_disable_distance" > + <method name="area_set_portal_disable_distance"> <argument index="0" name="area" type="int"> </argument> <argument index="1" name="distance" type="float"> @@ -10873,7 +12144,7 @@ <description> </description> </method> - <method name="area_get_portal_disable_distance" qualifiers="const" > + <method name="area_get_portal_disable_distance" qualifiers="const"> <return type="float"> </return> <argument index="0" name="area" type="int"> @@ -10881,7 +12152,7 @@ <description> </description> </method> - <method name="area_set_portal_disable_color" > + <method name="area_set_portal_disable_color"> <argument index="0" name="area" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -10889,7 +12160,7 @@ <description> </description> </method> - <method name="area_get_portal_disable_color" qualifiers="const" > + <method name="area_get_portal_disable_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="area" type="int"> @@ -10897,35 +12168,35 @@ <description> </description> </method> - <method name="erase_area" > + <method name="erase_area"> <argument index="0" name="area" type="int"> </argument> <description> </description> </method> - <method name="get_unused_area_id" qualifiers="const" > + <method name="get_unused_area_id" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="bake_geometry" > + <method name="bake_geometry"> <description> </description> </method> - <method name="set_use_baked_light" > + <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" > + <method name="is_using_baked_light" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> @@ -10943,28 +12214,28 @@ Groove constraint for 2D physics. This is useful for making a body "slide" through a segment placed in another. </description> <methods> - <method name="set_length" > + <method name="set_length"> <argument index="0" name="length" type="float"> </argument> <description> Set the length of the groove. </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> Return the length of the groove. </description> </method> - <method name="set_initial_offset" > + <method name="set_initial_offset"> <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" > + <method name="get_initial_offset" qualifiers="const"> <return type="float"> </return> <description> @@ -11127,8 +12398,8 @@ <description> </description> <methods> - <method name="connect" > - <return type="int"> + <method name="connect"> + <return type="Error"> </return> <argument index="0" name="host" type="String"> </argument> @@ -11141,13 +12412,13 @@ <description> </description> </method> - <method name="set_connection" > + <method name="set_connection"> <argument index="0" name="connection" type="StreamPeer"> </argument> <description> </description> </method> - <method name="request" > + <method name="request"> <return type="int"> </return> <argument index="0" name="method" type="int"> @@ -11161,7 +12432,7 @@ <description> </description> </method> - <method name="send_body_text" > + <method name="send_body_text"> <return type="int"> </return> <argument index="0" name="body" type="String"> @@ -11169,7 +12440,7 @@ <description> </description> </method> - <method name="send_body_data" > + <method name="send_body_data"> <return type="int"> </return> <argument index="0" name="body" type="RawArray"> @@ -11177,72 +12448,78 @@ <description> </description> </method> - <method name="close" > + <method name="close"> <description> </description> </method> - <method name="has_response" qualifiers="const" > + <method name="has_response" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="is_response_chunked" qualifiers="const" > + <method name="is_response_chunked" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_response_code" qualifiers="const" > + <method name="get_response_code" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_response_headers" > + <method name="get_response_headers"> <return type="StringArray"> </return> <description> </description> </method> - <method name="get_response_headers_as_dictionary" > + <method name="get_response_headers_as_dictionary"> <return type="Dictionary"> </return> <description> </description> </method> - <method name="get_response_body_length" qualifiers="const" > + <method name="get_response_body_length" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="read_response_body_chunk" > + <method name="read_response_body_chunk"> <return type="RawArray"> </return> <description> </description> </method> - <method name="set_blocking_mode" > + <method name="set_read_chunk_size"> + <argument index="0" name="bytes" type="int"> + </argument> + <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" > + <method name="is_blocking_mode_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_status" qualifiers="const" > + <method name="get_status" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="poll" > - <return type="int"> + <method name="poll"> + <return type="Error"> </return> <description> </description> @@ -11393,7 +12670,7 @@ <description> </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -11401,7 +12678,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -11409,7 +12686,7 @@ <description> </description> </method> - <method name="set_flag" > + <method name="set_flag"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="enabled" type="bool"> @@ -11417,7 +12694,7 @@ <description> </description> </method> - <method name="get_flag" qualifiers="const" > + <method name="get_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -11461,7 +12738,7 @@ IP contains some support functions for the IPv4 protocol. TCP/IP support is in different classes (see [TCP_Client], [TCP_Server]). IP provides hostname resolution support, both blocking and threaded. </description> <methods> - <method name="resolve_hostname" > + <method name="resolve_hostname"> <return type="String"> </return> <argument index="0" name="host" type="String"> @@ -11470,7 +12747,7 @@ Resolve a given hostname, blocking. Resolved hostname is returned as an IP. </description> </method> - <method name="resolve_hostname_queue_item" > + <method name="resolve_hostname_queue_item"> <return type="int"> </return> <argument index="0" name="host" type="String"> @@ -11479,32 +12756,32 @@ Create a queue item for resolving a given hostname. The queue ID is returned, or RESOLVER_INVALID_ID on error. </description> </method> - <method name="get_resolve_item_status" qualifiers="const" > + <method name="get_resolve_item_status" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="int"> </argument> <description> - Return the status of hostname queued for resolving, given it"apos;s queue ID. Returned status can be any of the RESOLVER_STATUS_* enumeration. + Return the status of hostname queued for resolving, given it's queue ID. Returned status can be any of the RESOLVER_STATUS_* enumeration. </description> </method> - <method name="get_resolve_item_address" qualifiers="const" > + <method name="get_resolve_item_address" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="int"> </argument> <description> - Return a resolved item address, or an empty string if an error happened or resolution didn"apos;t happen yet (see [method get_resolve_item_status]). + Return a resolved item address, or an empty string if an error happened or resolution didn't happen yet (see [method get_resolve_item_status]). </description> </method> - <method name="erase_resolve_item" > + <method name="erase_resolve_item"> <argument index="0" name="id" type="int"> </argument> <description> 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" > + <method name="get_local_addresses" qualifiers="const"> <return type="Array"> </return> <description> @@ -11544,7 +12821,7 @@ Built in native image datatype. Contains image data, which can be converted to a texture, and several functions to interact with it. </description> <methods> - <method name="blit_rect" > + <method name="blit_rect"> <argument index="0" name="src" type="Image"> </argument> <argument index="1" name="src_rect" type="Rect2"> @@ -11554,7 +12831,7 @@ <description> </description> </method> - <method name="brush_transfer" > + <method name="brush_transfer"> <argument index="0" name="src" type="Image"> </argument> <argument index="1" name="brush" type="Image"> @@ -11564,7 +12841,7 @@ <description> </description> </method> - <method name="brushed" > + <method name="brushed"> <return type="Image"> </return> <argument index="0" name="src" type="Image"> @@ -11576,7 +12853,7 @@ <description> </description> </method> - <method name="compressed" > + <method name="compressed"> <return type="Image"> </return> <argument index="0" name="format" type="int" default="0"> @@ -11584,7 +12861,7 @@ <description> </description> </method> - <method name="converted" > + <method name="converted"> <return type="Image"> </return> <argument index="0" name="format" type="int" default="0"> @@ -11592,37 +12869,37 @@ <description> </description> </method> - <method name="decompressed" > + <method name="decompressed"> <return type="Image"> </return> <description> </description> </method> - <method name="empty" > + <method name="empty"> <return type="bool"> </return> <description> </description> </method> - <method name="get_data" > + <method name="get_data"> <return type="RawArray"> </return> <description> </description> </method> - <method name="get_format" > + <method name="get_format"> <return type="int"> </return> <description> </description> </method> - <method name="get_height" > + <method name="get_height"> <return type="int"> </return> <description> </description> </method> - <method name="get_pixel" > + <method name="get_pixel"> <return type="Color"> </return> <argument index="0" name="x" type="int"> @@ -11634,7 +12911,7 @@ <description> </description> </method> - <method name="get_rect" > + <method name="get_rect"> <return type="Image"> </return> <argument index="0" name="area" type="Rect2" default="0"> @@ -11642,19 +12919,19 @@ <description> </description> </method> - <method name="get_used_rect" > + <method name="get_used_rect"> <return type="Rect2"> </return> <description> </description> </method> - <method name="get_width" > + <method name="get_width"> <return type="int"> </return> <description> </description> </method> - <method name="load" > + <method name="load"> <return type="int"> </return> <argument index="0" name="path" type="String" default="0"> @@ -11662,7 +12939,7 @@ <description> </description> </method> - <method name="put_pixel" > + <method name="put_pixel"> <argument index="0" name="x" type="int"> </argument> <argument index="1" name="y" type="int"> @@ -11674,7 +12951,7 @@ <description> </description> </method> - <method name="resized" > + <method name="resized"> <return type="Image"> </return> <argument index="0" name="x" type="int"> @@ -11686,7 +12963,7 @@ <description> </description> </method> - <method name="save_png" > + <method name="save_png"> <return type="int"> </return> <argument index="0" name="path" type="String" default="0"> @@ -11758,7 +13035,7 @@ <description> </description> <methods> - <method name="create" > + <method name="create"> <argument index="0" name="width" type="int"> </argument> <argument index="1" name="height" type="int"> @@ -11770,7 +13047,7 @@ <description> </description> </method> - <method name="create_from_image" > + <method name="create_from_image"> <argument index="0" name="image" type="Image"> </argument> <argument index="1" name="flags" type="int" default="7"> @@ -11778,63 +13055,67 @@ <description> </description> </method> - <method name="get_format" qualifiers="const" > + <method name="get_format" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="load" > + <method name="load"> <argument index="0" name="path" type="String"> </argument> <description> </description> </method> - <method name="set_data" > + <method name="set_data"> <argument index="0" name="image" type="Image"> </argument> <description> </description> </method> - <method name="get_data" qualifiers="const" > + <method name="get_data" qualifiers="const"> <return type="Image"> </return> <description> </description> </method> - <method name="set_storage" > + <method name="set_storage"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_storage" qualifiers="const" > + <method name="get_storage" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_lossy_storage_quality" > + <method name="set_lossy_storage_quality"> <argument index="0" name="quality" type="float"> </argument> <description> </description> </method> - <method name="get_lossy_storage_quality" qualifiers="const" > + <method name="get_lossy_storage_quality" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="fix_alpha_edges" > + <method name="fix_alpha_edges"> <description> </description> </method> - <method name="premultiply_alpha" > + <method name="premultiply_alpha"> <description> </description> </method> - <method name="set_size_override" > + <method name="normal_to_xy"> + <description> + </description> + </method> + <method name="set_size_override"> <argument index="0" name="size" type="Vector2"> </argument> <description> @@ -11856,7 +13137,7 @@ <description> </description> <methods> - <method name="begin" > + <method name="begin"> <argument index="0" name="primitive" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -11864,43 +13145,43 @@ <description> </description> </method> - <method name="set_normal" > + <method name="set_normal"> <argument index="0" name="normal" type="Vector3"> </argument> <description> </description> </method> - <method name="set_tangent" > + <method name="set_tangent"> <argument index="0" name="tangent" type="Plane"> </argument> <description> </description> </method> - <method name="set_color" > + <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="set_uv" > + <method name="set_uv"> <argument index="0" name="uv" type="Vector2"> </argument> <description> </description> </method> - <method name="set_uv2" > + <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"> + <method name="add_vertex"> + <argument index="0" name="pos" type="Vector3"> </argument> <description> </description> </method> - <method name="add_sphere" > + <method name="add_sphere"> <argument index="0" name="lats" type="int"> </argument> <argument index="1" name="lons" type="int"> @@ -11910,11 +13191,11 @@ <description> </description> </method> - <method name="end" > + <method name="end"> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> @@ -11928,7 +13209,7 @@ <description> </description> <methods> - <method name="is_key_pressed" > + <method name="is_key_pressed"> <return type="bool"> </return> <argument index="0" name="scancode" type="int"> @@ -11936,7 +13217,7 @@ <description> </description> </method> - <method name="is_mouse_button_pressed" > + <method name="is_mouse_button_pressed"> <return type="bool"> </return> <argument index="0" name="button" type="int"> @@ -11944,7 +13225,7 @@ <description> </description> </method> - <method name="is_joy_button_pressed" > + <method name="is_joy_button_pressed"> <return type="bool"> </return> <argument index="0" name="device" type="int"> @@ -11954,7 +13235,7 @@ <description> </description> </method> - <method name="is_action_pressed" > + <method name="is_action_pressed"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -11962,7 +13243,7 @@ <description> </description> </method> - <method name="get_joy_axis" > + <method name="get_joy_axis"> <return type="float"> </return> <argument index="0" name="device" type="int"> @@ -11972,7 +13253,7 @@ <description> </description> </method> - <method name="get_joy_name" > + <method name="get_joy_name"> <return type="String"> </return> <argument index="0" name="device" type="int"> @@ -11980,51 +13261,62 @@ <description> </description> </method> - <method name="get_accelerometer" > + <method name="get_accelerometer"> <return type="Vector3"> </return> <description> </description> </method> - <method name="get_mouse_pos" qualifiers="const" > - <return type="Vector2"> - </return> - <description> - Return the global, unscaled, screen pointer coordinates. - If the 2D viewport has been scaled, it may not work well - with [Camera] or controls. - </description> - </method> - <method name="get_mouse_speed" qualifiers="const" > + <method name="get_mouse_speed" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_mouse_button_mask" qualifiers="const" > + <method name="get_mouse_button_mask" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_mouse_mode" > + <method name="set_mouse_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_mouse_mode" qualifiers="const" > + <method name="get_mouse_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="warp_mouse_pos" > + <method name="warp_mouse_pos"> <argument index="0" name="to" type="Vector2"> </argument> <description> </description> </method> + <method name="action_press"> + <argument index="0" name="arg0" type="String"> + </argument> + <description> + </description> + </method> + <method name="action_release"> + <argument index="0" name="arg0" type="String"> + </argument> + <description> + </description> + </method> + <method name="set_custom_mouse_cursor"> + <argument index="0" name="image" type="Texture"> + </argument> + <argument index="1" name="hotspot" type="Vector2" default="Vector2(0,0)"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="joy_connection_changed"> @@ -12060,10 +13352,10 @@ Built-in input event data. </brief_description> <description> - Built-in input event data. InputEvent is a built-in engine datatype, given that it's passed around and used so much . Depending on it's type, the members contained can be different, so read the documentation well!. Input events can also represent actions (editable from the project settings). + Built-in input event data. InputEvent is a built-in engine datatype, given that it's passed around and used so much. Depending on it's type, the members contained can be different, so read the documentation well!. Input events can also represent actions (editable from the project settings). </description> <methods> - <method name="is_action" > + <method name="is_action"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12072,20 +13364,44 @@ Return if this input event matches a pre-defined action, no matter the type. </description> </method> - <method name="is_echo" > + <method name="is_action_pressed"> + <return type="bool"> + </return> + <argument index="0" name="is_action_pressed" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_action_released"> + <return type="bool"> + </return> + <argument index="0" name="is_action_released" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_echo"> <return type="bool"> </return> <description> Return if this input event is an echo event (usually for key events). </description> </method> - <method name="is_pressed" > + <method name="is_pressed"> <return type="bool"> </return> <description> Return if this input event is pressed (for key, mouse, joy button or screen press events). </description> </method> + <method name="set_as_action"> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="pressed" type="bool"> + </argument> + <description> + </description> + </method> </methods> <members> <member name="type" type="int"> @@ -12128,7 +13444,7 @@ <description> </description> <methods> - <method name="is_action" > + <method name="is_action"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12136,18 +13452,42 @@ <description> </description> </method> - <method name="is_echo" > + <method name="is_action_pressed"> + <return type="bool"> + </return> + <argument index="0" name="is_action_pressed" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_action_released"> + <return type="bool"> + </return> + <argument index="0" name="is_action_released" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_echo"> <return type="bool"> </return> <description> </description> </method> - <method name="is_pressed" > + <method name="is_pressed"> <return type="bool"> </return> <description> </description> </method> + <method name="set_as_action"> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="pressed" type="bool"> + </argument> + <description> + </description> + </method> </methods> <members> <member name="type" type="int"> @@ -12184,7 +13524,7 @@ <description> </description> <methods> - <method name="is_action" > + <method name="is_action"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12192,15 +13532,39 @@ <description> </description> </method> - <method name="is_echo" > + <method name="is_action_pressed"> <return type="bool"> </return> + <argument index="0" name="is_action_pressed" type="String"> + </argument> <description> </description> </method> - <method name="is_pressed" > + <method name="is_action_released"> <return type="bool"> </return> + <argument index="0" name="is_action_released" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_echo"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="is_pressed"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_as_action"> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="pressed" type="bool"> + </argument> <description> </description> </method> @@ -12246,7 +13610,7 @@ <description> </description> <methods> - <method name="is_action" > + <method name="is_action"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12254,18 +13618,42 @@ <description> </description> </method> - <method name="is_echo" > + <method name="is_action_pressed"> + <return type="bool"> + </return> + <argument index="0" name="is_action_pressed" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_action_released"> + <return type="bool"> + </return> + <argument index="0" name="is_action_released" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_echo"> <return type="bool"> </return> <description> </description> </method> - <method name="is_pressed" > + <method name="is_pressed"> <return type="bool"> </return> <description> </description> </method> + <method name="set_as_action"> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="pressed" type="bool"> + </argument> + <description> + </description> + </method> </methods> <members> <member name="type" type="int"> @@ -12306,7 +13694,7 @@ <description> </description> <methods> - <method name="is_action" > + <method name="is_action"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12314,18 +13702,42 @@ <description> </description> </method> - <method name="is_echo" > + <method name="is_action_pressed"> + <return type="bool"> + </return> + <argument index="0" name="is_action_pressed" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_action_released"> + <return type="bool"> + </return> + <argument index="0" name="is_action_released" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_echo"> <return type="bool"> </return> <description> </description> </method> - <method name="is_pressed" > + <method name="is_pressed"> <return type="bool"> </return> <description> </description> </method> + <method name="set_as_action"> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="pressed" type="bool"> + </argument> + <description> + </description> + </method> </methods> <members> <member name="type" type="int"> @@ -12378,7 +13790,7 @@ <description> </description> <methods> - <method name="is_action" > + <method name="is_action"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12386,18 +13798,42 @@ <description> </description> </method> - <method name="is_echo" > + <method name="is_action_pressed"> <return type="bool"> </return> + <argument index="0" name="is_action_pressed" type="String"> + </argument> <description> </description> </method> - <method name="is_pressed" > + <method name="is_action_released"> + <return type="bool"> + </return> + <argument index="0" name="is_action_released" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_echo"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="is_pressed"> <return type="bool"> </return> <description> </description> </method> + <method name="set_as_action"> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="pressed" type="bool"> + </argument> + <description> + </description> + </method> </methods> <members> <member name="type" type="int"> @@ -12462,7 +13898,7 @@ <description> </description> <methods> - <method name="is_action" > + <method name="is_action"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12470,15 +13906,39 @@ <description> </description> </method> - <method name="is_echo" > + <method name="is_action_pressed"> <return type="bool"> </return> + <argument index="0" name="is_action_pressed" type="String"> + </argument> <description> </description> </method> - <method name="is_pressed" > + <method name="is_action_released"> <return type="bool"> </return> + <argument index="0" name="is_action_released" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_echo"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="is_pressed"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_as_action"> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="pressed" type="bool"> + </argument> <description> </description> </method> @@ -12552,7 +14012,7 @@ <description> </description> <methods> - <method name="is_action" > + <method name="is_action"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12560,18 +14020,42 @@ <description> </description> </method> - <method name="is_echo" > + <method name="is_action_pressed"> + <return type="bool"> + </return> + <argument index="0" name="is_action_pressed" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_action_released"> + <return type="bool"> + </return> + <argument index="0" name="is_action_released" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_echo"> <return type="bool"> </return> <description> </description> </method> - <method name="is_pressed" > + <method name="is_pressed"> <return type="bool"> </return> <description> </description> </method> + <method name="set_as_action"> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="pressed" type="bool"> + </argument> + <description> + </description> + </method> </methods> <members> <member name="type" type="int"> @@ -12628,7 +14112,7 @@ <description> </description> <methods> - <method name="is_action" > + <method name="is_action"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12636,15 +14120,39 @@ <description> </description> </method> - <method name="is_echo" > + <method name="is_action_pressed"> <return type="bool"> </return> + <argument index="0" name="is_action_pressed" type="String"> + </argument> <description> </description> </method> - <method name="is_pressed" > + <method name="is_action_released"> <return type="bool"> </return> + <argument index="0" name="is_action_released" type="String"> + </argument> + <description> + </description> + </method> + <method name="is_echo"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="is_pressed"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_as_action"> + <argument index="0" name="action" type="String"> + </argument> + <argument index="1" name="pressed" type="bool"> + </argument> <description> </description> </method> @@ -12696,7 +14204,7 @@ 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" > + <method name="has_action" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12704,7 +14212,7 @@ <description> </description> </method> - <method name="get_action_id" qualifiers="const" > + <method name="get_action_id" qualifiers="const"> <return type="int"> </return> <argument index="0" name="action" type="String"> @@ -12712,7 +14220,7 @@ <description> </description> </method> - <method name="get_action_from_id" qualifiers="const" > + <method name="get_action_from_id" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="int"> @@ -12720,19 +14228,19 @@ <description> </description> </method> - <method name="add_action" > + <method name="add_action"> <argument index="0" name="action" type="String"> </argument> <description> </description> </method> - <method name="erase_action" > + <method name="erase_action"> <argument index="0" name="action" type="String"> </argument> <description> </description> </method> - <method name="action_add_event" > + <method name="action_add_event"> <argument index="0" name="action" type="String"> </argument> <argument index="1" name="event" type="InputEvent"> @@ -12740,7 +14248,7 @@ <description> </description> </method> - <method name="action_has_event" > + <method name="action_has_event"> <return type="bool"> </return> <argument index="0" name="action" type="String"> @@ -12750,7 +14258,7 @@ <description> </description> </method> - <method name="action_erase_event" > + <method name="action_erase_event"> <argument index="0" name="action" type="String"> </argument> <argument index="1" name="event" type="InputEvent"> @@ -12758,15 +14266,15 @@ <description> </description> </method> - <method name="get_action_list" > - <return type="bool"> + <method name="get_action_list"> + <return type="Array"> </return> <argument index="0" name="action" type="String"> </argument> <description> </description> </method> - <method name="event_is_action" qualifiers="const" > + <method name="event_is_action" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="event" type="InputEvent"> @@ -12776,7 +14284,7 @@ <description> </description> </method> - <method name="load_from_globals" > + <method name="load_from_globals"> <description> </description> </method> @@ -12786,13 +14294,13 @@ </class> <class name="IntArray" category="Built-In Types"> <brief_description> - Integer Array . + Integer Array. </brief_description> <description> - Integer Array. Array of integers. Can only contain integers. Optimized for memory usage, cant fragment the memory. + Integer Array. Array of integers. Can only contain integers. Optimized for memory usage, can't fragment the memory. </description> <methods> - <method name="get" > + <method name="get"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -12801,21 +14309,21 @@ Get an index in the array. </description> </method> - <method name="push_back" > + <method name="push_back"> <argument index="0" name="integer" type="int"> </argument> <description> Append a value to the array. </description> </method> - <method name="resize" > + <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> Resize the array. </description> </method> - <method name="set" > + <method name="set"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="integer" type="int"> @@ -12824,14 +14332,16 @@ Set an index in the array. </description> </method> - <method name="size" > + <method name="size"> <return type="int"> </return> <description> Return the array size. </description> </method> - <method name="IntArray" > + <method name="IntArray"> + <return type="IntArray"> + </return> <argument index="0" name="from" type="Array"> </argument> <description> @@ -12848,43 +14358,43 @@ <description> </description> <methods> - <method name="set_target_path" > + <method name="set_target_path"> <argument index="0" name="target_path" type="NodePath"> </argument> <description> </description> </method> - <method name="get_target_path" qualifiers="const" > + <method name="get_target_path" qualifiers="const"> <return type="NodePath"> </return> <description> </description> </method> - <method name="set_target" > + <method name="set_target"> <argument index="0" name="target" type="Camera"> </argument> <description> </description> </method> - <method name="set_speed" > + <method name="set_speed"> <argument index="0" name="speed" type="float"> </argument> <description> </description> </method> - <method name="get_speed" qualifiers="const" > + <method name="get_speed" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_interpolation_enabled" > + <method name="set_interpolation_enabled"> <argument index="0" name="target_path" type="bool"> </argument> <description> </description> </method> - <method name="is_interpolation_enabled" qualifiers="const" > + <method name="is_interpolation_enabled" qualifiers="const"> <return type="bool"> </return> <description> @@ -12894,43 +14404,359 @@ <constants> </constants> </class> +<class name="ItemList" inherits="Control" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="add_item"> + <argument index="0" name="text" type="String"> + </argument> + <argument index="1" name="icon" type="Texture" default="Object()"> + </argument> + <argument index="2" name="selectable" type="bool" default="true"> + </argument> + <description> + </description> + </method> + <method name="add_icon_item"> + <argument index="0" name="icon" type="Texture"> + </argument> + <argument index="1" name="selectable" type="bool" default="true"> + </argument> + <description> + </description> + </method> + <method name="set_item_text"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="text" type="String"> + </argument> + <description> + </description> + </method> + <method name="get_item_text" qualifiers="const"> + <return type="String"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_item_icon"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="icon" type="Texture"> + </argument> + <description> + </description> + </method> + <method name="get_item_icon" qualifiers="const"> + <return type="Texture"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_item_selectable"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="selectable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_item_selectable" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_item_disabled"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="disabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_item_disabled" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_item_metadata"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="metadata" type="var"> + </argument> + <description> + </description> + </method> + <method name="get_item_metadata" qualifiers="const"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_item_custom_bg_color"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="custom_bg_color" type="Color"> + </argument> + <description> + </description> + </method> + <method name="get_item_custom_bg_color" qualifiers="const"> + <return type="Color"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_item_tooltip"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="tooltip" type="String"> + </argument> + <description> + </description> + </method> + <method name="get_item_tooltip" qualifiers="const"> + <return type="String"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="select"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="single" type="bool" default="true"> + </argument> + <description> + </description> + </method> + <method name="unselect"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="is_selected" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_item_count" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="remove_item"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="clear"> + <description> + </description> + </method> + <method name="sort_items_by_text"> + <description> + </description> + </method> + <method name="set_fixed_column_width"> + <argument index="0" name="width" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_fixed_column_width" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_max_text_lines"> + <argument index="0" name="lines" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_max_text_lines" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_max_columns"> + <argument index="0" name="amount" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_max_columns" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_select_mode"> + <argument index="0" name="mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_select_mode" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_icon_mode"> + <argument index="0" name="mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_icon_mode" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_min_icon_size"> + <argument index="0" name="size" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_min_icon_size" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="ensure_current_is_visible"> + <description> + </description> + </method> + </methods> + <signals> + <signal name="item_activated"> + <argument index="0" name="index" type="int"> + </argument> + <description> + </description> + </signal> + <signal name="multi_selected"> + <argument index="0" name="index" type="int"> + </argument> + <argument index="1" name="selected" type="bool"> + </argument> + <description> + </description> + </signal> + <signal name="item_selected"> + <argument index="0" name="index" type="int"> + </argument> + <description> + </description> + </signal> + </signals> + <constants> + <constant name="ICON_MODE_TOP" value="0"> + </constant> + <constant name="ICON_MODE_LEFT" value="1"> + </constant> + <constant name="SELECT_SINGLE" value="0"> + </constant> + <constant name="SELECT_MULTI" value="1"> + </constant> + </constants> + <theme_items> + <theme_item name="vseparation" type="int"> + </theme_item> + <theme_item name="line_separation" type="int"> + </theme_item> + <theme_item name="icon_margin" type="int"> + </theme_item> + <theme_item name="hseparation" type="int"> + </theme_item> + <theme_item name="guide_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="cursor" 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="cursor_unfocused" type="StyleBox"> + </theme_item> + <theme_item name="selected" type="StyleBox"> + </theme_item> + <theme_item name="bg" type="StyleBox"> + </theme_item> + </theme_items> +</class> <class name="Joint" inherits="Spatial" category="Core"> <brief_description> </brief_description> <description> </description> <methods> - <method name="set_node_a" > + <method name="set_node_a"> <argument index="0" name="node" type="NodePath"> </argument> <description> </description> </method> - <method name="get_node_a" qualifiers="const" > + <method name="get_node_a" qualifiers="const"> <return type="NodePath"> </return> <description> </description> </method> - <method name="set_node_b" > + <method name="set_node_b"> <argument index="0" name="node" type="NodePath"> </argument> <description> </description> </method> - <method name="get_node_b" qualifiers="const" > + <method name="get_node_b" qualifiers="const"> <return type="NodePath"> </return> <description> </description> </method> - <method name="set_solver_priority" > + <method name="set_solver_priority"> <argument index="0" name="priority" type="int"> </argument> <description> </description> </method> - <method name="get_solver_priority" qualifiers="const" > + <method name="get_solver_priority" qualifiers="const"> <return type="int"> </return> <description> @@ -12948,41 +14774,41 @@ Base node for all joint constraints in 2D phyisics. Joints take 2 bodies and apply a custom constraint. </description> <methods> - <method name="set_node_a" > + <method name="set_node_a"> <argument index="0" name="node" type="NodePath"> </argument> <description> Set the path to the A node for the joint. Must be of type PhysicsBody2D. </description> </method> - <method name="get_node_a" qualifiers="const" > + <method name="get_node_a" qualifiers="const"> <return type="NodePath"> </return> <description> Return the path to the A node for the joint. </description> </method> - <method name="set_node_b" > + <method name="set_node_b"> <argument index="0" name="node" type="NodePath"> </argument> <description> Set the path to the B node for the joint. Must be of type PhysicsBody2D. </description> </method> - <method name="get_node_b" qualifiers="const" > + <method name="get_node_b" qualifiers="const"> <return type="NodePath"> </return> <description> Return the path to the B node for the joint. </description> </method> - <method name="set_bias" > + <method name="set_bias"> <argument index="0" name="bias" type="float"> </argument> <description> </description> </method> - <method name="get_bias" qualifiers="const" > + <method name="get_bias" qualifiers="const"> <return type="float"> </return> <description> @@ -12998,7 +14824,7 @@ <description> </description> <methods> - <method name="move" > + <method name="move"> <return type="Vector3"> </return> <argument index="0" name="rel_vec" type="Vector3"> @@ -13006,7 +14832,7 @@ <description> </description> </method> - <method name="move_to" > + <method name="move_to"> <return type="Vector3"> </return> <argument index="0" name="position" type="Vector3"> @@ -13014,7 +14840,7 @@ <description> </description> </method> - <method name="can_move_to" > + <method name="can_move_to"> <return type="bool"> </return> <argument index="0" name="position" type="Vector3"> @@ -13024,95 +14850,95 @@ <description> </description> </method> - <method name="is_colliding" qualifiers="const" > + <method name="is_colliding" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_collision_pos" qualifiers="const" > + <method name="get_collision_pos" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="get_collision_normal" qualifiers="const" > + <method name="get_collision_normal" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="get_collider_velocity" qualifiers="const" > + <method name="get_collider_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="get_collider" qualifiers="const" > + <method name="get_collider" qualifiers="const"> <description> </description> </method> - <method name="get_collider_shape" qualifiers="const" > + <method name="get_collider_shape" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_collide_with_static_bodies" > + <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" > + <method name="can_collide_with_static_bodies" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_collide_with_kinematic_bodies" > + <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" > + <method name="can_collide_with_kinematic_bodies" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_collide_with_rigid_bodies" > + <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" > + <method name="can_collide_with_rigid_bodies" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_collide_with_character_bodies" > + <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" > + <method name="can_collide_with_character_bodies" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_collision_margin" > + <method name="set_collision_margin"> <argument index="0" name="pixels" type="float"> </argument> <description> </description> </method> - <method name="get_collision_margin" qualifiers="const" > + <method name="get_collision_margin" qualifiers="const"> <return type="float"> </return> <description> @@ -13128,7 +14954,7 @@ <description> </description> <methods> - <method name="move" > + <method name="move"> <return type="Vector2"> </return> <argument index="0" name="rel_vec" type="Vector2"> @@ -13136,7 +14962,7 @@ <description> </description> </method> - <method name="move_to" > + <method name="move_to"> <return type="Vector2"> </return> <argument index="0" name="position" type="Vector2"> @@ -13144,109 +14970,69 @@ <description> </description> </method> - <method name="can_move_to" > + <method name="test_move"> <return type="bool"> </return> - <argument index="0" name="position" type="Vector2"> - </argument> - <argument index="1" name="arg1" type="bool"> + <argument index="0" name="rel_vec" type="Vector2"> </argument> <description> </description> </method> - <method name="is_colliding" qualifiers="const" > - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_collision_pos" qualifiers="const" > + <method name="get_travel" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_collision_normal" qualifiers="const" > - <return type="Vector2"> - </return> + <method name="revert_motion"> <description> </description> </method> - <method name="get_collider_velocity" qualifiers="const" > - <return type="Vector2"> + <method name="is_colliding" qualifiers="const"> + <return type="bool"> </return> <description> </description> </method> - <method name="get_collider" qualifiers="const" > - <description> - </description> - </method> - <method name="get_collider_shape" qualifiers="const" > - <return type="int"> + <method name="get_collision_pos" qualifiers="const"> + <return type="Vector2"> </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> - <description> - </description> - </method> - <method name="can_collide_with_static_bodies" qualifiers="const" > - <return type="bool"> + <method name="get_collision_normal" qualifiers="const"> + <return type="Vector2"> </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"> + <method name="get_collider_velocity" qualifiers="const"> + <return type="Vector2"> </return> <description> </description> </method> - <method name="set_collide_with_rigid_bodies" > - <argument index="0" name="enable" type="bool"> - </argument> + <method name="get_collider" qualifiers="const"> <description> </description> </method> - <method name="can_collide_with_rigid_bodies" qualifiers="const" > - <return type="bool"> + <method name="get_collider_shape" qualifiers="const"> + <return type="int"> </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> + <method name="get_collider_metadata" qualifiers="const"> <description> </description> </method> - <method name="set_collision_margin" > + <method name="set_collision_margin"> <argument index="0" name="pixels" type="float"> </argument> <description> </description> </method> - <method name="get_collision_margin" qualifiers="const" > + <method name="get_collision_margin" qualifiers="const"> <return type="float"> </return> <description> @@ -13256,7 +15042,7 @@ <constants> </constants> </class> -<class name="Label" inherits="Range" category="Core"> +<class name="Label" inherits="Control" category="Core"> <brief_description> Control that displays formatted text. </brief_description> @@ -13264,108 +15050,165 @@ Label is a control that displays formatted text, optionally autowrapping it to the [Control] area. It inherits from range to be able to scroll wrapped text vertically. </description> <methods> - <method name="set_align" > + <method name="set_align"> <argument index="0" name="align" type="int"> </argument> <description> - Set the alignmend mode to any of the ALIGN_* enumeration values. + Sets the alignment mode to any of the ALIGN_* enumeration values. </description> </method> - <method name="get_align" qualifiers="const" > + <method name="get_align" qualifiers="const"> <return type="int"> </return> <description> - Return the alignmend mode (any of the ALIGN_* enumeration values). + Return the alignment mode (any of the ALIGN_* enumeration values). </description> </method> - <method name="set_valign" > + <method name="set_valign"> <argument index="0" name="valign" type="int"> </argument> <description> + Sets the vertical alignment mode to any of the VALIGN_* enumeration values. </description> </method> - <method name="get_valign" qualifiers="const" > + <method name="get_valign" qualifiers="const"> <return type="int"> </return> <description> + Return the vertical alignment mode (any of the VALIGN_* enumeration values). </description> </method> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> Set the label text. Text can contain newlines. </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> Return the label text. Text can contain newlines. </description> </method> - <method name="set_autowrap" > + <method name="set_autowrap"> <argument index="0" name="enable" type="bool"> </argument> <description> Set [i]autowrap[/i] mode. When enabled, autowrap will fit text to the control width, breaking sentences when they exceed the available horizontal space. When disabled, the label minimum width becomes the width of the longest row, and the minimum height large enough to fit all rows. </description> </method> - <method name="has_autowrap" qualifiers="const" > + <method name="has_autowrap" qualifiers="const"> <return type="bool"> </return> <description> Return the state of the [i]autowrap[/i] mode (see [method set_autowrap]). </description> </method> - <method name="set_uppercase" > + <method name="set_clip_text"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + Cuts off the rest of the text if it is too wide. + </description> + </method> + <method name="is_clipping_text" qualifiers="const"> + <return type="bool"> + </return> + <description> + Return true if text would be cut off if it is too wide. + </description> + </method> + <method name="set_uppercase"> <argument index="0" name="enable" type="bool"> </argument> <description> + Display text in all capitals. </description> </method> - <method name="is_uppercase" qualifiers="const" > + <method name="is_uppercase" qualifiers="const"> <return type="bool"> </return> <description> + Return true if text is displayed in all capitals. </description> </method> - <method name="get_line_height" qualifiers="const" > + <method name="get_line_height" qualifiers="const"> <return type="int"> </return> <description> Return the height of a line. </description> </method> - <method name="get_line_count" qualifiers="const" > + <method name="get_line_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of lines. </description> </method> - <method name="get_total_character_count" qualifiers="const" > + <method name="get_total_character_count" qualifiers="const"> <return type="int"> </return> <description> + Return the total length of the text. </description> </method> - <method name="set_visible_characters" > - <argument index="0" name="arg0" type="int"> + <method name="set_visible_characters"> + <argument index="0" name="amount" type="int"> </argument> <description> + Restricts the number of characters to display. Set to -1 to disable. + </description> + </method> + <method name="get_visible_characters" qualifiers="const"> + <return type="int"> + </return> + <description> + Return the restricted number of characters to display. Returns -1 if unrestricted. </description> </method> - <method name="set_percent_visible" > + <method name="set_percent_visible"> <argument index="0" name="percent_visible" type="float"> </argument> <description> + Restricts the number of characters to display (as a percentage of the total text). </description> </method> - <method name="get_percent_visible" qualifiers="const" > + <method name="get_percent_visible" qualifiers="const"> <return type="float"> </return> <description> + Return the restricted number of characters to display (as a percentage of the total text). + </description> + </method> + <method name="set_lines_skipped"> + <argument index="0" name="lines_skipped" type="int"> + </argument> + <description> + Sets the number of lines to skip before displaying. Useful for scrolling text. + </description> + </method> + <method name="get_lines_skipped" qualifiers="const"> + <return type="int"> + </return> + <description> + Return the the number of lines to skipped before displaying. + </description> + </method> + <method name="set_max_lines_visible"> + <argument index="0" name="lines_visible" type="int"> + </argument> + <description> + Restricts the number of lines to display. Set to -1 to disable. + </description> + </method> + <method name="get_max_lines_visible" qualifiers="const"> + <return type="int"> + </return> + <description> + Return the restricted number of lines to display. Returns -1 if unrestricted. </description> </method> </methods> @@ -13416,7 +15259,7 @@ <description> </description> <methods> - <method name="add_piece" > + <method name="add_piece"> <return type="int"> </return> <argument index="0" name="ofs" type="Vector2"> @@ -13426,7 +15269,7 @@ <description> </description> </method> - <method name="set_piece_offset" > + <method name="set_piece_offset"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="ofs" type="Vector2"> @@ -13434,7 +15277,7 @@ <description> </description> </method> - <method name="set_piece_texture" > + <method name="set_piece_texture"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -13442,23 +15285,23 @@ <description> </description> </method> - <method name="set_size" > + <method name="set_size"> <argument index="0" name="size" type="Vector2"> </argument> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="get_piece_count" qualifiers="const" > + <method name="get_piece_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_piece_offset" qualifiers="const" > + <method name="get_piece_offset" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="idx" type="int"> @@ -13466,7 +15309,7 @@ <description> </description> </method> - <method name="get_piece_texture" qualifiers="const" > + <method name="get_piece_texture" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="idx" type="int"> @@ -13486,7 +15329,7 @@ Light is the abstract base class for light nodes, so it shouldn't be used directly (It can't be instanced). Other types of light nodes inherit from it. Light contains the common variables and parameters used for lighting. </description> <methods> - <method name="set_parameter" > + <method name="set_parameter"> <argument index="0" name="variable" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -13494,7 +15337,7 @@ <description> </description> </method> - <method name="get_parameter" qualifiers="const" > + <method name="get_parameter" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="int"> @@ -13502,7 +15345,7 @@ <description> </description> </method> - <method name="set_color" > + <method name="set_color"> <argument index="0" name="color" type="int"> </argument> <argument index="1" name="value" type="Color"> @@ -13510,7 +15353,7 @@ <description> </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="int"> @@ -13518,73 +15361,73 @@ <description> </description> </method> - <method name="set_project_shadows" > + <method name="set_project_shadows"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_project_shadows" qualifiers="const" > + <method name="has_project_shadows" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_projector" > + <method name="set_projector"> <argument index="0" name="projector" type="Texture"> </argument> <description> </description> </method> - <method name="get_projector" qualifiers="const" > + <method name="get_projector" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_operator" > + <method name="set_operator"> <argument index="0" name="operator" type="int"> </argument> <description> </description> </method> - <method name="get_operator" qualifiers="const" > + <method name="get_operator" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_bake_mode" > + <method name="set_bake_mode"> <argument index="0" name="bake_mode" type="int"> </argument> <description> </description> </method> - <method name="get_bake_mode" qualifiers="const" > + <method name="get_bake_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_enabled" > + <method name="set_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_enabled" qualifiers="const" > + <method name="is_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_editor_only" > + <method name="set_editor_only"> <argument index="0" name="editor_only" type="bool"> </argument> <description> </description> </method> - <method name="is_editor_only" qualifiers="const" > + <method name="is_editor_only" qualifiers="const"> <return type="bool"> </return> <description> @@ -13600,7 +15443,7 @@ </constant> <constant name="PARAM_SPOT_ANGLE" value="1"> </constant> - <constant name="PARAM_SPOT_ATTENUATION" value="4"> + <constant name="PARAM_SPOT_ATTENUATION" value="0"> </constant> <constant name="PARAM_SHADOW_DARKENING" value="5"> </constant> @@ -13620,6 +15463,272 @@ </constant> </constants> </class> +<class name="Light2D" inherits="Node2D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <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_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_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_height"> + <argument index="0" name="height" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_height" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_energy"> + <argument index="0" name="energy" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_energy" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_texture_scale"> + <argument index="0" name="texture_scale" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_texture_scale" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_z_range_min"> + <argument index="0" name="z" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_z_range_min" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_z_range_max"> + <argument index="0" name="z" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_z_range_max" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_layer_range_min"> + <argument index="0" name="layer" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_layer_range_min" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_layer_range_max"> + <argument index="0" name="layer" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_layer_range_max" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_item_mask"> + <argument index="0" name="item_mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_item_mask" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_item_shadow_mask"> + <argument index="0" name="item_shadow_mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_item_shadow_mask" qualifiers="const"> + <return type="int"> + </return> + <description> + </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_shadow_enabled"> + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_shadow_enabled" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_shadow_buffer_size"> + <argument index="0" name="size" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_shadow_buffer_size" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_shadow_esm_multiplier"> + <argument index="0" name="multiplier" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_shadow_esm_multiplier" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_shadow_color"> + <argument index="0" name="shadow_color" type="Color"> + </argument> + <description> + </description> + </method> + <method name="get_shadow_color" qualifiers="const"> + <return type="Color"> + </return> + <description> + </description> + </method> + </methods> + <constants> + <constant name="MODE_ADD" value="0"> + </constant> + <constant name="MODE_SUB" value="1"> + </constant> + <constant name="MODE_MIX" value="2"> + </constant> + </constants> +</class> +<class name="LightOccluder2D" inherits="Node2D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_occluder_polygon"> + <argument index="0" name="polygon" type="OccluderPolygon2D"> + </argument> + <description> + </description> + </method> + <method name="get_occluder_polygon" qualifiers="const"> + <return type="OccluderPolygon2D"> + </return> + <description> + </description> + </method> + <method name="set_occluder_light_mask"> + <argument index="0" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_occluder_light_mask" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="LineEdit" inherits="Control" category="Core"> <brief_description> Control that provides single line string editing. @@ -13628,94 +15737,94 @@ LineEdit provides a single line string editor, used for text fields. </description> <methods> - <method name="clear" > + <method name="clear"> <description> Clear the [LineEdit] text. </description> </method> - <method name="select_all" > + <method name="select_all"> <description> Select the whole string. </description> </method> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> Set the text in the [LineEdit], clearing the existing one and the selection. </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> Return the text in the [LineEdit]. </description> </method> - <method name="set_cursor_pos" > + <method name="set_cursor_pos"> <argument index="0" name="pos" type="int"> </argument> <description> Set the cursor position inside the [LineEdit], causing it to scroll if needed. </description> </method> - <method name="get_cursor_pos" qualifiers="const" > + <method name="get_cursor_pos" qualifiers="const"> <return type="int"> </return> <description> Return the cursor position inside the [LineEdit]. </description> </method> - <method name="set_max_length" > + <method name="set_max_length"> <argument index="0" name="chars" type="int"> </argument> <description> Set the maximum amount of characters the [LineEdit] can edit, and cropping existing text in case it exceeds that limit. Setting 0 removes the limit. </description> </method> - <method name="get_max_length" qualifiers="const" > + <method name="get_max_length" qualifiers="const"> <return type="int"> </return> <description> Return the maximum amount of characters the [LineEdit] can edit. If 0 is returned, no limit exists. </description> </method> - <method name="append_at_cursor" > + <method name="append_at_cursor"> <argument index="0" name="text" type="String"> </argument> <description> Append text at cursor, scrolling the [LineEdit] when needed. </description> </method> - <method name="set_editable" > + <method name="set_editable"> <argument index="0" name="enabled" type="bool"> </argument> <description> - Set the [i]editable[/i] status of the [LineEdit]. When disabled, existing text can"apos;t be modified and new text can"apos;t be added. + Set the [i]editable[/i] status of the [LineEdit]. When disabled, existing text can't be modified and new text can't be added. </description> </method> - <method name="is_editable" qualifiers="const" > + <method name="is_editable" qualifiers="const"> <return type="bool"> </return> <description> Return the [i]editable[/i] status of the [LineEdit] (see [method set_editable]). </description> </method> - <method name="set_secret" > + <method name="set_secret"> <argument index="0" name="enabled" type="bool"> </argument> <description> Set the [i]secret[/i] status of the [LineEdit]. When enabled, every character is displayed as "*". </description> </method> - <method name="is_secret" qualifiers="const" > + <method name="is_secret" qualifiers="const"> <return type="bool"> </return> <description> Return the [i]secret[/i] status of the [LineEdit] (see [method set_secret]). </description> </method> - <method name="select" > + <method name="select"> <argument index="0" name="from" type="int" default="0"> </argument> <argument index="1" name="to" type="int" default="-1"> @@ -13771,28 +15880,28 @@ Line shape for 2D collision objects. It works like a 2D plane and will not allow any body to go to the negative side. Not recommended for rigid bodies, and usually not recommended for static bodies either because it forces checks against it on every frame. </description> <methods> - <method name="set_normal" > + <method name="set_normal"> <argument index="0" name="normal" type="Vector2"> </argument> <description> Set the line normal. </description> </method> - <method name="get_normal" qualifiers="const" > + <method name="get_normal" qualifiers="const"> <return type="Vector2"> </return> <description> Return the line normal. </description> </method> - <method name="set_d" > + <method name="set_d"> <argument index="0" name="d" type="float"> </argument> <description> Set the line distance from the origin. </description> </method> - <method name="get_d" qualifiers="const" > + <method name="get_d" qualifiers="const"> <return type="float"> </return> <description> @@ -13811,14 +15920,80 @@ Main loop is the abstract main loop base class. All other main loop classes are derived from it. Upon application start, a [MainLoop] has to be provided to OS, else the application will exit. This happens automatically (and a [SceneMainLoop] is created), unless a main [Script] is supplied, which may or not create and return a [MainLoop]. </description> <methods> - <method name="input_event" > - <argument index="0" name="arg0" type="InputEvent"> + <method name="_finalize" qualifiers="virtual"> + <description> + </description> + </method> + <method name="_idle" qualifiers="virtual"> + <argument index="0" name="delta" type="float"> + </argument> + <description> + </description> + </method> + <method name="_initialize" qualifiers="virtual"> + <description> + </description> + </method> + <method name="_input_event" qualifiers="virtual"> + <argument index="0" name="ev" type="InputEvent"> </argument> <description> </description> </method> + <method name="_input_text" qualifiers="virtual"> + <argument index="0" name="text" type="String"> + </argument> + <description> + </description> + </method> + <method name="_iteration" qualifiers="virtual"> + <argument index="0" name="delta" type="float"> + </argument> + <description> + </description> + </method> + <method name="input_event"> + <argument index="0" name="ev" type="InputEvent"> + </argument> + <description> + </description> + </method> + <method name="input_text"> + <argument index="0" name="text" type="String"> + </argument> + <description> + </description> + </method> + <method name="init"> + <description> + </description> + </method> + <method name="iteration"> + <return type="bool"> + </return> + <argument index="0" name="delta" type="float"> + </argument> + <description> + </description> + </method> + <method name="idle"> + <return type="bool"> + </return> + <argument index="0" name="delta" type="float"> + </argument> + <description> + </description> + </method> + <method name="finish"> + <description> + </description> + </method> </methods> <constants> + <constant name="NOTIFICATION_WM_MOUSE_ENTER" value="3"> + </constant> + <constant name="NOTIFICATION_WM_MOUSE_EXIT" value="4"> + </constant> <constant name="NOTIFICATION_WM_FOCUS_IN" value="5"> </constant> <constant name="NOTIFICATION_WM_FOCUS_OUT" value="6"> @@ -13853,7 +16028,7 @@ <description> </description> <methods> - <method name="variant_to_base64" > + <method name="variant_to_base64"> <return type="String"> </return> <argument index="0" name="variant" type="var"> @@ -13861,7 +16036,39 @@ <description> </description> </method> - <method name="base64_to_variant" > + <method name="base64_to_variant"> + <argument index="0" name="base64_str" type="String"> + </argument> + <description> + </description> + </method> + <method name="raw_to_base64"> + <return type="String"> + </return> + <argument index="0" name="array" type="RawArray"> + </argument> + <description> + </description> + </method> + <method name="base64_to_raw"> + <return type="RawArray"> + </return> + <argument index="0" name="base64_str" type="String"> + </argument> + <description> + </description> + </method> + <method name="utf8_to_base64"> + <return type="String"> + </return> + <argument index="0" name="utf8_str" type="String"> + </argument> + <description> + </description> + </method> + <method name="base64_to_utf8"> + <return type="String"> + </return> <argument index="0" name="base64_str" type="String"> </argument> <description> @@ -13879,7 +16086,7 @@ Material is a base [Resource] used for coloring and shading geometry. All materials inherit from it and almost all [VisualInstance] derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here. </description> <methods> - <method name="set_flag" > + <method name="set_flag"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -13888,7 +16095,7 @@ Set a [Material] flag, which toggles on or off a behavior when rendering. See enumeration FLAG_* for a list. </description> </method> - <method name="get_flag" qualifiers="const" > + <method name="get_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -13897,41 +16104,41 @@ Return a [Material] flag, which toggles on or off a behavior when rendering. See enumeration FLAG_* for a list. </description> </method> - <method name="set_blend_mode" > + <method name="set_blend_mode"> <argument index="0" name="mode" type="int"> </argument> <description> Set 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="get_blend_mode" qualifiers="const" > + <method name="get_blend_mode" qualifiers="const"> <return type="int"> </return> <description> 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_line_width" > + <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_line_width" qualifiers="const" > + <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_depth_draw_mode" > + <method name="set_depth_draw_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_depth_draw_mode" qualifiers="const" > + <method name="get_depth_draw_mode" qualifiers="const"> <return type="int"> </return> <description> @@ -13958,7 +16165,7 @@ <constant name="FLAG_COLOR_ARRAY_SRGB" value="6"> </constant> <constant name="FLAG_MAX" value="7"> - Maximum amount of flags + Maximum amount of flags. </constant> <constant name="DEPTH_DRAW_ALWAYS" value="0"> </constant> @@ -13983,6 +16190,26 @@ </constant> </constants> </class> +<class name="MaterialShader" inherits="Shader" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + </methods> + <constants> + </constants> +</class> +<class name="MaterialShaderGraph" inherits="ShaderGraph" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + </methods> + <constants> + </constants> +</class> <class name="Matrix3" category="Built-In Types"> <brief_description> 3x3 matrix datatype. @@ -13991,47 +16218,47 @@ 3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x,y and z. Can also be accessed as array of 3D vectors. Almost always used as orthogonal basis for a [Transform]. </description> <methods> - <method name="determinant" > + <method name="determinant"> <return type="float"> </return> <description> Return the determinant of the matrix. </description> </method> - <method name="get_euler" > + <method name="get_euler"> <return type="Vector3"> </return> <description> Return euler angles from the matrix. </description> </method> - <method name="get_orthogonal_index" > + <method name="get_orthogonal_index"> <return type="int"> </return> <description> </description> </method> - <method name="get_scale" > + <method name="get_scale"> <return type="Vector3"> </return> <description> </description> </method> - <method name="inverse" > + <method name="inverse"> <return type="Matrix3"> </return> <description> Return the affine inverse of the matrix. </description> </method> - <method name="orthonormalized" > + <method name="orthonormalized"> <return type="Matrix3"> </return> <description> Return the orthonormalized version of the matrix (useful to call from time to time to avoid rounding error). </description> </method> - <method name="rotated" > + <method name="rotated"> <return type="Matrix3"> </return> <argument index="0" name="axis" type="Vector3"> @@ -14042,7 +16269,7 @@ Return the rotated version of the matrix, by a given axis and angle. </description> </method> - <method name="scaled" > + <method name="scaled"> <return type="Matrix3"> </return> <argument index="0" name="scale" type="Vector3"> @@ -14051,7 +16278,7 @@ Return the scaled version of the matrix, by a 3D scale. </description> </method> - <method name="tdotx" > + <method name="tdotx"> <return type="float"> </return> <argument index="0" name="with" type="Vector3"> @@ -14060,7 +16287,7 @@ Transposed dot product with the x axis of the matrix. </description> </method> - <method name="tdoty" > + <method name="tdoty"> <return type="float"> </return> <argument index="0" name="with" type="Vector3"> @@ -14069,7 +16296,7 @@ Transposed dot product with the y axis of the matrix. </description> </method> - <method name="tdotz" > + <method name="tdotz"> <return type="float"> </return> <argument index="0" name="with" type="Vector3"> @@ -14078,14 +16305,14 @@ Transposed dot product with the z axis of the matrix. </description> </method> - <method name="transposed" > + <method name="transposed"> <return type="Matrix3"> </return> <description> Return the transposed version of the matrix. </description> </method> - <method name="xform" > + <method name="xform"> <return type="Vector3"> </return> <argument index="0" name="v" type="Vector3"> @@ -14094,7 +16321,7 @@ Return a vector transformed by the matrix and return it. </description> </method> - <method name="xform_inv" > + <method name="xform_inv"> <return type="Vector3"> </return> <argument index="0" name="v" type="Vector3"> @@ -14103,7 +16330,9 @@ Return a vector transformed by the transposed matrix and return it. </description> </method> - <method name="Matrix3" > + <method name="Matrix3"> + <return type="Matrix3"> + </return> <argument index="0" name="x_axis" type="Vector3"> </argument> <argument index="1" name="y_axis" type="Vector3"> @@ -14114,7 +16343,9 @@ Create a matrix from 3 axis vectors. </description> </method> - <method name="Matrix3" > + <method name="Matrix3"> + <return type="Matrix3"> + </return> <argument index="0" name="axis" type="Vector3"> </argument> <argument index="1" name="phi" type="float"> @@ -14123,7 +16354,9 @@ Create a matrix from an axis vector and an angle. </description> </method> - <method name="Matrix3" > + <method name="Matrix3"> + <return type="Matrix3"> + </return> <argument index="0" name="from" type="Quat"> </argument> <description> @@ -14150,13 +16383,13 @@ 3x2 Matrix for 2D transforms. </description> <methods> - <method name="affine_inverse" > + <method name="affine_inverse"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="basis_xform" > + <method name="basis_xform"> <return type="Matrix32"> </return> <argument index="0" name="v" type="var"> @@ -14164,7 +16397,7 @@ <description> </description> </method> - <method name="basis_xform_inv" > + <method name="basis_xform_inv"> <return type="Matrix32"> </return> <argument index="0" name="v" type="var"> @@ -14172,25 +16405,25 @@ <description> </description> </method> - <method name="get_origin" > + <method name="get_origin"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_rotation" > + <method name="get_rotation"> <return type="float"> </return> <description> </description> </method> - <method name="get_scale" > + <method name="get_scale"> <return type="Vector2"> </return> <description> </description> </method> - <method name="interpolate_with" > + <method name="interpolate_with"> <return type="Matrix32"> </return> <argument index="0" name="m" type="Matrix32"> @@ -14200,19 +16433,19 @@ <description> </description> </method> - <method name="inverse" > + <method name="inverse"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="orthonormalized" > + <method name="orthonormalized"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="rotated" > + <method name="rotated"> <return type="Matrix32"> </return> <argument index="0" name="phi" type="float"> @@ -14220,7 +16453,7 @@ <description> </description> </method> - <method name="scaled" > + <method name="scaled"> <return type="Matrix32"> </return> <argument index="0" name="scale" type="Vector2"> @@ -14228,7 +16461,7 @@ <description> </description> </method> - <method name="translated" > + <method name="translated"> <return type="Matrix32"> </return> <argument index="0" name="offset" type="Vector2"> @@ -14236,7 +16469,7 @@ <description> </description> </method> - <method name="xform" > + <method name="xform"> <return type="Matrix32"> </return> <argument index="0" name="v" type="var"> @@ -14244,7 +16477,7 @@ <description> </description> </method> - <method name="xform_inv" > + <method name="xform_inv"> <return type="Matrix32"> </return> <argument index="0" name="v" type="var"> @@ -14252,7 +16485,19 @@ <description> </description> </method> - <method name="Matrix32" > + <method name="Matrix32"> + <return type="Matrix32"> + </return> + <argument index="0" name="rot" type="float"> + </argument> + <argument index="1" name="pos" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="Matrix32"> + <return type="Matrix32"> + </return> <argument index="0" name="x_axis" type="Vector2"> </argument> <argument index="1" name="y_axis" type="Vector2"> @@ -14262,6 +16507,14 @@ <description> </description> </method> + <method name="Matrix32"> + <return type="Matrix32"> + </return> + <argument index="0" name="from" type="Transform"> + </argument> + <description> + </description> + </method> </methods> <members> <member name="x" type="float"> @@ -14282,8 +16535,8 @@ Special button that brings up a [PopupMenu] when clicked. That's pretty much all it does, as it's just a helper class when bulding GUIs. </description> <methods> - <method name="get_popup" > - <return type="Object"> + <method name="get_popup"> + <return type="PopupMenu"> </return> <description> Return the [PopupMenu] contained in this button. @@ -14329,19 +16582,19 @@ Mesh is a type of [Resource] that contains vertex-array based geometry, divided in [i]surfaces[/i]. Each surface contains a completely separate array and a material used to draw it. Design wise, a mesh with multiple surfaces is prefered to a single surface, because objects created in 3D editing software commonly contain multiple materials. </description> <methods> - <method name="add_morph_target" > + <method name="add_morph_target"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="get_morph_target_count" qualifiers="const" > + <method name="get_morph_target_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_morph_target_name" qualifiers="const" > + <method name="get_morph_target_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="index" type="int"> @@ -14349,23 +16602,23 @@ <description> </description> </method> - <method name="clear_morph_targets" > + <method name="clear_morph_targets"> <description> </description> </method> - <method name="set_morph_target_mode" > + <method name="set_morph_target_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_morph_target_mode" qualifiers="const" > + <method name="get_morph_target_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="add_surface" > + <method name="add_surface"> <argument index="0" name="primitive" type="int"> </argument> <argument index="1" name="arrays" type="Array"> @@ -14375,24 +16628,26 @@ <argument index="3" name="arg3" type="bool" default="Array()"> </argument> <description> - Create a new surface ([method get_surface_count] will become surf_idx for this.[br]"#10;"#9;"#9;"#9;Surfaces are created to be rendered using a "primitive", which may be PRIMITIVE_POINTS, PRIMITIVE_LINES, PRIMITIVE_LINE_STRIP, PRIMITIVE_LINE_LOOP, PRIMITIVE_TRIANGLES, PRIMITIVE_TRIANGLE_STRIP, PRIMITIVE_TRIANGLE_FAN. (As a note, when using indices, it is recommended to only use just points, lines or triangles).[br]"#10;"#9;"#9;"#9;The format of a surface determines which arrays it will allocate and hold, so "format" is a combination of ARRAY_FORMAT_* mask constants ORed together. ARRAY_FORMAT_VERTEX must be always present. "array_len" determines the amount of vertices in the array (not primitives!). if ARRAY_FORMAT_INDEX is in the format mask, then it means that an index array will be allocated and "index_array_len" must be passed. + Create a new surface ([method get_surface_count] that will become surf_idx for this. + Surfaces are created to be rendered using a "primitive", which may be PRIMITIVE_POINTS, PRIMITIVE_LINES, PRIMITIVE_LINE_STRIP, PRIMITIVE_LINE_LOOP, PRIMITIVE_TRIANGLES, PRIMITIVE_TRIANGLE_STRIP, PRIMITIVE_TRIANGLE_FAN. (As a note, when using indices, it is recommended to only use just points, lines or triangles). + The format of a surface determines which arrays it will allocate and hold, so "format" is a combination of ARRAY_FORMAT_* mask constants ORed together. ARRAY_FORMAT_VERTEX must be always present. "array_len" determines the amount of vertices in the array (not primitives!). if ARRAY_FORMAT_INDEX is in the format mask, then it means that an index array will be allocated and "index_array_len" must be passed. </description> </method> - <method name="get_surface_count" qualifiers="const" > + <method name="get_surface_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of surfaces that the [Mesh] holds. </description> </method> - <method name="surface_remove" > + <method name="surface_remove"> <argument index="0" name="surf_idx" type="int"> </argument> <description> Remove a surface at position surf_idx, shifting greater surfaces one surf_idx slot down. </description> </method> - <method name="surface_get_array_len" qualifiers="const" > + <method name="surface_get_array_len" qualifiers="const"> <return type="int"> </return> <argument index="0" name="surf_idx" type="int"> @@ -14401,7 +16656,7 @@ Return the length in vertices of the vertex array in the requested surface (see [method add_surface]). </description> </method> - <method name="surface_get_array_index_len" qualifiers="const" > + <method name="surface_get_array_index_len" qualifiers="const"> <return type="int"> </return> <argument index="0" name="surf_idx" type="int"> @@ -14410,7 +16665,7 @@ Return the length in indices of the index array in the requested surface (see [method add_surface]). </description> </method> - <method name="surface_get_format" qualifiers="const" > + <method name="surface_get_format" qualifiers="const"> <return type="int"> </return> <argument index="0" name="surf_idx" type="int"> @@ -14419,7 +16674,7 @@ Return the format mask of the requested surface (see [method add_surface]). </description> </method> - <method name="surface_get_primitive_type" qualifiers="const" > + <method name="surface_get_primitive_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="surf_idx" type="int"> @@ -14428,7 +16683,7 @@ Return the primitive type of the requested surface (see [method add_surface]). </description> </method> - <method name="surface_set_material" > + <method name="surface_set_material"> <argument index="0" name="surf_idx" type="int"> </argument> <argument index="1" name="material" type="Material"> @@ -14437,7 +16692,7 @@ Set a [Material] for a given surface. Surface will be rendered using this material. </description> </method> - <method name="surface_get_material" qualifiers="const" > + <method name="surface_get_material" qualifiers="const"> <return type="Material"> </return> <argument index="0" name="surf_idx" type="int"> @@ -14446,7 +16701,7 @@ Return a [Material] in a given surface. Surface is rendered using this material. </description> </method> - <method name="surface_set_name" > + <method name="surface_set_name"> <argument index="0" name="surf_idx" type="int"> </argument> <argument index="1" name="name" type="String"> @@ -14454,7 +16709,7 @@ <description> </description> </method> - <method name="surface_get_name" qualifiers="const" > + <method name="surface_get_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="surf_idx" type="int"> @@ -14462,21 +16717,21 @@ <description> </description> </method> - <method name="center_geometry" > + <method name="center_geometry"> <description> </description> </method> - <method name="regen_normalmaps" > + <method name="regen_normalmaps"> <description> </description> </method> - <method name="set_custom_aabb" > + <method name="set_custom_aabb"> <argument index="0" name="aabb" type="AABB"> </argument> <description> </description> </method> - <method name="get_custom_aabb" qualifiers="const" > + <method name="get_custom_aabb" qualifiers="const"> <return type="AABB"> </return> <description> @@ -14506,6 +16761,7 @@ UV array (array of [Vector3]() UVs or float array of groups of 2 floats (u,v)). </constant> <constant name="ARRAY_TEX_UV2" value="5"> + Second UV array (array of [Vector3]() UVs or float array of groups of 2 floats (u,v)). </constant> <constant name="ARRAY_BONES" value="6"> Array of bone indices, as a float array. Each element in groups of 4 floats. @@ -14532,6 +16788,7 @@ Array format will include UVs. </constant> <constant name="ARRAY_FORMAT_TEX_UV2" value="32"> + Array format will include another set of UVs. </constant> <constant name="ARRAY_FORMAT_BONES" value="64"> Array format will include bone indices. @@ -14571,11 +16828,11 @@ <description> </description> <methods> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="create_from_surface" > + <method name="create_from_surface"> <return type="int"> </return> <argument index="0" name="mesh" type="Object"> @@ -14585,7 +16842,7 @@ <description> </description> </method> - <method name="commit_to_surface" > + <method name="commit_to_surface"> <return type="int"> </return> <argument index="0" name="mesh" type="Object"> @@ -14593,31 +16850,31 @@ <description> </description> </method> - <method name="get_format" qualifiers="const" > + <method name="get_format" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_vertex_count" qualifiers="const" > + <method name="get_vertex_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_edge_count" qualifiers="const" > + <method name="get_edge_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_face_count" qualifiers="const" > + <method name="get_face_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_vertex" > + <method name="set_vertex"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="vertex" type="Vector3"> @@ -14625,7 +16882,7 @@ <description> </description> </method> - <method name="get_vertex" qualifiers="const" > + <method name="get_vertex" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="idx" type="int"> @@ -14633,7 +16890,7 @@ <description> </description> </method> - <method name="set_vertex_normal" > + <method name="set_vertex_normal"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="normal" type="Vector3"> @@ -14641,7 +16898,7 @@ <description> </description> </method> - <method name="get_vertex_normal" qualifiers="const" > + <method name="get_vertex_normal" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="idx" type="int"> @@ -14649,7 +16906,7 @@ <description> </description> </method> - <method name="set_vertex_tangent" > + <method name="set_vertex_tangent"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="tangent" type="Plane"> @@ -14657,7 +16914,7 @@ <description> </description> </method> - <method name="get_vertex_tangent" qualifiers="const" > + <method name="get_vertex_tangent" qualifiers="const"> <return type="Plane"> </return> <argument index="0" name="idx" type="int"> @@ -14665,7 +16922,7 @@ <description> </description> </method> - <method name="set_vertex_uv" > + <method name="set_vertex_uv"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="uv" type="Vector2"> @@ -14673,7 +16930,7 @@ <description> </description> </method> - <method name="get_vertex_uv" qualifiers="const" > + <method name="get_vertex_uv" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="idx" type="int"> @@ -14681,7 +16938,7 @@ <description> </description> </method> - <method name="set_vertex_uv2" > + <method name="set_vertex_uv2"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="uv2" type="Vector2"> @@ -14689,7 +16946,7 @@ <description> </description> </method> - <method name="get_vertex_uv2" qualifiers="const" > + <method name="get_vertex_uv2" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="idx" type="int"> @@ -14697,7 +16954,7 @@ <description> </description> </method> - <method name="set_vertex_color" > + <method name="set_vertex_color"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -14705,7 +16962,7 @@ <description> </description> </method> - <method name="get_vertex_color" qualifiers="const" > + <method name="get_vertex_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="idx" type="int"> @@ -14713,7 +16970,7 @@ <description> </description> </method> - <method name="set_vertex_bones" > + <method name="set_vertex_bones"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="bones" type="IntArray"> @@ -14721,7 +16978,7 @@ <description> </description> </method> - <method name="get_vertex_bones" qualifiers="const" > + <method name="get_vertex_bones" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="idx" type="int"> @@ -14729,7 +16986,7 @@ <description> </description> </method> - <method name="set_vertex_weights" > + <method name="set_vertex_weights"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="weights" type="RealArray"> @@ -14737,7 +16994,7 @@ <description> </description> </method> - <method name="get_vertex_weights" qualifiers="const" > + <method name="get_vertex_weights" qualifiers="const"> <return type="RealArray"> </return> <argument index="0" name="idx" type="int"> @@ -14745,7 +17002,7 @@ <description> </description> </method> - <method name="set_vertex_meta" > + <method name="set_vertex_meta"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="meta" type="var"> @@ -14753,13 +17010,13 @@ <description> </description> </method> - <method name="get_vertex_meta" qualifiers="const" > + <method name="get_vertex_meta" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="get_vertex_edges" qualifiers="const" > + <method name="get_vertex_edges" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="idx" type="int"> @@ -14767,7 +17024,7 @@ <description> </description> </method> - <method name="get_vertex_faces" qualifiers="const" > + <method name="get_vertex_faces" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="idx" type="int"> @@ -14775,7 +17032,7 @@ <description> </description> </method> - <method name="get_edge_vertex" qualifiers="const" > + <method name="get_edge_vertex" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -14785,7 +17042,7 @@ <description> </description> </method> - <method name="get_edge_faces" qualifiers="const" > + <method name="get_edge_faces" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="idx" type="int"> @@ -14793,7 +17050,7 @@ <description> </description> </method> - <method name="set_edge_meta" > + <method name="set_edge_meta"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="meta" type="var"> @@ -14801,13 +17058,13 @@ <description> </description> </method> - <method name="get_edge_meta" qualifiers="const" > + <method name="get_edge_meta" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="get_face_vertex" qualifiers="const" > + <method name="get_face_vertex" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -14817,7 +17074,7 @@ <description> </description> </method> - <method name="get_face_edge" qualifiers="const" > + <method name="get_face_edge" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -14827,7 +17084,7 @@ <description> </description> </method> - <method name="set_face_meta" > + <method name="set_face_meta"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="meta" type="var"> @@ -14835,13 +17092,13 @@ <description> </description> </method> - <method name="get_face_meta" qualifiers="const" > + <method name="get_face_meta" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="get_face_normal" qualifiers="const" > + <method name="get_face_normal" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="idx" type="int"> @@ -14849,13 +17106,13 @@ <description> </description> </method> - <method name="set_material" > + <method name="set_material"> <argument index="0" name="material" type="Material"> </argument> <description> </description> </method> - <method name="get_material" qualifiers="const" > + <method name="get_material" qualifiers="const"> <return type="Object"> </return> <description> @@ -14873,45 +17130,45 @@ MeshInstance is a [Node] that takes a [Mesh] resource and adds it to the current [Scenario] by creating an instance of it. This is the class most often used to get 3D geometry rendered and can be used to instance a sigle [Mesh] in many places. This allows to reuse geometry and save on resources. When a [Mesh] has to be instanced more than thousands of times at close proximity, consider using a [MultiMesh] in a [MultiMeshInstance] instead. </description> <methods> - <method name="set_mesh" > + <method name="set_mesh"> <argument index="0" name="mesh" type="Mesh"> </argument> <description> Set the [Mesh] resource for the instance. </description> </method> - <method name="get_mesh" qualifiers="const" > + <method name="get_mesh" qualifiers="const"> <return type="Mesh"> </return> <description> Return the current [Mesh] resource for the instance. </description> </method> - <method name="set_skeleton_path" > + <method name="set_skeleton_path"> <argument index="0" name="skeleton_path" type="NodePath"> </argument> <description> </description> </method> - <method name="get_skeleton_path" > + <method name="get_skeleton_path"> <return type="NodePath"> </return> <description> </description> </method> - <method name="get_aabb" qualifiers="const" > + <method name="get_aabb" qualifiers="const"> <return type="AABB"> </return> <description> Return the AABB of the mesh, in local coordinates. </description> </method> - <method name="create_trimesh_collision" > + <method name="create_trimesh_collision"> <description> - This helper creates a [StaticBody] child [Node] using the mesh geometry as collision. It"apos;s mainly used for testing. + This helper creates a [StaticBody] child [Node] using the mesh geometry as collision. It's mainly used for testing. </description> </method> - <method name="create_convex_collision" > + <method name="create_convex_collision"> <description> </description> </method> @@ -14927,14 +17184,14 @@ Library of meshes. Contains a list of [Mesh] resources, each with name and ID. Useful for GridMap or painting Terrain. </description> <methods> - <method name="create_item" > + <method name="create_item"> <argument index="0" name="id" type="int"> </argument> <description> Create a new item in the library, supplied an id. </description> </method> - <method name="set_item_name" > + <method name="set_item_name"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="name" type="String"> @@ -14943,7 +17200,7 @@ Set the name of the item. </description> </method> - <method name="set_item_mesh" > + <method name="set_item_mesh"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="mesh" type="Mesh"> @@ -14952,7 +17209,7 @@ Set the mesh of the item. </description> </method> - <method name="set_item_shape" > + <method name="set_item_shape"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="shape" type="Shape"> @@ -14960,7 +17217,7 @@ <description> </description> </method> - <method name="get_item_name" qualifiers="const" > + <method name="get_item_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="int"> @@ -14969,7 +17226,7 @@ Return the name of the item. </description> </method> - <method name="get_item_mesh" qualifiers="const" > + <method name="get_item_mesh" qualifiers="const"> <return type="Mesh"> </return> <argument index="0" name="id" type="int"> @@ -14978,7 +17235,7 @@ Return the mesh of the item. </description> </method> - <method name="get_item_shape" qualifiers="const" > + <method name="get_item_shape" qualifiers="const"> <return type="Shape"> </return> <argument index="0" name="id" type="int"> @@ -14986,26 +17243,26 @@ <description> </description> </method> - <method name="remove_item" > + <method name="remove_item"> <argument index="0" name="id" type="int"> </argument> <description> Remove the item. </description> </method> - <method name="clear" > + <method name="clear"> <description> Clear the library. </description> </method> - <method name="get_item_list" qualifiers="const" > + <method name="get_item_list" qualifiers="const"> <return type="IntArray"> </return> <description> Return the list of items. </description> </method> - <method name="get_last_unused_item_id" qualifiers="const" > + <method name="get_last_unused_item_id" qualifiers="const"> <return type="int"> </return> <description> @@ -15021,38 +17278,40 @@ Provides high perfomance mesh instancing. </brief_description> <description> - MultiMesh provides low level mesh instancing. If the amount of [Mesh] instances needed goes from hundreds to thousands (and most need to be visible at close proximity) creating such a large amount of [MeshInstance] nodes may affect performance by using too much CPU or video memory. [br]For this case a MultiMesh becomes very useful, as it can draw thousands of instances with little API overhead.[br] As a drawback, if the instances are too far away of each other, performance may be reduced as every sigle instance will always rendered (they are spatially indexed as one, for the whole object).[br] Since instances may have any behavior, the AABB used for visibility must be provided by the user, or generated with [method generate_aabb]. + MultiMesh provides low level mesh instancing. If the amount of [Mesh] instances needed goes from hundreds to thousands (and most need to be visible at close proximity) creating such a large amount of [MeshInstance] nodes may affect performance by using too much CPU or video memory. + For this case a MultiMesh becomes very useful, as it can draw thousands of instances with little API overhead.[br] As a drawback, if the instances are too far away of each other, performance may be reduced as every sigle instance will always rendered (they are spatially indexed as one, for the whole object). + Since instances may have any behavior, the AABB used for visibility must be provided by the user, or generated with [method generate_aabb]. </description> <methods> - <method name="set_mesh" > + <method name="set_mesh"> <argument index="0" name="mesh" type="Mesh"> </argument> <description> Set the [Mesh] resource to be drawn in multiple instances. </description> </method> - <method name="get_mesh" qualifiers="const" > + <method name="get_mesh" qualifiers="const"> <return type="Mesh"> </return> <description> Return the [Mesh] resource drawn as multiple instances. </description> </method> - <method name="set_instance_count" > + <method name="set_instance_count"> <argument index="0" name="arg0" type="int"> </argument> <description> Set the amount of instnces that is going to be drawn. Changing this number will erase all the existing instance transform and color data. </description> </method> - <method name="get_instance_count" qualifiers="const" > + <method name="get_instance_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of instnces that is going to be drawn. </description> </method> - <method name="set_instance_transform" > + <method name="set_instance_transform"> <argument index="0" name="arg0" type="int"> </argument> <argument index="1" name="arg1" type="Transform"> @@ -15061,7 +17320,7 @@ Set the transform for a specific instance. </description> </method> - <method name="get_instance_transform" qualifiers="const" > + <method name="get_instance_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="arg0" type="int"> @@ -15070,7 +17329,7 @@ Return the transform of a specific instance. </description> </method> - <method name="set_instance_color" > + <method name="set_instance_color"> <argument index="0" name="arg0" type="int"> </argument> <argument index="1" name="arg1" type="Color"> @@ -15079,7 +17338,7 @@ Set the color of a specific instance. </description> </method> - <method name="get_instance_color" qualifiers="const" > + <method name="get_instance_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="int"> @@ -15088,21 +17347,21 @@ Get the color of a specific instance. </description> </method> - <method name="set_aabb" > + <method name="set_aabb"> <argument index="0" name="arg0" type="AABB"> </argument> <description> Set the visibility AABB. If not provided, MultiMesh will not be visible. </description> </method> - <method name="get_aabb" qualifiers="const" > + <method name="get_aabb" qualifiers="const"> <return type="AABB"> </return> <description> Return the visibility AABB. </description> </method> - <method name="generate_aabb" > + <method name="generate_aabb"> <description> Generate a new visibility AABB, using mesh AABB and instance transforms. Since instance information is stored in the [VisualServer], this function is VERY SLOW and must NOT be used often. </description> @@ -15119,14 +17378,14 @@ MultiMeshInstance is a [Node] that takes a [MultiMesh] resource and adds it to the current [Scenario] by creating an instance of it (yes, this is an instance of instances). </description> <methods> - <method name="set_multimesh" > + <method name="set_multimesh"> <argument index="0" name="multimesh" type="Object"> </argument> <description> Set the [MultiMesh] to be instance. </description> </method> - <method name="get_multimesh" qualifiers="const" > + <method name="get_multimesh" qualifiers="const"> <return type="Object"> </return> <description> @@ -15143,17 +17402,17 @@ <description> </description> <methods> - <method name="lock" > + <method name="lock"> <description> </description> </method> - <method name="try_lock" > - <return type="int"> + <method name="try_lock"> + <return type="Error"> </return> <description> </description> </method> - <method name="unlock" > + <method name="unlock"> <description> </description> </method> @@ -15167,7 +17426,7 @@ <description> </description> <methods> - <method name="navmesh_create" > + <method name="navmesh_create"> <return type="int"> </return> <argument index="0" name="mesh" type="NavigationMesh"> @@ -15179,7 +17438,7 @@ <description> </description> </method> - <method name="navmesh_set_transform" > + <method name="navmesh_set_transform"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="xform" type="Transform"> @@ -15187,13 +17446,13 @@ <description> </description> </method> - <method name="navmesh_remove" > + <method name="navmesh_remove"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="get_simple_path" > + <method name="get_simple_path"> <return type="Vector3Array"> </return> <argument index="0" name="start" type="Vector3"> @@ -15205,17 +17464,19 @@ <description> </description> </method> - <method name="get_closest_point_to_segment" > + <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> + <argument index="2" name="use_collision" type="bool" default="false"> + </argument> <description> </description> </method> - <method name="get_closest_point" > + <method name="get_closest_point"> <return type="Vector3"> </return> <argument index="0" name="to_point" type="Vector3"> @@ -15223,7 +17484,7 @@ <description> </description> </method> - <method name="get_closest_point_normal" > + <method name="get_closest_point_normal"> <return type="Vector3"> </return> <argument index="0" name="to_point" type="Vector3"> @@ -15231,13 +17492,21 @@ <description> </description> </method> - <method name="set_up_vector" > + <method name="get_closest_point_owner"> + <return type="Object"> + </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" > + <method name="get_up_vector" qualifiers="const"> <return type="Vector3"> </return> <description> @@ -15247,37 +17516,101 @@ <constants> </constants> </class> +<class name="Navigation2D" inherits="Node2D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="navpoly_create"> + <return type="int"> + </return> + <argument index="0" name="mesh" type="NavigationPolygon"> + </argument> + <argument index="1" name="xform" type="Matrix32"> + </argument> + <argument index="2" name="owner" type="Object" default="NULL"> + </argument> + <description> + </description> + </method> + <method name="navpoly_set_transform"> + <argument index="0" name="id" type="int"> + </argument> + <argument index="1" name="xform" type="Matrix32"> + </argument> + <description> + </description> + </method> + <method name="navpoly_remove"> + <argument index="0" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_simple_path"> + <return type="Vector2Array"> + </return> + <argument index="0" name="start" type="Vector2"> + </argument> + <argument index="1" name="end" type="Vector2"> + </argument> + <argument index="2" name="optimize" type="bool" default="true"> + </argument> + <description> + </description> + </method> + <method name="get_closest_point"> + <return type="Vector2"> + </return> + <argument index="0" name="to_point" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_closest_point_owner"> + <return type="Object"> + </return> + <argument index="0" name="to_point" type="Vector2"> + </argument> + <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" > + <method name="set_vertices"> <argument index="0" name="vertices" type="Vector3Array"> </argument> <description> </description> </method> - <method name="get_vertices" qualifiers="const" > + <method name="get_vertices" qualifiers="const"> <return type="Vector3Array"> </return> <description> </description> </method> - <method name="add_polygon" > + <method name="add_polygon"> <argument index="0" name="polygon" type="IntArray"> </argument> <description> </description> </method> - <method name="get_polygon_count" qualifiers="const" > + <method name="get_polygon_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_polygon" > + <method name="get_polygon"> <return type="IntArray"> </return> <argument index="0" name="idx" type="int"> @@ -15285,7 +17618,7 @@ <description> </description> </method> - <method name="clear_polygons" > + <method name="clear_polygons"> <description> </description> </method> @@ -15299,25 +17632,155 @@ <description> </description> <methods> - <method name="set_navigation_mesh" > + <method name="set_navigation_mesh"> <argument index="0" name="navmesh" type="Object"> </argument> <description> </description> </method> - <method name="get_navigation_mesh" qualifiers="const" > + <method name="get_navigation_mesh" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_enabled" > + <method name="set_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_enabled" qualifiers="const" > + <method name="is_enabled" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> +<class name="NavigationPolygon" inherits="Resource" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_vertices"> + <argument index="0" name="vertices" type="Vector2Array"> + </argument> + <description> + </description> + </method> + <method name="get_vertices" qualifiers="const"> + <return type="Vector2Array"> + </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> + <method name="add_outline"> + <argument index="0" name="outline" type="Vector2Array"> + </argument> + <description> + </description> + </method> + <method name="add_outline_at_index"> + <argument index="0" name="outline" type="Vector2Array"> + </argument> + <argument index="1" name="index" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_outline_count" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_outline"> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="outline" type="Vector2Array"> + </argument> + <description> + </description> + </method> + <method name="get_outline" qualifiers="const"> + <return type="Vector2Array"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="remove_outline"> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="clear_outlines"> + <description> + </description> + </method> + <method name="make_polygons_from_outlines"> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> +<class name="NavigationPolygonInstance" inherits="Node2D" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_navigation_polygon"> + <argument index="0" name="navpoly" type="Object"> + </argument> + <description> + </description> + </method> + <method name="get_navigation_polygon" 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> @@ -15333,169 +17796,169 @@ <description> </description> <methods> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="bool"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="int"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="float"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="String"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Vector2"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Rect2"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Vector3"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Matrix32"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Plane"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Quat"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="AABB"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Matrix3"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Transform"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Color"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Image"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="NodePath"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="RID"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Object"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="InputEvent"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Dictionary"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Array"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="RawArray"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="IntArray"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="RealArray"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="StringArray"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Vector2Array"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="Vector3Array"> </argument> <description> </description> </method> - <method name="Nil" > + <method name="Nil"> <argument index="0" name="from" type="ColorArray"> </argument> <description> @@ -15511,121 +17974,115 @@ </brief_description> <description> Nodes can be set as children of other nodes, resulting in a tree arrangement. Any tree of nodes is called a "Scene". - Scenes can be saved to disk, and then instanced into other scenes. This allows for very high flexibility in the architecture and data model of the projects. - [SceneMainLoop] contains the "active" tree of nodes, and a node becomes active (receinving NOTIFICATION_ENTER_SCENE) when added to that tree. - A node can contain any number of nodes as a children (but there is only one tree root) with the requirement that no two childrens with the same name can exist. - Nodes can, optionally, be added to groups. This makes it easy to reach a number of nodes from the code (for example an "enemies" group). - Nodes can be set to "process" state, so they constantly receive a callback requesting them to process (do anything). Normal processing ([method _process]) happens as fast as possible and is dependent on the frame rate, so the processing time delta is variable. Fixed processing ([method _fixed_process]) happens a fixed amount of times per second (by default 60) and is useful to link itself to the physics. - Nodes can also process input events. When set, the [method _input] function will be called with every input that the program receives. Since this is usually too overkill (unless used for simple projects), an [method _unhandled_input] function is called when the input was not handled by anyone else (usually, GUI [Control] nodes). - To keep track of the scene hieararchy (specially when instancing scenes into scenes) an "owner" can be set to a node. This keeps track of who instanced what. This is mostly useful when writing editors and tools, though. - Finally, when a node is freed, it will free all its children nodes too. + Scenes can be saved to disk, and then instanced into other scenes. This allows for very high flexibility in the architecture and data model of the projects. + [SceneMainLoop] contains the "active" tree of nodes, and a node becomes active (receinving NOTIFICATION_ENTER_SCENE) when added to that tree. + A node can contain any number of nodes as a children (but there is only one tree root) with the requirement that no two childrens with the same name can exist. + Nodes can, optionally, be added to groups. This makes it easy to reach a number of nodes from the code (for example an "enemies" group). + Nodes can be set to "process" state, so they constantly receive a callback requesting them to process (do anything). Normal processing ([method _process]) happens as fast as possible and is dependent on the frame rate, so the processing time delta is variable. Fixed processing ([method _fixed_process]) happens a fixed amount of times per second (by default 60) and is useful to link itself to the physics. + Nodes can also process input events. When set, the [method _input] function will be called with every input that the program receives. Since this is usually too overkill (unless used for simple projects), an [method _unhandled_input] function is called when the input was not handled by anyone else (usually, GUI [Control] nodes). + To keep track of the scene hieararchy (specially when instancing scenes into scenes) an "owner" can be set to a node. This keeps track of who instanced what. This is mostly useful when writing editors and tools, though. + Finally, when a node is freed, it will free all its children nodes too. </description> <methods> - <method name="_enter_tree" qualifiers="virtual" > + <method name="_enter_tree" qualifiers="virtual"> <description> </description> </method> - <method name="_exit_tree" qualifiers="virtual" > + <method name="_exit_tree" qualifiers="virtual"> <description> </description> </method> - <method name="_fixed_process" qualifiers="virtual" > + <method name="_fixed_process" qualifiers="virtual"> <argument index="0" name="delta" type="float"> </argument> <description> Called for fixed processing (synced to the physics). </description> </method> - <method name="_input" qualifiers="virtual" > + <method name="_input" qualifiers="virtual"> <argument index="0" name="event" type="InputEvent"> </argument> <description> Called when any input happens (also must enable with [method set_process_input] or the property). </description> </method> - <method name="_process" qualifiers="virtual" > + <method name="_process" qualifiers="virtual"> <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. </description> </method> - <method name="_ready" qualifiers="virtual" > + <method name="_ready" qualifiers="virtual"> <description> Called when ready (entered scene and children entered too). </description> </method> - <method name="_unhandled_input" qualifiers="virtual" > + <method name="_unhandled_input" qualifiers="virtual"> <argument index="0" name="event" type="InputEvent"> </argument> <description> Called when any input happens that was not handled by something else (also must enable with [method set_process_unhandled_input] or the property). </description> </method> - <method name="_unhandled_key_input" qualifiers="virtual" > + <method name="_unhandled_key_input" qualifiers="virtual"> <argument index="0" name="key_event" type="InputEvent"> </argument> <description> Called when any key input happens that was not handled by something else. </description> </method> - <method name="set_name" > + <method name="set_name"> <argument index="0" name="name" type="String"> </argument> <description> Set the name of the [Node]. Name must be unique within parent, and setting an already existing name will cause for the node to be automatically renamed. </description> </method> - <method name="get_name" qualifiers="const" > + <method name="get_name" qualifiers="const"> <return type="String"> </return> <description> Return the name of the [Node]. Name is be unique within parent. </description> </method> - <method name="add_child" > + <method name="add_child"> <argument index="0" name="node" type="Node"> </argument> <description> Add a child [Node]. Nodes can have as many children as they want, but every child must have a unique name. Children nodes are automatically deleted when the parent node is deleted, so deleting a whole scene is performed by deleting its topmost node. </description> </method> - <method name="remove_child" > + <method name="remove_child"> <argument index="0" name="node" type="Node"> </argument> <description> Remove a child [Node]. Node is NOT deleted and will have to be deleted manually. </description> </method> - <method name="remove_and_delete_child" > - <argument index="0" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="get_child_count" qualifiers="const" > + <method name="get_child_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of children nodes. </description> </method> - <method name="get_children" qualifiers="const" > + <method name="get_children" qualifiers="const"> <return type="Array"> </return> <description> </description> </method> - <method name="get_child" qualifiers="const" > + <method name="get_child" qualifiers="const"> <return type="Node"> </return> <argument index="0" name="idx" type="int"> </argument> <description> - Return a children node by it"apos;s index (see [method get_child_count]). This method is often used for iterating all children of a node. + Return a children node by it's index (see [method get_child_count]). This method is often used for iterating all children of a node. </description> </method> - <method name="has_node" qualifiers="const" > + <method name="has_node" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="path" type="NodePath"> @@ -15633,37 +18090,46 @@ <description> </description> </method> - <method name="get_node" qualifiers="const" > + <method name="get_node" qualifiers="const"> <return type="Node"> </return> <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] - root/[br] - root/Character[br] - root/Character/Sword[br] - root/Character/Backpack/Dagger[br] - root/MyGame[br] - root/Swamp/Alligator[br] - root/Swamp/Mosquito[br] - root/Swamp/Goblin[br] -[br] - Possible paths are:[br] - - get_node("Sword")[br] - - get_node("Backpack/Dagger")[br] - - get_node("../Swamp/Alligator")[br] - - get_node("/root/MyGame")[br] - </description> - </method> - <method name="get_parent" qualifiers="const" > + 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. + 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/ + root/Character + root/Character/Sword + root/Character/Backpack/Dagger + root/MyGame + root/Swamp/Alligator + root/Swamp/Mosquito + root/Swamp/Goblin + + Possible paths are: + - get_node("Sword") + - get_node("Backpack/Dagger") + - get_node("../Swamp/Alligator") + - get_node("/root/MyGame") + </description> + </method> + <method name="get_parent" qualifiers="const"> <return type="Parent"> </return> <description> Return the parent [Node] of the current [Node], or an empty Object if the node lacks a parent. </description> </method> - <method name="has_node_and_resource" qualifiers="const" > + <method name="find_node" qualifiers="const"> + <return type="Node"> + </return> + <argument index="0" name="mask" type="NodePath" default="true"> + </argument> + <description> + </description> + </method> + <method name="has_node_and_resource" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="path" type="NodePath"> @@ -15671,7 +18137,7 @@ <description> </description> </method> - <method name="get_node_and_resource" > + <method name="get_node_and_resource"> <return type="Array"> </return> <argument index="0" name="path" type="NodePath"> @@ -15679,13 +18145,13 @@ <description> </description> </method> - <method name="is_inside_tree" qualifiers="const" > + <method name="is_inside_tree" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="is_a_parent_of" qualifiers="const" > + <method name="is_a_parent_of" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="node" type="Node"> @@ -15694,7 +18160,7 @@ Return [i]true[/i] if the "node" argument is a direct or indirect child of the current node, otherwise return [i]false[/i]. </description> </method> - <method name="is_greater_than" qualifiers="const" > + <method name="is_greater_than" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="node" type="Node"> @@ -15703,14 +18169,14 @@ Return [i]true[/i] if "node" occurs later in the scene hierarchy than the current node, otherwise return [i]false[/i]. </description> </method> - <method name="get_path" qualifiers="const" > + <method name="get_path" qualifiers="const"> <return type="NodePath"> </return> <description> Return the absolute path of the current node. This only works if the curent node is inside the scene tree (see [method is_inside_scene]). </description> </method> - <method name="get_path_to" qualifiers="const" > + <method name="get_path_to" qualifiers="const"> <return type="NodePath"> </return> <argument index="0" name="node" type="Node"> @@ -15719,23 +18185,23 @@ Return the relative path from the current node to the specified node in "node" argument. Both nodes must be in the same scene, or else the function will fail. </description> </method> - <method name="add_to_group" > + <method name="add_to_group"> <argument index="0" name="group" type="String"> </argument> <argument index="1" name="arg1" type="bool" default="false"> </argument> <description> - Add a node to a group. Groups are helpers to name and organize group of nodes, like for example: "Enemies" "Collectables", etc. A [Node] can be in any number of groups. Nodes can be assigned a group at any time, but will not be added to it until they are inside the scene tree (see [method is_inside_scene]). + Add a node to a group. Groups are helpers to name and organize group of nodes, like for example: "Enemies", "Collectables", etc. A [Node] can be in any number of groups. Nodes can be assigned a group at any time, but will not be added to it until they are inside the scene tree (see [method is_inside_scene]). </description> </method> - <method name="remove_from_group" > + <method name="remove_from_group"> <argument index="0" name="group" type="String"> </argument> <description> Remove a node from a group. </description> </method> - <method name="is_in_group" qualifiers="const" > + <method name="is_in_group" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="group" type="String"> @@ -15743,7 +18209,7 @@ <description> </description> </method> - <method name="move_child" > + <method name="move_child"> <argument index="0" name="child_node" type="Node"> </argument> <argument index="1" name="to_pos" type="int"> @@ -15752,194 +18218,195 @@ 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" > + <method name="get_groups" qualifiers="const"> <return type="Array"> </return> <description> </description> </method> - <method name="raise" > + <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. </description> </method> - <method name="set_owner" > + <method name="set_owner"> <argument index="0" name="owner" type="Node"> </argument> <description> Set the node owner. A node can have any other node as owner (as long as a valid parent, grandparent, etc ascending in the tree). When saving a node (using SceneSaver) all the nodes it owns will be saved with it. This allows to create complex SceneTrees, with instancing and subinstancing. </description> </method> - <method name="get_owner" qualifiers="const" > + <method name="get_owner" qualifiers="const"> <return type="Node"> </return> <description> Get the node owner (see [method set_node_owner]). </description> </method> - <method name="remove_and_skip" > + <method name="remove_and_skip"> <description> Remove a node and set all its children as childrens of the parent node (if exists). All even subscriptions that pass by the removed node will be unsubscribed. </description> </method> - <method name="get_index" qualifiers="const" > + <method name="get_index" qualifiers="const"> <return type="int"> </return> <description> Get the node index in the parent (assuming it has a parent). </description> </method> - <method name="print_tree" > + <method name="print_tree"> <description> Print the screne to stdout. Used mainly for debugging purposes. </description> </method> - <method name="set_filename" > + <method name="set_filename"> <argument index="0" name="filename" type="String"> </argument> <description> A node can contain a filename. This filename should not be changed by the user, unless writing editors and tools. When a scene is instanced from a file, it topmost node contains the filename from where it was loaded. </description> </method> - <method name="get_filename" qualifiers="const" > + <method name="get_filename" qualifiers="const"> <return type="String"> </return> <description> Return a filename that may be containedA node can contained by the node. When a scene is instanced from a file, it topmost node contains the filename from where it was loaded (see [method set_filename]). </description> </method> - <method name="propagate_notification" > + <method name="propagate_notification"> <argument index="0" name="what" type="int"> </argument> <description> Notify the current node and all its chldren recursively by calling notification() in all of them. </description> </method> - <method name="set_fixed_process" > + <method name="set_fixed_process"> <argument index="0" name="enable" type="bool"> </argument> <description> Enables or disables node fixed framerate processing. When a node is being processed, it will receive a NOTIFICATION_PROCESS at a fixed (usually 60fps, check [OS] to change that) interval (and the [method _fixed_process] callback will be called if exists). It is common to check how much time was elapsed since the previous frame by calling [method get_fixed_process_time]. </description> </method> - <method name="get_fixed_process_delta_time" qualifiers="const" > + <method name="get_fixed_process_delta_time" qualifiers="const"> <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]. </description> </method> - <method name="is_fixed_processing" qualifiers="const" > + <method name="is_fixed_processing" qualifiers="const"> <return type="bool"> </return> <description> Return true if fixed processing is enabled (see [method set_fixed_process]). </description> </method> - <method name="set_process" > + <method name="set_process"> <argument index="0" name="enable" type="bool"> </argument> <description> Enables or disables node processing. When a node is being processed, it will receive a NOTIFICATION_PROCESS on every drawn frame (and the [method _process] callback will be called if exists). It is common to check how much time was elapsed since the previous frame by calling [method get_process_time]. </description> </method> - <method name="get_process_delta_time" qualifiers="const" > + <method name="get_process_delta_time" qualifiers="const"> <return type="float"> </return> <description> Return the time elapsed (in seconds) since the last process callback. This is almost always different each time. </description> </method> - <method name="is_processing" qualifiers="const" > + <method name="is_processing" qualifiers="const"> <return type="bool"> </return> <description> - Return wether processing is enabled in the current node (see [method set_process]). + Return whether processing is enabled in the current node (see [method set_process]). </description> </method> - <method name="set_process_input" > + <method name="set_process_input"> <argument index="0" name="enable" type="bool"> </argument> <description> Enable input processing for node. This is not requiered for GUI controls! It hooks up the node to receive all input (see [method _input]). </description> </method> - <method name="is_processing_input" qualifiers="const" > + <method name="is_processing_input" qualifiers="const"> <return type="bool"> </return> <description> Return true if the node is processing input (see [method set_process_input]). </description> </method> - <method name="set_process_unhandled_input" > + <method name="set_process_unhandled_input"> <argument index="0" name="enable" type="bool"> </argument> <description> Enable unhandled input processing for node. This is not requiered for GUI controls! It hooks up the node to receive all input that was not previously handled before (usually by a [Control]). (see [method _unhandled_input]). </description> </method> - <method name="is_processing_unhandled_input" qualifiers="const" > + <method name="is_processing_unhandled_input" qualifiers="const"> <return type="bool"> </return> <description> Return true if the node is processing unhandled input (see [method set_process_unhandled_input]). </description> </method> - <method name="set_process_unhandled_key_input" > + <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" > + <method name="is_processing_unhandled_key_input" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_pause_mode" > + <method name="set_pause_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_pause_mode" qualifiers="const" > + <method name="get_pause_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="can_process" qualifiers="const" > + <method name="can_process" qualifiers="const"> <return type="bool"> </return> <description> Return true if the node can process. </description> </method> - <method name="print_stray_nodes" > + <method name="print_stray_nodes"> <description> </description> </method> - <method name="get_position_in_parent" qualifiers="const" > + <method name="get_position_in_parent" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_tree" qualifiers="const" > + <method name="get_tree" qualifiers="const"> <return type="SceneTree"> </return> <description> </description> </method> - <method name="duplicate" qualifiers="const" > + <method name="duplicate" qualifiers="const"> <return type="Node"> </return> + <argument index="0" name="use_instancing" type="bool" default="false"> + </argument> <description> - Return a duplicate of the scene, with all nodes and parameters copied. Subscriptions will not be duplicated. </description> </method> - <method name="replace_by" > + <method name="replace_by"> <argument index="0" name="node" type="Node"> </argument> <argument index="1" name="keep_data" type="bool" default="false"> @@ -15948,13 +18415,13 @@ 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" > + <method name="get_viewport" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="queue_free" > + <method name="queue_free"> <description> </description> </method> @@ -16011,60 +18478,58 @@ Base node for 2D system. </brief_description> <description> - Base node for 2D system. Node2D contains a position, rotation and scale, which is used to position and animate. - It can alternatively be used with a custom 2D transform ([Matrix32]). - A tree of Node2Ds allows complex hierachies for animation and positioning. + Base node for 2D system. Node2D contains a position, rotation and scale, which is used to position and animate. It can alternatively be used with a custom 2D transform ([Matrix32]). A tree of Node2Ds allows complex hierachies for animation and positioning. </description> <methods> - <method name="set_pos" > + <method name="set_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> Set the position of the 2d node. </description> </method> - <method name="set_rot" > + <method name="set_rot"> <argument index="0" name="rot" type="float"> </argument> <description> Set the rotation of the 2d node. </description> </method> - <method name="set_scale" > + <method name="set_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> Set the scale of the 2d node. </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="Vector2"> </return> <description> Return the position of the 2D node. </description> </method> - <method name="get_rot" qualifiers="const" > + <method name="get_rot" qualifiers="const"> <return type="float"> </return> <description> Return the rotation of the 2D node. </description> </method> - <method name="get_scale" qualifiers="const" > + <method name="get_scale" qualifiers="const"> <return type="Vector2"> </return> <description> Return the scale of the 2D node. </description> </method> - <method name="rotate" > - <argument index="0" name="degrees" type="float"> + <method name="rotate"> + <argument index="0" name="radians" type="float"> </argument> <description> </description> </method> - <method name="move_local_x" > + <method name="move_local_x"> <argument index="0" name="delta" type="float"> </argument> <argument index="1" name="scaled" type="bool" default="false"> @@ -16072,7 +18537,7 @@ <description> </description> </method> - <method name="move_local_y" > + <method name="move_local_y"> <argument index="0" name="delta" type="float"> </argument> <argument index="1" name="scaled" type="bool" default="false"> @@ -16080,37 +18545,101 @@ <description> </description> </method> - <method name="get_global_pos" qualifiers="const" > + <method name="translate"> + <argument index="0" name="offset" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="global_translate"> + <argument index="0" name="offset" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="scale"> + <argument index="0" name="ratio" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="set_global_pos"> + <argument index="0" name="pos" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_global_pos" qualifiers="const"> <return type="Vector2"> </return> <description> Return the global position of the 2D node. </description> </method> - <method name="set_global_pos" > - <argument index="0" name="arg0" type="Vector2"> + <method name="set_transform"> + <argument index="0" name="xform" type="Matrix32"> </argument> <description> </description> </method> - <method name="set_transform" > + <method name="set_global_transform"> <argument index="0" name="xform" type="Matrix32"> </argument> <description> </description> </method> - <method name="set_global_transform" > - <argument index="0" name="xform" type="Matrix32"> + <method name="look_at"> + <argument index="0" name="point" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_angle_to" qualifiers="const"> + <return type="float"> + </return> + <argument index="0" name="point" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="set_z"> + <argument index="0" name="z" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_z" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_z_as_relative"> + <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="edit_set_pivot" > + <method name="is_z_relative" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="edit_set_pivot"> <argument index="0" name="arg0" type="Vector2"> </argument> <description> </description> </method> + <method name="get_relative_transform" qualifiers="const"> + <return type="Matrix32"> + </return> + <argument index="0" name="arg0" type="Object"> + </argument> + <description> + </description> + </method> </methods> <constants> </constants> @@ -16120,11 +18649,10 @@ Built-in type optimized for path traversing. </brief_description> <description> - Built-in type optimized for path traversing. A Node path is an optimized compiled path used for traversing the scene tree. - It references nodes and can reference properties in that node, or even reference properties inside the resources of the node. + Built-in type optimized for path traversing. A Node path is an optimized compiled path used for traversing the scene tree. It references nodes and can reference properties in that node, or even reference properties inside the resources of the node. </description> <methods> - <method name="get_name" > + <method name="get_name"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -16133,21 +18661,21 @@ Return a path level name. </description> </method> - <method name="get_name_count" > + <method name="get_name_count"> <return type="int"> </return> <description> Return the path level count. </description> </method> - <method name="get_property" > + <method name="get_property"> <return type="String"> </return> <description> Return the property associated (empty if none). </description> </method> - <method name="get_subname" > + <method name="get_subname"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -16156,28 +18684,30 @@ Return the subname level name. </description> </method> - <method name="get_subname_count" > + <method name="get_subname_count"> <return type="int"> </return> <description> Return the subname count. </description> </method> - <method name="is_absolute" > + <method name="is_absolute"> <return type="bool"> </return> <description> Return true if the node path is absolute (not relative). </description> </method> - <method name="is_empty" > + <method name="is_empty"> <return type="bool"> </return> <description> Return true if the node path is empty. </description> </method> - <method name="NodePath" > + <method name="NodePath"> + <return type="NodePath"> + </return> <argument index="0" name="from" type="String"> </argument> <description> @@ -16193,32 +18723,32 @@ </brief_description> <description> Operating System functions. OS Wraps the most common functionality to communicate with the host Operating System, such as: - -Mouse Grabbing - -Mouse Cursors - -Clipboard - -Video Mode - -Date " Time - -Timers - -Environment Variables - -Execution of Binaries - -Command Line - </description> - <methods> - <method name="set_clipboard" > + -Mouse Grabbing + -Mouse Cursors + -Clipboard + -Video Mode + -Date " Time + -Timers + -Environment Variables + -Execution of Binaries + -Command Line + </description> + <methods> + <method name="set_clipboard"> <argument index="0" name="clipboard" type="String"> </argument> <description> Set clipboard to the OS. </description> </method> - <method name="get_clipboard" qualifiers="const" > + <method name="get_clipboard" qualifiers="const"> <return type="String"> </return> <description> Get clipboard from the host OS. </description> </method> - <method name="set_video_mode" > + <method name="set_video_mode"> <argument index="0" name="size" type="Vector2"> </argument> <argument index="1" name="fullscreen" type="bool"> @@ -16231,7 +18761,7 @@ Change the video mode. </description> </method> - <method name="get_video_mode_size" qualifiers="const" > + <method name="get_video_mode_size" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="screen" type="int" default="0"> @@ -16240,7 +18770,7 @@ Return the current video mode size. </description> </method> - <method name="is_video_mode_fullscreen" qualifiers="const" > + <method name="is_video_mode_fullscreen" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="screen" type="int" default="0"> @@ -16249,7 +18779,7 @@ Return true if the current video mode is fullscreen. </description> </method> - <method name="is_video_mode_resizable" qualifiers="const" > + <method name="is_video_mode_resizable" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="screen" type="int" default="0"> @@ -16258,7 +18788,7 @@ Return true if the window is resizable. </description> </method> - <method name="get_fullscreen_mode_list" qualifiers="const" > + <method name="get_fullscreen_mode_list" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="screen" type="int" default="0"> @@ -16267,79 +18797,202 @@ Return the list of fullscreen modes. </description> </method> - <method name="set_iterations_per_second" > + <method name="get_screen_count" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_current_screen" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_current_screen"> + <argument index="0" name="screen" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_screen_position" qualifiers="const"> + <return type="Vector2"> + </return> + <argument index="0" name="screen" type="int" default="0"> + </argument> + <description> + </description> + </method> + <method name="get_screen_size" qualifiers="const"> + <return type="Vector2"> + </return> + <argument index="0" name="screen" type="int" default="0"> + </argument> + <description> + </description> + </method> + <method name="get_window_position" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="set_window_position"> + <argument index="0" name="position" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_window_size" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="set_window_size"> + <argument index="0" name="size" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="set_window_fullscreen"> + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_window_fullscreen" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_window_resizable"> + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_window_resizable" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_window_minimized"> + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_window_minimized" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_window_maximized"> + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_window_maximized" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_screen_orientation"> + <argument index="0" name="orientation" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_screen_orientation" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_iterations_per_second"> <argument index="0" name="iterations_per_second" type="int"> </argument> <description> Set the amount of fixed iterations per second (for fixed process and physics). </description> </method> - <method name="get_iterations_per_second" qualifiers="const" > + <method name="get_iterations_per_second" qualifiers="const"> <return type="int"> </return> <description> Return the amount of fixed iterations per second (for fixed process and physics). </description> </method> - <method name="set_target_fps" > + <method name="set_target_fps"> <argument index="0" name="target_fps" type="int"> </argument> <description> </description> </method> - <method name="get_target_fps" qualifiers="const" > + <method name="get_target_fps" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_time_scale" > + <method name="set_time_scale"> <argument index="0" name="time_scale" type="float"> </argument> <description> </description> </method> - <method name="get_time_scale" > + <method name="get_time_scale"> <return type="float"> </return> <description> </description> </method> - <method name="has_touchscreen_ui_hint" qualifiers="const" > + <method name="has_touchscreen_ui_hint" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_low_processor_usage_mode" > + <method name="set_window_title"> + <argument index="0" name="title" type="String"> + </argument> + <description> + </description> + </method> + <method name="set_low_processor_usage_mode"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set to true to enable the low cpu usage mode. In this mode, the screen only redraws when there are changes, and a considerable sleep time is inserted between frames. - This way, editors using the engine UI only use very little cpu. + Set to true to enable the low cpu usage mode. In this mode, the screen only redraws when there are changes, and a considerable sleep time is inserted between frames. This way, editors using the engine UI only use very little cpu. </description> </method> - <method name="is_in_low_processor_usage_mode" qualifiers="const" > + <method name="is_in_low_processor_usage_mode" qualifiers="const"> <return type="bool"> </return> <description> Return true if low cpu usage mode is enabled. </description> </method> - <method name="get_processor_count" qualifiers="const" > + <method name="get_processor_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_executable_path" qualifiers="const" > + <method name="get_executable_path" qualifiers="const"> <return type="String"> </return> <description> - Return the path tot he current engine executable. + Return the path to the current engine executable. </description> </method> - <method name="execute" > + <method name="execute"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -16354,7 +19007,7 @@ Execute the binary file in given path, optionally blocking until it returns. A process ID is returned. </description> </method> - <method name="kill" > + <method name="kill"> <return type="int"> </return> <argument index="0" name="pid" type="int"> @@ -16363,7 +19016,7 @@ Kill a process ID. </description> </method> - <method name="shell_open" > + <method name="shell_open"> <return type="int"> </return> <argument index="0" name="uri" type="String"> @@ -16371,13 +19024,13 @@ <description> </description> </method> - <method name="get_process_ID" qualifiers="const" > + <method name="get_process_ID" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_environment" qualifiers="const" > + <method name="get_environment" qualifiers="const"> <return type="String"> </return> <argument index="0" name="environment" type="String"> @@ -16386,7 +19039,7 @@ Return an environment variable. </description> </method> - <method name="has_environment" qualifiers="const" > + <method name="has_environment" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="environment" type="String"> @@ -16395,231 +19048,298 @@ Return true if an envieronment variable exists. </description> </method> - <method name="get_name" qualifiers="const" > + <method name="get_name" qualifiers="const"> <return type="String"> </return> <description> Return the name of the host OS. </description> </method> - <method name="get_cmdline_args" > + <method name="get_cmdline_args"> <return type="StringArray"> </return> <description> Return the commandline passed to the engine. </description> </method> - <method name="get_main_loop" qualifiers="const" > + <method name="get_main_loop" qualifiers="const"> <return type="Object"> </return> <description> Return the main loop object (see [MainLoop]). </description> </method> - <method name="get_date" qualifiers="const" > + <method name="get_date" qualifiers="const"> <return type="Dictionary"> </return> + <argument index="0" name="utc" type="bool" default="false"> + </argument> <description> - Return the current date. </description> </method> - <method name="get_time" qualifiers="const" > + <method name="get_time" qualifiers="const"> <return type="Dictionary"> </return> + <argument index="0" name="utc" type="bool" default="false"> + </argument> + <description> + </description> + </method> + <method name="get_time_zone_info" qualifiers="const"> + <return type="Dictionary"> + </return> + <description> + </description> + </method> + <method name="get_unix_time" qualifiers="const"> + <return type="int"> + </return> <description> - Return the current time. </description> </method> - <method name="get_unix_time" qualifiers="const" > + <method name="get_system_time_msec" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_icon" > + <method name="set_icon"> <argument index="0" name="arg0" type="Image"> </argument> <description> </description> </method> - <method name="delay_usec" qualifiers="const" > + <method name="delay_usec" qualifiers="const"> <argument index="0" name="usec" type="int"> </argument> <description> - Delay executing of the current thread by given usecs. + Delay executing of the current thread by given microseconds. </description> </method> - <method name="delay_msec" qualifiers="const" > + <method name="delay_msec" qualifiers="const"> <argument index="0" name="msec" type="int"> </argument> <description> + Delay executing of the current thread by given milliseconds. </description> </method> - <method name="get_ticks_msec" qualifiers="const" > + <method name="get_ticks_msec" qualifiers="const"> <return type="int"> </return> <description> Return the amount of time passed in milliseconds since the engine started. </description> </method> - <method name="get_locale" qualifiers="const" > + <method name="get_splash_tick_msec" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_locale" qualifiers="const"> <return type="String"> </return> <description> Return the host OS locale. </description> </method> - <method name="get_model_name" qualifiers="const" > + <method name="get_model_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_custom_level" qualifiers="const" > + <method name="get_custom_level" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="can_draw" qualifiers="const" > + <method name="can_draw" qualifiers="const"> <return type="bool"> </return> <description> Return true if the host OS allows drawing. </description> </method> - <method name="get_frames_drawn" > + <method name="get_frames_drawn"> <return type="int"> </return> <description> Return the total amount of frames drawn. </description> </method> - <method name="is_stdout_verbose" qualifiers="const" > + <method name="is_stdout_verbose" qualifiers="const"> <return type="bool"> </return> <description> Return true if the engine was executed with -v (verbose stdout). </description> </method> - <method name="can_use_threads" qualifiers="const" > + <method name="can_use_threads" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="is_debug_build" qualifiers="const" > + <method name="is_debug_build" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="dump_memory_to_file" > + <method name="dump_memory_to_file"> <argument index="0" name="file" type="String"> </argument> <description> </description> </method> - <method name="dump_resources_to_file" > + <method name="dump_resources_to_file"> <argument index="0" name="file" type="String"> </argument> <description> </description> </method> - <method name="print_resources_in_use" > + <method name="print_resources_in_use"> <argument index="0" name="short" type="bool" default="false"> </argument> <description> </description> </method> - <method name="print_all_resources" > + <method name="print_all_resources"> <argument index="0" name="tofile" type="String" default=""""> </argument> <description> </description> </method> - <method name="get_static_memory_usage" qualifiers="const" > + <method name="get_static_memory_usage" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_static_memory_peak_usage" qualifiers="const" > + <method name="get_static_memory_peak_usage" qualifiers="const"> <return type="int"> </return> <description> Return the max amount of static memory used (only works in debug). </description> </method> - <method name="get_dynamic_memory_usage" qualifiers="const" > + <method name="get_dynamic_memory_usage" qualifiers="const"> <return type="int"> </return> <description> Return the total amount of dynamic memory used (only works in debug). </description> </method> - <method name="get_data_dir" qualifiers="const" > + <method name="get_data_dir" qualifiers="const"> + <return type="String"> + </return> + <description> + </description> + </method> + <method name="get_system_dir" qualifiers="const"> <return type="String"> </return> + <argument index="0" name="dir" type="int"> + </argument> <description> </description> </method> - <method name="get_unique_ID" qualifiers="const" > + <method name="get_unique_ID" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_frames_per_second" qualifiers="const" > + <method name="is_ok_left_and_cancel_right" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="get_frames_per_second" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="print_all_textures_by_size" > + <method name="print_all_textures_by_size"> <description> </description> </method> - <method name="print_resources_by_type" > + <method name="print_resources_by_type"> <argument index="0" name="arg0" type="StringArray"> </argument> <description> </description> </method> - <method name="native_video_play" > + <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> - <argument index="2" name="arg2" type="int"> + <argument index="2" name="arg2" type="String"> </argument> - <argument index="3" name="arg3" type="int"> + <argument index="3" name="arg3" type="String"> </argument> <description> </description> </method> - <method name="native_video_is_playing" > + <method name="native_video_is_playing"> <return type="bool"> </return> <description> </description> </method> - <method name="native_video_stop" > + <method name="native_video_stop"> <description> </description> </method> - <method name="native_video_pause" > + <method name="native_video_pause"> + <description> + </description> + </method> + <method name="get_scancode_string" qualifiers="const"> + <return type="String"> + </return> + <argument index="0" name="code" type="int"> + </argument> <description> </description> </method> - <method name="set_use_file_access_save_and_swap" > + <method name="is_scancode_unicode" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="code" type="int"> + </argument> + <description> + </description> + </method> + <method name="find_scancode_from_string" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="string" type="String"> + </argument> + <description> + </description> + </method> + <method name="set_use_file_access_save_and_swap"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> + <method name="alert"> + <argument index="0" name="text" type="String"> + </argument> + <argument index="1" name="title" type="String" default=""Alert!""> + </argument> + <description> + </description> + </method> </methods> <constants> <constant name="DAY_SUNDAY" value="0"> @@ -16660,6 +19380,36 @@ </constant> <constant name="MONTH_DECEMBER" value="11"> </constant> + <constant name="SCREEN_ORIENTATION_LANDSCAPE" value="0"> + </constant> + <constant name="SCREEN_ORIENTATION_PORTRAIT" value="1"> + </constant> + <constant name="SCREEN_ORIENTATION_REVERSE_LANDSCAPE" value="2"> + </constant> + <constant name="SCREEN_ORIENTATION_REVERSE_PORTRAIT" value="3"> + </constant> + <constant name="SCREEN_ORIENTATION_SENSOR_LANDSCAPE" value="4"> + </constant> + <constant name="SCREEN_ORIENTATION_SENSOR_PORTRAIT" value="5"> + </constant> + <constant name="SCREEN_ORIENTATION_SENSOR" value="6"> + </constant> + <constant name="SYSTEM_DIR_DESKTOP" value="0"> + </constant> + <constant name="SYSTEM_DIR_DCIM" value="1"> + </constant> + <constant name="SYSTEM_DIR_DOCUMENTS" value="2"> + </constant> + <constant name="SYSTEM_DIR_DOWNLOADS" value="3"> + </constant> + <constant name="SYSTEM_DIR_MOVIES" value="4"> + </constant> + <constant name="SYSTEM_DIR_MUSIC" value="5"> + </constant> + <constant name="SYSTEM_DIR_PICTURES" value="6"> + </constant> + <constant name="SYSTEM_DIR_RINGTONES" value="7"> + </constant> </constants> </class> <class name="Object" category="Core"> @@ -16668,38 +19418,38 @@ </brief_description> <description> Base class for all non built-in types. Everything not a built-in type starts the inheritance chain from this class. - Objects do not manage memory, if inheriting from one the object will most likely have to be deleted manually (call the [method free] function from the script or delete from C++). - Some derivates add memory management, such as [Reference] (which keps a reference count and deletes itself automatically when no longer referenced) and [Node], which deletes the children tree when deleted. - Objects export properties, which are mainly useful for storage and editing, but not really so much in programming. Properties are exported in [method _get_property_list] and handled in [method _get] and [_set]. However, scripting languages and C++ have simper means to export them. - Objects also receive notifications ([method _notification]). Notifications are a simple way to notify the object about simple events, so they can all be handled together. + Objects do not manage memory, if inheriting from one the object will most likely have to be deleted manually (call the [method free] function from the script or delete from C++). + Some derivates add memory management, such as [Reference] (which keps a reference count and deletes itself automatically when no longer referenced) and [Node], which deletes the children tree when deleted. + Objects export properties, which are mainly useful for storage and editing, but not really so much in programming. Properties are exported in [method _get_property_list] and handled in [method _get] and [_set]. However, scripting languages and C++ have simper means to export them. + Objects also receive notifications ([method _notification]). Notifications are a simple way to notify the object about simple events, so they can all be handled together. </description> <methods> - <method name="_get" qualifiers="virtual" > + <method name="_get" qualifiers="virtual"> <argument index="0" name="property" type="String"> </argument> <description> Return a property, return null if the property does not exist. </description> </method> - <method name="_get_property_list" qualifiers="virtual" > + <method name="_get_property_list" qualifiers="virtual"> <return type="Array"> </return> <description> 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" > + <method name="_init" qualifiers="virtual"> <description> </description> </method> - <method name="_notification" qualifiers="virtual" > + <method name="_notification" qualifiers="virtual"> <argument index="0" name="what" type="int"> </argument> <description> Notification request, the notification id is received. </description> </method> - <method name="_set" qualifiers="virtual" > + <method name="_set" qualifiers="virtual"> <argument index="0" name="property" type="String"> </argument> <argument index="1" name="value" type="var"> @@ -16708,14 +19458,18 @@ Set a property. Return true if the property was found. </description> </method> - <method name="get_type" qualifiers="const" > + <method name="free"> + <description> + </description> + </method> + <method name="get_type" qualifiers="const"> <return type="String"> </return> <description> Return the type of the object as a string. </description> </method> - <method name="is_type" qualifiers="const" > + <method name="is_type" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="type" type="String"> @@ -16724,7 +19478,7 @@ Check the type of the obeject against a string (including inheritance). </description> </method> - <method name="set" > + <method name="set"> <argument index="0" name="property" type="String"> </argument> <argument index="1" name="value" type="var"> @@ -16733,21 +19487,27 @@ Set property into the object. </description> </method> - <method name="get" qualifiers="const" > + <method name="get" qualifiers="const"> <argument index="0" name="property" type="String"> </argument> <description> Get a property from the object. </description> </method> - <method name="get_property_list" qualifiers="const" > + <method name="get_property_list" qualifiers="const"> <return type="Array"> </return> <description> Return the list of properties as an array of dictionaries, dictionaries 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="notification" > + <method name="get_method_list" qualifiers="const"> + <return type="Array"> + </return> + <description> + </description> + </method> + <method name="notification"> <argument index="0" name="what" type="int"> </argument> <argument index="1" name="arg1" type="bool" default="false"> @@ -16756,28 +19516,28 @@ Notify the object of something. </description> </method> - <method name="get_instance_ID" qualifiers="const" > + <method name="get_instance_ID" qualifiers="const"> <return type="int"> </return> <description> Return the instance ID. All objects have a unique instance ID. </description> </method> - <method name="set_script" > + <method name="set_script"> <argument index="0" name="script" type="Script"> </argument> <description> Set a script into the object, scripts extend the object functionality. </description> </method> - <method name="get_script" qualifiers="const" > + <method name="get_script" qualifiers="const"> <return type="Script"> </return> <description> Return the object script (or null if it doesn't have one). </description> </method> - <method name="set_meta" > + <method name="set_meta"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="value" type="var"> @@ -16786,14 +19546,14 @@ Set a metadata into the object. Medatada is serialized. Metadata can be [i]anything[/i]. </description> </method> - <method name="get_meta" qualifiers="const" > + <method name="get_meta" qualifiers="const"> <argument index="0" name="name" type="String"> </argument> <description> Return a metadata from the object. </description> </method> - <method name="has_meta" qualifiers="const" > + <method name="has_meta" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -16802,14 +19562,14 @@ Return true if a metadata is found with the requested name. </description> </method> - <method name="get_meta_list" qualifiers="const" > + <method name="get_meta_list" qualifiers="const"> <return type="StringArray"> </return> <description> Return the list of metadatas in the object. </description> </method> - <method name="add_user_signal" > + <method name="add_user_signal"> <argument index="0" name="signal" type="String"> </argument> <argument index="1" name="arguments" type="Array" default="Array()"> @@ -16818,7 +19578,15 @@ Add a user signal (can be added anytime). Arguments are optional, but can be added as an array of dictionaries, each containing "name" and "type" (from [@GlobalScope] TYPE_*). </description> </method> - <method name="emit_signal" > + <method name="has_user_signal" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="signal" type="String"> + </argument> + <description> + </description> + </method> + <method name="emit_signal"> <argument index="0" name="signal" type="String"> </argument> <argument index="1" name="arg0" type="var" default="NULL"> @@ -16835,7 +19603,7 @@ Emit a signal. Arguments are passed in an array. </description> </method> - <method name="call" > + <method name="call"> <argument index="0" name="method" type="String"> </argument> <argument index="1" name="arg0" type="var" default="NULL"> @@ -16862,7 +19630,7 @@ Call a function in the object, result is returned. </description> </method> - <method name="call_deferred" > + <method name="call_deferred"> <argument index="0" name="method" type="String"> </argument> <argument index="1" name="arg0" type="var" default="NULL"> @@ -16879,7 +19647,7 @@ Create and store a function in the object. The call will take place on idle time. </description> </method> - <method name="callv" > + <method name="callv"> <argument index="0" name="method" type="String"> </argument> <argument index="1" name="arg_array" type="Array"> @@ -16887,7 +19655,7 @@ <description> </description> </method> - <method name="has_method" qualifiers="const" > + <method name="has_method" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="String"> @@ -16895,14 +19663,14 @@ <description> </description> </method> - <method name="get_signal_list" qualifiers="const" > + <method name="get_signal_list" qualifiers="const"> <return type="Array"> </return> <description> Return the list of signals as an array of dictionaries. </description> </method> - <method name="connect" > + <method name="connect"> <return type="int"> </return> <argument index="0" name="signal" type="String"> @@ -16916,11 +19684,10 @@ <argument index="4" name="flags" type="int" default="0"> </argument> <description> - Connect a signal to a method at a target (member function). Binds are optional and are passed as extra arguments to the call. Flags specify optional deferred or one shot connections, see enum CONNECT_*. - A signal can only be connected once to a method, and it will throw an error if already connected. If you want to avoid this, use [method is_connected] to check. + Connect a signal to a method at a target (member function). Binds are optional and are passed as extra arguments to the call. Flags specify optional deferred or one shot connections, see enum CONNECT_*. A signal can only be connected once to a method, and it will throw an error if already connected. If you want to avoid this, use [method is_connected] to check. </description> </method> - <method name="disconnect" > + <method name="disconnect"> <argument index="0" name="signal" type="String"> </argument> <argument index="1" name="target" type="Object"> @@ -16931,7 +19698,7 @@ Disconnect a signal from a method. </description> </method> - <method name="is_connected" qualifiers="const" > + <method name="is_connected" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="signal" type="String"> @@ -16944,48 +19711,48 @@ Return true if a connection exists for a given signal and target/method. </description> </method> - <method name="set_block_signals" > + <method name="set_block_signals"> <argument index="0" name="enable" type="bool"> </argument> <description> If set to true, signal emission is blocked. </description> </method> - <method name="is_blocking_signals" qualifiers="const" > + <method name="is_blocking_signals" qualifiers="const"> <return type="bool"> </return> <description> Return true if signal emission blocking is enabled. </description> </method> - <method name="set_message_translation" > + <method name="set_message_translation"> <argument index="0" name="enable" type="bool"> </argument> <description> Set true if this object can translate strings (in calls to tr() ). Default is true. </description> </method> - <method name="can_translate_messages" qualifiers="const" > + <method name="can_translate_messages" qualifiers="const"> <return type="bool"> </return> <description> Return true if this object can translate strings. </description> </method> - <method name="property_list_changed_notify" > + <method name="property_list_changed_notify"> <description> </description> </method> - <method name="XL_MESSAGE" qualifiers="const" > + <method name="XL_MESSAGE" qualifiers="const"> <return type="String"> </return> <argument index="0" name="message" type="String"> </argument> <description> - deprecated, will go away. + Deprecated, will go away. </description> </method> - <method name="tr" qualifiers="const" > + <method name="tr" qualifiers="const"> <return type="String"> </return> <argument index="0" name="message" type="String"> @@ -16994,6 +19761,12 @@ Translate a message. Only works in message translation is enabled (which is by default). See [method set_message_translation]. </description> </method> + <method name="is_queued_for_deletion" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> </methods> <signals> <signal name="script_changed"> @@ -17019,6 +19792,58 @@ </constant> </constants> </class> +<class name="OccluderPolygon2D" inherits="Resource" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="set_closed"> + <argument index="0" name="closed" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_closed" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_cull_mode"> + <argument index="0" name="cull_mode" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_cull_mode" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <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> + </methods> + <constants> + <constant name="CULL_DISABLED" value="0"> + </constant> + <constant name="CULL_CLOCKWISE" value="1"> + </constant> + <constant name="CULL_COUNTER_CLOCKWISE" value="2"> + </constant> + </constants> +</class> <class name="OmniLight" inherits="Light" category="Core"> <brief_description> OmniDirectional Light, such as a lightbulb or a candle. @@ -17039,7 +19864,7 @@ OptionButton is a type button that provides a selectable list of items when pressed. The item selected becomes the "current" item and is displayed as the button text. </description> <methods> - <method name="add_item" > + <method name="add_item"> <argument index="0" name="label" type="String"> </argument> <argument index="1" name="id" type="int" default="-1"> @@ -17048,7 +19873,7 @@ Add an item, with text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end. </description> </method> - <method name="add_icon_item" > + <method name="add_icon_item"> <argument index="0" name="texture" type="Texture"> </argument> <argument index="1" name="label" type="String"> @@ -17059,7 +19884,7 @@ Add an item, with a "texture" icon, text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end. </description> </method> - <method name="set_item_text" > + <method name="set_item_text"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="text" type="String"> @@ -17068,7 +19893,7 @@ Set the text of an item at index "idx". </description> </method> - <method name="set_item_icon" > + <method name="set_item_icon"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -17077,7 +19902,7 @@ Set the icon of an item at index "idx". </description> </method> - <method name="set_item_disabled" > + <method name="set_item_disabled"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="disabled" type="bool"> @@ -17085,7 +19910,7 @@ <description> </description> </method> - <method name="set_item_ID" > + <method name="set_item_ID"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="id" type="int"> @@ -17094,7 +19919,7 @@ Set the ID of an item at index "idx". </description> </method> - <method name="set_item_metadata" > + <method name="set_item_metadata"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="metadata" type="var"> @@ -17102,7 +19927,7 @@ <description> </description> </method> - <method name="get_item_text" qualifiers="const" > + <method name="get_item_text" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -17111,7 +19936,7 @@ Return the text of the item at index "idx". </description> </method> - <method name="get_item_icon" qualifiers="const" > + <method name="get_item_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="idx" type="int"> @@ -17120,7 +19945,7 @@ Return the icon of the item at index "idx". </description> </method> - <method name="get_item_ID" qualifiers="const" > + <method name="get_item_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -17129,13 +19954,13 @@ Return the ID of the item at index "idx". </description> </method> - <method name="get_item_metadata" qualifiers="const" > + <method name="get_item_metadata" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="is_item_disabled" qualifiers="const" > + <method name="is_item_disabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -17143,48 +19968,48 @@ <description> </description> </method> - <method name="get_item_count" qualifiers="const" > + <method name="get_item_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of items in the OptionButton. </description> </method> - <method name="add_separator" > + <method name="add_separator"> <description> Add a separator to the list of items. Separators help to group items. Separator also takes up an index and is appended at the end. </description> </method> - <method name="clear" > + <method name="clear"> <description> Clear all the items in the [OptionButton]. </description> </method> - <method name="select" > + <method name="select"> <argument index="0" name="arg0" type="int"> </argument> <description> Select an item by index and make it the current item. </description> </method> - <method name="get_selected" qualifiers="const" > + <method name="get_selected" qualifiers="const"> <return type="int"> </return> <description> Return the current item index </description> </method> - <method name="get_selected_ID" qualifiers="const" > + <method name="get_selected_ID" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_selected_metadata" qualifiers="const" > + <method name="get_selected_metadata" qualifiers="const"> <description> </description> </method> - <method name="remove_item" > + <method name="remove_item"> <argument index="0" name="idx" type="int"> </argument> <description> @@ -17231,13 +20056,13 @@ </theme_item> </theme_items> </class> -<class name="PCKPacker" inherits="Object" category="Core"> +<class name="PCKPacker" inherits="Reference" category="Core"> <brief_description> </brief_description> <description> </description> <methods> - <method name="pck_start" > + <method name="pck_start"> <return type="int"> </return> <argument index="0" name="pck_name" type="String"> @@ -17247,7 +20072,7 @@ <description> </description> </method> - <method name="add_file" > + <method name="add_file"> <return type="int"> </return> <argument index="0" name="pck_path" type="String"> @@ -17257,7 +20082,7 @@ <description> </description> </method> - <method name="flush" > + <method name="flush"> <return type="int"> </return> <argument index="0" name="arg0" type="bool"> @@ -17277,7 +20102,7 @@ Optimized translation. Uses real-time compressed translations, which results in very small dictionaries. </description> <methods> - <method name="generate" > + <method name="generate"> <argument index="0" name="from" type="Translation"> </argument> <description> @@ -17293,15 +20118,15 @@ <description> </description> <methods> - <method name="pack" > - <return type="int"> + <method name="pack"> + <return type="Error"> </return> <argument index="0" name="value" type="var"> </argument> <description> </description> </method> - <method name="size" qualifiers="const" > + <method name="size" qualifiers="const"> <return type="int"> </return> <description> @@ -17317,7 +20142,7 @@ <description> </description> <methods> - <method name="size" qualifiers="const" > + <method name="size" qualifiers="const"> <return type="int"> </return> <description> @@ -17331,20 +20156,19 @@ <brief_description> </brief_description> <description> - explain ownership, and that node does not need to own itself + TODO: explain ownership, and that node does not need to own itself </description> <methods> - <method name="pack" > + <method name="pack"> <return type="int"> </return> <argument index="0" name="path" type="Node"> </argument> <description> - Pack will ignore any sub-nodes not owned by given - node. See [Node.set_owner]. + Pack will ignore any sub-nodes not owned by given node. See [Node.set_owner]. </description> </method> - <method name="instance" qualifiers="const" > + <method name="instance" qualifiers="const"> <return type="Node"> </return> <argument index="0" name="arg0" type="bool" default="false"> @@ -17352,7 +20176,7 @@ <description> </description> </method> - <method name="can_instance" qualifiers="const" > + <method name="can_instance" qualifiers="const"> <return type="bool"> </return> <description> @@ -17370,11 +20194,11 @@ PacketPeer is an abstration and base class for packet-based protocols (such as UDP). It provides an API for sending and receiving packets both as raw data or variables. This makes it easy to transfer data over a protocol, without having to encode data as low level bytes or having to worry about network ordering. </description> <methods> - <method name="get_var" qualifiers="const" > + <method name="get_var" qualifiers="const"> <description> </description> </method> - <method name="put_var" > + <method name="put_var"> <return type="int"> </return> <argument index="0" name="var" type="var"> @@ -17382,7 +20206,27 @@ <description> </description> </method> - <method name="get_available_packet_count" qualifiers="const" > + <method name="get_packet" qualifiers="const"> + <return type="RawArray"> + </return> + <description> + </description> + </method> + <method name="put_packet"> + <return type="Error"> + </return> + <argument index="0" name="buffer" type="RawArray"> + </argument> + <description> + </description> + </method> + <method name="get_packet_error" qualifiers="const"> + <return type="Error"> + </return> + <description> + </description> + </method> + <method name="get_available_packet_count" qualifiers="const"> <return type="int"> </return> <description> @@ -17400,7 +20244,7 @@ PacketStreamPeer provides a wrapper for working using packets over a stream. This allows for using packet based code with StreamPeers. PacketPeerStream implements a custom protocol over the StreamPeer, so the user should not read or write to the wrapped StreamPeer directly. </description> <methods> - <method name="set_stream_peer" > + <method name="set_stream_peer"> <argument index="0" name="peer" type="StreamPeer"> </argument> <description> @@ -17417,8 +20261,8 @@ <description> </description> <methods> - <method name="listen" > - <return type="int"> + <method name="listen"> + <return type="Error"> </return> <argument index="0" name="port" type="int"> </argument> @@ -17427,41 +20271,41 @@ <description> </description> </method> - <method name="close" > + <method name="close"> <description> </description> </method> - <method name="wait" > - <return type="int"> + <method name="wait"> + <return type="Error"> </return> <description> </description> </method> - <method name="is_listening" qualifiers="const" > + <method name="is_listening" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_packet_ip" qualifiers="const" > + <method name="get_packet_ip" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_packet_address" qualifiers="const" > + <method name="get_packet_address" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_packet_port" qualifiers="const" > + <method name="get_packet_port" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_send_address" > + <method name="set_send_address"> <return type="int"> </return> <argument index="0" name="host" type="String"> @@ -17480,8 +20324,7 @@ Provides an opaque background for [Control] children. </brief_description> <description> - Panel is a [Control] that displays an opaque background. It's commoly used as a parent and container for other types of [Control] - nodes."#10;"#9;[center][img]images/panel_example.png[/img][/center] + Panel is a [Control] that displays an opaque background. It's commoly used as a parent and container for other types of [Control] nodes. [center][img]images/panel_example.png[/img][/center] </description> <methods> </methods> @@ -17518,61 +20361,61 @@ <description> </description> <methods> - <method name="set_scroll_offset" > + <method name="set_scroll_offset"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> </description> </method> - <method name="get_scroll_offset" qualifiers="const" > + <method name="get_scroll_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_scroll_base_offset" > + <method name="set_scroll_base_offset"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> </description> </method> - <method name="get_scroll_base_offset" qualifiers="const" > + <method name="get_scroll_base_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_scroll_base_scale" > + <method name="set_scroll_base_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> </description> </method> - <method name="get_scroll_base_scale" qualifiers="const" > + <method name="get_scroll_base_scale" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_limit_begin" > + <method name="set_limit_begin"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> </description> </method> - <method name="get_limit_begin" qualifiers="const" > + <method name="get_limit_begin" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_limit_end" > + <method name="set_limit_end"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> </description> </method> - <method name="get_limit_end" qualifiers="const" > + <method name="get_limit_end" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -17588,25 +20431,25 @@ <description> </description> <methods> - <method name="set_motion_scale" > + <method name="set_motion_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> </description> </method> - <method name="get_motion_scale" qualifiers="const" > + <method name="get_motion_scale" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_mirroring" > + <method name="set_mirroring"> <argument index="0" name="mirror" type="Vector2"> </argument> <description> </description> </method> - <method name="get_mirroring" qualifiers="const" > + <method name="get_mirroring" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -17622,73 +20465,73 @@ <description> </description> <methods> - <method name="set_enabled" > + <method name="set_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_enabled" qualifiers="const" > + <method name="is_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="radius" type="float"> </argument> <description> </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_disable_radius" > + <method name="set_disable_radius"> <argument index="0" name="radius" type="float"> </argument> <description> </description> </method> - <method name="get_disable_radius" qualifiers="const" > + <method name="get_disable_radius" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_gravity" > + <method name="set_gravity"> <argument index="0" name="gravity" type="float"> </argument> <description> </description> </method> - <method name="get_gravity" qualifiers="const" > + <method name="get_gravity" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_absorption" > + <method name="set_absorption"> <argument index="0" name="absorption" type="float"> </argument> <description> </description> </method> - <method name="get_absorption" qualifiers="const" > + <method name="get_absorption" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_particles_path" > + <method name="set_particles_path"> <argument index="0" name="path" type="NodePath"> </argument> <description> </description> </method> - <method name="get_particles_path" qualifiers="const" > + <method name="get_particles_path" qualifiers="const"> <return type="NodePath"> </return> <description> @@ -17698,28 +20541,6 @@ <constants> </constants> </class> -<class name="ParticleSystemMaterial" inherits="Material" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_texture" > - <argument index="0" name="texture" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_texture" qualifiers="const" > - <return type="Texture"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> <class name="Particles" inherits="GeometryInstance" category="Core"> <brief_description> Particle system 3D Node @@ -17728,101 +20549,101 @@ Particles is a particle system 3D [Node] that is used to simulate several types of particle effects, such as explosions, rain, snow, fireflies, or other magical-like shinny sparkles. Particles are drawn using impostors, and given their dynamic behavior, the user must provide a visibility AABB (although helpers to create one automatically exist). </description> <methods> - <method name="set_amount" > + <method name="set_amount"> <argument index="0" name="amount" type="int"> </argument> <description> Set total amount of particles in the system. </description> </method> - <method name="get_amount" qualifiers="const" > + <method name="get_amount" qualifiers="const"> <return type="int"> </return> <description> Return the total amount of particles in the system. </description> </method> - <method name="set_emitting" > + <method name="set_emitting"> <argument index="0" name="enabled" type="bool"> </argument> <description> Set the "emitting" property state. When emitting, the particle system generates new particles at constant rate. </description> </method> - <method name="is_emitting" qualifiers="const" > + <method name="is_emitting" qualifiers="const"> <return type="bool"> </return> <description> Return the "emitting" property state (see [method set_emitting]). </description> </method> - <method name="set_visibility_aabb" > + <method name="set_visibility_aabb"> <argument index="0" name="aabb" type="AABB"> </argument> <description> Set the visibility AABB for the particle system, since the default one will not work properly most of the time. </description> </method> - <method name="get_visibility_aabb" qualifiers="const" > + <method name="get_visibility_aabb" qualifiers="const"> <return type="AABB"> </return> <description> Return the current visibility AABB. </description> </method> - <method name="set_emission_half_extents" > + <method name="set_emission_half_extents"> <argument index="0" name="half_extents" type="Vector3"> </argument> <description> Set the half extents for the emission box. </description> </method> - <method name="get_emission_half_extents" qualifiers="const" > + <method name="get_emission_half_extents" qualifiers="const"> <return type="Vector3"> </return> <description> Return the half extents for the emission box. </description> </method> - <method name="set_emission_base_velocity" > + <method name="set_emission_base_velocity"> <argument index="0" name="base_velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_emission_base_velocity" qualifiers="const" > + <method name="get_emission_base_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_emission_points" > + <method name="set_emission_points"> <argument index="0" name="points" type="Vector3Array"> </argument> <description> </description> </method> - <method name="get_emission_points" qualifiers="const" > + <method name="get_emission_points" qualifiers="const"> <return type="Vector3Array"> </return> <description> </description> </method> - <method name="set_gravity_normal" > + <method name="set_gravity_normal"> <argument index="0" name="normal" type="Vector3"> </argument> <description> Set the normal vector towards where gravity is pulling (by default, negative Y). </description> </method> - <method name="get_gravity_normal" qualifiers="const" > + <method name="get_gravity_normal" qualifiers="const"> <return type="Vector3"> </return> <description> Return the normal vector towards where gravity is pulling (by default, negative Y). </description> </method> - <method name="set_variable" > + <method name="set_variable"> <argument index="0" name="variable" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -17831,7 +20652,7 @@ Set a specific variable for the particle system (see VAR_* enum). </description> </method> - <method name="get_variable" qualifiers="const" > + <method name="get_variable" qualifiers="const"> <return type="float"> </return> <argument index="0" name="variable" type="int"> @@ -17840,7 +20661,7 @@ Return a specific variable for the particle system (see VAR_* enum). </description> </method> - <method name="set_randomness" > + <method name="set_randomness"> <argument index="0" name="variable" type="int"> </argument> <argument index="1" name="randomness" type="float"> @@ -17849,7 +20670,7 @@ 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" > + <method name="get_randomness" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="int"> @@ -17858,25 +20679,25 @@ Return 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="set_color_phase_pos" > + <method name="set_color_phase_pos"> <argument index="0" name="phase" type="int"> </argument> <argument index="1" name="pos" type="float"> </argument> <description> - Set the position of a color phase (0 to 1) + Set the position of a color phase (0 to 1). </description> </method> - <method name="get_color_phase_pos" qualifiers="const" > + <method name="get_color_phase_pos" qualifiers="const"> <return type="float"> </return> <argument index="0" name="phase" type="int"> </argument> <description> - Return the position of a color phase (0 to 1) + Return the position of a color phase (0 to 1). </description> </method> - <method name="set_color_phase_color" > + <method name="set_color_phase_color"> <argument index="0" name="phase" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -17885,7 +20706,7 @@ Set the color of a color phase. </description> </method> - <method name="get_color_phase_color" qualifiers="const" > + <method name="get_color_phase_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="phase" type="int"> @@ -17894,63 +20715,63 @@ Return the color of a color phase. </description> </method> - <method name="set_material" > + <method name="set_material"> <argument index="0" name="material" type="Material"> </argument> <description> - Set the material used to draw particles + Set the material used to draw particles. </description> </method> - <method name="get_material" qualifiers="const" > + <method name="get_material" qualifiers="const"> <return type="Material"> </return> <description> - Return the material used to draw particles + Return the material used to draw particles. </description> </method> - <method name="set_emit_timeout" > + <method name="set_emit_timeout"> <argument index="0" name="arg0" type="float"> </argument> <description> </description> </method> - <method name="get_emit_timeout" qualifiers="const" > + <method name="get_emit_timeout" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_height_from_velocity" > + <method name="set_height_from_velocity"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_height_from_velocity" qualifiers="const" > + <method name="has_height_from_velocity" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_use_local_coordinates" > + <method name="set_use_local_coordinates"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_using_local_coordinates" qualifiers="const" > + <method name="is_using_local_coordinates" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_color_phases" > + <method name="set_color_phases"> <argument index="0" name="count" type="int"> </argument> <description> </description> </method> - <method name="get_color_phases" qualifiers="const" > + <method name="get_color_phases" qualifiers="const"> <return type="int"> </return> <description> @@ -17994,79 +20815,79 @@ <description> </description> <methods> - <method name="set_emitting" > + <method name="set_emitting"> <argument index="0" name="active" type="bool"> </argument> <description> </description> </method> - <method name="is_emitting" qualifiers="const" > + <method name="is_emitting" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_amount" > + <method name="set_amount"> <argument index="0" name="amount" type="int"> </argument> <description> </description> </method> - <method name="get_amount" qualifiers="const" > + <method name="get_amount" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_lifetime" > + <method name="set_lifetime"> <argument index="0" name="lifetime" type="float"> </argument> <description> </description> </method> - <method name="get_lifetime" qualifiers="const" > + <method name="get_lifetime" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_time_scale" > + <method name="set_time_scale"> <argument index="0" name="time_scale" type="float"> </argument> <description> </description> </method> - <method name="get_time_scale" qualifiers="const" > + <method name="get_time_scale" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_pre_process_time" > + <method name="set_pre_process_time"> <argument index="0" name="time" type="float"> </argument> <description> </description> </method> - <method name="get_pre_process_time" qualifiers="const" > + <method name="get_pre_process_time" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_emit_timeout" > + <method name="set_emit_timeout"> <argument index="0" name="value" type="float"> </argument> <description> </description> </method> - <method name="get_emit_timeout" qualifiers="const" > + <method name="get_emit_timeout" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -18074,7 +20895,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -18082,7 +20903,7 @@ <description> </description> </method> - <method name="set_randomness" > + <method name="set_randomness"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -18090,7 +20911,7 @@ <description> </description> </method> - <method name="get_randomness" qualifiers="const" > + <method name="get_randomness" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -18098,103 +20919,127 @@ <description> </description> </method> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Object"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_emissor_offset" > + <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_color_ramp"> + <argument index="0" name="color_ramp" type="Object"> + </argument> + <description> + </description> + </method> + <method name="get_color_ramp" qualifiers="const"> + <return type="ColorRamp"> + </return> + <description> + </description> + </method> + <method name="set_emissor_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> </description> </method> - <method name="get_emissor_offset" qualifiers="const" > + <method name="get_emissor_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_flip_h" > + <method name="set_flip_h"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_flipped_h" qualifiers="const" > + <method name="is_flipped_h" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_flip_v" > + <method name="set_flip_v"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_flipped_v" qualifiers="const" > + <method name="is_flipped_v" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_h_frames" > + <method name="set_h_frames"> <argument index="0" name="enable" type="int"> </argument> <description> </description> </method> - <method name="get_h_frames" qualifiers="const" > + <method name="get_h_frames" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_v_frames" > + <method name="set_v_frames"> <argument index="0" name="enable" type="int"> </argument> <description> </description> </method> - <method name="get_v_frames" qualifiers="const" > + <method name="get_v_frames" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_emission_half_extents" > + <method name="set_emission_half_extents"> <argument index="0" name="extents" type="Vector2"> </argument> <description> </description> </method> - <method name="get_emission_half_extents" qualifiers="const" > + <method name="get_emission_half_extents" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_color_phases" > + <method name="set_color_phases"> <argument index="0" name="phases" type="int"> </argument> <description> </description> </method> - <method name="get_color_phases" qualifiers="const" > + <method name="get_color_phases" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_color_phase_color" > + <method name="set_color_phase_color"> <argument index="0" name="phase" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -18202,7 +21047,7 @@ <description> </description> </method> - <method name="get_color_phase_color" qualifiers="const" > + <method name="get_color_phase_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="phase" type="int"> @@ -18210,7 +21055,7 @@ <description> </description> </method> - <method name="set_color_phase_pos" > + <method name="set_color_phase_pos"> <argument index="0" name="phase" type="int"> </argument> <argument index="1" name="pos" type="float"> @@ -18218,7 +21063,7 @@ <description> </description> </method> - <method name="get_color_phase_pos" qualifiers="const" > + <method name="get_color_phase_pos" qualifiers="const"> <return type="float"> </return> <argument index="0" name="phase" type="int"> @@ -18226,55 +21071,55 @@ <description> </description> </method> - <method name="pre_process" > + <method name="pre_process"> <argument index="0" name="time" type="float"> </argument> <description> </description> </method> - <method name="set_use_local_space" > + <method name="set_use_local_space"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_using_local_space" qualifiers="const" > + <method name="is_using_local_space" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_initial_velocity" > + <method name="set_initial_velocity"> <argument index="0" name="velocity" type="Vector2"> </argument> <description> </description> </method> - <method name="get_initial_velocity" qualifiers="const" > + <method name="get_initial_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_explosiveness" > + <method name="set_explosiveness"> <argument index="0" name="amount" type="float"> </argument> <description> </description> </method> - <method name="get_explosiveness" qualifiers="const" > + <method name="get_explosiveness" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_emission_points" > + <method name="set_emission_points"> <argument index="0" name="points" type="Vector2Array"> </argument> <description> </description> </method> - <method name="get_emission_points" qualifiers="const" > + <method name="get_emission_points" qualifiers="const"> <return type="Vector2Array"> </return> <description> @@ -18290,6 +21135,8 @@ </constant> <constant name="PARAM_SPIN_VELOCITY" value="3"> </constant> + <constant name="PARAM_ORBIT_VELOCITY" value="4"> + </constant> <constant name="PARAM_GRAVITY_DIRECTION" value="5"> </constant> <constant name="PARAM_GRAVITY_STRENGTH" value="6"> @@ -18298,31 +21145,101 @@ </constant> <constant name="PARAM_TANGENTIAL_ACCEL" value="8"> </constant> + <constant name="PARAM_DAMPING" value="9"> + </constant> + <constant name="PARAM_INITIAL_ANGLE" value="10"> + </constant> <constant name="PARAM_INITIAL_SIZE" value="11"> </constant> <constant name="PARAM_FINAL_SIZE" value="12"> </constant> <constant name="PARAM_HUE_VARIATION" value="13"> </constant> + <constant name="PARAM_ANIM_SPEED_SCALE" value="14"> + </constant> + <constant name="PARAM_ANIM_INITIAL_POS" value="15"> + </constant> <constant name="PARAM_MAX" value="16"> </constant> <constant name="MAX_COLOR_PHASES" value="4"> </constant> </constants> </class> +<class name="Patch9Frame" inherits="Control" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <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_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_patch_margin"> + <argument index="0" name="margin" type="int"> + </argument> + <argument index="1" name="value" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_patch_margin" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="margin" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_draw_center"> + <argument index="0" name="draw_center" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_draw_center" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="Path" inherits="Spatial" category="Core"> <brief_description> </brief_description> <description> </description> <methods> - <method name="set_curve" > + <method name="set_curve"> <argument index="0" name="curve" type="Curve3D"> </argument> <description> </description> </method> - <method name="get_curve" qualifiers="const" > + <method name="get_curve" qualifiers="const"> <return type="Curve3D"> </return> <description> @@ -18338,13 +21255,13 @@ <description> </description> <methods> - <method name="set_curve" > + <method name="set_curve"> <argument index="0" name="curve" type="Curve2D"> </argument> <description> </description> </method> - <method name="get_curve" qualifiers="const" > + <method name="get_curve" qualifiers="const"> <return type="Curve2D"> </return> <description> @@ -18360,85 +21277,85 @@ <description> </description> <methods> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="float"> </argument> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_h_offset" > + <method name="set_h_offset"> <argument index="0" name="h_offset" type="float"> </argument> <description> </description> </method> - <method name="get_h_offset" qualifiers="const" > + <method name="get_h_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_v_offset" > + <method name="set_v_offset"> <argument index="0" name="v_offset" type="float"> </argument> <description> </description> </method> - <method name="get_v_offset" qualifiers="const" > + <method name="get_v_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_unit_offset" > + <method name="set_unit_offset"> <argument index="0" name="unit_offset" type="float"> </argument> <description> </description> </method> - <method name="get_unit_offset" qualifiers="const" > + <method name="get_unit_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_rotation_mode" > + <method name="set_rotation_mode"> <argument index="0" name="rotation_mode" type="int"> </argument> <description> </description> </method> - <method name="get_rotation_mode" qualifiers="const" > + <method name="get_rotation_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_cubic_interpolation" > + <method name="set_cubic_interpolation"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_cubic_interpolation" qualifiers="const" > + <method name="get_cubic_interpolation" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="loop" type="bool"> </argument> <description> </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> @@ -18462,85 +21379,85 @@ <description> </description> <methods> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="float"> </argument> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_h_offset" > + <method name="set_h_offset"> <argument index="0" name="h_offset" type="float"> </argument> <description> </description> </method> - <method name="get_h_offset" qualifiers="const" > + <method name="get_h_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_v_offset" > + <method name="set_v_offset"> <argument index="0" name="v_offset" type="float"> </argument> <description> </description> </method> - <method name="get_v_offset" qualifiers="const" > + <method name="get_v_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_unit_offset" > + <method name="set_unit_offset"> <argument index="0" name="unit_offset" type="float"> </argument> <description> </description> </method> - <method name="get_unit_offset" qualifiers="const" > + <method name="get_unit_offset" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_rotate" > + <method name="set_rotate"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_rotating" qualifiers="const" > + <method name="is_rotating" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_cubic_interpolation" > + <method name="set_cubic_interpolation"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_cubic_interpolation" qualifiers="const" > + <method name="get_cubic_interpolation" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="loop" type="bool"> </argument> <description> </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> @@ -18558,7 +21475,7 @@ When exporting, the types of some resources may change internally so they are converted to more optimized versions. While it's not usually necesary to access to this directly (path remapping happens automatically when opeining a file), it's exported just for information. </description> <methods> - <method name="add_remap" > + <method name="add_remap"> <argument index="0" name="from" type="String"> </argument> <argument index="1" name="to" type="String"> @@ -18569,7 +21486,7 @@ Add a remap from a file to another. </description> </method> - <method name="has_remap" qualifiers="const" > + <method name="has_remap" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="path" type="String"> @@ -18578,7 +21495,7 @@ Return true if a file is being remapped. </description> </method> - <method name="get_remap" qualifiers="const" > + <method name="get_remap" qualifiers="const"> <return type="String"> </return> <argument index="0" name="path" type="String"> @@ -18587,14 +21504,14 @@ Return the remapped new path of a file. </description> </method> - <method name="erase_remap" > + <method name="erase_remap"> <argument index="0" name="path" type="String"> </argument> <description> Erase a remap. </description> </method> - <method name="clear_remaps" > + <method name="clear_remaps"> <description> Clear all remaps. </description> @@ -18609,7 +21526,7 @@ <description> </description> <methods> - <method name="get_monitor" qualifiers="const" > + <method name="get_monitor" qualifiers="const"> <return type="float"> </return> <argument index="0" name="monitor" type="int"> @@ -18685,98 +21602,103 @@ Direct access object to a physics body in the [Physics2DServer]. This object is passed via the direct state callback of rigid/character bodies, and is intended for changing the direct state of that body. </description> <methods> - <method name="get_total_gravity" qualifiers="const" > + <method name="get_total_gravity" qualifiers="const"> <return type="Vector2"> </return> <description> Return the total gravity vector being currently applied to this body. </description> </method> - <method name="get_total_density" qualifiers="const" > + <method name="get_total_linear_damp" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="get_total_angular_damp" qualifiers="const"> <return type="float"> </return> <description> - Return the space density currently being applied to this body. </description> </method> - <method name="get_inverse_mass" qualifiers="const" > + <method name="get_inverse_mass" qualifiers="const"> <return type="float"> </return> <description> Return the inverse of the mass of the body. </description> </method> - <method name="get_inverse_inertia" qualifiers="const" > + <method name="get_inverse_inertia" qualifiers="const"> <return type="float"> </return> <description> Return the inverse of the inertia of the body. </description> </method> - <method name="set_linear_velocity" > + <method name="set_linear_velocity"> <argument index="0" name="velocity" type="Vector2"> </argument> <description> Change the linear velocity of the body. </description> </method> - <method name="get_linear_velocity" qualifiers="const" > + <method name="get_linear_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> Return the current linear velocity of the body. </description> </method> - <method name="set_angular_velocity" > + <method name="set_angular_velocity"> <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" > + <method name="get_angular_velocity" qualifiers="const"> <return type="float"> </return> <description> Return the angular velocity of the body. </description> </method> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="transform" type="Matrix32"> </argument> <description> Change the transform matrix of the body. </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> Return the transform matrix of the body. </description> </method> - <method name="set_sleep_state" > + <method name="set_sleep_state"> <argument index="0" name="enabled" type="bool"> </argument> <description> Set the sleeping state of the body, only affects character/rigid bodies. </description> </method> - <method name="is_sleeping" qualifiers="const" > + <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> Return true if this body is currently sleeping (not active). </description> </method> - <method name="get_contact_count" qualifiers="const" > + <method name="get_contact_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of contacts this body has with other bodies. Note that by default this returns 0 unless bodies are configured to log contacts. </description> </method> - <method name="get_contact_local_pos" qualifiers="const" > + <method name="get_contact_local_pos" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="contact_idx" type="int"> @@ -18785,7 +21707,7 @@ Return the local position (of this body) of the contact point. </description> </method> - <method name="get_contact_local_normal" qualifiers="const" > + <method name="get_contact_local_normal" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="contact_idx" type="int"> @@ -18793,7 +21715,7 @@ <description> </description> </method> - <method name="get_contact_local_shape" qualifiers="const" > + <method name="get_contact_local_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -18802,7 +21724,7 @@ Return the local shape index of the collision. </description> </method> - <method name="get_contact_collider" qualifiers="const" > + <method name="get_contact_collider" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="contact_idx" type="int"> @@ -18811,7 +21733,7 @@ Return the RID of the collider. </description> </method> - <method name="get_contact_collider_pos" qualifiers="const" > + <method name="get_contact_collider_pos" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="contact_idx" type="int"> @@ -18820,7 +21742,7 @@ Return the contact position in the collider. </description> </method> - <method name="get_contact_collider_id" qualifiers="const" > + <method name="get_contact_collider_id" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -18829,7 +21751,7 @@ Return the object id of the collider. </description> </method> - <method name="get_contact_collider_object" qualifiers="const" > + <method name="get_contact_collider_object" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="contact_idx" type="int"> @@ -18838,7 +21760,7 @@ Return the collider object, this depends on how it was created (will return a scene node if such was used to create it). </description> </method> - <method name="get_contact_collider_shape" qualifiers="const" > + <method name="get_contact_collider_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -18847,13 +21769,13 @@ Return the collider shape index. </description> </method> - <method name="get_contact_collider_shape_metadata" qualifiers="const" > + <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" > + <method name="get_contact_collider_velocity_at_pos" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="contact_idx" type="int"> @@ -18862,19 +21784,19 @@ Return the linear velocity vector at contact point of the collider. </description> </method> - <method name="get_step" qualifiers="const" > + <method name="get_step" qualifiers="const"> <return type="float"> </return> <description> Return the timestep (delta) used for the simulation. </description> </method> - <method name="integrate_forces" > + <method name="integrate_forces"> <description> Call the built-in force integration code. </description> </method> - <method name="get_space_state" > + <method name="get_space_state"> <return type="Physics2DDirectSpaceState"> </return> <description> @@ -18903,7 +21825,23 @@ Direct access object to a space in the [Physics2DServer]. It's used mainly to do queries against objects and areas residing in a given space. </description> <methods> - <method name="intersect_ray" > + <method name="intersect_point"> + <return type="Array"> + </return> + <argument index="0" name="point" type="Vector2"> + </argument> + <argument index="1" name="max_results" type="int" default="32"> + </argument> + <argument index="2" name="exclude" type="Array" default="Array()"> + </argument> + <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_ray"> <return type="Dictionary"> </return> <argument index="0" name="from" type="Vector2"> @@ -18917,19 +21855,18 @@ <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] - position: place where ray is stopped[br] - normal: normal of the object at the point where the ray was stopped [br] - shape: shape index of the object agaisnt which the ray was stopped[br] - collider_: collider agaisnt which the ray was stopped[br] - collider_id: collider id of the object agaisnt which the ray was stopped[br] - collider: collider object agaisnt which the ray was stopped[br] - rid: [RID] of the object agaisnt which the ray was stopped[br] - If the ray did not intersect anything, then an empty - dictionary (dir.empty()==true) is returned instead. + Intersect a ray in a given space, the returned object is a dictionary with the following fields: + position: place where ray is stopped. + normal: normal of the object at the point where the ray was stopped. + shape: shape index of the object agaisnt which the ray was stopped. + collider_: collider agaisnt which the ray was stopped. + collider_id: collider id of the object agaisnt which the ray was stopped. + collider: collider object agaisnt which the ray was stopped. + rid: [RID] of the object agaisnt which the ray was stopped. + If the ray did not intersect anything, then an empty dictionary (dir.empty()==true) is returned instead. </description> </method> - <method name="intersect_shape" > + <method name="intersect_shape"> <return type="Array"> </return> <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> @@ -18940,7 +21877,7 @@ 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" > + <method name="cast_motion"> <return type="Array"> </return> <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> @@ -18948,7 +21885,7 @@ <description> </description> </method> - <method name="collide_shape" > + <method name="collide_shape"> <return type="Array"> </return> <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> @@ -18958,7 +21895,7 @@ <description> </description> </method> - <method name="get_rest_info" > + <method name="get_rest_info"> <return type="Dictionary"> </return> <argument index="0" name="shape" type="Physics2DShapeQueryParameters"> @@ -18990,7 +21927,7 @@ Physics 2D Server is the server responsible for all 2D physics. </description> <methods> - <method name="shape_create" > + <method name="shape_create"> <return type="RID"> </return> <argument index="0" name="type" type="int"> @@ -18998,7 +21935,7 @@ <description> </description> </method> - <method name="shape_set_data" > + <method name="shape_set_data"> <argument index="0" name="shape" type="RID"> </argument> <argument index="1" name="data" type="var"> @@ -19006,7 +21943,7 @@ <description> </description> </method> - <method name="shape_get_type" qualifiers="const" > + <method name="shape_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="shape" type="RID"> @@ -19014,19 +21951,19 @@ <description> </description> </method> - <method name="shape_get_data" qualifiers="const" > + <method name="shape_get_data" qualifiers="const"> <argument index="0" name="shape" type="RID"> </argument> <description> </description> </method> - <method name="space_create" > + <method name="space_create"> <return type="RID"> </return> <description> </description> </method> - <method name="space_set_active" > + <method name="space_set_active"> <argument index="0" name="space" type="RID"> </argument> <argument index="1" name="active" type="bool"> @@ -19034,7 +21971,7 @@ <description> </description> </method> - <method name="space_is_active" qualifiers="const" > + <method name="space_is_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="space" type="RID"> @@ -19042,7 +21979,7 @@ <description> </description> </method> - <method name="space_set_param" > + <method name="space_set_param"> <argument index="0" name="space" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -19052,7 +21989,7 @@ <description> </description> </method> - <method name="space_get_param" qualifiers="const" > + <method name="space_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="space" type="RID"> @@ -19062,7 +21999,7 @@ <description> </description> </method> - <method name="space_get_direct_state" > + <method name="space_get_direct_state"> <return type="Physics2DDirectSpaceState"> </return> <argument index="0" name="space" type="RID"> @@ -19070,13 +22007,13 @@ <description> </description> </method> - <method name="area_create" > + <method name="area_create"> <return type="RID"> </return> <description> </description> </method> - <method name="area_set_space" > + <method name="area_set_space"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="space" type="RID"> @@ -19084,7 +22021,7 @@ <description> </description> </method> - <method name="area_get_space" qualifiers="const" > + <method name="area_get_space" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="area" type="RID"> @@ -19092,7 +22029,7 @@ <description> </description> </method> - <method name="area_set_space_override_mode" > + <method name="area_set_space_override_mode"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="mode" type="int"> @@ -19100,7 +22037,7 @@ <description> </description> </method> - <method name="area_get_space_override_mode" qualifiers="const" > + <method name="area_get_space_override_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="area" type="RID"> @@ -19108,7 +22045,7 @@ <description> </description> </method> - <method name="area_add_shape" > + <method name="area_add_shape"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape" type="RID"> @@ -19118,7 +22055,7 @@ <description> </description> </method> - <method name="area_set_shape" > + <method name="area_set_shape"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -19128,7 +22065,7 @@ <description> </description> </method> - <method name="area_set_shape_transform" > + <method name="area_set_shape_transform"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -19138,7 +22075,7 @@ <description> </description> </method> - <method name="area_get_shape_count" qualifiers="const" > + <method name="area_get_shape_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="area" type="RID"> @@ -19146,7 +22083,7 @@ <description> </description> </method> - <method name="area_get_shape" qualifiers="const" > + <method name="area_get_shape" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="area" type="RID"> @@ -19156,7 +22093,7 @@ <description> </description> </method> - <method name="area_get_shape_transform" qualifiers="const" > + <method name="area_get_shape_transform" qualifiers="const"> <return type="Matrix32"> </return> <argument index="0" name="area" type="RID"> @@ -19166,7 +22103,7 @@ <description> </description> </method> - <method name="area_remove_shape" > + <method name="area_remove_shape"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -19174,13 +22111,29 @@ <description> </description> </method> - <method name="area_clear_shapes" > + <method name="area_clear_shapes"> <argument index="0" name="area" type="RID"> </argument> <description> </description> </method> - <method name="area_set_param" > + <method name="area_set_layer_mask"> + <argument index="0" name="area" type="RID"> + </argument> + <argument index="1" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="area_set_collision_mask"> + <argument index="0" name="area" type="RID"> + </argument> + <argument index="1" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="area_set_param"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -19190,7 +22143,7 @@ <description> </description> </method> - <method name="area_set_transform" > + <method name="area_set_transform"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="transform" type="Matrix32"> @@ -19198,7 +22151,7 @@ <description> </description> </method> - <method name="area_get_param" qualifiers="const" > + <method name="area_get_param" qualifiers="const"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -19206,7 +22159,7 @@ <description> </description> </method> - <method name="area_get_transform" qualifiers="const" > + <method name="area_get_transform" qualifiers="const"> <return type="Matrix32"> </return> <argument index="0" name="area" type="RID"> @@ -19214,7 +22167,7 @@ <description> </description> </method> - <method name="area_attach_object_instance_ID" > + <method name="area_attach_object_instance_ID"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="id" type="int"> @@ -19222,7 +22175,7 @@ <description> </description> </method> - <method name="area_get_object_instance_ID" qualifiers="const" > + <method name="area_get_object_instance_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="area" type="RID"> @@ -19230,7 +22183,7 @@ <description> </description> </method> - <method name="area_set_monitor_callback" > + <method name="area_set_monitor_callback"> <argument index="0" name="receiver" type="RID"> </argument> <argument index="1" name="method" type="Object"> @@ -19240,7 +22193,7 @@ <description> </description> </method> - <method name="body_create" > + <method name="body_create"> <return type="RID"> </return> <argument index="0" name="mode" type="int" default="2"> @@ -19250,7 +22203,7 @@ <description> </description> </method> - <method name="body_set_space" > + <method name="body_set_space"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="space" type="RID"> @@ -19258,7 +22211,7 @@ <description> </description> </method> - <method name="body_get_space" qualifiers="const" > + <method name="body_get_space" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="body" type="RID"> @@ -19266,7 +22219,7 @@ <description> </description> </method> - <method name="body_set_mode" > + <method name="body_set_mode"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="mode" type="int"> @@ -19274,7 +22227,7 @@ <description> </description> </method> - <method name="body_get_mode" qualifiers="const" > + <method name="body_get_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -19282,7 +22235,7 @@ <description> </description> </method> - <method name="body_add_shape" > + <method name="body_add_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape" type="RID"> @@ -19292,7 +22245,7 @@ <description> </description> </method> - <method name="body_set_shape" > + <method name="body_set_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -19302,7 +22255,7 @@ <description> </description> </method> - <method name="body_set_shape_transform" > + <method name="body_set_shape_transform"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -19312,7 +22265,7 @@ <description> </description> </method> - <method name="body_set_shape_metadata" > + <method name="body_set_shape_metadata"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -19322,7 +22275,7 @@ <description> </description> </method> - <method name="body_get_shape_count" qualifiers="const" > + <method name="body_get_shape_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -19330,7 +22283,7 @@ <description> </description> </method> - <method name="body_get_shape" qualifiers="const" > + <method name="body_get_shape" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="body" type="RID"> @@ -19340,7 +22293,7 @@ <description> </description> </method> - <method name="body_get_shape_transform" qualifiers="const" > + <method name="body_get_shape_transform" qualifiers="const"> <return type="Matrix32"> </return> <argument index="0" name="body" type="RID"> @@ -19350,7 +22303,7 @@ <description> </description> </method> - <method name="body_get_shape_metadata" qualifiers="const" > + <method name="body_get_shape_metadata" qualifiers="const"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -19358,7 +22311,7 @@ <description> </description> </method> - <method name="body_remove_shape" > + <method name="body_remove_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -19366,13 +22319,13 @@ <description> </description> </method> - <method name="body_clear_shapes" > + <method name="body_clear_shapes"> <argument index="0" name="body" type="RID"> </argument> <description> </description> </method> - <method name="body_set_shape_as_trigger" > + <method name="body_set_shape_as_trigger"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -19382,7 +22335,7 @@ <description> </description> </method> - <method name="body_is_shape_set_as_trigger" qualifiers="const" > + <method name="body_is_shape_set_as_trigger" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="body" type="RID"> @@ -19392,7 +22345,7 @@ <description> </description> </method> - <method name="body_attach_object_instance_ID" > + <method name="body_attach_object_instance_ID"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="id" type="int"> @@ -19400,7 +22353,7 @@ <description> </description> </method> - <method name="body_get_object_instance_ID" qualifiers="const" > + <method name="body_get_object_instance_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -19408,7 +22361,7 @@ <description> </description> </method> - <method name="body_set_continuous_collision_detection_mode" > + <method name="body_set_continuous_collision_detection_mode"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="mode" type="int"> @@ -19416,7 +22369,7 @@ <description> </description> </method> - <method name="body_get_continuous_collision_detection_mode" qualifiers="const" > + <method name="body_get_continuous_collision_detection_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -19424,7 +22377,7 @@ <description> </description> </method> - <method name="body_set_layer_mask" > + <method name="body_set_layer_mask"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="mask" type="int"> @@ -19432,17 +22385,15 @@ <description> </description> </method> - <method name="body_get_layer_mask" qualifiers="const" > + <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_collision_mask" > + <method name="body_set_collision_mask"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="mask" type="int"> @@ -19450,17 +22401,15 @@ <description> </description> </method> - <method name="body_get_collision_mask" qualifiers="const" > + <method name="body_get_collision_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" > + <method name="body_set_param"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -19470,7 +22419,7 @@ <description> </description> </method> - <method name="body_get_param" qualifiers="const" > + <method name="body_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="body" type="RID"> @@ -19480,7 +22429,7 @@ <description> </description> </method> - <method name="body_set_state" > + <method name="body_set_state"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="state" type="int"> @@ -19490,7 +22439,7 @@ <description> </description> </method> - <method name="body_get_state" qualifiers="const" > + <method name="body_get_state" qualifiers="const"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="state" type="int"> @@ -19498,7 +22447,7 @@ <description> </description> </method> - <method name="body_apply_impulse" > + <method name="body_apply_impulse"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -19508,7 +22457,7 @@ <description> </description> </method> - <method name="body_set_axis_velocity" > + <method name="body_set_axis_velocity"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="axis_velocity" type="Vector2"> @@ -19516,7 +22465,7 @@ <description> </description> </method> - <method name="body_add_collision_exception" > + <method name="body_add_collision_exception"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="excepted_body" type="RID"> @@ -19524,7 +22473,7 @@ <description> </description> </method> - <method name="body_remove_collision_exception" > + <method name="body_remove_collision_exception"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="excepted_body" type="RID"> @@ -19532,7 +22481,7 @@ <description> </description> </method> - <method name="body_set_max_contacts_reported" > + <method name="body_set_max_contacts_reported"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="amount" type="int"> @@ -19540,7 +22489,7 @@ <description> </description> </method> - <method name="body_get_max_contacts_reported" qualifiers="const" > + <method name="body_get_max_contacts_reported" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -19548,7 +22497,39 @@ <description> </description> </method> - <method name="body_set_omit_force_integration" > + <method name="body_set_one_way_collision_direction"> + <argument index="0" name="normal" type="RID"> + </argument> + <argument index="1" name="arg1" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="body_get_one_way_collision_direction" qualifiers="const"> + <return type="Vector2"> + </return> + <argument index="0" name="arg0" type="RID"> + </argument> + <description> + </description> + </method> + <method name="body_set_one_way_collision_max_depth"> + <argument index="0" name="normal" type="RID"> + </argument> + <argument index="1" name="arg1" type="float"> + </argument> + <description> + </description> + </method> + <method name="body_get_one_way_collision_max_depth" qualifiers="const"> + <return type="float"> + </return> + <argument index="0" name="arg0" type="RID"> + </argument> + <description> + </description> + </method> + <method name="body_set_omit_force_integration"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="enable" type="bool"> @@ -19556,7 +22537,7 @@ <description> </description> </method> - <method name="body_is_omitting_force_integration" qualifiers="const" > + <method name="body_is_omitting_force_integration" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="body" type="RID"> @@ -19564,7 +22545,7 @@ <description> </description> </method> - <method name="body_set_force_integration_callback" > + <method name="body_set_force_integration_callback"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="receiver" type="Object"> @@ -19576,7 +22557,21 @@ <description> </description> </method> - <method name="joint_set_param" > + <method name="body_test_motion"> + <return type="bool"> + </return> + <argument index="0" name="body" type="RID"> + </argument> + <argument index="1" name="motion" type="Vector2"> + </argument> + <argument index="2" name="margin" type="float" default="0.08"> + </argument> + <argument index="3" name="result" type="Physics2DTestMotionResult" default="NULL"> + </argument> + <description> + </description> + </method> + <method name="joint_set_param"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -19586,7 +22581,7 @@ <description> </description> </method> - <method name="joint_get_param" qualifiers="const" > + <method name="joint_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="joint" type="RID"> @@ -19596,7 +22591,7 @@ <description> </description> </method> - <method name="pin_joint_create" > + <method name="pin_joint_create"> <return type="RID"> </return> <argument index="0" name="anchor" type="Vector2"> @@ -19608,7 +22603,7 @@ <description> </description> </method> - <method name="groove_joint_create" > + <method name="groove_joint_create"> <return type="RID"> </return> <argument index="0" name="groove1_a" type="Vector2"> @@ -19624,7 +22619,7 @@ <description> </description> </method> - <method name="damped_spring_joint_create" > + <method name="damped_spring_joint_create"> <return type="RID"> </return> <argument index="0" name="anchor_a" type="Vector2"> @@ -19638,7 +22633,7 @@ <description> </description> </method> - <method name="damped_string_joint_set_param" > + <method name="damped_string_joint_set_param"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -19648,7 +22643,7 @@ <description> </description> </method> - <method name="damped_string_joint_get_param" qualifiers="const" > + <method name="damped_string_joint_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="joint" type="RID"> @@ -19658,7 +22653,7 @@ <description> </description> </method> - <method name="joint_get_type" qualifiers="const" > + <method name="joint_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="joint" type="RID"> @@ -19666,19 +22661,19 @@ <description> </description> </method> - <method name="free_rid" > + <method name="free_rid"> <argument index="0" name="rid" type="RID"> </argument> <description> </description> </method> - <method name="set_active" > + <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> </description> </method> - <method name="get_process_info" > + <method name="get_process_info"> <return type="int"> </return> <argument index="0" name="arg0" type="int"> @@ -19710,11 +22705,15 @@ </constant> <constant name="AREA_PARAM_GRAVITY_IS_POINT" value="2"> </constant> - <constant name="AREA_PARAM_GRAVITY_POINT_ATTENUATION" value="3"> + <constant name="AREA_PARAM_GRAVITY_DISTANCE_SCALE" value="3"> + </constant> + <constant name="AREA_PARAM_GRAVITY_POINT_ATTENUATION" value="4"> </constant> - <constant name="AREA_PARAM_DENSITY" value="4"> + <constant name="AREA_PARAM_LINEAR_DAMP" value="5"> </constant> - <constant name="AREA_PARAM_PRIORITY" value="5"> + <constant name="AREA_PARAM_ANGULAR_DAMP" value="6"> + </constant> + <constant name="AREA_PARAM_PRIORITY" value="7"> </constant> <constant name="AREA_SPACE_OVERRIDE_COMBINE" value="1"> </constant> @@ -19736,7 +22735,13 @@ </constant> <constant name="BODY_PARAM_MASS" value="2"> </constant> - <constant name="BODY_PARAM_MAX" value="3"> + <constant name="BODY_PARAM_GRAVITY_SCALE" value="3"> + </constant> + <constant name="BODY_PARAM_LINEAR_DAMP" value="4"> + </constant> + <constant name="BODY_PARAM_ANGULAR_DAMP" value="5"> + </constant> + <constant name="BODY_PARAM_MAX" value="6"> </constant> <constant name="BODY_STATE_TRANSFORM" value="0"> </constant> @@ -19794,91 +22799,91 @@ <description> </description> <methods> - <method name="set_shape" > + <method name="set_shape"> <argument index="0" name="shape" type="Shape2D"> </argument> <description> </description> </method> - <method name="set_shape_rid" > + <method name="set_shape_rid"> <argument index="0" name="shape" type="RID"> </argument> <description> </description> </method> - <method name="get_shape_rid" qualifiers="const" > + <method name="get_shape_rid" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="transform" type="Matrix32"> </argument> <description> </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="set_motion" > + <method name="set_motion"> <argument index="0" name="motion" type="Vector2"> </argument> <description> </description> </method> - <method name="get_motion" qualifiers="const" > + <method name="get_motion" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_margin" > + <method name="set_margin"> <argument index="0" name="margin" type="float"> </argument> <description> </description> </method> - <method name="get_margin" qualifiers="const" > + <method name="get_margin" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_layer_mask" > + <method name="set_layer_mask"> <argument index="0" name="layer_mask" type="int"> </argument> <description> </description> </method> - <method name="get_layer_mask" qualifiers="const" > + <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_object_type_mask" > + <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" > + <method name="get_object_type_mask" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_exclude" > + <method name="set_exclude"> <argument index="0" name="exclude" type="Array"> </argument> <description> </description> </method> - <method name="get_exclude" qualifiers="const" > + <method name="get_exclude" qualifiers="const"> <return type="Array"> </return> <description> @@ -19894,13 +22899,13 @@ <description> </description> <methods> - <method name="get_result_count" qualifiers="const" > + <method name="get_result_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_result_rid" qualifiers="const" > + <method name="get_result_rid" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="idx" type="int"> @@ -19908,7 +22913,7 @@ <description> </description> </method> - <method name="get_result_object_id" qualifiers="const" > + <method name="get_result_object_id" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -19916,7 +22921,7 @@ <description> </description> </method> - <method name="get_result_object" qualifiers="const" > + <method name="get_result_object" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="idx" type="int"> @@ -19924,7 +22929,7 @@ <description> </description> </method> - <method name="get_result_object_shape" qualifiers="const" > + <method name="get_result_object_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -19936,6 +22941,70 @@ <constants> </constants> </class> +<class name="Physics2DTestMotionResult" inherits="Reference" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="get_motion" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="get_motion_remainder" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="get_collision_point" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="get_collision_normal" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="get_collider_velocity" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="get_collider_id" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_collider_rid" qualifiers="const"> + <return type="RID"> + </return> + <description> + </description> + </method> + <method name="get_collider" qualifiers="const"> + <return type="Object"> + </return> + <description> + </description> + </method> + <method name="get_collider_shape" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="PhysicsBody" inherits="CollisionObject" category="Core"> <brief_description> Base class for differnt types of Physics bodies. @@ -19944,25 +23013,25 @@ PhysicsBody is an abstract base class for implementing a physics body. All PhysicsBody types inherit from it. </description> <methods> - <method name="set_layer_mask" > + <method name="set_layer_mask"> <argument index="0" name="mask" type="int"> </argument> <description> </description> </method> - <method name="get_layer_mask" qualifiers="const" > + <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="add_collision_exception_with" > + <method name="add_collision_exception_with"> <argument index="0" name="body" type="PhysicsBody"> </argument> <description> </description> </method> - <method name="remove_collision_exception_with" > + <method name="remove_collision_exception_with"> <argument index="0" name="body" type="PhysicsBody"> </argument> <description> @@ -19978,25 +23047,93 @@ <description> </description> <methods> - <method name="set_layer_mask" > + <method name="set_layer_mask"> <argument index="0" name="mask" type="int"> </argument> <description> </description> </method> - <method name="get_layer_mask" qualifiers="const" > + <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="add_collision_exception_with" > + <method name="set_collision_mask"> + <argument index="0" name="mask" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_collision_mask" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_collision_mask_bit"> + <argument index="0" name="bit" type="int"> + </argument> + <argument index="1" name="value" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_collision_mask_bit" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="bit" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_layer_mask_bit"> + <argument index="0" name="bit" type="int"> + </argument> + <argument index="1" name="value" type="bool"> + </argument> + <description> + </description> + </method> + <method name="get_layer_mask_bit" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="bit" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_one_way_collision_direction"> + <argument index="0" name="dir" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="get_one_way_collision_direction" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="set_one_way_collision_max_depth"> + <argument index="0" name="depth" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_one_way_collision_max_depth" qualifiers="const"> + <return type="float"> + </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" > + <method name="remove_collision_exception_with"> <argument index="0" name="body" type="PhysicsBody2D"> </argument> <description> @@ -20012,67 +23149,73 @@ <description> </description> <methods> - <method name="get_total_gravity" qualifiers="const" > + <method name="get_total_gravity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="get_total_density" qualifiers="const" > + <method name="get_total_linear_damp" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="get_total_angular_damp" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_inverse_mass" qualifiers="const" > + <method name="get_inverse_mass" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_inverse_inertia" qualifiers="const" > + <method name="get_inverse_inertia" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_linear_velocity" > + <method name="set_linear_velocity"> <argument index="0" name="velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_linear_velocity" qualifiers="const" > + <method name="get_linear_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_angular_velocity" > + <method name="set_angular_velocity"> <argument index="0" name="velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_angular_velocity" qualifiers="const" > + <method name="get_angular_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="transform" type="Transform"> </argument> <description> </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Transform"> </return> <description> </description> </method> - <method name="add_force" > + <method name="add_force"> <argument index="0" name="force" type="Vector3"> </argument> <argument index="1" name="pos" type="Vector3"> @@ -20080,7 +23223,7 @@ <description> </description> </method> - <method name="apply_impulse" > + <method name="apply_impulse"> <argument index="0" name="pos" type="Vector3"> </argument> <argument index="1" name="j" type="Vector3"> @@ -20088,25 +23231,25 @@ <description> </description> </method> - <method name="set_sleep_state" > + <method name="set_sleep_state"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_sleeping" qualifiers="const" > + <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_contact_count" qualifiers="const" > + <method name="get_contact_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_contact_local_pos" qualifiers="const" > + <method name="get_contact_local_pos" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="contact_idx" type="int"> @@ -20114,7 +23257,7 @@ <description> </description> </method> - <method name="get_contact_local_normal" qualifiers="const" > + <method name="get_contact_local_normal" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="contact_idx" type="int"> @@ -20122,7 +23265,7 @@ <description> </description> </method> - <method name="get_contact_local_shape" qualifiers="const" > + <method name="get_contact_local_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -20130,7 +23273,7 @@ <description> </description> </method> - <method name="get_contact_collider" qualifiers="const" > + <method name="get_contact_collider" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="contact_idx" type="int"> @@ -20138,7 +23281,7 @@ <description> </description> </method> - <method name="get_contact_collider_pos" qualifiers="const" > + <method name="get_contact_collider_pos" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="contact_idx" type="int"> @@ -20146,7 +23289,7 @@ <description> </description> </method> - <method name="get_contact_collider_id" qualifiers="const" > + <method name="get_contact_collider_id" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -20154,7 +23297,7 @@ <description> </description> </method> - <method name="get_contact_collider_object" qualifiers="const" > + <method name="get_contact_collider_object" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="contact_idx" type="int"> @@ -20162,7 +23305,7 @@ <description> </description> </method> - <method name="get_contact_collider_shape" qualifiers="const" > + <method name="get_contact_collider_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -20170,7 +23313,7 @@ <description> </description> </method> - <method name="get_contact_collider_velocity_at_pos" qualifiers="const" > + <method name="get_contact_collider_velocity_at_pos" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="contact_idx" type="int"> @@ -20178,17 +23321,17 @@ <description> </description> </method> - <method name="get_step" qualifiers="const" > + <method name="get_step" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="integrate_forces" > + <method name="integrate_forces"> <description> </description> </method> - <method name="get_space_state" > + <method name="get_space_state"> <return type="PhysicsDirectSpaceState"> </return> <description> @@ -20214,7 +23357,7 @@ <description> </description> <methods> - <method name="intersect_ray" > + <method name="intersect_ray"> <return type="Dictionary"> </return> <argument index="0" name="from" type="Vector3"> @@ -20230,7 +23373,7 @@ <description> </description> </method> - <method name="intersect_shape" > + <method name="intersect_shape"> <return type="Array"> </return> <argument index="0" name="shape" type="PhysicsShapeQueryParameters"> @@ -20240,7 +23383,7 @@ <description> </description> </method> - <method name="cast_motion" > + <method name="cast_motion"> <return type="Array"> </return> <argument index="0" name="shape" type="PhysicsShapeQueryParameters"> @@ -20250,7 +23393,7 @@ <description> </description> </method> - <method name="collide_shape" > + <method name="collide_shape"> <return type="Array"> </return> <argument index="0" name="shape" type="PhysicsShapeQueryParameters"> @@ -20260,7 +23403,7 @@ <description> </description> </method> - <method name="get_rest_info" > + <method name="get_rest_info"> <return type="Dictionary"> </return> <argument index="0" name="shape" type="PhysicsShapeQueryParameters"> @@ -20290,7 +23433,7 @@ <description> </description> <methods> - <method name="shape_create" > + <method name="shape_create"> <return type="RID"> </return> <argument index="0" name="type" type="int"> @@ -20298,7 +23441,7 @@ <description> </description> </method> - <method name="shape_set_data" > + <method name="shape_set_data"> <argument index="0" name="shape" type="RID"> </argument> <argument index="1" name="data" type="var"> @@ -20306,7 +23449,7 @@ <description> </description> </method> - <method name="shape_get_type" qualifiers="const" > + <method name="shape_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="shape" type="RID"> @@ -20314,19 +23457,19 @@ <description> </description> </method> - <method name="shape_get_data" qualifiers="const" > + <method name="shape_get_data" qualifiers="const"> <argument index="0" name="shape" type="RID"> </argument> <description> </description> </method> - <method name="space_create" > + <method name="space_create"> <return type="RID"> </return> <description> </description> </method> - <method name="space_set_active" > + <method name="space_set_active"> <argument index="0" name="space" type="RID"> </argument> <argument index="1" name="active" type="bool"> @@ -20334,7 +23477,7 @@ <description> </description> </method> - <method name="space_is_active" qualifiers="const" > + <method name="space_is_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="space" type="RID"> @@ -20342,7 +23485,7 @@ <description> </description> </method> - <method name="space_set_param" > + <method name="space_set_param"> <argument index="0" name="space" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -20352,7 +23495,7 @@ <description> </description> </method> - <method name="space_get_param" qualifiers="const" > + <method name="space_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="space" type="RID"> @@ -20362,7 +23505,7 @@ <description> </description> </method> - <method name="space_get_direct_state" > + <method name="space_get_direct_state"> <return type="PhysicsDirectSpaceState"> </return> <argument index="0" name="space" type="RID"> @@ -20370,13 +23513,13 @@ <description> </description> </method> - <method name="area_create" > + <method name="area_create"> <return type="RID"> </return> <description> </description> </method> - <method name="area_set_space" > + <method name="area_set_space"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="space" type="RID"> @@ -20384,7 +23527,7 @@ <description> </description> </method> - <method name="area_get_space" qualifiers="const" > + <method name="area_get_space" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="area" type="RID"> @@ -20392,7 +23535,7 @@ <description> </description> </method> - <method name="area_set_space_override_mode" > + <method name="area_set_space_override_mode"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="mode" type="int"> @@ -20400,7 +23543,7 @@ <description> </description> </method> - <method name="area_get_space_override_mode" qualifiers="const" > + <method name="area_get_space_override_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="area" type="RID"> @@ -20408,7 +23551,7 @@ <description> </description> </method> - <method name="area_add_shape" > + <method name="area_add_shape"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape" type="RID"> @@ -20418,7 +23561,7 @@ <description> </description> </method> - <method name="area_set_shape" > + <method name="area_set_shape"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -20428,7 +23571,7 @@ <description> </description> </method> - <method name="area_set_shape_transform" > + <method name="area_set_shape_transform"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -20438,7 +23581,7 @@ <description> </description> </method> - <method name="area_get_shape_count" qualifiers="const" > + <method name="area_get_shape_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="area" type="RID"> @@ -20446,7 +23589,7 @@ <description> </description> </method> - <method name="area_get_shape" qualifiers="const" > + <method name="area_get_shape" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="area" type="RID"> @@ -20456,7 +23599,7 @@ <description> </description> </method> - <method name="area_get_shape_transform" qualifiers="const" > + <method name="area_get_shape_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="area" type="RID"> @@ -20466,7 +23609,7 @@ <description> </description> </method> - <method name="area_remove_shape" > + <method name="area_remove_shape"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -20474,13 +23617,13 @@ <description> </description> </method> - <method name="area_clear_shapes" > + <method name="area_clear_shapes"> <argument index="0" name="area" type="RID"> </argument> <description> </description> </method> - <method name="area_set_param" > + <method name="area_set_param"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -20490,7 +23633,7 @@ <description> </description> </method> - <method name="area_set_transform" > + <method name="area_set_transform"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="transform" type="Transform"> @@ -20498,7 +23641,7 @@ <description> </description> </method> - <method name="area_get_param" qualifiers="const" > + <method name="area_get_param" qualifiers="const"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -20506,7 +23649,7 @@ <description> </description> </method> - <method name="area_get_transform" qualifiers="const" > + <method name="area_get_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="area" type="RID"> @@ -20514,7 +23657,7 @@ <description> </description> </method> - <method name="area_attach_object_instance_ID" > + <method name="area_attach_object_instance_ID"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="id" type="int"> @@ -20522,7 +23665,7 @@ <description> </description> </method> - <method name="area_get_object_instance_ID" qualifiers="const" > + <method name="area_get_object_instance_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="area" type="RID"> @@ -20530,7 +23673,7 @@ <description> </description> </method> - <method name="area_set_monitor_callback" > + <method name="area_set_monitor_callback"> <argument index="0" name="receiver" type="RID"> </argument> <argument index="1" name="method" type="Object"> @@ -20540,7 +23683,7 @@ <description> </description> </method> - <method name="area_set_ray_pickable" > + <method name="area_set_ray_pickable"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="enable" type="bool"> @@ -20548,7 +23691,7 @@ <description> </description> </method> - <method name="area_is_ray_pickable" qualifiers="const" > + <method name="area_is_ray_pickable" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="area" type="RID"> @@ -20556,7 +23699,7 @@ <description> </description> </method> - <method name="body_create" > + <method name="body_create"> <return type="RID"> </return> <argument index="0" name="mode" type="int" default="2"> @@ -20566,7 +23709,7 @@ <description> </description> </method> - <method name="body_set_space" > + <method name="body_set_space"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="space" type="RID"> @@ -20574,7 +23717,7 @@ <description> </description> </method> - <method name="body_get_space" qualifiers="const" > + <method name="body_get_space" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="body" type="RID"> @@ -20582,7 +23725,7 @@ <description> </description> </method> - <method name="body_set_mode" > + <method name="body_set_mode"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="mode" type="int"> @@ -20590,7 +23733,7 @@ <description> </description> </method> - <method name="body_get_mode" qualifiers="const" > + <method name="body_get_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -20600,7 +23743,7 @@ <description> </description> </method> - <method name="body_add_shape" > + <method name="body_add_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape" type="RID"> @@ -20610,7 +23753,7 @@ <description> </description> </method> - <method name="body_set_shape" > + <method name="body_set_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -20620,7 +23763,7 @@ <description> </description> </method> - <method name="body_set_shape_transform" > + <method name="body_set_shape_transform"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -20630,7 +23773,7 @@ <description> </description> </method> - <method name="body_get_shape_count" qualifiers="const" > + <method name="body_get_shape_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -20638,7 +23781,7 @@ <description> </description> </method> - <method name="body_get_shape" qualifiers="const" > + <method name="body_get_shape" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="body" type="RID"> @@ -20648,7 +23791,7 @@ <description> </description> </method> - <method name="body_get_shape_transform" qualifiers="const" > + <method name="body_get_shape_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="body" type="RID"> @@ -20658,7 +23801,7 @@ <description> </description> </method> - <method name="body_remove_shape" > + <method name="body_remove_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -20666,13 +23809,13 @@ <description> </description> </method> - <method name="body_clear_shapes" > + <method name="body_clear_shapes"> <argument index="0" name="body" type="RID"> </argument> <description> </description> </method> - <method name="body_attach_object_instance_ID" > + <method name="body_attach_object_instance_ID"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="id" type="int"> @@ -20680,7 +23823,7 @@ <description> </description> </method> - <method name="body_get_object_instance_ID" qualifiers="const" > + <method name="body_get_object_instance_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -20688,7 +23831,7 @@ <description> </description> </method> - <method name="body_set_enable_continuous_collision_detection" > + <method name="body_set_enable_continuous_collision_detection"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="enable" type="bool"> @@ -20696,7 +23839,7 @@ <description> </description> </method> - <method name="body_is_continuous_collision_detection_enabled" qualifiers="const" > + <method name="body_is_continuous_collision_detection_enabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="body" type="RID"> @@ -20704,7 +23847,7 @@ <description> </description> </method> - <method name="body_set_param" > + <method name="body_set_param"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -20714,7 +23857,7 @@ <description> </description> </method> - <method name="body_get_param" qualifiers="const" > + <method name="body_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="body" type="RID"> @@ -20724,7 +23867,7 @@ <description> </description> </method> - <method name="body_set_state" > + <method name="body_set_state"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="state" type="int"> @@ -20734,7 +23877,7 @@ <description> </description> </method> - <method name="body_get_state" qualifiers="const" > + <method name="body_get_state" qualifiers="const"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="state" type="int"> @@ -20742,7 +23885,7 @@ <description> </description> </method> - <method name="body_apply_impulse" > + <method name="body_apply_impulse"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="pos" type="Vector3"> @@ -20752,7 +23895,7 @@ <description> </description> </method> - <method name="body_set_axis_velocity" > + <method name="body_set_axis_velocity"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="axis_velocity" type="Vector3"> @@ -20760,7 +23903,7 @@ <description> </description> </method> - <method name="body_set_axis_lock" > + <method name="body_set_axis_lock"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="axis" type="int"> @@ -20768,7 +23911,7 @@ <description> </description> </method> - <method name="body_get_axis_lock" qualifiers="const" > + <method name="body_get_axis_lock" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -20776,7 +23919,7 @@ <description> </description> </method> - <method name="body_add_collision_exception" > + <method name="body_add_collision_exception"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="excepted_body" type="RID"> @@ -20784,7 +23927,7 @@ <description> </description> </method> - <method name="body_remove_collision_exception" > + <method name="body_remove_collision_exception"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="excepted_body" type="RID"> @@ -20792,7 +23935,7 @@ <description> </description> </method> - <method name="body_set_max_contacts_reported" > + <method name="body_set_max_contacts_reported"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="amount" type="int"> @@ -20800,7 +23943,7 @@ <description> </description> </method> - <method name="body_get_max_contacts_reported" qualifiers="const" > + <method name="body_get_max_contacts_reported" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -20808,7 +23951,7 @@ <description> </description> </method> - <method name="body_set_omit_force_integration" > + <method name="body_set_omit_force_integration"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="enable" type="bool"> @@ -20816,7 +23959,7 @@ <description> </description> </method> - <method name="body_is_omitting_force_integration" qualifiers="const" > + <method name="body_is_omitting_force_integration" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="body" type="RID"> @@ -20824,7 +23967,7 @@ <description> </description> </method> - <method name="body_set_force_integration_callback" > + <method name="body_set_force_integration_callback"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="receiver" type="Object"> @@ -20836,7 +23979,7 @@ <description> </description> </method> - <method name="body_set_ray_pickable" > + <method name="body_set_ray_pickable"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="enable" type="bool"> @@ -20844,7 +23987,7 @@ <description> </description> </method> - <method name="body_is_ray_pickable" qualifiers="const" > + <method name="body_is_ray_pickable" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="body" type="RID"> @@ -20852,7 +23995,7 @@ <description> </description> </method> - <method name="joint_create_pin" > + <method name="joint_create_pin"> <return type="RID"> </return> <argument index="0" name="body_A" type="RID"> @@ -20866,7 +24009,7 @@ <description> </description> </method> - <method name="pin_joint_set_param" > + <method name="pin_joint_set_param"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -20876,7 +24019,7 @@ <description> </description> </method> - <method name="pin_joint_get_param" qualifiers="const" > + <method name="pin_joint_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="joint" type="RID"> @@ -20886,7 +24029,7 @@ <description> </description> </method> - <method name="pin_joint_set_local_A" > + <method name="pin_joint_set_local_A"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="local_A" type="Vector3"> @@ -20894,7 +24037,7 @@ <description> </description> </method> - <method name="pin_joint_get_local_A" qualifiers="const" > + <method name="pin_joint_get_local_A" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="joint" type="RID"> @@ -20902,7 +24045,7 @@ <description> </description> </method> - <method name="pin_joint_set_local_B" > + <method name="pin_joint_set_local_B"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="local_B" type="Vector3"> @@ -20910,7 +24053,7 @@ <description> </description> </method> - <method name="pin_joint_get_local_B" qualifiers="const" > + <method name="pin_joint_get_local_B" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="joint" type="RID"> @@ -20918,7 +24061,7 @@ <description> </description> </method> - <method name="joint_create_hinge" > + <method name="joint_create_hinge"> <return type="RID"> </return> <argument index="0" name="body_A" type="RID"> @@ -20932,7 +24075,7 @@ <description> </description> </method> - <method name="hinge_joint_set_param" > + <method name="hinge_joint_set_param"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -20942,7 +24085,7 @@ <description> </description> </method> - <method name="hinge_joint_get_param" qualifiers="const" > + <method name="hinge_joint_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="joint" type="RID"> @@ -20952,7 +24095,7 @@ <description> </description> </method> - <method name="hinge_joint_set_flag" > + <method name="hinge_joint_set_flag"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="flag" type="int"> @@ -20962,7 +24105,7 @@ <description> </description> </method> - <method name="hinge_joint_get_flag" qualifiers="const" > + <method name="hinge_joint_get_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="joint" type="RID"> @@ -20972,7 +24115,7 @@ <description> </description> </method> - <method name="joint_create_slider" > + <method name="joint_create_slider"> <return type="RID"> </return> <argument index="0" name="body_A" type="RID"> @@ -20986,7 +24129,7 @@ <description> </description> </method> - <method name="slider_joint_set_param" > + <method name="slider_joint_set_param"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -20996,7 +24139,7 @@ <description> </description> </method> - <method name="slider_joint_get_param" qualifiers="const" > + <method name="slider_joint_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="joint" type="RID"> @@ -21006,7 +24149,7 @@ <description> </description> </method> - <method name="joint_create_cone_twist" > + <method name="joint_create_cone_twist"> <return type="RID"> </return> <argument index="0" name="body_A" type="RID"> @@ -21020,7 +24163,7 @@ <description> </description> </method> - <method name="cone_twist_joint_set_param" > + <method name="cone_twist_joint_set_param"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -21030,7 +24173,7 @@ <description> </description> </method> - <method name="cone_twist_joint_get_param" qualifiers="const" > + <method name="cone_twist_joint_get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="joint" type="RID"> @@ -21040,7 +24183,7 @@ <description> </description> </method> - <method name="joint_get_type" qualifiers="const" > + <method name="joint_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="joint" type="RID"> @@ -21048,7 +24191,7 @@ <description> </description> </method> - <method name="joint_set_solver_priority" > + <method name="joint_set_solver_priority"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="priority" type="int"> @@ -21056,7 +24199,7 @@ <description> </description> </method> - <method name="joint_get_solver_priority" qualifiers="const" > + <method name="joint_get_solver_priority" qualifiers="const"> <return type="int"> </return> <argument index="0" name="joint" type="RID"> @@ -21064,7 +24207,7 @@ <description> </description> </method> - <method name="joint_create_generic_6dof" > + <method name="joint_create_generic_6dof"> <return type="RID"> </return> <argument index="0" name="body_A" type="RID"> @@ -21078,7 +24221,7 @@ <description> </description> </method> - <method name="generic_6dof_joint_set_param" > + <method name="generic_6dof_joint_set_param"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="axis" type="int"> @@ -21090,7 +24233,7 @@ <description> </description> </method> - <method name="generic_6dof_joint_get_param" > + <method name="generic_6dof_joint_get_param"> <return type="float"> </return> <argument index="0" name="joint" type="RID"> @@ -21102,7 +24245,7 @@ <description> </description> </method> - <method name="generic_6dof_joint_set_flag" > + <method name="generic_6dof_joint_set_flag"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="axis" type="int"> @@ -21114,7 +24257,7 @@ <description> </description> </method> - <method name="generic_6dof_joint_get_flag" > + <method name="generic_6dof_joint_get_flag"> <return type="bool"> </return> <argument index="0" name="joint" type="RID"> @@ -21126,19 +24269,19 @@ <description> </description> </method> - <method name="free_rid" > + <method name="free_rid"> <argument index="0" name="rid" type="RID"> </argument> <description> </description> </method> - <method name="set_active" > + <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> </description> </method> - <method name="get_process_info" > + <method name="get_process_info"> <return type="int"> </return> <argument index="0" name="arg0" type="int"> @@ -21298,11 +24441,15 @@ </constant> <constant name="AREA_PARAM_GRAVITY_IS_POINT" value="2"> </constant> - <constant name="AREA_PARAM_GRAVITY_POINT_ATTENUATION" value="3"> + <constant name="AREA_PARAM_GRAVITY_DISTANCE_SCALE" value="3"> </constant> - <constant name="AREA_PARAM_DENSITY" value="4"> + <constant name="AREA_PARAM_GRAVITY_POINT_ATTENUATION" value="4"> </constant> - <constant name="AREA_PARAM_PRIORITY" value="5"> + <constant name="AREA_PARAM_LINEAR_DAMP" value="5"> + </constant> + <constant name="AREA_PARAM_ANGULAR_DAMP" value="6"> + </constant> + <constant name="AREA_PARAM_PRIORITY" value="7"> </constant> <constant name="AREA_SPACE_OVERRIDE_COMBINE" value="1"> </constant> @@ -21324,7 +24471,13 @@ </constant> <constant name="BODY_PARAM_MASS" value="2"> </constant> - <constant name="BODY_PARAM_MAX" value="3"> + <constant name="BODY_PARAM_GRAVITY_SCALE" value="3"> + </constant> + <constant name="BODY_PARAM_ANGULAR_DAMP" value="5"> + </constant> + <constant name="BODY_PARAM_LINEAR_DAMP" value="4"> + </constant> + <constant name="BODY_PARAM_MAX" value="6"> </constant> <constant name="BODY_STATE_TRANSFORM" value="0"> </constant> @@ -21364,79 +24517,79 @@ <description> </description> <methods> - <method name="set_shape" > + <method name="set_shape"> <argument index="0" name="shape" type="Shape"> </argument> <description> </description> </method> - <method name="set_shape_rid" > + <method name="set_shape_rid"> <argument index="0" name="shape" type="RID"> </argument> <description> </description> </method> - <method name="get_shape_rid" qualifiers="const" > + <method name="get_shape_rid" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="transform" type="Transform"> </argument> <description> </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Transform"> </return> <description> </description> </method> - <method name="set_margin" > + <method name="set_margin"> <argument index="0" name="margin" type="float"> </argument> <description> </description> </method> - <method name="get_margin" qualifiers="const" > + <method name="get_margin" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_layer_mask" > + <method name="set_layer_mask"> <argument index="0" name="layer_mask" type="int"> </argument> <description> </description> </method> - <method name="get_layer_mask" qualifiers="const" > + <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_object_type_mask" > + <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" > + <method name="get_object_type_mask" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_exclude" > + <method name="set_exclude"> <argument index="0" name="exclude" type="Array"> </argument> <description> </description> </method> - <method name="get_exclude" qualifiers="const" > + <method name="get_exclude" qualifiers="const"> <return type="Array"> </return> <description> @@ -21453,13 +24606,13 @@ <description> </description> <methods> - <method name="get_result_count" qualifiers="const" > + <method name="get_result_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_result_rid" qualifiers="const" > + <method name="get_result_rid" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="idx" type="int"> @@ -21467,7 +24620,7 @@ <description> </description> </method> - <method name="get_result_object_id" qualifiers="const" > + <method name="get_result_object_id" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -21475,7 +24628,7 @@ <description> </description> </method> - <method name="get_result_object" qualifiers="const" > + <method name="get_result_object" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="idx" type="int"> @@ -21483,7 +24636,7 @@ <description> </description> </method> - <method name="get_result_object_shape" qualifiers="const" > + <method name="get_result_object_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -21501,7 +24654,7 @@ <description> </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -21509,7 +24662,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -21547,14 +24700,14 @@ Plane represents a normalized plane equation. Basically, "normal" is the normal of the plane (a,b,c normalized), and "d" is the distance from the origin to the plane (in the direction of "normal"). "Over" or "Above" the plane is considered the side of the plane towards where the normal is pointing. </description> <methods> - <method name="center" > + <method name="center"> <return type="Vector3"> </return> <description> Returns the center of the plane. </description> </method> - <method name="distance_to" > + <method name="distance_to"> <return type="float"> </return> <argument index="0" name="point" type="Vector3"> @@ -21563,14 +24716,14 @@ Returns the shortest distance from the plane to the position "point". </description> </method> - <method name="get_any_point" > + <method name="get_any_point"> <return type="Vector3"> </return> <description> Returns a point on the plane. </description> </method> - <method name="has_point" > + <method name="has_point"> <return type="bool"> </return> <argument index="0" name="point" type="Vector3"> @@ -21581,7 +24734,7 @@ Returns true if "point" is inside the plane (by a very minimum treshold). </description> </method> - <method name="intersect_3" > + <method name="intersect_3"> <return type="Vector3"> </return> <argument index="0" name="b" type="Plane"> @@ -21592,7 +24745,7 @@ Returns the intersection point of the three planes "b", "c" and this plane. If no intersection is found null is returned. </description> </method> - <method name="intersects_ray" > + <method name="intersects_ray"> <return type="Vector3"> </return> <argument index="0" name="from" type="Vector3"> @@ -21603,7 +24756,7 @@ Returns the intersection point of a ray consisting of the position "from" and the direction normal "dir" with this plane. If no intersection is found null is returned. </description> </method> - <method name="intersects_segment" > + <method name="intersects_segment"> <return type="Vector3"> </return> <argument index="0" name="begin" type="Vector3"> @@ -21614,7 +24767,7 @@ Returns the intersection point of a segment from position "begin" to position "end" with this plane. If no intersection is found null is returned. </description> </method> - <method name="is_point_over" > + <method name="is_point_over"> <return type="bool"> </return> <argument index="0" name="point" type="Vector3"> @@ -21623,14 +24776,14 @@ Returns true if "point" is located above the plane. </description> </method> - <method name="normalized" > + <method name="normalized"> <return type="Plane"> </return> <description> Returns a copy of the plane, normalized. </description> </method> - <method name="project" > + <method name="project"> <return type="Vector3"> </return> <argument index="0" name="point" type="Vector3"> @@ -21639,7 +24792,9 @@ Returns the orthogonal projection of point "p" into a point in the plane. </description> </method> - <method name="Plane" > + <method name="Plane"> + <return type="Plane"> + </return> <argument index="0" name="a" type="float"> </argument> <argument index="1" name="b" type="float"> @@ -21652,7 +24807,9 @@ Creates a plane from the three parameters "a", "b", "c" and "d". </description> </method> - <method name="Plane" > + <method name="Plane"> + <return type="Plane"> + </return> <argument index="0" name="v1" type="Vector3"> </argument> <argument index="1" name="v2" type="Vector3"> @@ -21663,7 +24820,9 @@ Creates a plane from three points. </description> </method> - <method name="Plane" > + <method name="Plane"> + <return type="Plane"> + </return> <argument index="0" name="normal" type="Vector3"> </argument> <argument index="1" name="d" type="float"> @@ -21694,13 +24853,13 @@ <description> </description> <methods> - <method name="set_plane" > + <method name="set_plane"> <argument index="0" name="plane" type="Plane"> </argument> <description> </description> </method> - <method name="get_plane" qualifiers="const" > + <method name="get_plane" qualifiers="const"> <return type="Plane"> </return> <description> @@ -21716,133 +24875,121 @@ <description> </description> <methods> - <method name="set_polygon" > + <method name="set_polygon"> <argument index="0" name="polygon" type="Vector2Array"> </argument> <description> </description> </method> - <method name="get_polygon" qualifiers="const" > + <method name="get_polygon" qualifiers="const"> <return type="Vector2Array"> </return> <description> </description> </method> - <method name="set_uv" > + <method name="set_uv"> <argument index="0" name="uv" type="Vector2Array"> </argument> <description> </description> </method> - <method name="get_uv" qualifiers="const" > + <method name="get_uv" qualifiers="const"> <return type="Vector2Array"> </return> <description> </description> </method> - <method name="set_color" > + <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Object"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_texture_offset" > + <method name="set_texture_offset"> <argument index="0" name="texture_offset" type="Vector2"> </argument> <description> </description> </method> - <method name="get_texture_offset" qualifiers="const" > + <method name="get_texture_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_texture_rotation" > + <method name="set_texture_rotation"> <argument index="0" name="texture_rotation" type="float"> </argument> <description> </description> </method> - <method name="get_texture_rotation" qualifiers="const" > + <method name="get_texture_rotation" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_texture_scale" > + <method name="set_texture_scale"> <argument index="0" name="texture_scale" type="Vector2"> </argument> <description> </description> </method> - <method name="get_texture_scale" qualifiers="const" > + <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" > + <method name="set_invert"> <argument index="0" name="invert" type="bool"> </argument> <description> </description> </method> - <method name="get_invert" qualifiers="const" > + <method name="get_invert" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_invert_border" > + <method name="set_invert_border"> <argument index="0" name="invert_border" type="float"> </argument> <description> </description> </method> - <method name="get_invert_border" qualifiers="const" > + <method name="get_invert_border" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -21858,7 +25005,7 @@ <description> </description> <methods> - <method name="setup" > + <method name="setup"> <argument index="0" name="points" type="Vector2Array"> </argument> <argument index="1" name="connections" type="IntArray"> @@ -21866,7 +25013,7 @@ <description> </description> </method> - <method name="find_path" > + <method name="find_path"> <return type="Vector2Array"> </return> <argument index="0" name="from" type="Vector2"> @@ -21876,7 +25023,7 @@ <description> </description> </method> - <method name="get_intersections" qualifiers="const" > + <method name="get_intersections" qualifiers="const"> <return type="Vector2Array"> </return> <argument index="0" name="from" type="Vector2"> @@ -21886,7 +25033,7 @@ <description> </description> </method> - <method name="get_closest_point" qualifiers="const" > + <method name="get_closest_point" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="point" type="Vector2"> @@ -21894,7 +25041,7 @@ <description> </description> </method> - <method name="is_point_inside" qualifiers="const" > + <method name="is_point_inside" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="point" type="Vector2"> @@ -21902,7 +25049,7 @@ <description> </description> </method> - <method name="set_point_penalty" > + <method name="set_point_penalty"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="penalty" type="float"> @@ -21910,7 +25057,7 @@ <description> </description> </method> - <method name="get_point_penalty" qualifiers="const" > + <method name="get_point_penalty" qualifiers="const"> <return type="float"> </return> <argument index="0" name="idx" type="int"> @@ -21918,7 +25065,7 @@ <description> </description> </method> - <method name="get_bounds" qualifiers="const" > + <method name="get_bounds" qualifiers="const"> <return type="Rect2"> </return> <description> @@ -21936,38 +25083,38 @@ PopUp is a base [Control] used to show dialogs and popups. It's a subwindow and modal by default (see [Control]) and has helpers for custom popup behavior. </description> <methods> - <method name="popup_centered" > + <method name="popup_centered"> <argument index="0" name="size" type="Vector2" default="Vector2(0,0)"> </argument> <description> Popup (show the control in modal form) in the center of the screen, at the curent size, or at a size determined by "size". </description> </method> - <method name="popup_centered_ratio" > + <method name="popup_centered_ratio"> <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. </description> </method> - <method name="popup_centered_minsize" > + <method name="popup_centered_minsize"> <argument index="0" name="minsize" type="Vector2" default="Vector2(0,0)"> </argument> <description> </description> </method> - <method name="popup" > + <method name="popup"> <description> Popup (show the control in modal form). </description> </method> - <method name="set_exclusive" > + <method name="set_exclusive"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_exclusive" qualifiers="const" > + <method name="is_exclusive" qualifiers="const"> <return type="bool"> </return> <description> @@ -21994,7 +25141,7 @@ </class> <class name="PopupDialog" inherits="Popup" category="Core"> <brief_description> - Base class for Popup Dialogs + Base class for Popup Dialogs. </brief_description> <description> </description> @@ -22011,7 +25158,7 @@ PopupMenu is the typical Control that displays a list of options. They are popular in toolbars or context menus. </description> <methods> - <method name="add_icon_item" > + <method name="add_icon_item"> <argument index="0" name="texture" type="Object"> </argument> <argument index="1" name="label" type="String"> @@ -22021,10 +25168,10 @@ <argument index="3" name="accel" type="int" default="0"> </argument> <description> - Add a new item with text "label" and icon "texture. An id can optonally be provided, as well as an accelerator. If no id is provided, one will be created from the index. + Add a new item with text "label" and icon "texture". An id can optonally be provided, as well as an accelerator. If no id is provided, one will be created from the index. </description> </method> - <method name="add_item" > + <method name="add_item"> <argument index="0" name="label" type="String"> </argument> <argument index="1" name="id" type="int" default="-1"> @@ -22035,7 +25182,7 @@ Add a new item with text "label". An id can optonally be provided, as well as an accelerator. If no id is provided, one will be created from the index. </description> </method> - <method name="add_icon_check_item" > + <method name="add_icon_check_item"> <argument index="0" name="texture" type="Object"> </argument> <argument index="1" name="label" type="String"> @@ -22045,10 +25192,10 @@ <argument index="3" name="accel" type="int" default="0"> </argument> <description> - Add a new checkable item with text "label" and icon "texture. An id can optonally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don"apos;t have any built-in checking behavior and must be checked/unchecked manually. + Add a new checkable item with text "label" and icon "texture". An id can optonally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. </description> </method> - <method name="add_check_item" > + <method name="add_check_item"> <argument index="0" name="label" type="String"> </argument> <argument index="1" name="id" type="int" default="-1"> @@ -22056,10 +25203,10 @@ <argument index="2" name="accel" type="int" default="0"> </argument> <description> - Add a new checkable item with text "label". An id can optonally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don"apos;t have any built-in checking behavior and must be checked/unchecked manually. + Add a new checkable item with text "label". An id can optonally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. </description> </method> - <method name="add_submenu_item" > + <method name="add_submenu_item"> <argument index="0" name="label" type="String"> </argument> <argument index="1" name="submenu" type="String"> @@ -22069,7 +25216,7 @@ <description> </description> </method> - <method name="set_item_text" > + <method name="set_item_text"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="text" type="String"> @@ -22078,7 +25225,7 @@ Set the text of the item at index "idx". </description> </method> - <method name="set_item_icon" > + <method name="set_item_icon"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="icon" type="Object"> @@ -22087,16 +25234,16 @@ Set the icon of the item at index "idx". </description> </method> - <method name="set_item_accelerator" > + <method name="set_item_accelerator"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="accel" type="int"> </argument> <description> - Set the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is fucused. + Set the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused. </description> </method> - <method name="set_item_metadata" > + <method name="set_item_metadata"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="metadata" type="var"> @@ -22104,7 +25251,7 @@ <description> </description> </method> - <method name="set_item_checked" > + <method name="set_item_checked"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="arg1" type="bool"> @@ -22113,7 +25260,7 @@ Set the checkstate status of the item at index "idx". </description> </method> - <method name="set_item_disabled" > + <method name="set_item_disabled"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="disabled" type="bool"> @@ -22121,7 +25268,7 @@ <description> </description> </method> - <method name="set_item_submenu" > + <method name="set_item_submenu"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="submenu" type="String"> @@ -22129,7 +25276,7 @@ <description> </description> </method> - <method name="set_item_as_separator" > + <method name="set_item_as_separator"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -22137,7 +25284,7 @@ <description> </description> </method> - <method name="set_item_as_checkable" > + <method name="set_item_as_checkable"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -22145,7 +25292,7 @@ <description> </description> </method> - <method name="set_item_ID" > + <method name="set_item_ID"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="id" type="int"> @@ -22154,7 +25301,7 @@ Set the id of the item at index "idx". </description> </method> - <method name="get_item_text" qualifiers="const" > + <method name="get_item_text" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -22163,7 +25310,7 @@ Return the text of the item at index "idx". </description> </method> - <method name="get_item_icon" qualifiers="const" > + <method name="get_item_icon" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="idx" type="int"> @@ -22172,22 +25319,22 @@ Return the icon of the item at index "idx". </description> </method> - <method name="get_item_metadata" qualifiers="const" > + <method name="get_item_metadata" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="get_item_accelerator" qualifiers="const" > + <method name="get_item_accelerator" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> </argument> <description> - Return the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is fucused. + Return the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused. </description> </method> - <method name="get_item_submenu" qualifiers="const" > + <method name="get_item_submenu" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -22195,7 +25342,7 @@ <description> </description> </method> - <method name="is_item_separator" qualifiers="const" > + <method name="is_item_separator" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -22203,7 +25350,7 @@ <description> </description> </method> - <method name="is_item_checkable" qualifiers="const" > + <method name="is_item_checkable" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -22211,7 +25358,7 @@ <description> </description> </method> - <method name="is_item_checked" qualifiers="const" > + <method name="is_item_checked" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -22220,7 +25367,7 @@ Return the checkstate status of the item at index "idx". </description> </method> - <method name="is_item_disabled" qualifiers="const" > + <method name="is_item_disabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -22228,7 +25375,7 @@ <description> </description> </method> - <method name="get_item_ID" qualifiers="const" > + <method name="get_item_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -22237,7 +25384,7 @@ Return the id of the item at index "idx". </description> </method> - <method name="get_item_index" qualifiers="const" > + <method name="get_item_index" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -22246,25 +25393,25 @@ Find and return the index of the item containing a given id. </description> </method> - <method name="get_item_count" qualifiers="const" > + <method name="get_item_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of items. </description> </method> - <method name="add_separator" > + <method name="add_separator"> <description> Add a separator between items. Separators also occupy an index. </description> </method> - <method name="remove_item" > + <method name="remove_item"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> Clear the popup menu. </description> @@ -22332,74 +25479,73 @@ Portals provide virtual openings to rooms. </brief_description> <description> - Portals provide virtual openings to [RoomInstance] nodes, so cameras can look at them from the outside. Note that portals are a visibility optimization technique, and are in no way related to the game of the same name (as in, they are not used for teleportation). For more information on how rooms and portals work, see [RoomInstance]. Portals are represented as 2D convex polygon shapes (in the X,Y local plane), and are placed on the surface of the areas occupied by a [RoomInstance], to indicate that the room can be accessed or looked-at through them. If two rooms are next to each other, and two similar portals in each of them share the same world position (and are parallel and opposed to each other), they will automatically "connect" and form "doors" (for example, the portals that connect a kitchen to a living room are placed in the door they share). Portals must always have a [RoomInstance] node as a parent, grandparent or far parent, or else they will not be - active. + Portals provide virtual openings to [RoomInstance] nodes, so cameras can look at them from the outside. Note that portals are a visibility optimization technique, and are in no way related to the game of the same name (as in, they are not used for teleportation). For more information on how rooms and portals work, see [RoomInstance]. Portals are represented as 2D convex polygon shapes (in the X,Y local plane), and are placed on the surface of the areas occupied by a [RoomInstance], to indicate that the room can be accessed or looked-at through them. If two rooms are next to each other, and two similar portals in each of them share the same world position (and are parallel and opposed to each other), they will automatically "connect" and form "doors" (for example, the portals that connect a kitchen to a living room are placed in the door they share). Portals must always have a [RoomInstance] node as a parent, grandparent or far parent, or else they will not be active. </description> <methods> - <method name="set_shape" > + <method name="set_shape"> <argument index="0" name="points" type="Vector2Array"> </argument> <description> - Set the portal shape. The shape is an array of [Point2] points, representing a convex polygon in the X,Y plane. + Set the portal shape. The shape is an array of [Point2] points, representing a convex polygon in the X,Y plane. </description> </method> - <method name="get_shape" qualifiers="const" > + <method name="get_shape" qualifiers="const"> <return type="Vector2Array"> </return> <description> - Return the portal shape. The shape is an array of [Point2] points, representing a convex polygon in the X,Y plane. + Return the portal shape. The shape is an array of [Point2] points, representing a convex polygon in the X,Y plane. </description> </method> - <method name="set_enabled" > + <method name="set_enabled"> <argument index="0" name="enable" type="bool"> </argument> <description> Enable the portal (it is enabled by defaul though), disabling it will cause the parent [RoomInstance] to not be visible any longer when looking through the portal. </description> </method> - <method name="is_enabled" qualifiers="const" > + <method name="is_enabled" qualifiers="const"> <return type="bool"> </return> <description> Return wether the portal is active. When disabled it causes the parent [RoomInstance] to not be visible any longer when looking through the portal. </description> </method> - <method name="set_disable_distance" > + <method name="set_disable_distance"> <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" > + <method name="get_disable_distance" qualifiers="const"> <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]). </description> </method> - <method name="set_disabled_color" > + <method name="set_disabled_color"> <argument index="0" name="color" type="Color"> </argument> <description> When the portal goes beyond the disable distance (see [method set_disable_distance]), it becomes opaque and displayed with color "color". </description> </method> - <method name="get_disabled_color" qualifiers="const" > + <method name="get_disabled_color" qualifiers="const"> <return type="Color"> </return> <description> Return the color for when the portal goes beyond the disable distance (see [method set_disable_distance]) and becomes disabled. </description> </method> - <method name="set_connect_range" > + <method name="set_connect_range"> <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" > + <method name="get_connect_range" qualifiers="const"> <return type="float"> </return> <description> @@ -22436,19 +25582,19 @@ </class> <class name="ProgressBar" inherits="Range" category="Core"> <brief_description> - General purpose progres bar. + General purpose progress bar. </brief_description> <description> - General purpose progres bar. Shows fill percentage from right to left. + General purpose progress bar. Shows fill percentage from right to left. </description> <methods> - <method name="set_percent_visible" > + <method name="set_percent_visible"> <argument index="0" name="visible" type="bool"> </argument> <description> </description> </method> - <method name="is_percent_visible" qualifiers="const" > + <method name="is_percent_visible" qualifiers="const"> <return type="bool"> </return> <description> @@ -22478,13 +25624,13 @@ General purpose proximity-detection node. </description> <methods> - <method name="set_group_name" > + <method name="set_group_name"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="broadcast" > + <method name="broadcast"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="parameters" type="var"> @@ -22492,19 +25638,19 @@ <description> </description> </method> - <method name="set_dispatch_mode" > + <method name="set_dispatch_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="set_grid_radius" > + <method name="set_grid_radius"> <argument index="0" name="radius" type="Vector3"> </argument> <description> </description> </method> - <method name="get_grid_radius" qualifiers="const" > + <method name="get_grid_radius" qualifiers="const"> <return type="Vector3"> </return> <description> @@ -22530,49 +25676,49 @@ <description> </description> <methods> - <method name="set_axis" > + <method name="set_axis"> <argument index="0" name="axis" type="int"> </argument> <description> </description> </method> - <method name="get_axis" qualifiers="const" > + <method name="get_axis" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_size" > + <method name="set_size"> <argument index="0" name="size" type="Vector2"> </argument> <description> </description> </method> - <method name="get_size" qualifiers="const" > + <method name="get_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_centered" > + <method name="set_centered"> <argument index="0" name="centered" type="bool"> </argument> <description> </description> </method> - <method name="is_centered" qualifiers="const" > + <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -22587,10 +25733,10 @@ Quaternion. </brief_description> <description> - Quaternion is a 4 dimensional vector that is used to represet a rotation. It mainly exists to perform SLERP (spherical-linear interpolation) between to rotations obtained by a Matrix3 cheaply. Adding quaternions also cheaply adds the rotations, however quaternions need to be often normalized, or else they suffer from precision issues. + Quaternion is a 4 dimensional vector that is used to represent a rotation. It mainly exists to perform SLERP (spherical-linear interpolation) between to rotations obtained by a Matrix3 cheaply. Adding quaternions also cheaply adds the rotations, however quaternions need to be often normalized, or else they suffer from precision issues. </description> <methods> - <method name="cubic_slerp" > + <method name="cubic_slerp"> <return type="Quat"> </return> <argument index="0" name="b" type="Quat"> @@ -22604,7 +25750,7 @@ <description> </description> </method> - <method name="dot" > + <method name="dot"> <return type="float"> </return> <argument index="0" name="b" type="Quat"> @@ -22613,35 +25759,35 @@ Returns the dot product between two quaternions. </description> </method> - <method name="inverse" > + <method name="inverse"> <return type="Quat"> </return> <description> Returns the inverse of the quaternion (applies to the inverse rotatio too). </description> </method> - <method name="length" > + <method name="length"> <return type="float"> </return> <description> Returns the length of the quaternion. </description> </method> - <method name="length_squared" > + <method name="length_squared"> <return type="float"> </return> <description> - Returns the length of the quaternion, minus the square root. + Returns the length of the quaternion, squared. </description> </method> - <method name="normalized" > + <method name="normalized"> <return type="Quat"> </return> <description> Returns a copy of the quaternion, normalized to unit length. </description> </method> - <method name="slerp" > + <method name="slerp"> <return type="Quat"> </return> <argument index="0" name="b" type="Quat"> @@ -22652,7 +25798,7 @@ Perform a spherical-linear interpolation with another quaternion. </description> </method> - <method name="slerpni" > + <method name="slerpni"> <return type="Quat"> </return> <argument index="0" name="b" type="Quat"> @@ -22662,7 +25808,9 @@ <description> </description> </method> - <method name="Quat" > + <method name="Quat"> + <return type="Quat"> + </return> <argument index="0" name="x" type="float"> </argument> <argument index="1" name="y" type="float"> @@ -22674,7 +25822,19 @@ <description> </description> </method> - <method name="Quat" > + <method name="Quat"> + <return type="Quat"> + </return> + <argument index="0" name="axis" type="Vector3"> + </argument> + <argument index="1" name="angle" type="float"> + </argument> + <description> + </description> + </method> + <method name="Quat"> + <return type="Quat"> + </return> <argument index="0" name="from" type="Matrix3"> </argument> <description> @@ -22700,13 +25860,15 @@ <description> </description> <methods> - <method name="get_id" > + <method name="get_id"> <return type="int"> </return> <description> </description> </method> - <method name="RID" > + <method name="RID"> + <return type="RID"> + </return> <argument index="0" name="from" type="Object"> </argument> <description> @@ -22721,134 +25883,134 @@ Abstract base class for range-based controls. </brief_description> <description> - Range is a base class for [Control] nodes that change a floating point [i]value[/i] between a need a [i]minimum[/i], [i]maximum[/i], using [i]step[/i] and [i]page[/i], for example a [ScrollBar]. + Range is a base class for [Control] nodes that change a floating point [i]value[/i] between a [i]minimum[/i] and a [i]maximum[/i], using [i]step[/i] and [i]page[/i], for example a [ScrollBar]. </description> <methods> - <method name="get_val" qualifiers="const" > + <method name="get_val" qualifiers="const"> <return type="float"> </return> <description> Return the current value. </description> </method> - <method name="get_value" qualifiers="const" > + <method name="get_value" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_min" qualifiers="const" > + <method name="get_min" qualifiers="const"> <return type="float"> </return> <description> Return the minimum value. </description> </method> - <method name="get_max" qualifiers="const" > + <method name="get_max" qualifiers="const"> <return type="float"> </return> <description> Return the maximum value. </description> </method> - <method name="get_step" qualifiers="const" > + <method name="get_step" qualifiers="const"> <return type="float"> </return> <description> Return the stepping, if step is 0, stepping is disabled. </description> </method> - <method name="get_page" qualifiers="const" > + <method name="get_page" qualifiers="const"> <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" > + <method name="get_unit_value" qualifiers="const"> <return type="float"> </return> <description> Return value mapped to 0 to 1 (unit) range. </description> </method> - <method name="get_rounded_values" qualifiers="const" > + <method name="get_rounded_values" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_val" > + <method name="set_val"> <argument index="0" name="value" type="float"> </argument> <description> </description> </method> - <method name="set_value" > + <method name="set_value"> <argument index="0" name="value" type="float"> </argument> <description> </description> </method> - <method name="set_min" > + <method name="set_min"> <argument index="0" name="minimum" type="float"> </argument> <description> - Set minimum value, clamped range value to it if it"apos;s less. + Set minimum value, clamped range value to it if it's less. </description> </method> - <method name="set_max" > + <method name="set_max"> <argument index="0" name="maximum" type="float"> </argument> <description> </description> </method> - <method name="set_step" > + <method name="set_step"> <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" > + <method name="set_page"> <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" > + <method name="set_unit_value"> <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. </description> </method> - <method name="set_rounded_values" > + <method name="set_rounded_values"> <argument index="0" name="arg0" type="bool"> </argument> <description> </description> </method> - <method name="set_exp_unit_value" > + <method name="set_exp_unit_value"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_unit_value_exp" qualifiers="const" > + <method name="is_unit_value_exp" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="share" > + <method name="share"> <argument index="0" name="with" type="Object"> </argument> <description> </description> </method> - <method name="unshare" > + <method name="unshare"> <description> </description> </method> @@ -22875,10 +26037,10 @@ Raw byte array. </brief_description> <description> - Raw byte array. Contains bytes. Optimized for memory usage, cant fragment the memory. + Raw byte array. Contains bytes. Optimized for memory usage, can't fragment the memory. </description> <methods> - <method name="get" > + <method name="get"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -22886,31 +26048,31 @@ <description> </description> </method> - <method name="get_string_from_ascii" > + <method name="get_string_from_ascii"> <return type="String"> </return> <description> </description> </method> - <method name="get_string_from_utf8" > + <method name="get_string_from_utf8"> <return type="String"> </return> <description> </description> </method> - <method name="push_back" > + <method name="push_back"> <argument index="0" name="byte" type="int"> </argument> <description> </description> </method> - <method name="resize" > + <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="set" > + <method name="set"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="byte" type="int"> @@ -22918,13 +26080,15 @@ <description> </description> </method> - <method name="size" > + <method name="size"> <return type="int"> </return> <description> </description> </method> - <method name="RawArray" > + <method name="RawArray"> + <return type="RawArray"> + </return> <argument index="0" name="from" type="Array"> </argument> <description> @@ -22940,60 +26104,88 @@ <description> </description> <methods> - <method name="set_enabled" > + <method name="set_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_enabled" qualifiers="const" > + <method name="is_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_cast_to" > + <method name="set_cast_to"> <argument index="0" name="local_point" type="Vector3"> </argument> <description> </description> </method> - <method name="get_cast_to" qualifiers="const" > + <method name="get_cast_to" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="is_colliding" qualifiers="const" > + <method name="is_colliding" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_collider" qualifiers="const" > + <method name="get_collider" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="get_collider_shape" qualifiers="const" > + <method name="get_collider_shape" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_collision_point" qualifiers="const" > + <method name="get_collision_point" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="get_collision_normal" qualifiers="const" > + <method name="get_collision_normal" qualifiers="const"> <return type="Vector3"> </return> <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> </methods> <constants> </constants> @@ -23004,97 +26196,97 @@ <description> </description> <methods> - <method name="set_enabled" > + <method name="set_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_enabled" qualifiers="const" > + <method name="is_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_cast_to" > + <method name="set_cast_to"> <argument index="0" name="local_point" type="Vector2"> </argument> <description> </description> </method> - <method name="get_cast_to" qualifiers="const" > + <method name="get_cast_to" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="is_colliding" qualifiers="const" > + <method name="is_colliding" qualifiers="const"> <return type="bool"> </return> <description> Return whether the closest object the ray is pointing to is colliding with the vector, with the vector length considered. </description> </method> - <method name="get_collider" qualifiers="const" > + <method name="get_collider" qualifiers="const"> <return type="Object"> </return> <description> Return the closest object the ray is pointing to. Note that this does not consider the length of the vector, so you must also use [is_colliding] to check if the object returned is actually colliding with the ray. </description> </method> - <method name="get_collider_shape" qualifiers="const" > + <method name="get_collider_shape" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_collision_point" qualifiers="const" > + <method name="get_collision_point" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_collision_normal" qualifiers="const" > + <method name="get_collision_normal" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="add_exception_rid" > + <method name="add_exception_rid"> <argument index="0" name="rid" type="RID"> </argument> <description> </description> </method> - <method name="add_exception" > + <method name="add_exception"> <argument index="0" name="node" type="Object"> </argument> <description> </description> </method> - <method name="remove_exception_rid" > + <method name="remove_exception_rid"> <argument index="0" name="rid" type="RID"> </argument> <description> </description> </method> - <method name="remove_exception" > + <method name="remove_exception"> <argument index="0" name="node" type="Object"> </argument> <description> </description> </method> - <method name="clear_exceptions" > + <method name="clear_exceptions"> <description> </description> </method> - <method name="set_layer_mask" > + <method name="set_layer_mask"> <argument index="0" name="mask" type="int"> </argument> <description> </description> </method> - <method name="get_layer_mask" qualifiers="const" > + <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> @@ -23110,13 +26302,13 @@ <description> </description> <methods> - <method name="set_length" > + <method name="set_length"> <argument index="0" name="length" type="float"> </argument> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> @@ -23131,16 +26323,16 @@ Ray 2D shape resource for physics. </brief_description> <description> - Ray 2D shape resource for physics. A ray is not really a collision body, isntead it tries to separate itself from wathever is touching it's far endpoint. It's often useful for ccharacters. + Ray 2D shape resource for physics. A ray is not really a collision body, isntead it tries to separate itself from whatever is touching its far endpoint. It's often useful for ccharacters. </description> <methods> - <method name="set_length" > + <method name="set_length"> <argument index="0" name="length" type="float"> </argument> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> @@ -23155,10 +26347,10 @@ Real Array . </brief_description> <description> - Real Array. Array of floating point values. Can only contain floats. Optimized for memory usage, cant fragment the memory. + Real Array. Array of floating point values. Can only contain floats. Optimized for memory usage, can't fragment the memory. </description> <methods> - <method name="get" > + <method name="get"> <return type="float"> </return> <argument index="0" name="idx" type="int"> @@ -23166,19 +26358,19 @@ <description> </description> </method> - <method name="push_back" > + <method name="push_back"> <argument index="0" name="value" type="float"> </argument> <description> </description> </method> - <method name="resize" > + <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="set" > + <method name="set"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -23186,13 +26378,15 @@ <description> </description> </method> - <method name="size" > + <method name="size"> <return type="int"> </return> <description> </description> </method> - <method name="RealArray" > + <method name="RealArray"> + <return type="RealArray"> + </return> <argument index="0" name="from" type="Array"> </argument> <description> @@ -23208,7 +26402,7 @@ <description> </description> <methods> - <method name="clip" > + <method name="clip"> <return type="Rect2"> </return> <argument index="0" name="b" type="Rect2"> @@ -23216,7 +26410,7 @@ <description> </description> </method> - <method name="encloses" > + <method name="encloses"> <return type="bool"> </return> <argument index="0" name="b" type="Rect2"> @@ -23224,7 +26418,7 @@ <description> </description> </method> - <method name="expand" > + <method name="expand"> <return type="Rect2"> </return> <argument index="0" name="to" type="Vector2"> @@ -23232,13 +26426,13 @@ <description> </description> </method> - <method name="get_area" > + <method name="get_area"> <return type="float"> </return> <description> </description> </method> - <method name="grow" > + <method name="grow"> <return type="Rect2"> </return> <argument index="0" name="by" type="float"> @@ -23246,13 +26440,13 @@ <description> </description> </method> - <method name="has_no_area" > + <method name="has_no_area"> <return type="bool"> </return> <description> </description> </method> - <method name="has_point" > + <method name="has_point"> <return type="bool"> </return> <argument index="0" name="point" type="Vector2"> @@ -23260,7 +26454,7 @@ <description> </description> </method> - <method name="intersects" > + <method name="intersects"> <return type="bool"> </return> <argument index="0" name="b" type="Rect2"> @@ -23268,7 +26462,7 @@ <description> </description> </method> - <method name="merge" > + <method name="merge"> <return type="Rect2"> </return> <argument index="0" name="b" type="Rect2"> @@ -23276,7 +26470,9 @@ <description> </description> </method> - <method name="Rect2" > + <method name="Rect2"> + <return type="Rect2"> + </return> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="size" type="Vector2"> @@ -23284,7 +26480,9 @@ <description> </description> </method> - <method name="Rect2" > + <method name="Rect2"> + <return type="Rect2"> + </return> <argument index="0" name="x" type="float"> </argument> <argument index="1" name="y" type="float"> @@ -23316,14 +26514,14 @@ Rectangle Shape for 2D Physics. This shape is useful for modelling box-like 2D objects. </description> <methods> - <method name="set_extents" > + <method name="set_extents"> <argument index="0" name="extents" type="Vector2"> </argument> <description> Set the half extents, the actual width and height of this shape is twice the half extents. </description> </method> - <method name="get_extents" qualifiers="const" > + <method name="get_extents" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -23336,24 +26534,24 @@ </class> <class name="Reference" inherits="Object" category="Core"> <brief_description> - Base class for anything refcounted. + Base class for anything that keeps a reference count. </brief_description> <description> - Base class for anything refcounted. Resource and many other helper objects inherit this. References keep an internal reference counter so they are only released when no longer in use. + Base class for anything that keeps a reference count. Resource and many other helper objects inherit this. References keep an internal reference counter so they are only released when no longer in use. </description> <methods> - <method name="init_ref" > + <method name="init_ref"> <return type="bool"> </return> <description> </description> </method> - <method name="reference" > + <method name="reference"> <description> Increase the internal reference counter. Use this only if you really know what you are doing. </description> </method> - <method name="unreference" > + <method name="unreference"> <return type="bool"> </return> <description> @@ -23386,7 +26584,7 @@ <description> </description> <methods> - <method name="compile" > + <method name="compile"> <return type="int"> </return> <argument index="0" name="pattern" type="String"> @@ -23394,7 +26592,7 @@ <description> </description> </method> - <method name="find" qualifiers="const" > + <method name="find" qualifiers="const"> <return type="int"> </return> <argument index="0" name="text" type="String"> @@ -23406,7 +26604,31 @@ <description> </description> </method> - <method name="get_captures" qualifiers="const" > + <method name="clear"> + <description> + </description> + </method> + <method name="is_valid" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="get_capture_count" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_capture" qualifiers="const"> + <return type="String"> + </return> + <argument index="0" name="capture" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_captures" qualifiers="const"> <return type="StringArray"> </return> <description> @@ -23422,13 +26644,13 @@ <description> </description> <methods> - <method name="set_remote_node" > + <method name="set_remote_node"> <argument index="0" name="path" type="NodePath"> </argument> <description> </description> </method> - <method name="get_remote_node" qualifiers="const" > + <method name="get_remote_node" qualifiers="const"> <return type="NodePath"> </return> <description> @@ -23456,60 +26678,60 @@ Resource is the base class for all resource types. Resources are primarily data containers. They are reference counted and freed when no longer in use. They are also loaded only once from disk, and further attempts to load the resource will return the same reference (all this in contrast to a [Node], which is not reference counted and can be instanced from disk as many times as desred). Resources can be saved externally on disk or bundled into another object, such as a [Node] or another resource. </description> <methods> - <method name="set_path" > + <method name="set_path"> <argument index="0" name="path" type="String"> </argument> <description> - Set the path of the resource. This is useful mainly for editors when saving/loading, and shouldn"apos;t be changed by anything else. + Set the path of the resource. This is useful mainly for editors when saving/loading, and shouldn't be changed by anything else. </description> </method> - <method name="take_over_path" > + <method name="take_over_path"> <argument index="0" name="path" type="String"> </argument> <description> </description> </method> - <method name="get_path" qualifiers="const" > + <method name="get_path" qualifiers="const"> <return type="String"> </return> <description> - Return the path of the resource. This is useful mainly for editors when saving/loading, and shouldn"apos;t be changed by anything else. + Return the path of the resource. This is useful mainly for editors when saving/loading, and shouldn't be changed by anything else. </description> </method> - <method name="set_name" > + <method name="set_name"> <argument index="0" name="name" type="String"> </argument> <description> - Set the name of the resources, any name is ok (it doesn"apos;t have to be unique). Name is for descriptive purposes only. + Set the name of the resources, any name is valid (it doesn't have to be unique). Name is for descriptive purposes only. </description> </method> - <method name="get_name" qualifiers="const" > + <method name="get_name" qualifiers="const"> <return type="String"> </return> <description> - Return the name of the resources, any name is ok (it doesn"apos;t have to be unique). Name is for descriptive purposes only. + Return the name of the resources, any name is valid (it doesn't have to be unique). Name is for descriptive purposes only. </description> </method> - <method name="get_rid" qualifiers="const" > + <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> Return the RID of the resource (or an empty RID). Many resources (such as [Texture], [Mesh], etc) are high level abstractions of resources stored in a server, so this function will return the original RID. </description> </method> - <method name="set_import_metadata" > + <method name="set_import_metadata"> <argument index="0" name="metadata" type="Object"> </argument> <description> </description> </method> - <method name="get_import_metadata" qualifiers="const" > + <method name="get_import_metadata" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="duplicate" > + <method name="duplicate"> <return type="Object"> </return> <argument index="0" name="arg0" type="bool" default="false"> @@ -23533,27 +26755,27 @@ <description> </description> <methods> - <method name="set_editor" > + <method name="set_editor"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="get_editor" qualifiers="const" > + <method name="get_editor" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="add_source" > + <method name="add_source"> <argument index="0" name="path" type="String"> </argument> - <argument index="1" name="md5" type="String"> + <argument index="1" name="md5" type="String" default=""""> </argument> <description> </description> </method> - <method name="get_source_path" qualifiers="const" > + <method name="get_source_path" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -23561,7 +26783,7 @@ <description> </description> </method> - <method name="get_source_md5" qualifiers="const" > + <method name="get_source_md5" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -23569,19 +26791,19 @@ <description> </description> </method> - <method name="remove_source" > + <method name="remove_source"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="get_source_count" qualifiers="const" > + <method name="get_source_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_option" > + <method name="set_option"> <argument index="0" name="key" type="String"> </argument> <argument index="1" name="value" type="var"> @@ -23589,13 +26811,13 @@ <description> </description> </method> - <method name="get_option" qualifiers="const" > + <method name="get_option" qualifiers="const"> <argument index="0" name="key" type="String"> </argument> <description> </description> </method> - <method name="get_options" qualifiers="const" > + <method name="get_options" qualifiers="const"> <return type="StringArray"> </return> <description> @@ -23613,34 +26835,34 @@ Interactive Resource Loader. This object is returned by ResourceLoader when performing an interactive load. It allows to load with high granularity, so this is mainly useful for displaying load bars/percentages. </description> <methods> - <method name="get_resource" > + <method name="get_resource"> <return type="Object"> </return> <description> Return the loaded resource (only if loaded). Otherwise, returns null. </description> </method> - <method name="poll" > + <method name="poll"> <return type="int"> </return> <description> Poll the load. If OK is returned, this means poll will have to be called again. If ERR_EOF is returned, them the load has finished and the resource can be obtained by calling [get_resource]. </description> </method> - <method name="wait" > + <method name="wait"> <return type="int"> </return> <description> </description> </method> - <method name="get_stage" qualifiers="const" > + <method name="get_stage" qualifiers="const"> <return type="int"> </return> <description> Return the load stage. The total amount of stages can be queried with [get_stage_count] </description> </method> - <method name="get_stage_count" qualifiers="const" > + <method name="get_stage_count" qualifiers="const"> <return type="int"> </return> <description> @@ -23659,7 +26881,7 @@ Resource Loader. This is a static object accessible as [ResourceLoader]. GDScript has a simplified load() function, though. </description> <methods> - <method name="load_interactive" > + <method name="load_interactive"> <return type="ResourceInteractiveLoader"> </return> <argument index="0" name="path" type="String"> @@ -23670,18 +26892,19 @@ Load a resource interactively, the returned object allows to load with high granularity. </description> </method> - <method name="load" > + <method name="load"> <return type="Resource"> </return> <argument index="0" name="path" type="String"> </argument> <argument index="1" name="type_hint" type="String" default=""""> </argument> + <argument index="2" name="p_no_cache" type="bool" default="false"> + </argument> <description> - Load a resource. Optionally a hint can be given for the resource type to load. </description> </method> - <method name="get_recognized_extensions_for_type" > + <method name="get_recognized_extensions_for_type"> <return type="StringArray"> </return> <argument index="0" name="type" type="String"> @@ -23690,14 +26913,14 @@ Return the list of recognized extensions for a resource type. </description> </method> - <method name="set_abort_on_missing_resources" > + <method name="set_abort_on_missing_resources"> <argument index="0" name="abort" type="bool"> </argument> <description> Change the behavior on missing sub-resources. Default is to abort load. </description> </method> - <method name="get_dependencies" > + <method name="get_dependencies"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -23705,7 +26928,7 @@ <description> </description> </method> - <method name="has" > + <method name="has"> <return type="bool"> </return> <argument index="0" name="arg0" type="String"> @@ -23725,7 +26948,7 @@ Resource Preloader Node. This node is used to preload sub-resources inside a scene, so when the scene is loaded all the resourcs are ready to use and be retrieved from here. </description> <methods> - <method name="add_resource" > + <method name="add_resource"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="resource" type="Object"> @@ -23734,14 +26957,14 @@ Add a resource to the preloader. Set the text-id that will be used to identify it (retrieve it/erase it/etc). </description> </method> - <method name="remove_resource" > + <method name="remove_resource"> <argument index="0" name="name" type="String"> </argument> <description> Remove a resource from the preloader by text id. </description> </method> - <method name="rename_resource" > + <method name="rename_resource"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="newname" type="String"> @@ -23750,7 +26973,7 @@ Rename a resource inside the preloader, from a text-id to a new text-id. </description> </method> - <method name="has_resource" qualifiers="const" > + <method name="has_resource" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -23759,7 +26982,7 @@ Return true if the preloader has a given resource. </description> </method> - <method name="get_resource" qualifiers="const" > + <method name="get_resource" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="name" type="String"> @@ -23768,7 +26991,7 @@ Return the resource given a text-id. </description> </method> - <method name="get_resource_list" qualifiers="const" > + <method name="get_resource_list" qualifiers="const"> <return type="StringArray"> </return> <description> @@ -23787,7 +27010,7 @@ Resource Saving Interface. This interface is used for saving resources to disk. </description> <methods> - <method name="save" > + <method name="save"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -23800,7 +27023,7 @@ Save a resource to disk, to a given path. </description> </method> - <method name="get_recognized_extensions" > + <method name="get_recognized_extensions"> <return type="StringArray"> </return> <argument index="0" name="type" type="Object"> @@ -23833,133 +27056,139 @@ Label that displays rich text. Rich text can contain custom text, fonts, images and some basic formatting. It also adapts itself to given width/heights. </description> <methods> - <method name="add_text" > + <method name="add_text"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="add_image" > + <method name="add_image"> <argument index="0" name="image" type="Texture"> </argument> <description> </description> </method> - <method name="newline" > + <method name="newline"> <description> </description> </method> - <method name="push_font" > + <method name="push_font"> <argument index="0" name="font" type="Object"> </argument> <description> </description> </method> - <method name="push_color" > + <method name="push_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="push_align" > + <method name="push_align"> <argument index="0" name="align" type="int"> </argument> <description> </description> </method> - <method name="push_indent" > + <method name="push_indent"> <argument index="0" name="level" type="int"> </argument> <description> </description> </method> - <method name="push_list" > + <method name="push_list"> <argument index="0" name="type" type="int"> </argument> <description> </description> </method> - <method name="push_meta" > + <method name="push_meta"> <argument index="0" name="data" type="var"> </argument> <description> </description> </method> - <method name="push_underline" > + <method name="push_underline"> <description> </description> </method> - <method name="pop" > + <method name="pop"> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="set_meta_underline" > + <method name="set_meta_underline"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_meta_underlined" qualifiers="const" > + <method name="is_meta_underlined" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_scroll_active" > + <method name="set_scroll_active"> <argument index="0" name="active" type="bool"> </argument> <description> </description> </method> - <method name="is_scroll_active" qualifiers="const" > + <method name="is_scroll_active" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_scroll_follow" > + <method name="set_scroll_follow"> <argument index="0" name="follow" type="bool"> </argument> <description> </description> </method> - <method name="is_scroll_following" qualifiers="const" > + <method name="is_scroll_following" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_tab_size" > + <method name="get_v_scroll"> + <return type="Object"> + </return> + <description> + </description> + </method> + <method name="set_tab_size"> <argument index="0" name="spaces" type="int"> </argument> <description> </description> </method> - <method name="get_tab_size" qualifiers="const" > + <method name="get_tab_size" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_selection_enabled" > + <method name="set_selection_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> Set to true if selecting the text inside this richtext is allowed. </description> </method> - <method name="is_selection_enabled" qualifiers="const" > + <method name="is_selection_enabled" qualifiers="const"> <return type="bool"> </return> <description> Return true if selecting the text inside this richtext is allowed. </description> </method> - <method name="parse_bbcode" > + <method name="parse_bbcode"> <return type="int"> </return> <argument index="0" name="bbcode" type="String"> @@ -23967,7 +27196,7 @@ <description> </description> </method> - <method name="append_bbcode" > + <method name="append_bbcode"> <return type="int"> </return> <argument index="0" name="bbcode" type="String"> @@ -23975,6 +27204,48 @@ <description> </description> </method> + <method name="set_bbcode"> + <argument index="0" name="text" type="String"> + </argument> + <description> + </description> + </method> + <method name="get_bbcode" qualifiers="const"> + <return type="String"> + </return> + <description> + </description> + </method> + <method name="set_visible_characters"> + <argument index="0" name="amount" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_visible_characters" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_total_character_count" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_use_bbcode"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_using_bbcode" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> </methods> <signals> <signal name="meta_clicked"> @@ -24031,7 +27302,15 @@ </theme_item> <theme_item name="font_color_selected" type="Color"> </theme_item> - <theme_item name="default_font" type="Font"> + <theme_item name="mono_font" type="Font"> + </theme_item> + <theme_item name="bold_italics_font" type="Font"> + </theme_item> + <theme_item name="italics_font" type="Font"> + </theme_item> + <theme_item name="bold_font" type="Font"> + </theme_item> + <theme_item name="normal_font" type="Font"> </theme_item> <theme_item name="focus" type="StyleBox"> </theme_item> @@ -24043,151 +27322,187 @@ <description> </description> <methods> - <method name="_integrate_forces" qualifiers="virtual" > + <method name="_integrate_forces" qualifiers="virtual"> <argument index="0" name="state" type="PhysicsDirectBodyState"> </argument> <description> </description> </method> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_mass" > + <method name="set_mass"> <argument index="0" name="mass" type="float"> </argument> <description> </description> </method> - <method name="get_mass" qualifiers="const" > + <method name="get_mass" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_weight" > + <method name="set_weight"> <argument index="0" name="weight" type="float"> </argument> <description> </description> </method> - <method name="get_weight" qualifiers="const" > + <method name="get_weight" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_friction" > + <method name="set_friction"> <argument index="0" name="friction" type="float"> </argument> <description> </description> </method> - <method name="get_friction" qualifiers="const" > + <method name="get_friction" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_bounce" > + <method name="set_bounce"> <argument index="0" name="bounce" type="float"> </argument> <description> </description> </method> - <method name="get_bounce" qualifiers="const" > + <method name="get_bounce" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_linear_velocity" > + <method name="set_linear_velocity"> <argument index="0" name="linear_velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_linear_velocity" qualifiers="const" > + <method name="get_linear_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_angular_velocity" > + <method name="set_angular_velocity"> <argument index="0" name="angular_velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_angular_velocity" qualifiers="const" > + <method name="get_angular_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_max_contacts_reported" > + <method name="set_gravity_scale"> + <argument index="0" name="gravity_scale" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_gravity_scale" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_linear_damp"> + <argument index="0" name="linear_damp" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_linear_damp" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_angular_damp"> + <argument index="0" name="angular_damp" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_angular_damp" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_max_contacts_reported"> <argument index="0" name="amount" type="int"> </argument> <description> </description> </method> - <method name="get_max_contacts_reported" qualifiers="const" > + <method name="get_max_contacts_reported" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_use_custom_integrator" > + <method name="set_use_custom_integrator"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_using_custom_integrator" > + <method name="is_using_custom_integrator"> <return type="bool"> </return> <description> </description> </method> - <method name="set_contact_monitor" > + <method name="set_contact_monitor"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_contact_monitor_enabled" qualifiers="const" > + <method name="is_contact_monitor_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_use_continuous_collision_detection" > + <method name="set_use_continuous_collision_detection"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_using_continuous_collision_detection" qualifiers="const" > + <method name="is_using_continuous_collision_detection" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_axis_velocity" > + <method name="set_axis_velocity"> <argument index="0" name="axis_velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="apply_impulse" > + <method name="apply_impulse"> <argument index="0" name="pos" type="Vector3"> </argument> <argument index="1" name="impulse" type="Vector3"> @@ -24195,43 +27510,43 @@ <description> </description> </method> - <method name="set_sleeping" > + <method name="set_sleeping"> <argument index="0" name="sleeping" type="bool"> </argument> <description> </description> </method> - <method name="is_sleeping" qualifiers="const" > + <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_can_sleep" > + <method name="set_can_sleep"> <argument index="0" name="able_to_sleep" type="bool"> </argument> <description> </description> </method> - <method name="is_able_to_sleep" qualifiers="const" > + <method name="is_able_to_sleep" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_axis_lock" > + <method name="set_axis_lock"> <argument index="0" name="axis_lock" type="int"> </argument> <description> </description> </method> - <method name="get_axis_lock" qualifiers="const" > + <method name="get_axis_lock" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_colliding_bodies" qualifiers="const" > + <method name="get_colliding_bodies" qualifiers="const"> <return type="Array"> </return> <description> @@ -24292,178 +27607,214 @@ Rigid body 2D node. </brief_description> <description> - Rigid body 2D node. This node is used for placing rigid bodies in the scene. It can contain a number of shapes, and also shift state between regular Rigid Body to Character or even Static. - Character mode forbids the node from being rotated. This node can have a custom force integrator function, for writing complex physics motion behavior per node.[br] + Rigid body 2D node. This node is used for placing rigid bodies in the scene. It can contain a number of shapes, and also shift state between regular Rigid Body to Character or even Static. + Character mode forbids the node from being rotated. This node can have a custom force integrator function, for writing complex physics motion behavior per node. As a warning, don't change this node position every frame or very often. Sporadic changes work fine, but physics runs at a different granularity (fixed hz) than usual rendering (process callback) and maybe even in a separate thread, so changing this from a process loop will yield strange behavior. </description> <methods> - <method name="_integrate_forces" qualifiers="virtual" > + <method name="_integrate_forces" qualifiers="virtual"> <argument index="0" name="state" type="Physics2DDirectBodyState"> </argument> <description> Override this function to use a custom force integrator. This allows to hook up to the physics processing and alter the simulation state for the object on every frame. </description> </method> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> - Set the body mode, fromt he MODE_* enum. This allows to change to a static body or a character body. + Set the body mode, from the MODE_* enum. This allows to change to a static body or a character body. </description> </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> Return the current body mode, see [set_mode]. </description> </method> - <method name="set_mass" > + <method name="set_mass"> <argument index="0" name="mass" type="float"> </argument> <description> Set the body mass. </description> </method> - <method name="get_mass" qualifiers="const" > + <method name="get_mass" qualifiers="const"> <return type="float"> </return> <description> Return the body mass. </description> </method> - <method name="set_weight" > + <method name="set_weight"> <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. + Set the body mass given standard earth-weight (gravity 9.8). Not really useful for 2D since most measures for this node are in pixels. </description> </method> - <method name="get_weight" qualifiers="const" > + <method name="get_weight" qualifiers="const"> <return type="float"> </return> <description> Return the body mass given standard earth-weight (gravity 9.8). </description> </method> - <method name="set_friction" > + <method name="set_friction"> <argument index="0" name="friction" type="float"> </argument> <description> - Set the body friction, from 0 (friction less) to 1 (full friction). + Set the body friction, from 0 (frictionless) to 1 (full friction). </description> </method> - <method name="get_friction" qualifiers="const" > + <method name="get_friction" qualifiers="const"> <return type="float"> </return> <description> Return the body friction. </description> </method> - <method name="set_bounce" > + <method name="set_bounce"> <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" > + <method name="get_bounce" qualifiers="const"> + <return type="float"> + </return> + <description> + Return the body bounciness. + </description> + </method> + <method name="set_gravity_scale"> + <argument index="0" name="gravity_scale" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_gravity_scale" qualifiers="const"> <return type="float"> </return> <description> - Return the body bouncyness. </description> </method> - <method name="set_linear_velocity" > + <method name="set_linear_damp"> + <argument index="0" name="linear_damp" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_linear_damp" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_angular_damp"> + <argument index="0" name="angular_damp" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_angular_damp" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_linear_velocity"> <argument index="0" name="linear_velocity" type="Vector2"> </argument> <description> Set the body linear 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_linear_velocity" qualifiers="const" > + <method name="get_linear_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> Return the body linear velocity. This changes by physics granularity. See [set_linear_velocity]. </description> </method> - <method name="set_angular_velocity" > + <method name="set_angular_velocity"> <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" > + <method name="get_angular_velocity" qualifiers="const"> <return type="float"> </return> <description> Return the body angular velocity. This changes by physics granularity. See [set_angular_velocity]. </description> </method> - <method name="set_max_contacts_reported" > + <method name="set_max_contacts_reported"> <argument index="0" name="amount" type="int"> </argument> <description> Set the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. </description> </method> - <method name="get_max_contacts_reported" qualifiers="const" > + <method name="get_max_contacts_reported" qualifiers="const"> <return type="int"> </return> <description> Return the maximum contacts that can be reported. See [set_max_contacts_reported]. </description> </method> - <method name="set_use_custom_integrator" > + <method name="set_use_custom_integrator"> <argument index="0" name="enable" type="bool"> </argument> <description> Set to true if the body shall not do any internal force integration at all (like gravity or air friction). Only the [_integrate_forces] will be able to integrate them if overrided. </description> </method> - <method name="is_using_custom_integrator" > + <method name="is_using_custom_integrator"> <return type="bool"> </return> <description> Return true if the body is not doing any built-in force integration. </description> </method> - <method name="set_contact_monitor" > + <method name="set_contact_monitor"> <argument index="0" name="enabled" type="bool"> </argument> <description> Enable contact monitoring. (the signals to notify when a body entered/exited collision). </description> </method> - <method name="is_contact_monitor_enabled" qualifiers="const" > + <method name="is_contact_monitor_enabled" qualifiers="const"> <return type="bool"> </return> <description> - Return wether contact monitoring is enabled. + Return whether contact monitoring is enabled. </description> </method> - <method name="set_continuous_collision_detection_mode" > + <method name="set_continuous_collision_detection_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_continuous_collision_detection_mode" qualifiers="const" > + <method name="get_continuous_collision_detection_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_axis_velocity" > + <method name="set_axis_velocity"> <argument index="0" name="axis_velocity" type="Vector2"> </argument> <description> Set an axis velocity. The velocity in the given vector axis will be set as the given vector length. (This is useful for jumping behavior). </description> </method> - <method name="apply_impulse" > + <method name="apply_impulse"> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="impulse" type="Vector2"> @@ -24472,45 +27823,57 @@ Apply a positioned impulse (which will be affected by the body mass and shape). </description> </method> - <method name="set_applied_force" > + <method name="set_applied_force"> <argument index="0" name="force" type="Vector2"> </argument> <description> </description> </method> - <method name="get_applied_force" qualifiers="const" > + <method name="get_applied_force" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_sleeping" > + <method name="set_sleeping"> <argument index="0" name="sleeping" type="bool"> </argument> <description> </description> </method> - <method name="is_sleeping" qualifiers="const" > + <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_can_sleep" > + <method name="set_can_sleep"> <argument index="0" name="able_to_sleep" type="bool"> </argument> <description> Set the body ability to fall asleep when not moving. This saves an enormous amount of processor time when there are plenty of rigid bodies (non static) in a scene. </description> </method> - <method name="is_able_to_sleep" qualifiers="const" > + <method name="is_able_to_sleep" qualifiers="const"> <return type="bool"> </return> <description> Return true if the body has the ability to fall asleep when not moving. See [set_can_sleep]. </description> </method> - <method name="get_colliding_bodies" qualifiers="const" > + <method name="test_motion"> + <return type="bool"> + </return> + <argument index="0" name="motion" type="Vector2"> + </argument> + <argument index="1" name="margin" type="float" default="0.08"> + </argument> + <argument index="2" name="result" type="Physics2DTestMotionResult" default="NULL"> + </argument> + <description> + </description> + </method> + <method name="get_colliding_bodies" qualifiers="const"> <return type="Array"> </return> <description> @@ -24587,29 +27950,29 @@ Room contains the data to define the bounds of a scene (using a BSP Tree). It is instanced by a [RoomInstance] node to create rooms. See that class documentation for more information about rooms. </description> <methods> - <method name="set_room" > + <method name="set_room"> <argument index="0" name="room" type="Room"> </argument> <description> </description> </method> - <method name="get_room" qualifiers="const" > + <method name="get_room" qualifiers="const"> <return type="Room"> </return> <description> </description> </method> - <method name="compute_room_from_subtree" > + <method name="compute_room_from_subtree"> <description> </description> </method> - <method name="set_simulate_acoustics" > + <method name="set_simulate_acoustics"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_simulating_acoustics" qualifiers="const" > + <method name="is_simulating_acoustics" qualifiers="const"> <return type="bool"> </return> <description> @@ -24625,35 +27988,35 @@ <description> </description> <methods> - <method name="set_bounds" > + <method name="set_bounds"> <argument index="0" name="bsp_tree" type="Dictionary"> </argument> <description> </description> </method> - <method name="get_bounds" qualifiers="const" > + <method name="get_bounds" qualifiers="const"> <return type="Dictionary"> </return> <description> </description> </method> - <method name="set_geometry_hint" > + <method name="set_geometry_hint"> <argument index="0" name="triangles" type="Vector3Array"> </argument> <description> </description> </method> - <method name="get_geometry_hint" qualifiers="const" > + <method name="get_geometry_hint" qualifiers="const"> <return type="Vector3Array"> </return> <description> </description> </method> - <method name="regenerate_bsp" > + <method name="regenerate_bsp"> <description> </description> </method> - <method name="regenerate_bsp_cubic" > + <method name="regenerate_bsp_cubic"> <description> </description> </method> @@ -24663,13 +28026,13 @@ </class> <class name="Sample" inherits="Resource" category="Core"> <brief_description> - Audio Sample (sound) class. + Audio sample (sound) class. </brief_description> <description> Sample provides an audio sample class, containing audio data, together with some information for playback, such as format, mix rate and loop. It is used by sound playback routines. </description> <methods> - <method name="create" > + <method name="create"> <argument index="0" name="format" type="int"> </argument> <argument index="1" name="stereo" type="bool"> @@ -24677,194 +28040,200 @@ <argument index="2" name="length" type="int"> </argument> <description> - Create new data for the sample, with format "format" (see FORMAT_* enum), stereo hint, and length in frames (not samples or bytes!) "frame". Calling create overrides previous existing data if it exists. Stereo samples are interleaved pairs of left and right (in that order) points + Create new data for the sample, with format (see FORMAT_* constants), stereo hint, and length in frames (not samples or bytes!). + Calling this method overrides previously existing data. Stereo samples are interleaved pairs of left and right points (in that order). </description> </method> - <method name="get_format" qualifiers="const" > + <method name="get_format" qualifiers="const"> <return type="int"> </return> <description> - Return the sample format (see FORMAT_* enum). + Return the sample format. </description> </method> - <method name="is_stereo" qualifiers="const" > + <method name="is_stereo" qualifiers="const"> <return type="bool"> </return> <description> - Return true if the sample was created stereo. + Return whether the current sample was created as stereo. </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="int"> </return> <description> Return the sample length in frames. </description> </method> - <method name="set_data" > + <method name="set_data"> <argument index="0" name="data" type="RawArray"> </argument> <description> - Set sample data. Data must be little endian, no matter the host platform, and exactly as long to fit all frames. Example, if data is Stereo, 16 bits, 256 frames, it will be 1024 bytes long. + Set sample data. Data must be little endian, no matter the host platform, and exactly as long as to fit all frames. + For example, if data is stereo, 16 bits, 256 frames, it will be 1024 bytes long. </description> </method> - <method name="get_data" qualifiers="const" > + <method name="get_data" qualifiers="const"> <return type="RawArray"> </return> <description> - Return sample data. Data will be endian, no matter with the host platform, and exactly as long to fit all frames. Example, if data is Stereo, 16 bits, 256 frames, it will be 1024 bytes long. + Return sample data as little endian. </description> </method> - <method name="set_mix_rate" > + <method name="set_mix_rate"> <argument index="0" name="hz" type="int"> </argument> <description> Set the mix rate for the sample (expected playback frequency). </description> </method> - <method name="get_mix_rate" qualifiers="const" > + <method name="get_mix_rate" qualifiers="const"> <return type="int"> </return> <description> - Return the mix rate for the sample (expected playback frequency). + Return the mix rate for the sample. </description> </method> - <method name="set_loop_format" > + <method name="set_loop_format"> <argument index="0" name="format" type="int"> </argument> <description> - Set the loop format, see LOOP_* enum + Set the loop format (use LOOP_* constants as argument). </description> </method> - <method name="get_loop_format" qualifiers="const" > + <method name="get_loop_format" qualifiers="const"> <return type="int"> </return> <description> - Return the loop format, see LOOP_* enum. + Return the loop format. </description> </method> - <method name="set_loop_begin" > + <method name="set_loop_begin"> <argument index="0" name="pos" type="int"> </argument> <description> - Set the loop begin position, it must be a valid frame and less than the loop end position. + Set the loop begin position. It must be a valid frame and less than the loop end position. </description> </method> - <method name="get_loop_begin" qualifiers="const" > + <method name="get_loop_begin" qualifiers="const"> <return type="int"> </return> <description> Return the loop begin position. </description> </method> - <method name="set_loop_end" > + <method name="set_loop_end"> <argument index="0" name="pos" type="int"> </argument> <description> - Set the loop end position, it must be a valid frame and greater than the loop begin position. + Set the loop end position. It must be a valid frame and greater than the loop begin position. </description> </method> - <method name="get_loop_end" qualifiers="const" > + <method name="get_loop_end" qualifiers="const"> <return type="int"> </return> <description> - Return the loop begin position. + Return the loop end position. </description> </method> </methods> <constants> <constant name="FORMAT_PCM8" value="0"> - 8-Bits signed little endian PCM audio. + 8-bits signed little endian PCM audio. </constant> <constant name="FORMAT_PCM16" value="1"> - 16-Bits signed little endian PCM audio. + 16-bits signed little endian PCM audio. </constant> <constant name="FORMAT_IMA_ADPCM" value="2"> - Ima-ADPCM Audio. + IMA-ADPCM Audio. </constant> <constant name="LOOP_NONE" value="0"> No loop enabled. </constant> <constant name="LOOP_FORWARD" value="1"> - Forward looping (when playback reaches loop end, goes back to loop begin) + Forward looping (when playback reaches loop end, goes back to loop begin). </constant> <constant name="LOOP_PING_PONG" value="2"> - Ping-Pong looping (when playback reaches loop end, plays backward untilloop begin). Not available in all platforms. + Ping-pong looping (when playback reaches loop end, plays backward until loop begin). Not available in all platforms. </constant> </constants> </class> <class name="SampleLibrary" inherits="Resource" category="Core"> <brief_description> - Library that contains a collection of Samples. + Library that contains a collection of samples. </brief_description> <description> - Library that contains a collection of Samples, each identified by an text id. This is used as a data containeer for the majority of the SamplePlayer classes and derivatives. + Library that contains a collection of [Sample]s, each identified by a text ID. This is used as a data container for the majority of the SamplePlayer classes and derivatives. </description> <methods> - <method name="add_sample" > + <method name="add_sample"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="sample" type="Sample"> </argument> <description> - Add a sample to the library, with a given text id; + Add a sample to the library, with a given text ID. </description> </method> - <method name="get_sample" qualifiers="const" > + <method name="get_sample" qualifiers="const"> <return type="Sample"> </return> <argument index="0" name="name" type="String"> </argument> <description> - Return a sample from the library, from a given text-id. Return null if the sample is not found. + Return the sample from the library matching the given text ID. Return null if the sample is not found. </description> </method> - <method name="has_sample" qualifiers="const" > + <method name="has_sample" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> </argument> <description> - Return true if the sample text id exists in the library. + Return true if the sample text ID exists in the library. </description> </method> - <method name="remove_sample" > + <method name="remove_sample"> <argument index="0" name="name" type="String"> </argument> <description> - Remove a sample given a specific text id. + Remove the sample matching the given text ID. </description> </method> - <method name="sample_set_volume_db" > + <method name="sample_set_volume_db"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="db" type="float"> </argument> <description> + Set the volume (in dB) for the given sample. </description> </method> - <method name="sample_get_volume_db" qualifiers="const" > + <method name="sample_get_volume_db" qualifiers="const"> <return type="float"> </return> <argument index="0" name="name" type="String"> </argument> <description> + Return the volume (in dB) for the given sample. </description> </method> - <method name="sample_set_pitch_scale" > + <method name="sample_set_pitch_scale"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="pitch" type="float"> </argument> <description> + Set the pitch scale for the given sample. </description> </method> - <method name="sample_get_pitch_scale" qualifiers="const" > + <method name="sample_get_pitch_scale" qualifiers="const"> <return type="float"> </return> <argument index="0" name="name" type="String"> </argument> <description> + Return the pitch scale for the given sample. </description> </method> </methods> @@ -24879,33 +28248,35 @@ SamplePlayer is a [Node] meant for simple sample playback. A library of samples is loaded and played back "as is", without positioning or anything. </description> <methods> - <method name="set_sample_library" > + <method name="set_sample_library"> <argument index="0" name="library" type="SampleLibrary"> </argument> <description> + Set the sample library for the player. </description> </method> - <method name="get_sample_library" qualifiers="const" > + <method name="get_sample_library" qualifiers="const"> <return type="SampleLibrary"> </return> <description> + Return the sample library used by the player. </description> </method> - <method name="set_voice_count" > + <method name="set_polyphony"> <argument index="0" name="max_voices" type="int"> </argument> <description> - Set the amount of simultaneous voices that will be used for playback. + Set the polyphony of the player (maximum amount of simultaneous voices). </description> </method> - <method name="get_voice_count" qualifiers="const" > + <method name="get_polyphony" qualifiers="const"> <return type="int"> </return> <description> - Return the amount of simultaneous voices that will be used for playback. + Return the polyphony of the player. </description> </method> - <method name="play" > + <method name="play"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -24913,56 +28284,62 @@ <argument index="1" name="unique" type="bool" default="false"> </argument> <description> - Play back sample, given it"apos;s identifier "name". if "unique" is true, all othere previous samples will be stopped. The voice allocated for playback will be returned. + Play a sample referenced by its name. + Optionally, the playback can be made "unique" to force stopping all other samples currently played. The voices allocated for playback will then be returned. </description> </method> - <method name="stop" > + <method name="stop"> <argument index="0" name="voice" type="int"> </argument> <description> - Stop a voice "voice". (see [method play]). + Stop a given voice. </description> </method> - <method name="stop_all" > + <method name="stop_all"> <description> + Stop all playing voices. </description> </method> - <method name="set_mix_rate" > + <method name="set_mix_rate"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="hz" type="int"> </argument> <description> - Change the mix rate of a voice "voice" to given "hz". + Set the mix rate (in Hz) of a given voice. </description> </method> - <method name="set_pitch_scale" > + <method name="set_pitch_scale"> <argument index="0" name="voice" type="int"> </argument> <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. + Set the pitch scale of a given voice. A ratio of 1.0 is the normal scale. </description> </method> - <method name="set_volume" > + <method name="set_volume"> <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="nrg" type="float"> + <argument index="1" name="volume" 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. + Set the volume of a given voice using a linear scale. + The "volume" argument should be a positive factor ranging from 0.0 (mute) up to 16.0 (i.e. 24 dB). + A factor of 1.0 means that the voice will be played at normal system volume. Factors above 1.0 might be limited by the platform's audio output. </description> </method> - <method name="set_volume_db" > + <method name="set_volume_db"> <argument index="0" name="voice" type="int"> </argument> - <argument index="1" name="nrg" type="float"> + <argument index="1" name="db" type="float"> </argument> <description> + Set the volume of a given voice in dB. + The "dB" argument can range from -80 to 24 dB, 0 dB being the maximum volume. Every 6 dB (resp. -6 dB), the volume is increased (resp. reduced) by half. </description> </method> - <method name="set_pan" > + <method name="set_pan"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="pan" type="float"> @@ -24972,10 +28349,11 @@ <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). + Set the panning of a voice. Panning goes from -1.0 (left) to +1.0 (right). + Optionally, for hardware than support 3D sound, one can also set depth and height (also in range -1.0 to +1.0). </description> </method> - <method name="set_filter" > + <method name="set_filter"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="type" type="int"> @@ -24987,19 +28365,20 @@ <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+). + Set the filter for a given voice, using the given type (see FILTER_* constants), cutoff frequency (from 20 to 16,384 Hz) and resonance (from 0 to 4.0). + Optionally, a gain can also be given (from 0 to 2.0). </description> </method> - <method name="set_chorus" > + <method name="set_chorus"> <argument index="0" name="voice" type="int"> </argument> <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]. + Set the chorus send level of a voice (from 0 to 1.0). For setting chorus parameters, see [AudioServer]. </description> </method> - <method name="set_reverb" > + <method name="set_reverb"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="room_type" type="int"> @@ -25007,10 +28386,10 @@ <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). + Set the reverberation type (see REVERB_* constants) and send level (from 0 to 1.0) of a voice. </description> </method> - <method name="get_mix_rate" qualifiers="const" > + <method name="get_mix_rate" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="int"> @@ -25019,7 +28398,7 @@ Return the current mix rate for a given voice. </description> </method> - <method name="get_pitch_scale" qualifiers="const" > + <method name="get_pitch_scale" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> @@ -25028,131 +28407,139 @@ Return the current pitch scale for a given voice. </description> </method> - <method name="get_volume" qualifiers="const" > + <method name="get_volume" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current volume (in db) for a given voice. 0db is maximum volume (every about -6db, volume is reduced in half). "db" does in fact go from zero to negative. + Return the current volume (on a linear scale) for a given voice. </description> </method> - <method name="get_volume_db" qualifiers="const" > + <method name="get_volume_db" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> + Return the current volume (in dB) for a given voice. </description> </method> - <method name="get_pan" qualifiers="const" > + <method name="get_pan" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current panning for a given voice. Panning goes from -1 (left) to +1 (right). + Return the current panning for a given voice. </description> </method> - <method name="get_pan_depth" qualifiers="const" > + <method name="get_pan_depth" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current pan depth for a given voice (not used unless the hardware supports 3D sound) + Return the current pan depth for a given voice. </description> </method> - <method name="get_pan_height" qualifiers="const" > + <method name="get_pan_height" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current pan height for a given voice (not used unless the hardware supports 3D sound) + Return the current pan height for a given voice. </description> </method> - <method name="get_filter_type" qualifiers="const" > + <method name="get_filter_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current filter type in use (see FILTER_* enum) for a given voice. + Return the current filter type in use (see FILTER_* constants) for a given voice. </description> </method> - <method name="get_filter_cutoff" qualifiers="const" > + <method name="get_filter_cutoff" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current filter cutoff for a given voice. Cutoff goes from 0 to 22khz. + Return the current filter cutoff frequency for a given voice. </description> </method> - <method name="get_filter_resonance" qualifiers="const" > + <method name="get_filter_resonance" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current filter resonance for a given voice. Resonance goes from 0 up. + Return the current filter resonance for a given voice. </description> </method> - <method name="get_filter_gain" qualifiers="const" > + <method name="get_filter_gain" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> + Return the current filter gain for a given voice. </description> </method> - <method name="get_chorus" qualifiers="const" > + <method name="get_chorus" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current chorus send level for a given voice. (0 to 1). + Return the current chorus send level for a given voice. </description> </method> - <method name="get_reverb_room" qualifiers="const" > - <return type="float"> + <method name="get_reverb_room" qualifiers="const"> + <return type="int"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current reverb room type for a given voice (see REVERB_* enum). + Return the current reverberation room type for a given voice (see REVERB_* enum). </description> </method> - <method name="get_reverb" qualifiers="const" > + <method name="get_reverb" qualifiers="const"> <return type="float"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return the current reverb send level for a given voice. (0 to 1). + Return the current reverberation send level for a given voice. </description> </method> - <method name="set_default_pitch_scale" > + <method name="set_default_pitch_scale"> <argument index="0" name="ratio" type="float"> </argument> <description> + Set the default pitch scale of the player. A ratio of 1.0 is the normal scale. </description> </method> - <method name="set_default_volume" > - <argument index="0" name="nrg" type="float"> + <method name="set_default_volume"> + <argument index="0" name="volume" type="float"> </argument> <description> + Set the default volume of the player using a linear scale. + The "volume" argument should be a positive factor ranging from 0.0 (mute) up to 16.0 (i.e. 24 dB). + A factor of 1.0 means that the voice will be played at normal system volume. Factors above 1.0 might be limited by the platform's audio output. </description> </method> - <method name="set_default_volume_db" > + <method name="set_default_volume_db"> <argument index="0" name="db" type="float"> </argument> <description> + Set the default volume of the player in dB. + The "dB" argument can range from -80 to 24 dB, 0 dB being the maximum volume. Every 6 dB (resp. -6 dB), the volume is increased (resp. reduced) by half. </description> </method> - <method name="set_default_pan" > + <method name="set_default_pan"> <argument index="0" name="pan" type="float"> </argument> <argument index="1" name="depth" type="float" default="0"> @@ -25160,9 +28547,11 @@ <argument index="2" name="height" type="float" default="0"> </argument> <description> + Set the default panning of the player. Panning goes from -1.0 (left) to +1.0 (right). + Optionally, for hardware than support 3D sound, one can also set depth and height (also in range -1.0 to +1.0). </description> </method> - <method name="set_default_filter" > + <method name="set_default_filter"> <argument index="0" name="type" type="int"> </argument> <argument index="1" name="cutoff_hz" type="float"> @@ -25172,112 +28561,131 @@ <argument index="3" name="gain" type="float" default="0"> </argument> <description> + Set the default filter for the player, using the given type (see FILTER_* constants), cutoff frequency (from 20 to 16,384 Hz) and resonance (from 0 to 4.0). + Optionally, a gain can also be given (from 0 to 2.0). </description> </method> - <method name="set_default_chorus" > + <method name="set_default_chorus"> <argument index="0" name="send" type="float"> </argument> <description> + Set the default chorus send level of the player (from 0 to 1.0). For setting chorus parameters, see [AudioServer]. </description> </method> - <method name="set_default_reverb" > + <method name="set_default_reverb"> <argument index="0" name="room_type" type="int"> </argument> <argument index="1" name="send" type="float"> </argument> <description> + Set the default reverberation type (see REVERB_* constants) and send level (from 0 to 1.0) of the player. </description> </method> - <method name="get_default_pitch_scale" qualifiers="const" > + <method name="get_default_pitch_scale" qualifiers="const"> <return type="float"> </return> <description> + Return the default pitch scale of the player. </description> </method> - <method name="get_default_volume" qualifiers="const" > + <method name="get_default_volume" qualifiers="const"> <return type="float"> </return> <description> + Return the default volume (on a linear scale) of the player. </description> </method> - <method name="get_default_volume_db" qualifiers="const" > + <method name="get_default_volume_db" qualifiers="const"> <return type="float"> </return> <description> + Return the default volume (in dB) of the player. </description> </method> - <method name="get_default_pan" qualifiers="const" > + <method name="get_default_pan" qualifiers="const"> <return type="float"> </return> <description> + Return the default panning of the player. </description> </method> - <method name="get_default_pan_depth" qualifiers="const" > + <method name="get_default_pan_depth" qualifiers="const"> <return type="float"> </return> <description> + Return the default pan depth of the player. </description> </method> - <method name="get_default_pan_height" qualifiers="const" > + <method name="get_default_pan_height" qualifiers="const"> <return type="float"> </return> <description> + Return the default pan height of the player. </description> </method> - <method name="get_default_filter_type" qualifiers="const" > + <method name="get_default_filter_type" qualifiers="const"> <return type="int"> </return> <description> + Return the default filter type in use (see FILTER_* constants) for the player. </description> </method> - <method name="get_default_filter_cutoff" qualifiers="const" > + <method name="get_default_filter_cutoff" qualifiers="const"> <return type="float"> </return> <description> + Return the default filter cutoff frequency of the player. </description> </method> - <method name="get_default_filter_resonance" qualifiers="const" > + <method name="get_default_filter_resonance" qualifiers="const"> <return type="float"> </return> <description> + Return the default filter resonance of the player. </description> </method> - <method name="get_default_filter_gain" qualifiers="const" > + <method name="get_default_filter_gain" qualifiers="const"> <return type="float"> </return> <description> + Return the default filter gain of the player. </description> </method> - <method name="get_default_chorus" qualifiers="const" > + <method name="get_default_chorus" qualifiers="const"> <return type="float"> </return> <description> + Return the default chorus send level of the player. </description> </method> - <method name="get_default_reverb_room" qualifiers="const" > - <return type="float"> + <method name="get_default_reverb_room" qualifiers="const"> + <return type="int"> </return> <description> + Return the default reverberation room type of the player (see REVERB_* enum). </description> </method> - <method name="get_default_reverb" qualifiers="const" > + <method name="get_default_reverb" qualifiers="const"> <return type="float"> </return> <description> + Return the default reverberation send level of the player. </description> </method> - <method name="is_active" qualifiers="const" > + <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> + Return whether the player is currently active. </description> </method> - <method name="is_voice_active" qualifiers="const" > + <method name="is_voice_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="voice" type="int"> </argument> <description> + Return whether the given voice is currently active. </description> </method> </methods> @@ -25286,77 +28694,83 @@ Filter is disabled for voice. </constant> <constant name="FILTER_LOWPASS" value="1"> - Lowpass filter is used for voice. + Low-pass filter is used for voice. </constant> <constant name="FILTER_BANDPASS" value="2"> - Bandpass filter is used for voice. + Band-pass filter is used for voice. </constant> <constant name="FILTER_HIPASS" value="3"> - HighPass filter is used for voice. + High-pass filter is used for voice. </constant> <constant name="FILTER_NOTCH" value="4"> - Notch filter is used for voice. + Notch (band reject) filter is used for voice. </constant> <constant name="FILTER_PEAK" value="5"> + Peak (exclusive band) filter is used for voice. </constant> <constant name="FILTER_BANDLIMIT" value="6"> - Band-Limit filter is used for voice, in this case resonance is the highpass cutoff. + Band-limit filter is used for voice, in this case resonance is the high-pass cutoff. A band-limit filter has a different frequency response than a notch filter, but otherwise both are band-rejecting filters. </constant> <constant name="FILTER_LOW_SHELF" value="7"> + Low-shelf filter is used for voice. </constant> <constant name="FILTER_HIGH_SHELF" value="8"> + High-shelf filter is used for voice. </constant> <constant name="REVERB_SMALL" value="0"> - Small reverb room (house room). + Small reverberation room (house room). </constant> <constant name="REVERB_MEDIUM" value="1"> - Medium reverb room (street) + Medium reverberation room (street) </constant> <constant name="REVERB_LARGE" value="2"> - Large reverb room (Theather) + Large reverberation room (theatre) </constant> <constant name="REVERB_HALL" value="3"> - Huge reverb room (cathedral, warehouse). + Huge reverberation room (cathedral, warehouse). + </constant> + <constant name="INVALID_VOICE_ID" value="-1"> + Value returned if the voice ID is invalid. </constant> </constants> </class> <class name="SamplePlayer2D" inherits="SoundPlayer2D" category="Core"> <brief_description> - Sample player for Positional 2D Sound. + Sample player for positional 2D Sound. </brief_description> <description> - Sample player for Positional 2D Sound. Plays sound samples positionally, left and right depending on the distance/place on the screen. + Sample player for positional 2D Sound. Plays sound samples positionally, left and right depending on the distance/place on the screen. </description> <methods> - <method name="set_sample_library" > + <method name="set_sample_library"> <argument index="0" name="library" type="SampleLibrary"> </argument> <description> Set the sample library for the player. </description> </method> - <method name="get_sample_library" qualifiers="const" > + <method name="get_sample_library" qualifiers="const"> <return type="SampleLibrary"> </return> <description> - Return the sample library used for the player. + Return the sample library used by the player. </description> </method> - <method name="set_polyphony" > - <argument index="0" name="voices" type="int"> + <method name="set_polyphony"> + <argument index="0" name="max_voices" type="int"> </argument> <description> Set the polyphony of the player (maximum amount of simultaneous voices). </description> </method> - <method name="get_polyphony" qualifiers="const" > + <method name="get_polyphony" qualifiers="const"> <return type="int"> </return> <description> - Return the polyphony of the player (maximum amount of simultaneous voices). + Return the polyphony of the player. </description> </method> - <method name="play" > + <method name="play"> <return type="int"> </return> <argument index="0" name="sample" type="String"> @@ -25364,10 +28778,11 @@ <argument index="1" name="voice" type="int" default="-2"> </argument> <description> - Play a sample, an internal polyphony id can be passed, or else it's assigned automatically. Returns a voice id which can be used to modify the voice parameters. + Play a sample. An internal polyphony ID can optionally be passed, or defaults to NEXT_VOICE. + Return a voice ID which can be used to modify the voice parameters, or INVALID_VOICE if the voice or sample are invalid. </description> </method> - <method name="voice_set_pitch_scale" > + <method name="voice_set_pitch_scale"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="ratio" type="float"> @@ -25376,54 +28791,60 @@ Change the pitch scale of a currently playing voice. </description> </method> - <method name="voice_set_volume_scale_db" > + <method name="voice_set_volume_scale_db"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="db" type="float"> </argument> <description> - Change the volume scale of a currently playing voice (using dB). + Change the volume scale (in dB) of a currently playing voice. </description> </method> - <method name="is_voice_active" qualifiers="const" > + <method name="is_voice_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="voice" type="int"> </argument> <description> - Return true if a voice is still active (false if it stopped playing). + Return whether a voice is still active or has stopped playing. </description> </method> - <method name="stop_voice" > + <method name="stop_voice"> <argument index="0" name="voice" type="int"> </argument> <description> Stop a given voice. </description> </method> - <method name="stop_all" > + <method name="stop_all"> <description> Stop all playing voices. </description> </method> - <method name="set_random_pitch_scale" > + <method name="set_random_pitch_scale"> <argument index="0" name="val" type="float"> </argument> <description> + Set the amplitude for random pitch scale variations. If different from zero, the pitch scale will vary randomly around 1.0 in a range defined by val. + The actual pitch scale will be, with "variation" ranging from -val to val: + * variation > 0: 1.0 + variation + * variation < 0: 1.0/(1.0 - variation) </description> </method> - <method name="get_random_pitch_scale" qualifiers="const" > + <method name="get_random_pitch_scale" qualifiers="const"> <return type="float"> </return> <description> + Return the amplitude used for random pitch scale variations. </description> </method> </methods> <constants> <constant name="INVALID_VOICE" value="-1"> - If the voice is invalid, this is returned. + Value returned if the voice or sample are invalid. </constant> <constant name="NEXT_VOICE" value="-2"> + Default voice for the play method. Corresponds to the first voice following the last used voice. </constant> </constants> </class> @@ -25433,7 +28854,7 @@ <description> </description> <methods> - <method name="notify_group" > + <method name="notify_group"> <argument index="0" name="call_flags" type="int"> </argument> <argument index="1" name="group" type="String"> @@ -25443,7 +28864,7 @@ <description> </description> </method> - <method name="set_group" > + <method name="set_group"> <argument index="0" name="call_flags" type="int"> </argument> <argument index="1" name="group" type="String"> @@ -25455,7 +28876,7 @@ <description> </description> </method> - <method name="get_nodes_in_group" > + <method name="get_nodes_in_group"> <return type="Array"> </return> <argument index="0" name="arg0" type="String"> @@ -25463,75 +28884,99 @@ <description> </description> </method> - <method name="get_root" qualifiers="const" > + <method name="get_root" qualifiers="const"> <return type="Viewport"> </return> <description> </description> </method> - <method name="set_auto_accept_quit" > + <method name="set_auto_accept_quit"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="set_editor_hint" > + <method name="set_editor_hint"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_editor_hint" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_debug_collisions_hint"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_editor_hint" qualifiers="const" > + <method name="is_debugging_collisions_hint" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_edited_scene_root" > + <method name="set_debug_navigation_hint"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_debugging_navigation_hint" qualifiers="const"> + <return type="bool"> + </return> + <description> + </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" > + <method name="get_edited_scene_root" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_pause" > + <method name="set_pause"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_paused" qualifiers="const" > + <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_input_as_handled" > + <method name="set_input_as_handled"> <description> </description> </method> - <method name="get_node_count" qualifiers="const" > + <method name="get_node_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_frame" qualifiers="const" > + <method name="get_frame" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="quit" > + <method name="quit"> <description> </description> </method> - <method name="set_screen_stretch" > + <method name="set_screen_stretch"> <argument index="0" name="mode" type="int"> </argument> <argument index="1" name="aspect" type="int"> @@ -25541,13 +28986,13 @@ <description> </description> </method> - <method name="queue_delete" > + <method name="queue_delete"> <argument index="0" name="obj" type="Object"> </argument> <description> </description> </method> - <method name="call_group" > + <method name="call_group"> <argument index="0" name="flags" type="int"> </argument> <argument index="1" name="group" type="String"> @@ -25567,6 +29012,40 @@ <description> </description> </method> + <method name="set_current_scene"> + <argument index="0" name="child_node" type="Node"> + </argument> + <description> + </description> + </method> + <method name="get_current_scene" qualifiers="const"> + <return type="Node"> + </return> + <description> + </description> + </method> + <method name="change_scene"> + <return type="int"> + </return> + <argument index="0" name="path" type="String"> + </argument> + <description> + </description> + </method> + <method name="change_scene_to"> + <return type="int"> + </return> + <argument index="0" name="packed_scene" type="PackedScene"> + </argument> + <description> + </description> + </method> + <method name="reload_current_scene"> + <return type="int"> + </return> + <description> + </description> + </method> </methods> <signals> <signal name="screen_resized"> @@ -25579,10 +29058,18 @@ <description> </description> </signal> + <signal name="idle_frame"> + <description> + </description> + </signal> <signal name="tree_changed"> <description> </description> </signal> + <signal name="fixed_frame"> + <description> + </description> + </signal> </signals> <constants> <constant name="GROUP_CALL_DEFAULT" value="0"> @@ -25617,14 +29104,14 @@ Base class for scripts. Any script that is loaded becomes one of these resources, which can then create instances. </description> <methods> - <method name="can_instance" qualifiers="const" > + <method name="can_instance" qualifiers="const"> <return type="bool"> </return> <description> Return true if this script can be instance (ie not a library). </description> </method> - <method name="instance_has" qualifiers="const" > + <method name="instance_has" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="base_object" type="Object"> @@ -25633,28 +29120,28 @@ Return true if a given object uses an instance of this script. </description> </method> - <method name="has_source_code" qualifiers="const" > + <method name="has_source_code" qualifiers="const"> <return type="bool"> </return> <description> Return true if the script contains source code. </description> </method> - <method name="get_source_code" qualifiers="const" > + <method name="get_source_code" qualifiers="const"> <return type="String"> </return> <description> Return the script source code (if available). </description> </method> - <method name="set_source_code" > + <method name="set_source_code"> <argument index="0" name="source" type="String"> </argument> <description> Set the script source code. </description> </method> - <method name="reload" > + <method name="reload"> <return type="int"> </return> <description> @@ -25673,13 +29160,13 @@ Scrollbars are a [Range] based [Control], that display a draggable area (the size of the page). Horizontal ([HScrollBar]) and Vertical ([VScrollBar]) versions are available. </description> <methods> - <method name="set_custom_step" > + <method name="set_custom_step"> <argument index="0" name="step" type="float"> </argument> <description> </description> </method> - <method name="get_custom_step" qualifiers="const" > + <method name="get_custom_step" qualifiers="const"> <return type="float"> </return> <description> @@ -25695,49 +29182,49 @@ <description> </description> <methods> - <method name="set_enable_h_scroll" > + <method name="set_enable_h_scroll"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_h_scroll_enabled" qualifiers="const" > + <method name="is_h_scroll_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_enable_v_scroll" > + <method name="set_enable_v_scroll"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_v_scroll_enabled" qualifiers="const" > + <method name="is_v_scroll_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_h_scroll" > + <method name="set_h_scroll"> <argument index="0" name="val" type="int"> </argument> <description> </description> </method> - <method name="get_h_scroll" qualifiers="const" > + <method name="get_h_scroll" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_v_scroll" > + <method name="set_v_scroll"> <argument index="0" name="val" type="int"> </argument> <description> </description> </method> - <method name="get_v_scroll" qualifiers="const" > + <method name="get_v_scroll" qualifiers="const"> <return type="int"> </return> <description> @@ -25755,25 +29242,25 @@ Segment Shape for 2D Collision Detection, consists of two points, 'a' and 'b'. </description> <methods> - <method name="set_a" > + <method name="set_a"> <argument index="0" name="a" type="Vector2"> </argument> <description> </description> </method> - <method name="get_a" qualifiers="const" > + <method name="get_a" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_b" > + <method name="set_b"> <argument index="0" name="b" type="Vector2"> </argument> <description> </description> </method> - <method name="get_b" qualifiers="const" > + <method name="get_b" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -25789,14 +29276,14 @@ <description> </description> <methods> - <method name="wait" > - <return type="int"> + <method name="wait"> + <return type="Error"> </return> <description> </description> </method> - <method name="post" > - <return type="int"> + <method name="post"> + <return type="Error"> </return> <description> </description> @@ -25825,19 +29312,13 @@ To be changed, ignore. </description> <methods> - <method name="set_mode" > - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_code" > + <method name="set_code"> <argument index="0" name="vcode" type="String"> </argument> <argument index="1" name="fcode" type="String"> @@ -25851,25 +29332,41 @@ <description> </description> </method> - <method name="get_vertex_code" qualifiers="const" > + <method name="get_vertex_code" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_fragment_code" qualifiers="const" > + <method name="get_fragment_code" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_light_code" qualifiers="const" > + <method name="get_light_code" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="has_param" qualifiers="const" > + <method name="set_default_texture_param"> + <argument index="0" name="param" type="String"> + </argument> + <argument index="1" name="texture" type="Texture"> + </argument> + <description> + </description> + </method> + <method name="get_default_texture_param" qualifiers="const"> + <return type="Texture"> + </return> + <argument index="0" name="param" type="String"> + </argument> + <description> + </description> + </method> + <method name="has_param" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -25887,25 +29384,871 @@ </constant> </constants> </class> +<class name="ShaderGraph" inherits="Shader" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="node_add"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="node_type" type="int"> + </argument> + <argument index="2" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="node_remove"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="node_set_pos"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="pos" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="node_get_pos" qualifiers="const"> + <return type="Vector2"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="node_get_type" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_node_list" qualifiers="const"> + <return type="Array"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <description> + </description> + </method> + <method name="scalar_const_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="scalar_const_node_get_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="arg2" type="float"> + </argument> + <description> + </description> + </method> + <method name="vec_const_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="vec_const_node_get_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="arg2" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="rgb_const_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="Color"> + </argument> + <description> + </description> + </method> + <method name="rgb_const_node_get_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="arg2" type="Color"> + </argument> + <description> + </description> + </method> + <method name="xform_const_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="xform_const_node_get_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="arg2" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="texture_node_set_filter_size"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="filter_size" type="int"> + </argument> + <description> + </description> + </method> + <method name="texture_node_get_filter_size"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="arg2" type="int"> + </argument> + <description> + </description> + </method> + <method name="texture_node_set_filter_strength"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <argument index="2" name="filter_strength" type="float"> + </argument> + <description> + </description> + </method> + <method name="texture_node_get_filter_strength"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <argument index="2" name="arg2" type="float"> + </argument> + <description> + </description> + </method> + <method name="scalar_op_node_set_op"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <argument index="2" name="op" type="int"> + </argument> + <description> + </description> + </method> + <method name="scalar_op_node_get_op" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <description> + </description> + </method> + <method name="vec_op_node_set_op"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <argument index="2" name="op" type="int"> + </argument> + <description> + </description> + </method> + <method name="vec_op_node_get_op" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <description> + </description> + </method> + <method name="vec_scalar_op_node_set_op"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <argument index="2" name="op" type="int"> + </argument> + <description> + </description> + </method> + <method name="vec_scalar_op_node_get_op" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <description> + </description> + </method> + <method name="rgb_op_node_set_op"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <argument index="2" name="op" type="int"> + </argument> + <description> + </description> + </method> + <method name="rgb_op_node_get_op" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="float"> + </argument> + <description> + </description> + </method> + <method name="xform_vec_mult_node_set_no_translation"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="disable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="xform_vec_mult_node_get_no_translation" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="scalar_func_node_set_function"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="func" type="int"> + </argument> + <description> + </description> + </method> + <method name="scalar_func_node_get_function" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="vec_func_node_set_function"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="func" type="int"> + </argument> + <description> + </description> + </method> + <method name="vec_func_node_get_function" qualifiers="const"> + <return type="int"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="input_node_set_name"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="name" type="String"> + </argument> + <description> + </description> + </method> + <method name="input_node_get_name"> + <return type="String"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="scalar_input_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="float"> + </argument> + <description> + </description> + </method> + <method name="scalar_input_node_get_value" qualifiers="const"> + <return type="float"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="vec_input_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="vec_input_node_get_value" qualifiers="const"> + <return type="Vector3"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="rgb_input_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="Color"> + </argument> + <description> + </description> + </method> + <method name="rgb_input_node_get_value" qualifiers="const"> + <return type="Color"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="xform_input_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="Transform"> + </argument> + <description> + </description> + </method> + <method name="xform_input_node_get_value" qualifiers="const"> + <return type="Transform"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="texture_input_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="Texture"> + </argument> + <description> + </description> + </method> + <method name="texture_input_node_get_value" qualifiers="const"> + <return type="Texture"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="cubemap_input_node_set_value"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="value" type="CubeMap"> + </argument> + <description> + </description> + </method> + <method name="cubemap_input_node_get_value" qualifiers="const"> + <return type="CubeMap"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="comment_node_set_text"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="text" type="String"> + </argument> + <description> + </description> + </method> + <method name="comment_node_get_text" qualifiers="const"> + <return type="String"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="color_ramp_node_set_ramp"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="colors" type="ColorArray"> + </argument> + <argument index="3" name="offsets" type="RealArray"> + </argument> + <description> + </description> + </method> + <method name="color_ramp_node_get_colors" qualifiers="const"> + <return type="ColorArray"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="color_ramp_node_get_offsets" qualifiers="const"> + <return type="RealArray"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="curve_map_node_set_points"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="points" type="Vector2Array"> + </argument> + <description> + </description> + </method> + <method name="curve_map_node_get_points" qualifiers="const"> + <return type="Vector2Array"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + <method name="connect_node"> + <return type="Error"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="src_id" type="int"> + </argument> + <argument index="2" name="src_slot" type="int"> + </argument> + <argument index="3" name="dst_id" type="int"> + </argument> + <argument index="4" name="dst_slot" type="int"> + </argument> + <description> + </description> + </method> + <method name="is_node_connected" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="src_id" type="int"> + </argument> + <argument index="2" name="src_slot" type="int"> + </argument> + <argument index="3" name="dst_id" type="int"> + </argument> + <argument index="4" name="dst_slot" type="int"> + </argument> + <description> + </description> + </method> + <method name="disconnect_node"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="src_id" type="int"> + </argument> + <argument index="2" name="src_slot" type="int"> + </argument> + <argument index="3" name="dst_id" type="int"> + </argument> + <argument index="4" name="dst_slot" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_node_connections" qualifiers="const"> + <return type="Array"> + </return> + <argument index="0" name="shader_type" type="int"> + </argument> + <description> + </description> + </method> + <method name="clear"> + <argument index="0" name="shader_type" type="int"> + </argument> + <description> + </description> + </method> + <method name="node_set_state"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <argument index="2" name="state" type="var"> + </argument> + <description> + </description> + </method> + <method name="node_get_state" qualifiers="const"> + <argument index="0" name="shader_type" type="int"> + </argument> + <argument index="1" name="id" type="int"> + </argument> + <description> + </description> + </method> + </methods> + <signals> + <signal name="updated"> + <description> + </description> + </signal> + </signals> + <constants> + <constant name="NODE_INPUT" value="0"> + </constant> + <constant name="NODE_SCALAR_CONST" value="1"> + </constant> + <constant name="NODE_VEC_CONST" value="2"> + </constant> + <constant name="NODE_RGB_CONST" value="3"> + </constant> + <constant name="NODE_XFORM_CONST" value="4"> + </constant> + <constant name="NODE_TIME" value="5"> + </constant> + <constant name="NODE_SCREEN_TEX" value="6"> + </constant> + <constant name="NODE_SCALAR_OP" value="7"> + </constant> + <constant name="NODE_VEC_OP" value="8"> + </constant> + <constant name="NODE_VEC_SCALAR_OP" value="9"> + </constant> + <constant name="NODE_RGB_OP" value="10"> + </constant> + <constant name="NODE_XFORM_MULT" value="11"> + </constant> + <constant name="NODE_XFORM_VEC_MULT" value="12"> + </constant> + <constant name="NODE_XFORM_VEC_INV_MULT" value="13"> + </constant> + <constant name="NODE_SCALAR_FUNC" value="14"> + </constant> + <constant name="NODE_VEC_FUNC" value="15"> + </constant> + <constant name="NODE_VEC_LEN" value="16"> + </constant> + <constant name="NODE_DOT_PROD" value="17"> + </constant> + <constant name="NODE_VEC_TO_SCALAR" value="18"> + </constant> + <constant name="NODE_SCALAR_TO_VEC" value="19"> + </constant> + <constant name="NODE_VEC_TO_XFORM" value="21"> + </constant> + <constant name="NODE_XFORM_TO_VEC" value="20"> + </constant> + <constant name="NODE_SCALAR_INTERP" value="22"> + </constant> + <constant name="NODE_VEC_INTERP" value="23"> + </constant> + <constant name="NODE_COLOR_RAMP" value="24"> + </constant> + <constant name="NODE_CURVE_MAP" value="25"> + </constant> + <constant name="NODE_SCALAR_INPUT" value="26"> + </constant> + <constant name="NODE_VEC_INPUT" value="27"> + </constant> + <constant name="NODE_RGB_INPUT" value="28"> + </constant> + <constant name="NODE_XFORM_INPUT" value="29"> + </constant> + <constant name="NODE_TEXTURE_INPUT" value="30"> + </constant> + <constant name="NODE_CUBEMAP_INPUT" value="31"> + </constant> + <constant name="NODE_DEFAULT_TEXTURE" value="32"> + </constant> + <constant name="NODE_OUTPUT" value="33"> + </constant> + <constant name="NODE_COMMENT" value="34"> + </constant> + <constant name="NODE_TYPE_MAX" value="35"> + </constant> + <constant name="SLOT_TYPE_SCALAR" value="0"> + </constant> + <constant name="SLOT_TYPE_VEC" value="1"> + </constant> + <constant name="SLOT_TYPE_XFORM" value="2"> + </constant> + <constant name="SLOT_TYPE_TEXTURE" value="3"> + </constant> + <constant name="SLOT_MAX" value="4"> + </constant> + <constant name="SHADER_TYPE_VERTEX" value="0"> + </constant> + <constant name="SHADER_TYPE_FRAGMENT" value="1"> + </constant> + <constant name="SHADER_TYPE_LIGHT" value="2"> + </constant> + <constant name="SHADER_TYPE_MAX" value="3"> + </constant> + <constant name="SLOT_IN" value="0"> + </constant> + <constant name="SLOT_OUT" value="1"> + </constant> + <constant name="GRAPH_OK" value="0"> + </constant> + <constant name="GRAPH_ERROR_CYCLIC" value="1"> + </constant> + <constant name="GRAPH_ERROR_MISSING_CONNECTIONS" value="2"> + </constant> + <constant name="SCALAR_OP_ADD" value="0"> + </constant> + <constant name="SCALAR_OP_SUB" value="1"> + </constant> + <constant name="SCALAR_OP_MUL" value="2"> + </constant> + <constant name="SCALAR_OP_DIV" value="3"> + </constant> + <constant name="SCALAR_OP_MOD" value="4"> + </constant> + <constant name="SCALAR_OP_POW" value="5"> + </constant> + <constant name="SCALAR_OP_MAX" value="6"> + </constant> + <constant name="SCALAR_OP_MIN" value="7"> + </constant> + <constant name="SCALAR_OP_ATAN2" value="8"> + </constant> + <constant name="SCALAR_MAX_OP" value="9"> + </constant> + <constant name="VEC_OP_ADD" value="0"> + </constant> + <constant name="VEC_OP_SUB" value="1"> + </constant> + <constant name="VEC_OP_MUL" value="2"> + </constant> + <constant name="VEC_OP_DIV" value="3"> + </constant> + <constant name="VEC_OP_MOD" value="4"> + </constant> + <constant name="VEC_OP_POW" value="5"> + </constant> + <constant name="VEC_OP_MAX" value="6"> + </constant> + <constant name="VEC_OP_MIN" value="7"> + </constant> + <constant name="VEC_OP_CROSS" value="8"> + </constant> + <constant name="VEC_MAX_OP" value="9"> + </constant> + <constant name="VEC_SCALAR_OP_MUL" value="0"> + </constant> + <constant name="VEC_SCALAR_OP_DIV" value="1"> + </constant> + <constant name="VEC_SCALAR_OP_POW" value="2"> + </constant> + <constant name="VEC_SCALAR_MAX_OP" value="3"> + </constant> + <constant name="RGB_OP_SCREEN" value="0"> + </constant> + <constant name="RGB_OP_DIFFERENCE" value="1"> + </constant> + <constant name="RGB_OP_DARKEN" value="2"> + </constant> + <constant name="RGB_OP_LIGHTEN" value="3"> + </constant> + <constant name="RGB_OP_OVERLAY" value="4"> + </constant> + <constant name="RGB_OP_DODGE" value="5"> + </constant> + <constant name="RGB_OP_BURN" value="6"> + </constant> + <constant name="RGB_OP_SOFT_LIGHT" value="7"> + </constant> + <constant name="RGB_OP_HARD_LIGHT" value="8"> + </constant> + <constant name="RGB_MAX_OP" value="9"> + </constant> + <constant name="SCALAR_FUNC_SIN" value="0"> + </constant> + <constant name="SCALAR_FUNC_COS" value="1"> + </constant> + <constant name="SCALAR_FUNC_TAN" value="2"> + </constant> + <constant name="SCALAR_FUNC_ASIN" value="3"> + </constant> + <constant name="SCALAR_FUNC_ACOS" value="4"> + </constant> + <constant name="SCALAR_FUNC_ATAN" value="5"> + </constant> + <constant name="SCALAR_FUNC_SINH" value="6"> + </constant> + <constant name="SCALAR_FUNC_COSH" value="7"> + </constant> + <constant name="SCALAR_FUNC_TANH" value="8"> + </constant> + <constant name="SCALAR_FUNC_LOG" value="9"> + </constant> + <constant name="SCALAR_FUNC_EXP" value="10"> + </constant> + <constant name="SCALAR_FUNC_SQRT" value="11"> + </constant> + <constant name="SCALAR_FUNC_ABS" value="12"> + </constant> + <constant name="SCALAR_FUNC_SIGN" value="13"> + </constant> + <constant name="SCALAR_FUNC_FLOOR" value="14"> + </constant> + <constant name="SCALAR_FUNC_ROUND" value="15"> + </constant> + <constant name="SCALAR_FUNC_CEIL" value="16"> + </constant> + <constant name="SCALAR_FUNC_FRAC" value="17"> + </constant> + <constant name="SCALAR_FUNC_SATURATE" value="18"> + </constant> + <constant name="SCALAR_FUNC_NEGATE" value="19"> + </constant> + <constant name="SCALAR_MAX_FUNC" value="20"> + </constant> + <constant name="VEC_FUNC_NORMALIZE" value="0"> + </constant> + <constant name="VEC_FUNC_SATURATE" value="1"> + </constant> + <constant name="VEC_FUNC_NEGATE" value="2"> + </constant> + <constant name="VEC_FUNC_RECIPROCAL" value="3"> + </constant> + <constant name="VEC_FUNC_RGB2HSV" value="4"> + </constant> + <constant name="VEC_FUNC_HSV2RGB" value="5"> + </constant> + <constant name="VEC_MAX_FUNC" value="6"> + </constant> + </constants> +</class> <class name="ShaderMaterial" inherits="Material" category="Core"> <brief_description> </brief_description> <description> </description> <methods> - <method name="set_shader" > + <method name="set_shader"> <argument index="0" name="shader" type="Shader"> </argument> <description> </description> </method> - <method name="get_shader" qualifiers="const" > + <method name="get_shader" qualifiers="const"> <return type="Shader"> </return> <description> </description> </method> - <method name="set_shader_param" > + <method name="set_shader_param"> <argument index="0" name="param" type="String"> </argument> <argument index="1" name="value" type="var"> @@ -25913,7 +30256,7 @@ <description> </description> </method> - <method name="get_shader_param" qualifiers="const" > + <method name="get_shader_param" qualifiers="const"> <argument index="0" name="param" type="String"> </argument> <description> @@ -25941,21 +30284,21 @@ Base class for all 2D Shapes. All 2D shape types inherit from this. </description> <methods> - <method name="set_custom_solver_bias" > + <method name="set_custom_solver_bias"> <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" > + <method name="get_custom_solver_bias" qualifiers="const"> <return type="float"> </return> <description> Return the custom solver bias. No need to change this unless you really know what you are doing. </description> </method> - <method name="collide" > + <method name="collide"> <return type="bool"> </return> <argument index="0" name="local_xform" type="Matrix32"> @@ -25967,7 +30310,7 @@ <description> </description> </method> - <method name="collide_with_motion" > + <method name="collide_with_motion"> <return type="bool"> </return> <argument index="0" name="local_xform" type="Matrix32"> @@ -25983,7 +30326,7 @@ <description> </description> </method> - <method name="collide_and_get_contacts" > + <method name="collide_and_get_contacts"> <argument index="0" name="local_xform" type="Matrix32"> </argument> <argument index="1" name="with_shape" type="Shape2D"> @@ -25993,7 +30336,7 @@ <description> </description> </method> - <method name="collide_with_motion_and_get_contacts" > + <method name="collide_with_motion_and_get_contacts"> <argument index="0" name="local_xform" type="Matrix32"> </argument> <argument index="1" name="local_motion" type="Vector2"> @@ -26019,14 +30362,14 @@ Skeleton provides a hierachial interface for managing bones, including pose, rest and animation (see [Animation]). Skeleton will support rag doll dynamics in the future. </description> <methods> - <method name="add_bone" > + <method name="add_bone"> <argument index="0" name="name" type="String"> </argument> <description> Add a bone, with name "name". [method get_bone_count] will become the bone index. </description> </method> - <method name="find_bone" qualifiers="const" > + <method name="find_bone" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -26035,7 +30378,7 @@ Return the bone index that matches "name" as its name. </description> </method> - <method name="get_bone_name" qualifiers="const" > + <method name="get_bone_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="bone_idx" type="int"> @@ -26044,7 +30387,7 @@ Return the name of the bone at index "index" </description> </method> - <method name="get_bone_parent" qualifiers="const" > + <method name="get_bone_parent" qualifiers="const"> <return type="int"> </return> <argument index="0" name="bone_idx" type="int"> @@ -26053,7 +30396,7 @@ Return the bone index which is the parent of the bone at "bone_idx". If -1, then bone has no parent. Note that the parent bone returned will always be less than "bone_idx". </description> </method> - <method name="set_bone_parent" > + <method name="set_bone_parent"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="parent_idx" type="int"> @@ -26062,14 +30405,20 @@ Set the bone index "parent_idx" as the parent of the bone at "bone_idx". If -1, then bone has no parent. Note: "parent_idx" must be less than "bone_idx". </description> </method> - <method name="get_bone_count" qualifiers="const" > + <method name="get_bone_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of bones in the skeleton. </description> </method> - <method name="get_bone_rest" qualifiers="const" > + <method name="unparent_bone_and_rest"> + <argument index="0" name="bone_idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_bone_rest" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="bone_idx" type="int"> @@ -26078,7 +30427,7 @@ Return the rest transform for a bone "bone_idx". </description> </method> - <method name="set_bone_rest" > + <method name="set_bone_rest"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="rest" type="Transform"> @@ -26087,39 +30436,55 @@ Set the rest transform for bone "bone_idx" </description> </method> - <method name="bind_child_node_to_bone" > + <method name="set_bone_disable_rest"> + <argument index="0" name="bone_idx" type="int"> + </argument> + <argument index="1" name="disable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_bone_rest_disabled" qualifiers="const"> + <return type="bool"> + </return> + <argument index="0" name="bone_idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="bind_child_node_to_bone"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="node" type="Node"> </argument> <description> - Deprecated soon + Deprecated soon. </description> </method> - <method name="unbind_child_node_from_bone" > + <method name="unbind_child_node_from_bone"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="node" type="Node"> </argument> <description> - Deprecated soon + Deprecated soon. </description> </method> - <method name="get_bound_child_nodes_to_bone" qualifiers="const" > + <method name="get_bound_child_nodes_to_bone" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="bone_idx" type="int"> </argument> <description> - Deprecated Soon + Deprecated soon. </description> </method> - <method name="clear_bones" > + <method name="clear_bones"> <description> Clear all the bones in this skeleton. </description> </method> - <method name="get_bone_pose" qualifiers="const" > + <method name="get_bone_pose" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="bone_idx" type="int"> @@ -26128,7 +30493,7 @@ Return the pose transform for bone "bone_idx". </description> </method> - <method name="set_bone_pose" > + <method name="set_bone_pose"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="pose" type="Transform"> @@ -26137,7 +30502,7 @@ Return the pose transform for bone "bone_idx". </description> </method> - <method name="set_bone_global_pose" > + <method name="set_bone_global_pose"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="pose" type="Transform"> @@ -26145,7 +30510,7 @@ <description> </description> </method> - <method name="get_bone_global_pose" qualifiers="const" > + <method name="get_bone_global_pose" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="bone_idx" type="int"> @@ -26153,7 +30518,7 @@ <description> </description> </method> - <method name="get_bone_custom_pose" qualifiers="const" > + <method name="get_bone_custom_pose" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="bone_idx" type="int"> @@ -26161,7 +30526,7 @@ <description> </description> </method> - <method name="set_bone_custom_pose" > + <method name="set_bone_custom_pose"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="custom_pose" type="Transform"> @@ -26169,7 +30534,7 @@ <description> </description> </method> - <method name="get_bone_transform" qualifiers="const" > + <method name="get_bone_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="bone_idx" type="int"> @@ -26191,28 +30556,28 @@ Base class for GUI Sliders. </description> <methods> - <method name="set_ticks" > + <method name="set_ticks"> <argument index="0" name="count" type="int"> </argument> <description> Set amount of ticks to display in slider. </description> </method> - <method name="get_ticks" qualifiers="const" > + <method name="get_ticks" qualifiers="const"> <return type="int"> </return> <description> Return amounts of ticks to display on slider. </description> </method> - <method name="get_ticks_on_borders" qualifiers="const" > + <method name="get_ticks_on_borders" qualifiers="const"> <return type="bool"> </return> <description> Return true if ticks are visible on borders. </description> </method> - <method name="set_ticks_on_borders" > + <method name="set_ticks_on_borders"> <argument index="0" name="ticks_on_border" type="bool"> </argument> <description> @@ -26229,7 +30594,7 @@ <description> </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -26237,7 +30602,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -26303,7 +30668,7 @@ Base class for playing spatial 2D sound. </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -26311,7 +30676,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -26341,7 +30706,7 @@ <description> </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -26349,7 +30714,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -26357,25 +30722,25 @@ <description> </description> </method> - <method name="set_reverb_mode" > + <method name="set_reverb_mode"> <argument index="0" name="reverb_mode" type="int"> </argument> <description> </description> </method> - <method name="get_reverb_mode" qualifiers="const" > + <method name="get_reverb_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_force_params_to_all_sources" > + <method name="set_force_params_to_all_sources"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_forcing_params_to_all_sources" > + <method name="is_forcing_params_to_all_sources"> <return type="bool"> </return> <description> @@ -26393,137 +30758,221 @@ Spatial is the base for every type of 3D [Node]. It contains a 3D [Transform] which can be set or get as local or global. If a Spatial [Node] has Spatial children, their transforms will be relative to the parent. </description> <methods> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="local" type="Transform"> </argument> <description> Set the transform locally, relative to the parent spatial node. </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Transform"> </return> <description> Return the local transform, relative to the bone parent. </description> </method> - <method name="set_translation" > + <method name="set_translation"> <argument index="0" name="translation" type="Vector3"> </argument> <description> </description> </method> - <method name="get_translation" qualifiers="const" > + <method name="get_translation" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_rotation" > + <method name="set_rotation"> <argument index="0" name="rotation" type="Vector3"> </argument> <description> </description> </method> - <method name="get_rotation" qualifiers="const" > + <method name="get_rotation" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_scale" > + <method name="set_scale"> <argument index="0" name="scale" type="Vector3"> </argument> <description> </description> </method> - <method name="get_scale" qualifiers="const" > + <method name="get_scale" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_global_transform" > + <method name="set_global_transform"> <argument index="0" name="global" type="Transform"> </argument> <description> Set the transform globally, relative to worldspace. </description> </method> - <method name="get_global_transform" qualifiers="const" > + <method name="get_global_transform" qualifiers="const"> <return type="Transform"> </return> <description> Return the gloal transform, relative to worldspace. </description> </method> - <method name="get_parent_spatial" qualifiers="const" > + <method name="get_parent_spatial" qualifiers="const"> <return type="Object"> </return> <description> - Return the parent [Spatial], or an empty [Object] if no parent exists or parent is not of type [Spatial. + Return the parent [Spatial], or an empty [Object] if no parent exists or parent is not of type [Spatial]. </description> </method> - <method name="set_ignore_transform_notification" > + <method name="set_ignore_transform_notification"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="set_as_toplevel" > + <method name="set_as_toplevel"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_set_as_toplevel" qualifiers="const" > + <method name="is_set_as_toplevel" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_world" qualifiers="const" > + <method name="get_world" qualifiers="const"> <return type="World"> </return> <description> </description> </method> - <method name="update_gizmo" > + <method name="update_gizmo"> <description> </description> </method> - <method name="set_gizmo" > + <method name="set_gizmo"> <argument index="0" name="gizmo" type="SpatialGizmo"> </argument> <description> </description> </method> - <method name="get_gizmo" qualifiers="const" > + <method name="get_gizmo" qualifiers="const"> <return type="SpatialGizmo"> </return> <description> </description> </method> - <method name="show" > + <method name="show"> <description> </description> </method> - <method name="hide" > + <method name="hide"> <description> </description> </method> - <method name="is_visible" qualifiers="const" > + <method name="is_visible" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="is_hidden" qualifiers="const" > + <method name="is_hidden" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> + <method name="set_notify_local_transform"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_local_transform_notification_enabled" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="rotate"> + <argument index="0" name="normal" type="Vector3"> + </argument> + <argument index="1" name="radians" type="float"> + </argument> + <description> + </description> + </method> + <method name="global_rotate"> + <argument index="0" name="normal" type="Vector3"> + </argument> + <argument index="1" name="radians" type="float"> + </argument> + <description> + </description> + </method> + <method name="rotate_x"> + <argument index="0" name="radians" type="float"> + </argument> + <description> + </description> + </method> + <method name="rotate_y"> + <argument index="0" name="radians" type="float"> + </argument> + <description> + </description> + </method> + <method name="rotate_z"> + <argument index="0" name="radians" type="float"> + </argument> + <description> + </description> + </method> + <method name="translate"> + <argument index="0" name="offset" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="global_translate"> + <argument index="0" name="offset" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="orthonormalize"> + <description> + </description> + </method> + <method name="set_identity"> + <description> + </description> + </method> + <method name="look_at"> + <argument index="0" name="target" type="Vector3"> + </argument> + <argument index="1" name="up" type="Vector3"> + </argument> + <description> + </description> + </method> + <method name="look_at_from_pos"> + <argument index="0" name="pos" type="Vector3"> + </argument> + <argument index="1" name="target" type="Vector3"> + </argument> + <argument index="2" name="up" type="Vector3"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="visibility_changed"> @@ -26533,7 +30982,7 @@ </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. + Spatial nodes receive this notifacation with their global transform changes. This means that either the current or a parent node changed its transform. </constant> <constant name="NOTIFICATION_ENTER_WORLD" value="41"> </constant> @@ -26549,7 +30998,7 @@ <description> </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -26557,7 +31006,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="float"> </return> <argument index="0" name="param" type="int"> @@ -26591,31 +31040,31 @@ <description> </description> <methods> - <method name="set_sample_library" > + <method name="set_sample_library"> <argument index="0" name="library" type="SampleLibrary"> </argument> <description> </description> </method> - <method name="get_sample_library" qualifiers="const" > + <method name="get_sample_library" qualifiers="const"> <return type="SampleLibrary"> </return> <description> </description> </method> - <method name="set_polyphony" > + <method name="set_polyphony"> <argument index="0" name="voices" type="int"> </argument> <description> </description> </method> - <method name="get_polyphony" qualifiers="const" > + <method name="get_polyphony" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> <return type="int"> </return> <argument index="0" name="sample" type="String"> @@ -26625,7 +31074,7 @@ <description> </description> </method> - <method name="voice_set_pitch_scale" > + <method name="voice_set_pitch_scale"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="ratio" type="float"> @@ -26633,7 +31082,7 @@ <description> </description> </method> - <method name="voice_set_volume_scale_db" > + <method name="voice_set_volume_scale_db"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="db" type="float"> @@ -26641,7 +31090,7 @@ <description> </description> </method> - <method name="is_voice_active" qualifiers="const" > + <method name="is_voice_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="voice" type="int"> @@ -26649,13 +31098,13 @@ <description> </description> </method> - <method name="stop_voice" > + <method name="stop_voice"> <argument index="0" name="voice" type="int"> </argument> <description> </description> </method> - <method name="stop_all" > + <method name="stop_all"> <description> </description> </method> @@ -26715,68 +31164,148 @@ <description> </description> <methods> - <method name="set_stream" > + <method name="set_stream"> <argument index="0" name="stream" type="Stream"> </argument> <description> </description> </method> - <method name="get_stream" qualifiers="const" > + <method name="get_stream" qualifiers="const"> <return type="Stream"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> + <argument index="0" name="arg0" type="float" default="0"> + </argument> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_loop" > + <method name="set_paused"> + <argument index="0" name="paused" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_paused" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_stream_name" qualifiers="const" > + <method name="set_volume"> + <argument index="0" name="volume" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_volume" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_volume_db"> + <argument index="0" name="db" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_volume_db" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="set_buffering_msec"> + <argument index="0" name="msec" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_buffering_msec" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_loop_restart_time"> + <argument index="0" name="secs" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_loop_restart_time" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_loop_count" qualifiers="const" > + <method name="get_loop_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="seek_pos" > + <method name="seek_pos"> <argument index="0" name="time" type="float"> </argument> <description> </description> </method> + <method name="set_autoplay"> + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + </description> + </method> + <method name="has_autoplay" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="get_length" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -26787,13 +31316,13 @@ <description> </description> <methods> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="radius" type="float"> </argument> <description> </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="float"> </return> <description> @@ -26811,48 +31340,48 @@ SpinBox is a numerical input text field. It allows entering integers and floats. </description> <methods> - <method name="set_suffix" > + <method name="set_suffix"> <argument index="0" name="suffix" type="String"> </argument> <description> Set a specific suffix. </description> </method> - <method name="get_suffix" qualifiers="const" > + <method name="get_suffix" qualifiers="const"> <return type="String"> </return> <description> Return the specific suffix. </description> </method> - <method name="set_prefix" > + <method name="set_prefix"> <argument index="0" name="prefix" type="String"> </argument> <description> Set a prefix. </description> </method> - <method name="get_prefix" qualifiers="const" > + <method name="get_prefix" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_editable" > + <method name="set_editable"> <argument index="0" name="editable" type="bool"> </argument> <description> Set whether the spinbox is editable. </description> </method> - <method name="is_editable" qualifiers="const" > + <method name="is_editable" qualifiers="const"> <return type="bool"> </return> <description> Return if the spinbox is editable. </description> </method> - <method name="get_line_edit" > + <method name="get_line_edit"> <return type="Object"> </return> <description> @@ -26874,53 +31403,61 @@ Container for splitting two controls vertically or horizontally, with a grabber that allows adjusting the split offset or ratio. </description> <methods> - <method name="set_split_offset" > + <method name="set_split_offset"> <argument index="0" name="offset" type="int"> </argument> <description> Set the split offset. </description> </method> - <method name="get_split_offset" qualifiers="const" > + <method name="get_split_offset" qualifiers="const"> <return type="int"> </return> <description> - Return the spluit offset; + Return the split offset. </description> </method> - <method name="set_collapsed" > + <method name="set_collapsed"> <argument index="0" name="collapsed" type="bool"> </argument> <description> Set if the split must be collapsed. </description> </method> - <method name="is_collapsed" qualifiers="const" > + <method name="is_collapsed" qualifiers="const"> <return type="bool"> </return> <description> - Return if the split is collapsed; + Return if the split is collapsed. </description> </method> - <method name="set_dragger_visible" > + <method name="set_dragger_visible"> <argument index="0" name="visible" type="bool"> </argument> <description> </description> </method> - <method name="is_dragger_visible" qualifiers="const" > + <method name="is_dragger_visible" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> </methods> + <signals> + <signal name="dragged"> + <argument index="0" name="offset" type="int"> + </argument> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> <class name="SpotLight" inherits="Light" category="Core"> <brief_description> - Spotlight Light, such as a reflector spotlight or a latern. + Spotlight [Light], such as a reflector spotlight or a latern. </brief_description> <description> A SpotLight light is a type of [Light] node that emits lights in a specific direction, in the shape of a cone. The light is attenuated through the distance and this attenuation can be configured by changing the energy, radius and attenuation parameters of [Light]. TODO: Image of a spotlight. @@ -26938,154 +31475,154 @@ General purpose Sprite node. This Sprite node can show any texture as a sprite. The texture can be used as a spritesheet for animation, or only a region from a bigger texture can referenced, like an atlas. </description> <methods> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> Set the base texture for the sprite. </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <description> Return the base texture for the sprite. </description> </method> - <method name="set_centered" > + <method name="set_centered"> <argument index="0" name="centered" type="bool"> </argument> <description> Set whether the sprite should be centered on the origin. </description> </method> - <method name="is_centered" qualifiers="const" > + <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> Return if the sprite is centered at the local origin. </description> </method> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> Set the sprite draw offset, useful for setting rotation pivots. </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> Return sprite draw offst. </description> </method> - <method name="set_flip_h" > + <method name="set_flip_h"> <argument index="0" name="flip_h" type="bool"> </argument> <description> Set true to flip the sprite horizontaly. </description> </method> - <method name="is_flipped_h" qualifiers="const" > + <method name="is_flipped_h" qualifiers="const"> <return type="bool"> </return> <description> Return true if the sprite is flipped horizontally. </description> </method> - <method name="set_flip_v" > + <method name="set_flip_v"> <argument index="0" name="flip_v" type="bool"> </argument> <description> Set true to flip the sprite vertically. </description> </method> - <method name="is_flipped_v" qualifiers="const" > + <method name="is_flipped_v" qualifiers="const"> <return type="bool"> </return> <description> Return true if the sprite is flipped vertically. </description> </method> - <method name="set_region" > + <method name="set_region"> <argument index="0" name="enabled" type="bool"> </argument> <description> Set the sprite as a sub-region of a bigger texture. Useful for texture-atlases. </description> </method> - <method name="is_region" qualifiers="const" > + <method name="is_region" qualifiers="const"> <return type="bool"> </return> <description> Return if the sprite reads from a region. </description> </method> - <method name="set_region_rect" > + <method name="set_region_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> Set the region rect to read from. </description> </method> - <method name="get_region_rect" qualifiers="const" > + <method name="get_region_rect" qualifiers="const"> <return type="Rect2"> </return> <description> Return the region rect to read from. </description> </method> - <method name="set_frame" > + <method name="set_frame"> <argument index="0" name="frame" type="int"> </argument> <description> Set the texture frame for a sprite-sheet, works when vframes or hframes are greater than 1. </description> </method> - <method name="get_frame" qualifiers="const" > + <method name="get_frame" qualifiers="const"> <return type="int"> </return> <description> Return the texture frame for a sprite-sheet, works when vframes or hframes are greater than 1. </description> </method> - <method name="set_vframes" > + <method name="set_vframes"> <argument index="0" name="vframes" type="int"> </argument> <description> Set the amount of vertical frames and converts the sprite into a sprite-sheet. This is useful for animation. </description> </method> - <method name="get_vframes" qualifiers="const" > + <method name="get_vframes" qualifiers="const"> <return type="int"> </return> <description> Return the amount of vertical frames. See [set_vframes]. </description> </method> - <method name="set_hframes" > + <method name="set_hframes"> <argument index="0" name="hframes" type="int"> </argument> <description> Set the amount of horizontal frames and converts the sprite into a sprite-sheet. This is useful for animation. </description> </method> - <method name="get_hframes" qualifiers="const" > + <method name="get_hframes" qualifiers="const"> <return type="int"> </return> <description> Return the amount of horizontal frames. See [set_hframes]. </description> </method> - <method name="set_modulate" > + <method name="set_modulate"> <argument index="0" name="modulate" type="Color"> </argument> <description> Set color modulation for the sprite. All sprite pixels are multiplied by this color. </description> </method> - <method name="get_modulate" qualifiers="const" > + <method name="get_modulate" qualifiers="const"> <return type="Color"> </return> <description> @@ -27093,6 +31630,12 @@ </description> </method> </methods> + <signals> + <signal name="frame_changed"> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> @@ -27102,79 +31645,85 @@ <description> </description> <methods> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_region" > + <method name="set_region"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_region" qualifiers="const" > + <method name="is_region" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_region_rect" > + <method name="set_region_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> </description> </method> - <method name="get_region_rect" qualifiers="const" > + <method name="get_region_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="set_frame" > + <method name="set_frame"> <argument index="0" name="frame" type="int"> </argument> <description> </description> </method> - <method name="get_frame" qualifiers="const" > + <method name="get_frame" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_vframes" > + <method name="set_vframes"> <argument index="0" name="vframes" type="int"> </argument> <description> </description> </method> - <method name="get_vframes" qualifiers="const" > + <method name="get_vframes" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_hframes" > + <method name="set_hframes"> <argument index="0" name="hframes" type="int"> </argument> <description> </description> </method> - <method name="get_hframes" qualifiers="const" > + <method name="get_hframes" qualifiers="const"> <return type="int"> </return> <description> </description> </method> </methods> + <signals> + <signal name="frame_changed"> + <description> + </description> + </signal> + </signals> <constants> </constants> </class> @@ -27184,103 +31733,103 @@ <description> </description> <methods> - <method name="set_centered" > + <method name="set_centered"> <argument index="0" name="centered" type="bool"> </argument> <description> </description> </method> - <method name="is_centered" qualifiers="const" > + <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_flip_h" > + <method name="set_flip_h"> <argument index="0" name="flip_h" type="bool"> </argument> <description> </description> </method> - <method name="is_flipped_h" qualifiers="const" > + <method name="is_flipped_h" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_flip_v" > + <method name="set_flip_v"> <argument index="0" name="flip_v" type="bool"> </argument> <description> </description> </method> - <method name="is_flipped_v" qualifiers="const" > + <method name="is_flipped_v" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_modulate" > + <method name="set_modulate"> <argument index="0" name="modulate" type="Color"> </argument> <description> </description> </method> - <method name="get_modulate" qualifiers="const" > + <method name="get_modulate" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_opacity" > + <method name="set_opacity"> <argument index="0" name="opacity" type="float"> </argument> <description> </description> </method> - <method name="get_opacity" qualifiers="const" > + <method name="get_opacity" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_pixel_size" > + <method name="set_pixel_size"> <argument index="0" name="pixel_size" type="float"> </argument> <description> </description> </method> - <method name="get_pixel_size" qualifiers="const" > + <method name="get_pixel_size" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_axis" > + <method name="set_axis"> <argument index="0" name="axis" type="int"> </argument> <description> </description> </method> - <method name="get_axis" qualifiers="const" > + <method name="get_axis" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_draw_flag" > + <method name="set_draw_flag"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="enabled" type="bool"> @@ -27288,7 +31837,7 @@ <description> </description> </method> - <method name="get_draw_flag" qualifiers="const" > + <method name="get_draw_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -27296,19 +31845,19 @@ <description> </description> </method> - <method name="set_alpha_cut_mode" > + <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" > + <method name="get_alpha_cut_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_item_rect" qualifiers="const" > + <method name="get_item_rect" qualifiers="const"> <return type="Rect2"> </return> <description> @@ -27338,7 +31887,7 @@ Sprite frame library for [AnimatedSprite]. </description> <methods> - <method name="add_frame" > + <method name="add_frame"> <argument index="0" name="frame" type="Object"> </argument> <argument index="1" name="atpos" type="int" default="-1"> @@ -27347,14 +31896,14 @@ Add a frame (texture). </description> </method> - <method name="get_frame_count" qualifiers="const" > + <method name="get_frame_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of frames. </description> </method> - <method name="get_frame" qualifiers="const" > + <method name="get_frame" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="idx" type="int"> @@ -27363,7 +31912,7 @@ Return a texture (frame). </description> </method> - <method name="set_frame" > + <method name="set_frame"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="txt" type="Object"> @@ -27371,14 +31920,14 @@ <description> </description> </method> - <method name="remove_frame" > + <method name="remove_frame"> <argument index="0" name="idx" type="int"> </argument> <description> Remove a frame </description> </method> - <method name="clear" > + <method name="clear"> <description> Clear the frames. </description> @@ -27395,49 +31944,49 @@ 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_constant_linear_velocity" > + <method name="set_constant_linear_velocity"> <argument index="0" name="vel" type="Vector3"> </argument> <description> </description> </method> - <method name="set_constant_angular_velocity" > + <method name="set_constant_angular_velocity"> <argument index="0" name="vel" type="Vector3"> </argument> <description> </description> </method> - <method name="get_constant_linear_velocity" qualifiers="const" > + <method name="get_constant_linear_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="get_constant_angular_velocity" qualifiers="const" > + <method name="get_constant_angular_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_friction" > + <method name="set_friction"> <argument index="0" name="friction" type="float"> </argument> <description> </description> </method> - <method name="get_friction" qualifiers="const" > + <method name="get_friction" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_bounce" > + <method name="set_bounce"> <argument index="0" name="bounce" type="float"> </argument> <description> </description> </method> - <method name="get_bounce" qualifiers="const" > + <method name="get_bounce" qualifiers="const"> <return type="float"> </return> <description> @@ -27452,58 +32001,58 @@ Static body for 2D Physics. </brief_description> <description> - Static body for 2D Physics. A static body is a simple body that is not intended to move. They don't consume any CPU resources in contrast to a [RigidBody2D] so they are great for scenaro collision.[br] - A static body also can be animated by using simulated motion mode, this is useful for implementing functionalities such as moving platforms, when this mode is active the body can be animated and automatically compute linear and angular velocity to apply in that frame and to influence other bodies. + Static body for 2D Physics. A static body is a simple body that is not intended to move. They don't consume any CPU resources in contrast to a [RigidBody2D] so they are great for scenaro collision. + A static body can also be animated by using simulated motion mode. This is useful for implementing functionalities such as moving platforms. When this mode is active the body can be animated and automatically computes linear and angular velocity to apply in that frame and to influence other bodies. Alternatively, a constant linear or angular velocity can be set for the static body, so even if it doesn't move, it affects other bodies as if it was moving (this is useful for simulating conveyor belts or conveyor wheels). </description> <methods> - <method name="set_constant_linear_velocity" > + <method name="set_constant_linear_velocity"> <argument index="0" name="vel" type="Vector2"> </argument> <description> Set a constant linear velocity for the body. </description> </method> - <method name="set_constant_angular_velocity" > + <method name="set_constant_angular_velocity"> <argument index="0" name="vel" type="float"> </argument> <description> Set a constant angular velocity for the body. </description> </method> - <method name="get_constant_linear_velocity" qualifiers="const" > + <method name="get_constant_linear_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> Return the constant linear velocity for the body. </description> </method> - <method name="get_constant_angular_velocity" qualifiers="const" > + <method name="get_constant_angular_velocity" qualifiers="const"> <return type="float"> </return> <description> Return the constant angular velocity for the body. </description> </method> - <method name="set_friction" > + <method name="set_friction"> <argument index="0" name="friction" type="float"> </argument> <description> </description> </method> - <method name="get_friction" qualifiers="const" > + <method name="get_friction" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_bounce" > + <method name="set_bounce"> <argument index="0" name="bounce" type="float"> </argument> <description> </description> </method> - <method name="get_bounce" qualifiers="const" > + <method name="get_bounce" qualifiers="const"> <return type="float"> </return> <description> @@ -27521,7 +32070,7 @@ StreamPeer is an abstration and base class for stream-based protocols (such as TCP or Unix Sockets). It provides an API for sending and receiving data through streams as raw data or strings. </description> <methods> - <method name="put_data" > + <method name="put_data"> <return type="int"> </return> <argument index="0" name="data" type="RawArray"> @@ -27530,7 +32079,7 @@ Send a chunk of data through the connection, blocking if necesary until the data is done sending. This function returns an [Error] code. </description> </method> - <method name="put_partial_data" > + <method name="put_partial_data"> <return type="Array"> </return> <argument index="0" name="data" type="RawArray"> @@ -27539,7 +32088,7 @@ Send a chunk of data through the connection, if all the data could not be sent at once, only part of it will. This function returns two values, an [Error] code and an integer, describing how much data was actually sent. </description> </method> - <method name="get_data" > + <method name="get_data"> <return type="Array"> </return> <argument index="0" name="bytes" type="int"> @@ -27548,7 +32097,7 @@ Return a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will block until the desired amount is received. This function returns two values, an [Error] code and a data array. </description> </method> - <method name="get_partial_data" > + <method name="get_partial_data"> <return type="Array"> </return> <argument index="0" name="bytes" type="int"> @@ -27567,16 +32116,16 @@ <description> </description> <methods> - <method name="accept" > - <return type="int"> + <method name="accept"> + <return type="Error"> </return> <argument index="0" name="stream" type="StreamPeer"> </argument> <description> </description> </method> - <method name="connect" > - <return type="int"> + <method name="connect"> + <return type="Error"> </return> <argument index="0" name="stream" type="StreamPeer"> </argument> @@ -27587,13 +32136,13 @@ <description> </description> </method> - <method name="get_status" qualifiers="const" > + <method name="get_status" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="disconnect" > + <method name="disconnect"> <description> </description> </method> @@ -27617,41 +32166,41 @@ TCP Stream peer. This object can be used to connect to TCP servers, or also is returned by a tcp server. </description> <methods> - <method name="connect" > + <method name="connect"> <return type="int"> </return> <argument index="0" name="host" type="String"> </argument> - <argument index="1" name="ip" type="int"> + <argument index="1" name="port" type="int"> </argument> <description> </description> </method> - <method name="is_connected" qualifiers="const" > + <method name="is_connected" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_status" qualifiers="const" > + <method name="get_status" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_connected_host" qualifiers="const" > + <method name="get_connected_host" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_connected_port" qualifiers="const" > + <method name="get_connected_port" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="disconnect" > + <method name="disconnect"> <description> </description> </method> @@ -27675,117 +32224,143 @@ Base class for audio stream playback. Audio stream players inherit from it. </description> <methods> - <method name="set_stream" > + <method name="set_stream"> <argument index="0" name="stream" type="Stream"> </argument> <description> </description> </method> - <method name="get_stream" qualifiers="const" > + <method name="get_stream" qualifiers="const"> <return type="Stream"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> + <argument index="0" name="arg0" type="float" default="0"> + </argument> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_paused" > + <method name="set_paused"> <argument index="0" name="paused" type="bool"> </argument> <description> </description> </method> - <method name="is_paused" qualifiers="const" > + <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_volume" > + <method name="set_volume"> <argument index="0" name="volume" type="float"> </argument> <description> </description> </method> - <method name="get_volume" qualifiers="const" > + <method name="get_volume" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_volume_db" > + <method name="set_volume_db"> <argument index="0" name="db" type="float"> </argument> <description> </description> </method> - <method name="get_volume_db" qualifiers="const" > + <method name="get_volume_db" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_stream_name" qualifiers="const" > + <method name="set_buffering_msec"> + <argument index="0" name="msec" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_buffering_msec" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="set_loop_restart_time"> + <argument index="0" name="secs" type="float"> + </argument> + <description> + </description> + </method> + <method name="get_loop_restart_time" qualifiers="const"> + <return type="float"> + </return> + <description> + </description> + </method> + <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_loop_count" qualifiers="const" > + <method name="get_loop_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="seek_pos" > + <method name="seek_pos"> <argument index="0" name="time" type="float"> </argument> <description> </description> </method> - <method name="set_autoplay" > + <method name="set_autoplay"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_autoplay" qualifiers="const" > + <method name="has_autoplay" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="float"> </return> <description> @@ -27797,20 +32372,20 @@ </class> <class name="String" category="Built-In Types"> <brief_description> - Built-In string class. + Built-in string class. </brief_description> <description> - This is the built in string class (and the one used by GDScript). It supports Unicode and provides all necesary means for string handling. Strings are reference counted and use a copy-on-write approach, so passing them around is cheap in resources. + This is the built-in string class (and the one used by GDScript). It supports Unicode and provides all necesary means for string handling. Strings are reference counted and use a copy-on-write approach, so passing them around is cheap in resources. </description> <methods> - <method name="basename" > + <method name="basename"> <return type="String"> </return> <description> If the string is a path to a file, return the path to the file without the extension. </description> </method> - <method name="begins_with" > + <method name="begins_with"> <return type="bool"> </return> <argument index="0" name="text" type="String"> @@ -27819,14 +32394,14 @@ Return true if the strings begins with the given string. </description> </method> - <method name="capitalize" > + <method name="capitalize"> <return type="String"> </return> <description> Return the string in uppercase. </description> </method> - <method name="casecmp_to" > + <method name="casecmp_to"> <return type="int"> </return> <argument index="0" name="to" type="String"> @@ -27835,21 +32410,21 @@ Perform a case-sensitive comparison to antoher string, return -1 if less, 0 if equal and +1 if greater. </description> </method> - <method name="empty" > + <method name="empty"> <return type="bool"> </return> <description> Return true if the string is empty. </description> </method> - <method name="extension" > + <method name="extension"> <return type="String"> </return> <description> If the string is a path to a file, return the extension. </description> </method> - <method name="find" > + <method name="find"> <return type="int"> </return> <argument index="0" name="what" type="String"> @@ -27860,7 +32435,7 @@ Find the first occurence of a substring, return the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. </description> </method> - <method name="find_last" > + <method name="find_last"> <return type="int"> </return> <argument index="0" name="what" type="String"> @@ -27869,7 +32444,7 @@ Find the last occurence of a substring, return the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. </description> </method> - <method name="findn" > + <method name="findn"> <return type="int"> </return> <argument index="0" name="what" type="String"> @@ -27880,34 +32455,35 @@ Find the first occurence of a substring but search as case-insensitive, return the starting position of the substring or -1 if not found. Optionally, the initial search index can be passed. </description> </method> - <method name="get_base_dir" > + <method name="get_base_dir"> <return type="String"> </return> <description> If the string is a path to a file, return the base directory. </description> </method> - <method name="get_file" > + <method name="get_file"> <return type="String"> </return> <description> If the string is a path to a file, return the file and ignore the base directory. </description> </method> - <method name="hash" > + <method name="hash"> <return type="int"> </return> <description> Hash the string and return a 32 bits integer. </description> </method> - <method name="hex_to_int" > + <method name="hex_to_int"> <return type="int"> </return> <description> + Convert a string containing an hexadecimal number into an int. </description> </method> - <method name="insert" > + <method name="insert"> <return type="String"> </return> <argument index="0" name="pos" type="int"> @@ -27918,51 +32494,55 @@ Insert a substring at a given position. </description> </method> - <method name="is_abs_path" > + <method name="is_abs_path"> <return type="bool"> </return> <description> If the string is a path to a file or directory, return true if the path is absolute. </description> </method> - <method name="is_rel_path" > + <method name="is_rel_path"> <return type="bool"> </return> <description> If the string is a path to a file or directory, return true if the path is relative. </description> </method> - <method name="is_valid_float" > + <method name="is_valid_float"> <return type="bool"> </return> <description> + Check whether the string contains a valid float. </description> </method> - <method name="is_valid_html_color" > + <method name="is_valid_html_color"> <return type="bool"> </return> <description> + Check whether the string contains a valid color in HTML notation. </description> </method> - <method name="is_valid_identifier" > + <method name="is_valid_identifier"> <return type="bool"> </return> <description> </description> </method> - <method name="is_valid_integer" > + <method name="is_valid_integer"> <return type="bool"> </return> <description> + Check whether the string contains a valid integer. </description> </method> - <method name="is_valid_ip_address" > + <method name="is_valid_ip_address"> <return type="bool"> </return> <description> + Check whether the string contains a valid IP address. </description> </method> - <method name="left" > + <method name="left"> <return type="String"> </return> <argument index="0" name="pos" type="int"> @@ -27971,14 +32551,14 @@ Return an amount of characters from the left of the string. </description> </method> - <method name="length" > + <method name="length"> <return type="int"> </return> <description> Return the length of the string in characters. </description> </method> - <method name="match" > + <method name="match"> <return type="bool"> </return> <argument index="0" name="expr" type="String"> @@ -27987,7 +32567,7 @@ Do a simple expression matching, using ? and * wildcards. </description> </method> - <method name="matchn" > + <method name="matchn"> <return type="bool"> </return> <argument index="0" name="expr" type="String"> @@ -27996,19 +32576,19 @@ Do a simple, case insensitive, expression matching, using ? and * wildcards. </description> </method> - <method name="md5_buffer" > + <method name="md5_buffer"> <return type="RawArray"> </return> <description> </description> </method> - <method name="md5_text" > + <method name="md5_text"> <return type="String"> </return> <description> </description> </method> - <method name="nocasecmp_to" > + <method name="nocasecmp_to"> <return type="int"> </return> <argument index="0" name="to" type="String"> @@ -28017,15 +32597,16 @@ Perform a case-insensitive comparison to antoher string, return -1 if less, 0 if equal and +1 if greater. </description> </method> - <method name="ord_at" > + <method name="ord_at"> <return type="String"> </return> <argument index="0" name="at" type="int"> </argument> <description> + Return the character code at position "at". </description> </method> - <method name="pad_decimals" > + <method name="pad_decimals"> <return type="String"> </return> <argument index="0" name="digits" type="int"> @@ -28033,7 +32614,7 @@ <description> </description> </method> - <method name="pad_zeros" > + <method name="pad_zeros"> <return type="String"> </return> <argument index="0" name="digits" type="int"> @@ -28041,19 +32622,19 @@ <description> </description> </method> - <method name="percent_decode" > + <method name="percent_decode"> <return type="String"> </return> <description> </description> </method> - <method name="percent_encode" > + <method name="percent_encode"> <return type="String"> </return> <description> </description> </method> - <method name="plus_file" > + <method name="plus_file"> <return type="String"> </return> <argument index="0" name="file" type="String"> @@ -28061,7 +32642,7 @@ <description> </description> </method> - <method name="replace" > + <method name="replace"> <return type="String"> </return> <argument index="0" name="what" type="String"> @@ -28072,7 +32653,7 @@ Replace occurrences of a substring for different ones inside the string. </description> </method> - <method name="replacen" > + <method name="replacen"> <return type="String"> </return> <argument index="0" name="what" type="String"> @@ -28083,7 +32664,7 @@ Replace occurrences of a substring for different ones inside the string, but search case-insensitive. </description> </method> - <method name="rfind" > + <method name="rfind"> <return type="int"> </return> <argument index="0" name="what" type="String"> @@ -28094,7 +32675,7 @@ Perform a search for a substring, but start from the end of the string instead of the begining. </description> </method> - <method name="rfindn" > + <method name="rfindn"> <return type="int"> </return> <argument index="0" name="what" type="String"> @@ -28105,7 +32686,7 @@ Perform a search for a substring, but start from the end of the string instead of the begining. Also search case-insensitive. </description> </method> - <method name="right" > + <method name="right"> <return type="String"> </return> <argument index="0" name="pos" type="int"> @@ -28114,7 +32695,7 @@ Return the right side of the string from a given position. </description> </method> - <method name="split" > + <method name="split"> <return type="StringArray"> </return> <argument index="0" name="divisor" type="String"> @@ -28125,7 +32706,7 @@ Split the string by a divisor string, return an array of the substrings. Example "One,Two,Three" will return ["One","Two","Three"] if split by ",". </description> </method> - <method name="split_floats" > + <method name="split_floats"> <return type="RealArray"> </return> <argument index="0" name="divisor" type="String"> @@ -28136,14 +32717,14 @@ Split the string in floats by using a divisor string, return an array of the substrings. Example "1,2.5,3" will return [1,2.5,3] if split by ",". </description> </method> - <method name="strip_edges" > + <method name="strip_edges"> <return type="String"> </return> <description> Return a copy of the string stripped of any non-printable character at the begining and the end. </description> </method> - <method name="substr" > + <method name="substr"> <return type="String"> </return> <argument index="0" name="from" type="int"> @@ -28151,42 +32732,57 @@ <argument index="1" name="len" type="int"> </argument> <description> + Return part of the string from "from", with length "len". </description> </method> - <method name="to_float" > + <method name="to_ascii"> + <return type="String"> + </return> + <description> + </description> + </method> + <method name="to_float"> <return type="float"> </return> <description> + Convert a string, containing a decimal number, into a float. </description> </method> - <method name="to_int" > + <method name="to_int"> <return type="int"> </return> <description> + Convert a string, containing an integer number, into an int. </description> </method> - <method name="to_lower" > + <method name="to_lower"> <return type="String"> </return> <description> Return the string converted to lowercase. </description> </method> - <method name="to_upper" > + <method name="to_upper"> <return type="String"> </return> <description> Return the string converted to uppercase. </description> </method> - <method name="xml_escape" > + <method name="to_utf8"> + <return type="String"> + </return> + <description> + </description> + </method> + <method name="xml_escape"> <return type="String"> </return> <description> Perform XML escaping on the string. </description> </method> - <method name="xml_unescape" > + <method name="xml_unescape"> <return type="String"> </return> <description> @@ -28199,13 +32795,13 @@ </class> <class name="StringArray" category="Built-In Types"> <brief_description> - String Array . + String Array. </brief_description> <description> - String Array. Array of strings. Can only contain strings. Optimized for memory usage, cant fragment the memory. + String Array. Array of strings. Can only contain strings. Optimized for memory usage, can't fragment the memory. </description> <methods> - <method name="get" > + <method name="get"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -28213,19 +32809,19 @@ <description> </description> </method> - <method name="push_back" > + <method name="push_back"> <argument index="0" name="string" type="String"> </argument> <description> </description> </method> - <method name="resize" > + <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="set" > + <method name="set"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="string" type="String"> @@ -28233,13 +32829,15 @@ <description> </description> </method> - <method name="size" > + <method name="size"> <return type="int"> </return> <description> </description> </method> - <method name="StringArray" > + <method name="StringArray"> + <return type="StringArray"> + </return> <argument index="0" name="from" type="Array"> </argument> <description> @@ -28251,13 +32849,13 @@ </class> <class name="StyleBox" inherits="Resource" category="Core"> <brief_description> - Base class for dawing stylized boxes for the UI. + Base class for drawing stylized boxes for the UI. </brief_description> <description> - StyleBox is [Resource] that provides an abstract base class for dawing stylized boxes for the UI. StyleBoxes are used for dawing the styles of buttons, line edit backgrounds, tree backgrounds, etc. and also for testing a transparency mask for pointer signals. If mask test fails on a StyleBox assigned as mask to a control, clicks and motion signals will go through it to the one below. + StyleBox is [Resource] that provides an abstract base class for drawing stylized boxes for the UI. StyleBoxes are used for drawing the styles of buttons, line edit backgrounds, tree backgrounds, etc. and also for testing a transparency mask for pointer signals. If mask test fails on a StyleBox assigned as mask to a control, clicks and motion signals will go through it to the one below. </description> <methods> - <method name="test_mask" qualifiers="const" > + <method name="test_mask" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="point" type="Vector2"> @@ -28268,7 +32866,7 @@ Test a position in a rectangle, return wether it pases the mask test. </description> </method> - <method name="set_default_margin" > + <method name="set_default_margin"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="offset" type="float"> @@ -28277,7 +32875,7 @@ 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" > + <method name="get_default_margin" qualifiers="const"> <return type="float"> </return> <argument index="0" name="margin" type="int"> @@ -28286,7 +32884,7 @@ Return the default offset of the margin "margin" (see MARGIN_* enum) of 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_margin" qualifiers="const" > + <method name="get_margin" qualifiers="const"> <return type="float"> </return> <argument index="0" name="margin" type="int"> @@ -28295,27 +32893,27 @@ Return the offset of margin "margin" (see MARGIN_* enum). </description> </method> - <method name="get_minimum_size" qualifiers="const" > + <method name="get_minimum_size" qualifiers="const"> <return type="Vector2"> </return> <description> Return the minimum size that this stylebox can be shrunk to. </description> </method> - <method name="get_center_size" qualifiers="const" > + <method name="get_center_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> Return the "offset" of a stylebox, this is a helper function, like writing Point2( style.get_margin(MARGIN_LEFT), style.get_margin(MARGIN_TOP) ) </description> </method> - <method name="draw" qualifiers="const" > + <method name="draw" qualifiers="const"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -28347,73 +32945,73 @@ Stylebox of a single color. Displays the stylebox of a single color, alternatively a border with light/dark colors can be assigned. </description> <methods> - <method name="set_bg_color" > + <method name="set_bg_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_bg_color" qualifiers="const" > + <method name="get_bg_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_light_color" > + <method name="set_light_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_light_color" qualifiers="const" > + <method name="get_light_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_dark_color" > + <method name="set_dark_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_dark_color" qualifiers="const" > + <method name="get_dark_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_border_size" > + <method name="set_border_size"> <argument index="0" name="size" type="int"> </argument> <description> </description> </method> - <method name="get_border_size" qualifiers="const" > + <method name="get_border_size" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_border_blend" > + <method name="set_border_blend"> <argument index="0" name="blend" type="bool"> </argument> <description> </description> </method> - <method name="get_border_blend" qualifiers="const" > + <method name="get_border_blend" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_draw_center" > + <method name="set_draw_center"> <argument index="0" name="size" type="bool"> </argument> <description> </description> </method> - <method name="get_draw_center" qualifiers="const" > + <method name="get_draw_center" qualifiers="const"> <return type="bool"> </return> <description> @@ -28431,35 +33029,35 @@ This StyleBox is similar to [StyleBoxTexture], but only meant to be used for mask testing. It takes an image and applies stretch rules to determine if the poit clicked is masked or not. </description> <methods> - <method name="set_image" > + <method name="set_image"> <argument index="0" name="image" type="Image"> </argument> <description> Set the image used for mask testing. Pixels (converted to grey) that have a value, less than 0.5 will fail the test. </description> </method> - <method name="get_image" qualifiers="const" > + <method name="get_image" qualifiers="const"> <return type="Image"> </return> <description> Return the image used for mask testing. (see [method set_imag]). </description> </method> - <method name="set_expand" > + <method name="set_expand"> <argument index="0" name="expand" type="bool"> </argument> <description> Set the expand property (default). When expanding, the image will use the same rules as [StyleBoxTexture] for expand. If not expanding, the image will always be tested at its original size. </description> </method> - <method name="get_expand" qualifiers="const" > + <method name="get_expand" qualifiers="const"> <return type="bool"> </return> <description> Return wether the expand property is set(default). When expanding, the image will use the same rules as [StyleBoxTexture] for expand. If not expanding, the image will always be tested at its original size. </description> </method> - <method name="set_expand_margin_size" > + <method name="set_expand_margin_size"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="size" type="float"> @@ -28468,7 +33066,7 @@ 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" > + <method name="get_expand_margin_size" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="int"> @@ -28489,19 +33087,19 @@ Texture Based 3x3 scale style. This stylebox performs a 3x3 scaling of a texture, where only the center cell is fully stretched. This allows for the easy creation of bordered styles. </description> <methods> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_margin_size" > + <method name="set_margin_size"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="size" type="float"> @@ -28509,7 +33107,7 @@ <description> </description> </method> - <method name="get_margin_size" qualifiers="const" > + <method name="get_margin_size" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="int"> @@ -28517,7 +33115,7 @@ <description> </description> </method> - <method name="set_expand_margin_size" > + <method name="set_expand_margin_size"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="size" type="float"> @@ -28525,7 +33123,7 @@ <description> </description> </method> - <method name="get_expand_margin_size" qualifiers="const" > + <method name="get_expand_margin_size" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="int"> @@ -28533,13 +33131,13 @@ <description> </description> </method> - <method name="set_draw_center" > + <method name="set_draw_center"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_draw_center" qualifiers="const" > + <method name="get_draw_center" qualifiers="const"> <return type="bool"> </return> <description> @@ -28557,85 +33155,85 @@ Helper tool to create geometry. </description> <methods> - <method name="begin" > + <method name="begin"> <argument index="0" name="primitive" type="int"> </argument> <description> </description> </method> - <method name="add_vertex" > + <method name="add_vertex"> <argument index="0" name="vertex" type="Vector3"> </argument> <description> </description> </method> - <method name="add_color" > + <method name="add_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="add_normal" > + <method name="add_normal"> <argument index="0" name="normal" type="Vector3"> </argument> <description> </description> </method> - <method name="add_tangent" > + <method name="add_tangent"> <argument index="0" name="tangent" type="Plane"> </argument> <description> </description> </method> - <method name="add_uv" > + <method name="add_uv"> <argument index="0" name="uv" type="Vector2"> </argument> <description> </description> </method> - <method name="add_uv2" > + <method name="add_uv2"> <argument index="0" name="uv2" type="Vector2"> </argument> <description> </description> </method> - <method name="add_bones" > + <method name="add_bones"> <argument index="0" name="bones" type="IntArray"> </argument> <description> </description> </method> - <method name="add_weights" > + <method name="add_weights"> <argument index="0" name="weights" type="RealArray"> </argument> <description> </description> </method> - <method name="add_smooth_group" > + <method name="add_smooth_group"> <argument index="0" name="smooth" type="bool"> </argument> <description> </description> </method> - <method name="set_material" > + <method name="set_material"> <argument index="0" name="material" type="Material"> </argument> <description> </description> </method> - <method name="index" > + <method name="index"> <description> </description> </method> - <method name="deindex" > + <method name="deindex"> <description> </description> </method> - <method name="generate_normals" > + <method name="generate_normals"> <description> </description> </method> - <method name="commit" > + <method name="commit"> <return type="Mesh"> </return> <argument index="0" name="existing" type="Mesh" default="Object()"> @@ -28643,7 +33241,7 @@ <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> @@ -28656,10 +33254,10 @@ TCP Server. </brief_description> <description> - TCP Server class. Listens to connections on a port and returns a StreamPeerTCP when got a connection. + TCP Server class. Listens to connections on a port and returns a [StreamPeerTCP] when got a connection. </description> <methods> - <method name="listen" > + <method name="listen"> <return type="int"> </return> <argument index="0" name="port" type="int"> @@ -28670,21 +33268,21 @@ Listen on a port, alternatively give a white-list of accepted hosts. </description> </method> - <method name="is_connection_available" qualifiers="const" > + <method name="is_connection_available" qualifiers="const"> <return type="bool"> </return> <description> Return true if a connection is available for taking. </description> </method> - <method name="take_connection" > + <method name="take_connection"> <return type="Object"> </return> <description> If a connection is available, return a StreamPeerTCP with the connection/ </description> </method> - <method name="stop" > + <method name="stop"> <description> Stop listening. </description> @@ -28698,60 +33296,74 @@ Tabbed Container. </brief_description> <description> - Tabbed Container. Contains several children controls, but shows only one at the same time. Clicking ont he top tabs allows to change the current visible one.[br] + Tabbed Container. Contains several children controls, but shows only one at the same time. Clicking on the top tabs allows to change the currently visible one. Children controls of this one automatically. </description> <methods> - <method name="get_tab_count" qualifiers="const" > + <method name="get_tab_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of tabs. </description> </method> - <method name="set_current_tab" > + <method name="set_current_tab"> <argument index="0" name="tab_idx" type="int"> </argument> <description> Bring a tab (and the Control it represents) to the front, and hide the rest. </description> </method> - <method name="get_current_tab" qualifiers="const" > + <method name="get_current_tab" qualifiers="const"> <return type="int"> </return> <description> Return the current tab that is being showed. </description> </method> - <method name="set_tab_align" > + <method name="get_current_tab_control" qualifiers="const"> + <return type="Control"> + </return> + <description> + </description> + </method> + <method name="get_tab_control" qualifiers="const"> + <return type="Control"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> + <method name="set_tab_align"> <argument index="0" name="align" type="int"> </argument> <description> Set tab alignment, from the ALIGN_* enum. Moves tabs to the left, right or center. </description> </method> - <method name="get_tab_align" qualifiers="const" > + <method name="get_tab_align" qualifiers="const"> <return type="int"> </return> <description> - Return tab alignment, from the ALIGN_* enum + Return tab alignment, from the ALIGN_* enum. </description> </method> - <method name="set_tabs_visible" > + <method name="set_tabs_visible"> <argument index="0" name="visible" type="bool"> </argument> <description> Set whether the tabs should be visible or hidden. </description> </method> - <method name="are_tabs_visible" qualifiers="const" > + <method name="are_tabs_visible" qualifiers="const"> <return type="bool"> </return> <description> Return whether the tabs should be visible or hidden. </description> </method> - <method name="set_tab_title" > + <method name="set_tab_title"> <argument index="0" name="tab_idx" type="int"> </argument> <argument index="1" name="title" type="String"> @@ -28760,7 +33372,7 @@ Set a title for the tab. Tab titles are by default the children node name, but this can be overriden. </description> </method> - <method name="get_tab_title" qualifiers="const" > + <method name="get_tab_title" qualifiers="const"> <return type="String"> </return> <argument index="0" name="tab_idx" type="int"> @@ -28769,7 +33381,7 @@ Return the title for the tab. Tab titles are by default the children node name, but this can be overriden. </description> </method> - <method name="set_tab_icon" > + <method name="set_tab_icon"> <argument index="0" name="tab_idx" type="int"> </argument> <argument index="1" name="icon" type="Texture"> @@ -28778,7 +33390,7 @@ Set an icon for a tab. </description> </method> - <method name="get_tab_icon" qualifiers="const" > + <method name="get_tab_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="tab_idx" type="int"> @@ -28786,8 +33398,24 @@ <description> </description> </method> + <method name="set_popup"> + <argument index="0" name="popup" type="Popup"> + </argument> + <description> + </description> + </method> + <method name="get_popup" qualifiers="const"> + <return type="Popup"> + </return> + <description> + </description> + </method> </methods> <signals> + <signal name="pre_popup_pressed"> + <description> + </description> + </signal> <signal name="tab_changed"> <argument index="0" name="tab" type="int"> </argument> @@ -28813,8 +33441,12 @@ </theme_item> <theme_item name="font_color_fg" type="Color"> </theme_item> + <theme_item name="menu_hilite" type="Texture"> + </theme_item> <theme_item name="increment_hilite" type="Texture"> </theme_item> + <theme_item name="menu" type="Texture"> + </theme_item> <theme_item name="decrement_hilite" type="Texture"> </theme_item> <theme_item name="increment" type="Texture"> @@ -28839,25 +33471,25 @@ Simple tabs control, similar to [TabContainer] but is only in charge of drawing tabs, not interact with children. </description> <methods> - <method name="get_tab_count" qualifiers="const" > + <method name="get_tab_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_current_tab" > + <method name="set_current_tab"> <argument index="0" name="tab_idx" type="int"> </argument> <description> </description> </method> - <method name="get_current_tab" qualifiers="const" > + <method name="get_current_tab" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_tab_title" > + <method name="set_tab_title"> <argument index="0" name="tab_idx" type="int"> </argument> <argument index="1" name="title" type="String"> @@ -28865,7 +33497,7 @@ <description> </description> </method> - <method name="get_tab_title" qualifiers="const" > + <method name="get_tab_title" qualifiers="const"> <return type="String"> </return> <argument index="0" name="tab_idx" type="int"> @@ -28873,7 +33505,7 @@ <description> </description> </method> - <method name="set_tab_icon" > + <method name="set_tab_icon"> <argument index="0" name="tab_idx" type="int"> </argument> <argument index="1" name="icon" type="Texture"> @@ -28881,7 +33513,7 @@ <description> </description> </method> - <method name="get_tab_icon" qualifiers="const" > + <method name="get_tab_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="tab_idx" type="int"> @@ -28889,13 +33521,13 @@ <description> </description> </method> - <method name="remove_tab" > + <method name="remove_tab"> <argument index="0" name="tab_idx" type="int"> </argument> <description> </description> </method> - <method name="add_tab" > + <method name="add_tab"> <argument index="0" name="title" type="String"> </argument> <argument index="1" name="icon" type="Texture"> @@ -28903,8 +33535,26 @@ <description> </description> </method> + <method name="set_tab_align"> + <argument index="0" name="align" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_tab_align" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> </methods> <signals> + <signal name="right_button_pressed"> + <argument index="0" name="tab" type="int"> + </argument> + <description> + </description> + </signal> <signal name="tab_changed"> <argument index="0" name="tab" type="int"> </argument> @@ -28913,6 +33563,12 @@ </signal> </signals> <constants> + <constant name="ALIGN_LEFT" value="0"> + </constant> + <constant name="ALIGN_CENTER" value="1"> + </constant> + <constant name="ALIGN_RIGHT" value="2"> + </constant> </constants> <theme_items> <theme_item name="label_valign_fg" type="int"> @@ -28931,10 +33587,14 @@ </theme_item> <theme_item name="tab_fg" type="StyleBox"> </theme_item> + <theme_item name="button" type="StyleBox"> + </theme_item> <theme_item name="tab_bg" type="StyleBox"> </theme_item> <theme_item name="panel" type="StyleBox"> </theme_item> + <theme_item name="button_pressed" type="StyleBox"> + </theme_item> </theme_items> </class> <class name="TestCube" inherits="GeometryInstance" category="Core"> @@ -28955,35 +33615,35 @@ TextEdit is meant for editing large, multiline text. It also has facilities for editing code, such as syntax highlighting support and multiple levels of undo/redo. </description> <methods> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> Set the entire text. </description> </method> - <method name="insert_text_at_cursor" > + <method name="insert_text_at_cursor"> <argument index="0" name="text" type="String"> </argument> <description> Insert a given text at the cursor position. </description> </method> - <method name="get_line_count" qualifiers="const" > + <method name="get_line_count" qualifiers="const"> <return type="int"> </return> <description> Return the amount of total lines in the text. </description> </method> - <method name="get_text" > + <method name="get_text"> <return type="String"> </return> <description> Return the whole text. </description> </method> - <method name="get_line" qualifiers="const" > + <method name="get_line" qualifiers="const"> <return type="String"> </return> <argument index="0" name="arg0" type="int"> @@ -28992,76 +33652,76 @@ Return the text of a specific line. </description> </method> - <method name="cursor_set_column" > + <method name="cursor_set_column"> <argument index="0" name="column" type="int"> </argument> <description> Set the current column of the text editor. </description> </method> - <method name="cursor_set_line" > + <method name="cursor_set_line"> <argument index="0" name="line" type="int"> </argument> <description> Set the current line of the text editor. </description> </method> - <method name="cursor_get_column" qualifiers="const" > + <method name="cursor_get_column" qualifiers="const"> <return type="int"> </return> <description> Return the column the editing cursor is at. </description> </method> - <method name="cursor_get_line" qualifiers="const" > + <method name="cursor_get_line" qualifiers="const"> <return type="int"> </return> <description> Return the line the editing cursor is at. </description> </method> - <method name="set_readonly" > + <method name="set_readonly"> <argument index="0" name="enable" type="bool"> </argument> <description> Set the text editor as read-only. Text can be displayed but not edited. </description> </method> - <method name="set_wrap" > + <method name="set_wrap"> <argument index="0" name="enable" type="bool"> </argument> <description> Enable text wrapping when it goes beyond he edge of what is visible. </description> </method> - <method name="set_max_chars" > + <method name="set_max_chars"> <argument index="0" name="amount" type="int"> </argument> <description> Set the maximum amount of characters editable. </description> </method> - <method name="cut" > + <method name="cut"> <description> Cut the current selection. </description> </method> - <method name="copy" > + <method name="copy"> <description> Copy the current selection. </description> </method> - <method name="paste" > + <method name="paste"> <description> Paste the current selection. </description> </method> - <method name="select_all" > + <method name="select_all"> <description> Select all the text. </description> </method> - <method name="select" > + <method name="select"> <argument index="0" name="from_line" type="int"> </argument> <argument index="1" name="from_column" type="int"> @@ -29074,55 +33734,55 @@ Perform selection, from line/column to line/column. </description> </method> - <method name="is_selection_active" qualifiers="const" > + <method name="is_selection_active" qualifiers="const"> <return type="bool"> </return> <description> Return true if the selection is active. </description> </method> - <method name="get_selection_from_line" qualifiers="const" > + <method name="get_selection_from_line" qualifiers="const"> <return type="int"> </return> <description> Return the selection begin line. </description> </method> - <method name="get_selection_from_column" qualifiers="const" > + <method name="get_selection_from_column" qualifiers="const"> <return type="int"> </return> <description> Return the selection begin column. </description> </method> - <method name="get_selection_to_line" qualifiers="const" > + <method name="get_selection_to_line" qualifiers="const"> <return type="int"> </return> <description> Return the selection end line. </description> </method> - <method name="get_selection_to_column" qualifiers="const" > + <method name="get_selection_to_column" qualifiers="const"> <return type="int"> </return> <description> Return the selection end column. </description> </method> - <method name="get_selection_text" qualifiers="const" > + <method name="get_selection_text" qualifiers="const"> <return type="String"> </return> <description> Return the text inside the selection. </description> </method> - <method name="get_word_under_cursor" qualifiers="const" > + <method name="get_word_under_cursor" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="search" qualifiers="const" > + <method name="search" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="flags" type="String"> @@ -29137,45 +33797,45 @@ Perform a search inside the text. Search flags can be specified in the SEARCH_* enum. </description> </method> - <method name="undo" > + <method name="undo"> <description> Perform undo operation. </description> </method> - <method name="redo" > + <method name="redo"> <description> Perform redo operation. </description> </method> - <method name="clear_undo_history" > + <method name="clear_undo_history"> <description> Clear the undo history. </description> </method> - <method name="set_syntax_coloring" > + <method name="set_syntax_coloring"> <argument index="0" name="enable" type="bool"> </argument> <description> Set to enable the syntax coloring. </description> </method> - <method name="is_syntax_coloring_enabled" qualifiers="const" > + <method name="is_syntax_coloring_enabled" qualifiers="const"> <return type="bool"> </return> <description> Return true if the syntax coloring is enabled. </description> </method> - <method name="add_keyword_color" > + <method name="add_keyword_color"> <argument index="0" name="keyword" type="String"> </argument> <argument index="1" name="color" type="Color"> </argument> <description> - Add a keyword and it's color. + Add a keyword and its color. </description> </method> - <method name="add_color_region" > + <method name="add_color_region"> <argument index="0" name="begin_key" type="String"> </argument> <argument index="1" name="end_key" type="String"> @@ -29185,24 +33845,24 @@ <argument index="3" name="line_only" type="bool" default="false"> </argument> <description> - Add color region (given the delimiters) and it's colors. + Add color region (given the delimiters) and its colors. </description> </method> - <method name="set_symbol_color" > + <method name="set_symbol_color"> <argument index="0" name="color" type="Color"> </argument> <description> Set the color for symbols. </description> </method> - <method name="set_custom_bg_color" > + <method name="set_custom_bg_color"> <argument index="0" name="color" type="Color"> </argument> <description> Set a custom background color. A background color with alpha==0 disables this. </description> </method> - <method name="clear_colors" > + <method name="clear_colors"> <description> Clear all the syntax coloring information. </description> @@ -29220,10 +33880,6 @@ </description> </signal> <signal name="request_completion"> - <argument index="0" name="keyword" type="String"> - </argument> - <argument index="1" name="line" type="int"> - </argument> <description> </description> </signal> @@ -29264,6 +33920,8 @@ </theme_item> <theme_item name="completion_scroll_color" type="Color"> </theme_item> + <theme_item name="brace_mismatch_color" type="Color"> + </theme_item> <theme_item name="current_line_color" type="Color"> </theme_item> <theme_item name="mark_color" type="Color"> @@ -29290,66 +33948,67 @@ A texture works by registering an image in the video hardware, which then can be used in 3D models or 2D [Sprite] or GUI [Control]s. </description> <methods> - <method name="get_width" qualifiers="const" > + <method name="get_width" qualifiers="const"> <return type="int"> </return> <description> Return the texture width. </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="int"> </return> <description> Return the texture height. </description> </method> - <method name="get_size" qualifiers="const" > + <method name="get_size" qualifiers="const"> <return type="Vector2"> </return> <description> Return the texture size. </description> </method> - <method name="get_rid" qualifiers="const" > + <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> Return the texture RID as used in the [VisualServer]. </description> </method> - <method name="has_alpha" qualifiers="const" > + <method name="has_alpha" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_flags" > + <method name="set_flags"> <argument index="0" name="flags" type="int"> </argument> <description> Change the texture flags. </description> </method> - <method name="get_flags" qualifiers="const" > + <method name="get_flags" qualifiers="const"> <return type="int"> </return> <description> Return the current texture flags. </description> </method> - <method name="draw" qualifiers="const" > + <method name="draw" qualifiers="const"> <argument index="0" name="canvas_item" type="RID"> </argument> <argument index="1" name="pos" type="Vector2"> </argument> <argument index="2" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="3" name="arg3" type="bool" default="false"> + </argument> <description> - Draw the texture into a a [VisualServer] canvas item. </description> </method> - <method name="draw_rect" qualifiers="const" > + <method name="draw_rect" qualifiers="const"> <argument index="0" name="canvas_item" type="RID"> </argument> <argument index="1" name="rect" type="Rect2"> @@ -29358,10 +34017,12 @@ </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="arg4" type="bool" default="false"> + </argument> <description> </description> </method> - <method name="draw_rect_region" qualifiers="const" > + <method name="draw_rect_region" qualifiers="const"> <argument index="0" name="canvas_item" type="RID"> </argument> <argument index="1" name="rect" type="Rect2"> @@ -29370,30 +34031,34 @@ </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="arg4" type="bool" default="false"> + </argument> <description> </description> </method> </methods> <constants> <constant name="FLAG_MIPMAPS" value="1"> - Generate mipmaps. + Generate mipmaps, to enable smooth zooming out of the texture. </constant> <constant name="FLAG_REPEAT" value="2"> Repeat (instead of clamp to edge). </constant> <constant name="FLAG_FILTER" value="4"> - Turn on magnifying filter. + Turn on magnifying filter, to enable smooth zooming in of the texture. </constant> <constant name="FLAG_VIDEO_SURFACE" value="4096"> - Texture is a video surface + Texture is a video surface. </constant> <constant name="FLAGS_DEFAULT" value="7"> - Default flags + Default flags. Generate mipmaps, repeat, and filter are enabled. </constant> <constant name="FLAG_ANISOTROPIC_FILTER" value="8"> </constant> <constant name="FLAG_CONVERT_TO_LINEAR" value="16"> </constant> + <constant name="FLAG_MIRRORED_REPEAT" value="32"> + </constant> </constants> </class> <class name="TextureButton" inherits="BaseButton" category="Core"> @@ -29401,82 +34066,106 @@ Button that can be themed with textures. </brief_description> <description> - Button that can be themed with textures. This is like a regular [Button] but can be themed by assigning textures to it. This button is intended to be easy to theme, however a regular button can expand (that uses styleboxes) and still be better if the interface is expect to have internationalization of texts.[br] + Button that can be themed with textures. This is like a regular [Button] but can be themed by assigning textures to it. This button is intended to be easy to theme, however a regular button can expand (that uses styleboxes) and still be better if the interface is expect to have internationalization of texts. Only the normal texture is required, the others are optional. </description> <methods> - <method name="set_normal_texture" > + <method name="set_normal_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_pressed_texture" > + <method name="set_pressed_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_hover_texture" > + <method name="set_hover_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_disabled_texture" > + <method name="set_disabled_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_focused_texture" > + <method name="set_focused_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_click_mask" > + <method name="set_click_mask"> <argument index="0" name="mask" type="BitMap"> </argument> <description> </description> </method> - <method name="get_normal_texture" qualifiers="const" > + <method name="set_scale"> + <argument index="0" name="scale" type="Vector2"> + </argument> + <description> + </description> + </method> + <method name="set_modulate"> + <argument index="0" name="color" type="Color"> + </argument> + <description> + </description> + </method> + <method name="get_normal_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_pressed_texture" qualifiers="const" > + <method name="get_pressed_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_hover_texture" qualifiers="const" > + <method name="get_hover_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_disabled_texture" qualifiers="const" > + <method name="get_disabled_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_focused_texture" qualifiers="const" > + <method name="get_focused_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_click_mask" qualifiers="const" > + <method name="get_click_mask" qualifiers="const"> <return type="BitMap"> </return> <description> </description> </method> + <method name="get_scale" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="get_modulate" qualifiers="const"> + <return type="Color"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -29489,37 +34178,37 @@ Control frame that simply draws an assigned texture. It can stretch or not. It's a simple way to just show an image in a UI. </description> <methods> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Object"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_modulate" > + <method name="set_modulate"> <argument index="0" name="modulate" type="Color"> </argument> <description> </description> </method> - <method name="get_modulate" qualifiers="const" > + <method name="get_modulate" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_expand" > + <method name="set_expand"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_expand" qualifiers="const" > + <method name="has_expand" qualifiers="const"> <return type="bool"> </return> <description> @@ -29537,37 +34226,37 @@ [ProgressBar] implementation that is easier to theme (by just passing a few textures). </description> <methods> - <method name="set_under_texture" > + <method name="set_under_texture"> <argument index="0" name="tex" type="Object"> </argument> <description> </description> </method> - <method name="get_under_texture" qualifiers="const" > + <method name="get_under_texture" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_progress_texture" > + <method name="set_progress_texture"> <argument index="0" name="tex" type="Object"> </argument> <description> </description> </method> - <method name="get_progress_texture" qualifiers="const" > + <method name="get_progress_texture" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_over_texture" > + <method name="set_over_texture"> <argument index="0" name="tex" type="Object"> </argument> <description> </description> </method> - <method name="get_over_texture" qualifiers="const" > + <method name="get_over_texture" qualifiers="const"> <return type="Object"> </return> <description> @@ -29582,11 +34271,11 @@ Theme for controls. </brief_description> <description> - Theme for skinning controls. Controls can be skinned individually, but for complex applications it's more efficient to just create a global theme that defines everything. This theme can be applied to any [Control], and it and the children will automatically use it.[br] + Theme for skinning controls. Controls can be skinned individually, but for complex applications it's more efficient to just create a global theme that defines everything. This theme can be applied to any [Control], and it and its children will automatically use it. Theme resources can be alternatively loaded by writing them in a .theme file, see wiki for more info. </description> <methods> - <method name="set_icon" > + <method name="set_icon"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29596,7 +34285,7 @@ <description> </description> </method> - <method name="get_icon" qualifiers="const" > + <method name="get_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="name" type="String"> @@ -29606,7 +34295,7 @@ <description> </description> </method> - <method name="has_icon" qualifiers="const" > + <method name="has_icon" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -29616,7 +34305,7 @@ <description> </description> </method> - <method name="clear_icon" > + <method name="clear_icon"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29624,7 +34313,7 @@ <description> </description> </method> - <method name="get_icon_list" qualifiers="const" > + <method name="get_icon_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -29632,7 +34321,7 @@ <description> </description> </method> - <method name="set_stylebox" > + <method name="set_stylebox"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29642,7 +34331,7 @@ <description> </description> </method> - <method name="get_stylebox" qualifiers="const" > + <method name="get_stylebox" qualifiers="const"> <return type="StyleBox"> </return> <argument index="0" name="name" type="String"> @@ -29652,7 +34341,7 @@ <description> </description> </method> - <method name="has_stylebox" qualifiers="const" > + <method name="has_stylebox" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -29662,7 +34351,7 @@ <description> </description> </method> - <method name="clear_stylebox" > + <method name="clear_stylebox"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29670,7 +34359,7 @@ <description> </description> </method> - <method name="get_stylebox_list" qualifiers="const" > + <method name="get_stylebox_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -29678,7 +34367,7 @@ <description> </description> </method> - <method name="set_font" > + <method name="set_font"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29688,7 +34377,7 @@ <description> </description> </method> - <method name="get_font" qualifiers="const" > + <method name="get_font" qualifiers="const"> <return type="Font"> </return> <argument index="0" name="name" type="String"> @@ -29698,7 +34387,7 @@ <description> </description> </method> - <method name="has_font" qualifiers="const" > + <method name="has_font" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -29708,7 +34397,7 @@ <description> </description> </method> - <method name="clear_font" > + <method name="clear_font"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29716,7 +34405,7 @@ <description> </description> </method> - <method name="get_font_list" qualifiers="const" > + <method name="get_font_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -29724,7 +34413,7 @@ <description> </description> </method> - <method name="set_color" > + <method name="set_color"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29734,7 +34423,7 @@ <description> </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="name" type="String"> @@ -29744,7 +34433,7 @@ <description> </description> </method> - <method name="has_color" qualifiers="const" > + <method name="has_color" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -29754,7 +34443,7 @@ <description> </description> </method> - <method name="clear_color" > + <method name="clear_color"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29762,7 +34451,7 @@ <description> </description> </method> - <method name="get_color_list" qualifiers="const" > + <method name="get_color_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -29770,7 +34459,7 @@ <description> </description> </method> - <method name="set_constant" > + <method name="set_constant"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29780,7 +34469,7 @@ <description> </description> </method> - <method name="get_constant" qualifiers="const" > + <method name="get_constant" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -29790,7 +34479,7 @@ <description> </description> </method> - <method name="has_constant" qualifiers="const" > + <method name="has_constant" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -29800,7 +34489,7 @@ <description> </description> </method> - <method name="clear_constant" > + <method name="clear_constant"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -29808,7 +34497,7 @@ <description> </description> </method> - <method name="get_constant_list" qualifiers="const" > + <method name="get_constant_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -29816,19 +34505,19 @@ <description> </description> </method> - <method name="set_default_font" > + <method name="set_default_font"> <argument index="0" name="font" type="Object"> </argument> <description> </description> </method> - <method name="get_default_font" qualifiers="const" > + <method name="get_default_font" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="get_type_list" qualifiers="const" > + <method name="get_type_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -29836,7 +34525,7 @@ <description> </description> </method> - <method name="copy_default_theme" > + <method name="copy_default_theme"> <description> </description> </method> @@ -29850,8 +34539,8 @@ <description> </description> <methods> - <method name="start" > - <return type="int"> + <method name="start"> + <return type="Error"> </return> <argument index="0" name="instance" type="Object"> </argument> @@ -29864,19 +34553,19 @@ <description> </description> </method> - <method name="get_id" qualifiers="const" > + <method name="get_id" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="is_active" qualifiers="const" > + <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="wait_to_finish" > + <method name="wait_to_finish"> <description> </description> </method> @@ -29892,156 +34581,231 @@ </class> <class name="TileMap" inherits="Node2D" category="Core"> <brief_description> - Node for 2D Tile-Based games. + Node for 2D tile-based games. </brief_description> <description> - Node for 2D Tile-Based games. Tilemaps use a TileSet which contain a list of tiles (textures, their rect and a collision) and are used to create complex grid-based maps. - To optimize drawing and culling (sort of like [GridMap]), you can specify a quadrant size, so chunks of the map will be batched together the time of drawing. + Node for 2D tile-based games. Tilemaps use a [TileSet] which contain a list of tiles (textures, their rect and a collision) and are used to create complex grid-based maps. + To optimize drawing and culling (sort of like [GridMap]), you can specify a quadrant size, so chunks of the map will be batched together at drawing time. </description> <methods> - <method name="set_tileset" > + <method name="set_tileset"> <argument index="0" name="tileset" type="TileSet"> </argument> <description> Set the current tileset. </description> </method> - <method name="get_tileset" qualifiers="const" > + <method name="get_tileset" qualifiers="const"> <return type="TileSet"> </return> <description> Return the current tileset. </description> </method> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> + Set the orientation mode as square, isometric or custom (use MODE_* constants as argument). </description> </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> + Return the orientation mode. </description> </method> - <method name="set_half_offset" > + <method name="set_half_offset"> <argument index="0" name="half_offset" type="int"> </argument> <description> + Set an half offset on the X coordinate, Y coordinate, or none (use HALF_OFFSET_* constants as argument). + Half offset sets every other tile off by a half tile size in the specified direction. </description> </method> - <method name="get_half_offset" qualifiers="const" > + <method name="get_half_offset" qualifiers="const"> <return type="int"> </return> <description> + Return the current half offset configuration. </description> </method> - <method name="set_custom_transform" > + <method name="set_custom_transform"> <argument index="0" name="custom_transform" type="Matrix32"> </argument> <description> + Set custom transform matrix, to use in combination with the custom orientation mode. </description> </method> - <method name="get_custom_transform" qualifiers="const" > + <method name="get_custom_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> + Return the custom transform matrix. </description> </method> - <method name="set_cell_size" > + <method name="set_cell_size"> <argument index="0" name="size" type="Vector2"> </argument> <description> Set the cell size. </description> </method> - <method name="get_cell_size" qualifiers="const" > + <method name="get_cell_size" qualifiers="const"> <return type="Vector2"> </return> <description> Return the cell size. </description> </method> - <method name="set_quadrant_size" > + <method name="set_quadrant_size"> <argument index="0" name="size" type="int"> </argument> <description> Set the quadrant size, this optimizes drawing by batching chunks of map at draw/cull time. + Allowed values are integers ranging from 1 to 128. + </description> + </method> + <method name="get_quadrant_size" qualifiers="const"> + <return type="int"> + </return> + <description> + Return the quadrant size. </description> </method> - <method name="get_quadrant_size" qualifiers="const" > + <method name="set_tile_origin"> + <argument index="0" name="origin" type="int"> + </argument> + <description> + Set the tile origin to the tile center or its top-left corner (use TILE_ORIGIN_* constants as argument). + </description> + </method> + <method name="get_tile_origin" qualifiers="const"> <return type="int"> </return> <description> - Return the quadrant size, this optimizes drawing by batching chunks of map at draw/cull time. + Return the tile origin configuration. </description> </method> - <method name="set_center_x" > + <method name="set_center_x"> <argument index="0" name="enable" type="bool"> </argument> <description> Set tiles to be centered in x coordinate. (by default this is false and they are drawn from upper left cell corner). </description> </method> - <method name="get_center_x" qualifiers="const" > + <method name="get_center_x" qualifiers="const"> <return type="bool"> </return> <description> Return true if tiles are to be centered in x coordinate (by default this is false and they are drawn from upper left cell corner). </description> </method> - <method name="set_center_y" > + <method name="set_center_y"> <argument index="0" name="enable" type="bool"> </argument> <description> Set tiles to be centered in y coordinate. (by default this is false and they are drawn from upper left cell corner). </description> </method> - <method name="get_center_y" qualifiers="const" > + <method name="get_center_y" qualifiers="const"> <return type="bool"> </return> <description> 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" > + <method name="set_y_sort_mode"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + Set the Y sort mode. Enabled Y sort mode means that children of the tilemap will be drawn in the order defined by their Y coordinate. + A tile with a higher Y coordinate will therefore be drawn later, potentially covering up the tile(s) above it if its sprite is higher than its cell size. + </description> + </method> + <method name="is_y_sort_mode_enabled" qualifiers="const"> + <return type="bool"> + </return> + <description> + Return the Y sort mode. + </description> + </method> + <method name="set_collision_use_kinematic"> + <argument index="0" name="use_kinematic" type="bool"> + </argument> + <description> + Set the tilemap to handle collisions as a kinematic body (enabled) or a static body (disabled). + </description> + </method> + <method name="get_collision_use_kinematic" qualifiers="const"> + <return type="bool"> + </return> + <description> + Return whether the tilemap handles collisions as a kinematic body. + </description> + </method> + <method name="set_collision_layer"> <argument index="0" name="mask" type="int"> </argument> <description> + Set the collision layer. + Layers are referenced by binary indexes, so allowable values to describe the 20 available layers range from 0 to 2^20-1. </description> </method> - <method name="get_collision_layer_mask" qualifiers="const" > + <method name="get_collision_layer" qualifiers="const"> <return type="int"> </return> <description> + Return the collision layer. </description> </method> - <method name="set_collision_friction" > + <method name="set_collision_mask"> + <argument index="0" name="mask" type="int"> + </argument> + <description> + Set the collision masks. + Masks are referenced by binary indexes, so allowable values to describe the 20 available masks range from 0 to 2^20-1. + </description> + </method> + <method name="get_collision_mask" qualifiers="const"> + <return type="int"> + </return> + <description> + Return the collision mask. + </description> + </method> + <method name="set_collision_friction"> <argument index="0" name="value" type="float"> </argument> <description> + Set the collision friction parameter. + Allowable values range from 0 to 1. </description> </method> - <method name="get_collision_friction" qualifiers="const" > + <method name="get_collision_friction" qualifiers="const"> <return type="float"> </return> <description> + Return the collision friction parameter. </description> </method> - <method name="set_collision_bounce" > + <method name="set_collision_bounce"> <argument index="0" name="value" type="float"> </argument> <description> + Set the collision bounce parameter. + Allowable values range from 0 to 1. </description> </method> - <method name="get_collision_bounce" qualifiers="const" > + <method name="get_collision_bounce" qualifiers="const"> <return type="float"> </return> <description> + Return the collision bounce parameter. </description> </method> - <method name="set_cell" > + <method name="set_cell"> <argument index="0" name="x" type="int"> </argument> <argument index="1" name="y" type="int"> @@ -30052,11 +34816,32 @@ </argument> <argument index="4" name="flip_y" type="bool" default="false"> </argument> + <argument index="5" name="transpose" type="bool" default="false"> + </argument> + <description> + Set the tile index for the cell referenced by its grid-based X and Y coordinates. + A tile index of -1 clears the cell. + Optionally, the tile can also be flipped over the X and Y coordinates or transposed. + </description> + </method> + <method name="set_cellv"> + <argument index="0" name="pos" type="Vector2"> + </argument> + <argument index="1" name="tile" type="int"> + </argument> + <argument index="2" name="flip_x" type="bool" default="false"> + </argument> + <argument index="3" name="flip_y" type="bool" default="false"> + </argument> + <argument index="4" name="transpose" type="bool" default="false"> + </argument> <description> - Set the contents of a cell. Cells can be optionally flipped in y or x. + Set the tile index for the cell referenced by a Vector2 of grid-based coordinates. + A tile index of -1 clears the cell. + Optionally, the tile can also be flipped over the X and Y axes or transposed. </description> </method> - <method name="get_cell" qualifiers="const" > + <method name="get_cell" qualifiers="const"> <return type="int"> </return> <argument index="0" name="x" type="int"> @@ -30064,10 +34849,10 @@ <argument index="1" name="y" type="int"> </argument> <description> - Return the contents of a cell. + Return the tile index of the referenced cell. </description> </method> - <method name="is_cell_x_flipped" qualifiers="const" > + <method name="is_cell_x_flipped" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="x" type="int"> @@ -30075,10 +34860,10 @@ <argument index="1" name="y" type="int"> </argument> <description> - Return if a given cell is flipped in x axis. + Return whether the referenced cell is flipped over the X axis. </description> </method> - <method name="is_cell_y_flipped" qualifiers="const" > + <method name="is_cell_y_flipped" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="x" type="int"> @@ -30086,15 +34871,22 @@ <argument index="1" name="y" type="int"> </argument> <description> - Return if a given cell is flipped in y axis. + Return whether the referenced cell is flipped over the Y axis. </description> </method> - <method name="clear" > + <method name="clear"> <description> Clear all cells. </description> </method> - <method name="map_to_world" qualifiers="const" > + <method name="get_used_cells" qualifiers="const"> + <return type="Array"> + </return> + <description> + Return an array of all cells containing a tile from the tileset (i.e. a tile index different from -1). + </description> + </method> + <method name="map_to_world" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="mappos" type="Vector2"> @@ -30102,20 +34894,24 @@ <argument index="1" name="ignore_half_ofs" type="bool" default="false"> </argument> <description> + Return the absolute world position corresponding to the tilemap (grid-based) coordinates given as an argument. + Optionally, the tilemap's potential half offset can be ignored. </description> </method> - <method name="world_to_map" qualifiers="const" > + <method name="world_to_map" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="worldpos" type="Vector2"> </argument> <description> + Return the tilemap (grid-based) coordinates corresponding to the absolute world position given as an argument. </description> </method> </methods> <signals> <signal name="settings_changed"> <description> + Signal indicating that a tilemap setting has changed. </description> </signal> </signals> @@ -30124,16 +34920,28 @@ Returned when a cell doesn't exist. </constant> <constant name="MODE_SQUARE" value="0"> + Orthogonal orientation mode. </constant> <constant name="MODE_ISOMETRIC" value="1"> + Isometric orientation mode. </constant> <constant name="MODE_CUSTOM" value="2"> + Custom orientation mode. </constant> <constant name="HALF_OFFSET_X" value="0"> + Half offset on the X coordinate. </constant> <constant name="HALF_OFFSET_Y" value="1"> + Half offset on the Y coordinate. </constant> <constant name="HALF_OFFSET_DISABLED" value="2"> + Half offset disabled. + </constant> + <constant name="TILE_ORIGIN_TOP_LEFT" value="0"> + Tile origin at its top-left corner. + </constant> + <constant name="TILE_ORIGIN_CENTER" value="1"> + Tile origin at its center. </constant> </constants> </class> @@ -30143,34 +34951,35 @@ </brief_description> <description> A TileSet is a library of tiles for a [TileMap]. It contains a list of tiles, each consisting of a sprite and optional collision shapes. + Tiles are referenced by a unique integer ID. </description> <methods> - <method name="create_tile" > + <method name="create_tile"> <argument index="0" name="id" type="int"> </argument> <description> - Create a new tile, the ID must be specified. + Create a new tile which will be referenced by the given ID. </description> </method> - <method name="tile_set_name" > + <method name="tile_set_name"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="name" type="String"> </argument> <description> - Set the name of a tile, for decriptive purposes. + Set the name of the tile, for descriptive purposes. </description> </method> - <method name="tile_get_name" qualifiers="const" > + <method name="tile_get_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="int"> </argument> <description> - Return the name of a tile, for decriptive purposes. + Return the name of the tile. </description> </method> - <method name="tile_set_texture" > + <method name="tile_set_texture"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -30179,7 +34988,7 @@ Set the texture of the tile. </description> </method> - <method name="tile_get_texture" qualifiers="const" > + <method name="tile_get_texture" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="id" type="int"> @@ -30188,39 +34997,61 @@ Return the texture of the tile. </description> </method> - <method name="tile_set_texture_offset" > + <method name="tile_set_material"> + <argument index="0" name="id" type="int"> + </argument> + <argument index="1" name="material" type="CanvasItemMaterial"> + </argument> + <description> + Set the material of the tile. + </description> + </method> + <method name="tile_get_material" qualifiers="const"> + <return type="CanvasItemMaterial"> + </return> + <argument index="0" name="id" type="int"> + </argument> + <description> + Return the material of the tile. + </description> + </method> + <method name="tile_set_texture_offset"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="texture_offset" type="Vector2"> </argument> <description> + Set the texture offset of the tile. </description> </method> - <method name="tile_get_texture_offset" qualifiers="const" > + <method name="tile_get_texture_offset" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="id" type="int"> </argument> <description> + Return the texture offset of the tile. </description> </method> - <method name="tile_set_shape_offset" > + <method name="tile_set_shape_offset"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="shape_offset" type="Vector2"> </argument> <description> + Set the shape offset of the tile. </description> </method> - <method name="tile_get_shape_offset" qualifiers="const" > + <method name="tile_get_shape_offset" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="id" type="int"> </argument> <description> + Return the shape offset of the tile. </description> </method> - <method name="tile_set_region" > + <method name="tile_set_region"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="region" type="Rect2"> @@ -30229,25 +35060,25 @@ Set the tile sub-region in the texture. This is common in texture atlases. </description> </method> - <method name="tile_get_region" qualifiers="const" > + <method name="tile_get_region" qualifiers="const"> <return type="Rect2"> </return> <argument index="0" name="id" type="int"> </argument> <description> - Return the tile sub-region in the texture. This is common in texture atlases. + Return the tile sub-region in the texture. </description> </method> - <method name="tile_set_shape" > + <method name="tile_set_shape"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="shape" type="Shape2D"> </argument> <description> - Set a shape for the tile, enabling physics to collide it. + Set a shape for the tile, enabling physics to collide with it. </description> </method> - <method name="tile_get_shape" qualifiers="const" > + <method name="tile_get_shape" qualifiers="const"> <return type="Shape2D"> </return> <argument index="0" name="id" type="int"> @@ -30256,54 +35087,129 @@ Return the shape of the tile. </description> </method> - <method name="tile_set_shapes" > + <method name="tile_set_shapes"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="shapes" type="Array"> </argument> <description> + Set an array of shapes for the tile, enabling physics to collide with it. </description> </method> - <method name="tile_get_shapes" qualifiers="const" > + <method name="tile_get_shapes" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="id" type="int"> </argument> <description> + Return the array of shapes of the tile. + </description> + </method> + <method name="tile_set_navigation_polygon"> + <argument index="0" name="id" type="int"> + </argument> + <argument index="1" name="navigation_polygon" type="NavigationPolygon"> + </argument> + <description> + Set a navigation polygon for the tile. + </description> + </method> + <method name="tile_get_navigation_polygon" qualifiers="const"> + <return type="NavigationPolygon"> + </return> + <argument index="0" name="id" type="int"> + </argument> + <description> + Return the navigation polygon of the tile. + </description> + </method> + <method name="tile_set_navigation_polygon_offset"> + <argument index="0" name="id" type="int"> + </argument> + <argument index="1" name="navigation_polygon_offset" type="Vector2"> + </argument> + <description> + Set an offset for the tile's navigation polygon. + </description> + </method> + <method name="tile_get_navigation_polygon_offset" qualifiers="const"> + <return type="Vector2"> + </return> + <argument index="0" name="id" type="int"> + </argument> + <description> + Return the offset of the tile's navigation polygon. + </description> + </method> + <method name="tile_set_light_occluder"> + <argument index="0" name="id" type="int"> + </argument> + <argument index="1" name="light_occluder" type="OccluderPolygon2D"> + </argument> + <description> + Set a light occluder for the tile. + </description> + </method> + <method name="tile_get_light_occluder" qualifiers="const"> + <return type="OccluderPolygon2D"> + </return> + <argument index="0" name="id" type="int"> + </argument> + <description> + Return the light occluder of the tile. + </description> + </method> + <method name="tile_set_occluder_offset"> + <argument index="0" name="id" type="int"> + </argument> + <argument index="1" name="occluder_offset" type="Vector2"> + </argument> + <description> + Set an offset for the tile's light occluder. + </description> + </method> + <method name="tile_get_occluder_offset" qualifiers="const"> + <return type="Vector2"> + </return> + <argument index="0" name="id" type="int"> + </argument> + <description> + Return the offset of the tile's light occluder. </description> </method> - <method name="remove_tile" > + <method name="remove_tile"> <argument index="0" name="id" type="int"> </argument> <description> - Remove a tile, by integer id. + Remove the tile referenced by the given ID. </description> </method> - <method name="clear" > + <method name="clear"> <description> Clear all tiles. </description> </method> - <method name="get_last_unused_tile_id" qualifiers="const" > + <method name="get_last_unused_tile_id" qualifiers="const"> <return type="int"> </return> <description> - Find an empty id for creating a new tile. + Return the ID following the last currently used ID, useful when creating a new tile. </description> </method> - <method name="find_tile_by_name" qualifiers="const" > + <method name="find_tile_by_name" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> </argument> <description> - Find the first tile with the given name. + Find the first tile matching the given name. </description> </method> - <method name="get_tiles_ids" qualifiers="const" > + <method name="get_tiles_ids" qualifiers="const"> <return type="Array"> </return> <description> + Return an array of all currently used tile IDs. </description> </method> </methods> @@ -30314,66 +35220,80 @@ <brief_description> </brief_description> <description> - Timer node. This is a simple node that will emit a timeout callback when the timer runs out. It can optinally be set to loop. + Timer node. This is a simple node that will emit a timeout callback when the timer runs out. It can optionally be set to loop. </description> <methods> - <method name="set_wait_time" > + <method name="set_wait_time"> <argument index="0" name="time_sec" type="float"> </argument> <description> - Set wait time. When the time is over, it will emit timeout signal. + Set wait time in seconds. When the time is over, it will emit the timeout signal. </description> </method> - <method name="get_wait_time" qualifiers="const" > + <method name="get_wait_time" qualifiers="const"> <return type="float"> </return> <description> - Return the wait time. When the time is over, it will emit timeout signal. + Return the wait time in seconds. </description> </method> - <method name="set_one_shot" > + <method name="set_one_shot"> <argument index="0" name="enable" type="bool"> </argument> <description> - Set as one-shot. If true, timer will stop after timeout, otherwise it will automatically restart. + Set as one-shot. If enabled, the timer will stop after timeout, otherwise it will automatically restart. </description> </method> - <method name="is_one_shot" qualifiers="const" > + <method name="is_one_shot" qualifiers="const"> <return type="bool"> </return> <description> - Return true if is set as one-shot. If true, timer will stop after timeout, otherwise it will automatically restart. + Return true if configured as one-shot. </description> </method> - <method name="set_autostart" > + <method name="set_autostart"> <argument index="0" name="enable" type="bool"> </argument> <description> Set to automatically start when entering the scene. </description> </method> - <method name="has_autostart" qualifiers="const" > + <method name="has_autostart" qualifiers="const"> <return type="bool"> </return> <description> Return true if set to automatically start when entering the scene. </description> </method> - <method name="start" > + <method name="start"> <description> Start the timer. </description> </method> - <method name="stop" > + <method name="stop"> <description> Stop (cancel) the timer. </description> </method> - <method name="get_time_left" qualifiers="const" > + <method name="get_time_left" qualifiers="const"> <return type="float"> </return> <description> - Return the time left for timeout if the timer is active. + Return the time left for timeout in seconds if the timer is active, 0 otherwise. + </description> + </method> + <method name="set_timer_process_mode"> + <argument index="0" name="mode" type="int"> + </argument> + <description> + Set the timer's processing mode (fixed or idle, use TIMER_PROCESS_* constants as argument). + </description> + </method> + <method name="get_timer_process_mode" qualifiers="const"> + <return type="int"> + </return> + <description> + Return the timer's processing mode. </description> </method> </methods> @@ -30385,87 +35305,127 @@ </signal> </signals> <constants> + <constant name="TIMER_PROCESS_FIXED" value="0"> + Update the timer at fixed intervals (framerate processing). + </constant> + <constant name="TIMER_PROCESS_IDLE" value="1"> + Update the timer during the idle time at each frame. + </constant> </constants> </class> +<class name="ToolButton" inherits="Button" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + </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="TouchScreenButton" inherits="Node2D" category="Core"> <brief_description> </brief_description> <description> </description> <methods> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Object"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_texture_pressed" > + <method name="set_texture_pressed"> <argument index="0" name="texture_pressed" type="Object"> </argument> <description> </description> </method> - <method name="get_texture_pressed" qualifiers="const" > + <method name="get_texture_pressed" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_bitmask" > + <method name="set_bitmask"> <argument index="0" name="bitmask" type="Object"> </argument> <description> </description> </method> - <method name="get_bitmask" qualifiers="const" > + <method name="get_bitmask" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_action" > + <method name="set_action"> <argument index="0" name="action" type="String"> </argument> <description> </description> </method> - <method name="get_action" qualifiers="const" > + <method name="get_action" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_visibility_mode" > + <method name="set_visibility_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_visibility_mode" qualifiers="const" > + <method name="get_visibility_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_passby_press" > + <method name="set_passby_press"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_passby_press_enabled" qualifiers="const" > + <method name="is_passby_press_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="is_pressed" qualifiers="const" > + <method name="is_pressed" qualifiers="const"> <return type="bool"> </return> <description> @@ -30493,20 +35453,20 @@ Transform is used to store transformations, including translations. It consists of a Matrix3 "basis" and Vector3 "origin". Transform is used to represent transformations of any object in space. It is similar to a 4x3 matrix. </description> <methods> - <method name="affine_inverse" > + <method name="affine_inverse"> <return type="Transform"> </return> <description> </description> </method> - <method name="inverse" > + <method name="inverse"> <return type="Transform"> </return> <description> Returns the inverse of the transform. </description> </method> - <method name="looking_at" > + <method name="looking_at"> <return type="Transform"> </return> <argument index="0" name="target" type="Vector3"> @@ -30516,13 +35476,13 @@ <description> </description> </method> - <method name="orthonormalized" > + <method name="orthonormalized"> <return type="Transform"> </return> <description> </description> </method> - <method name="rotated" > + <method name="rotated"> <return type="Transform"> </return> <argument index="0" name="axis" type="Vector3"> @@ -30532,7 +35492,7 @@ <description> </description> </method> - <method name="scaled" > + <method name="scaled"> <return type="Transform"> </return> <argument index="0" name="scale" type="Vector3"> @@ -30540,7 +35500,7 @@ <description> </description> </method> - <method name="translated" > + <method name="translated"> <return type="Transform"> </return> <argument index="0" name="ofs" type="Vector3"> @@ -30548,7 +35508,7 @@ <description> </description> </method> - <method name="xform" > + <method name="xform"> <return type="var"> </return> <argument index="0" name="v" type="var"> @@ -30557,7 +35517,7 @@ Transforms vector "v" by this transform. </description> </method> - <method name="xform_inv" > + <method name="xform_inv"> <return type="var"> </return> <argument index="0" name="v" type="var"> @@ -30566,7 +35526,9 @@ Inverse-transforms vector "v" by this transform. </description> </method> - <method name="Transform" > + <method name="Transform"> + <return type="Transform"> + </return> <argument index="0" name="x_axis" type="Vector3"> </argument> <argument index="1" name="y_axis" type="Vector3"> @@ -30578,7 +35540,9 @@ <description> </description> </method> - <method name="Transform" > + <method name="Transform"> + <return type="Transform"> + </return> <argument index="0" name="basis" type="Matrix3"> </argument> <argument index="1" name="origin" type="Vector3"> @@ -30586,19 +35550,25 @@ <description> </description> </method> - <method name="Transform" > + <method name="Transform"> + <return type="Transform"> + </return> <argument index="0" name="from" type="Matrix32"> </argument> <description> </description> </method> - <method name="Transform" > + <method name="Transform"> + <return type="Transform"> + </return> <argument index="0" name="from" type="Quat"> </argument> <description> </description> </method> - <method name="Transform" > + <method name="Transform"> + <return type="Transform"> + </return> <argument index="0" name="from" type="Matrix3"> </argument> <description> @@ -30622,21 +35592,21 @@ Translations are resources that can be loaded/unloaded on demand. They map a string to another string. </description> <methods> - <method name="set_locale" > + <method name="set_locale"> <argument index="0" name="locale" type="String"> </argument> <description> Set the locale of the translation. </description> </method> - <method name="get_locale" qualifiers="const" > + <method name="get_locale" qualifiers="const"> <return type="String"> </return> <description> Return the locale of the translation. </description> </method> - <method name="add_message" > + <method name="add_message"> <argument index="0" name="src_message" type="String"> </argument> <argument index="1" name="xlated_message" type="String"> @@ -30645,7 +35615,7 @@ Add a message for translation. </description> </method> - <method name="get_message" qualifiers="const" > + <method name="get_message" qualifiers="const"> <return type="String"> </return> <argument index="0" name="src_message" type="String"> @@ -30654,21 +35624,21 @@ Return a message for translation. </description> </method> - <method name="erase_message" > + <method name="erase_message"> <argument index="0" name="src_message" type="String"> </argument> <description> Erase a message. </description> </method> - <method name="get_message_list" qualifiers="const" > + <method name="get_message_list" qualifiers="const"> <return type="StringArray"> </return> <description> Return all the messages (keys). </description> </method> - <method name="get_message_count" qualifiers="const" > + <method name="get_message_count" qualifiers="const"> <return type="int"> </return> <description> @@ -30685,19 +35655,19 @@ <description> </description> <methods> - <method name="set_locale" > + <method name="set_locale"> <argument index="0" name="locale" type="String"> </argument> <description> </description> </method> - <method name="get_locale" qualifiers="const" > + <method name="get_locale" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="translate" qualifiers="const" > + <method name="translate" qualifiers="const"> <return type="String"> </return> <argument index="0" name="arg0" type="String"> @@ -30705,19 +35675,19 @@ <description> </description> </method> - <method name="add_translation" > + <method name="add_translation"> <argument index="0" name="arg0" type="Object"> </argument> <description> </description> </method> - <method name="remove_translation" > + <method name="remove_translation"> <argument index="0" name="arg0" type="Object"> </argument> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> @@ -30731,11 +35701,11 @@ <description> </description> <methods> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="create_item" > + <method name="create_item"> <return type="TreeItem"> </return> <argument index="0" name="parent" type="TreeItem" default="Object()"> @@ -30743,13 +35713,13 @@ <description> </description> </method> - <method name="get_root" > + <method name="get_root"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="set_column_min_width" > + <method name="set_column_min_width"> <argument index="0" name="arg0" type="int"> </argument> <argument index="1" name="arg1" type="int"> @@ -30757,7 +35727,7 @@ <description> </description> </method> - <method name="set_column_expand" > + <method name="set_column_expand"> <argument index="0" name="arg0" type="int"> </argument> <argument index="1" name="arg1" type="bool"> @@ -30765,7 +35735,7 @@ <description> </description> </method> - <method name="get_column_width" qualifiers="const" > + <method name="get_column_width" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="int"> @@ -30773,13 +35743,13 @@ <description> </description> </method> - <method name="set_hide_root" > + <method name="set_hide_root"> <argument index="0" name="arg0" type="bool"> </argument> <description> </description> </method> - <method name="get_next_selected" > + <method name="get_next_selected"> <return type="TreeItem"> </return> <argument index="0" name="from" type="TreeItem"> @@ -30787,61 +35757,61 @@ <description> </description> </method> - <method name="get_selected" qualifiers="const" > + <method name="get_selected" qualifiers="const"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_selected_column" qualifiers="const" > + <method name="get_selected_column" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_pressed_button" qualifiers="const" > + <method name="get_pressed_button" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_select_mode" > + <method name="set_select_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="set_columns" > + <method name="set_columns"> <argument index="0" name="amount" type="int"> </argument> <description> </description> </method> - <method name="get_columns" qualifiers="const" > + <method name="get_columns" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_edited" qualifiers="const" > + <method name="get_edited" qualifiers="const"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_edited_column" qualifiers="const" > + <method name="get_edited_column" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_custom_popup_rect" qualifiers="const" > + <method name="get_custom_popup_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="get_item_area_rect" qualifiers="const" > + <method name="get_item_area_rect" qualifiers="const"> <return type="Rect2"> </return> <argument index="0" name="item" type="TreeItem"> @@ -30851,23 +35821,23 @@ <description> </description> </method> - <method name="ensure_cursor_is_visible" > + <method name="ensure_cursor_is_visible"> <description> </description> </method> - <method name="set_column_titles_visible" > + <method name="set_column_titles_visible"> <argument index="0" name="visible" type="bool"> </argument> <description> </description> </method> - <method name="are_column_titles_visible" qualifiers="const" > + <method name="are_column_titles_visible" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_column_title" > + <method name="set_column_title"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="title" type="String"> @@ -30875,7 +35845,7 @@ <description> </description> </method> - <method name="get_column_title" qualifiers="const" > + <method name="get_column_title" qualifiers="const"> <return type="String"> </return> <argument index="0" name="column" type="int"> @@ -30883,7 +35853,7 @@ <description> </description> </method> - <method name="get_scroll" qualifiers="const" > + <method name="get_scroll" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -31015,7 +35985,7 @@ <description> </description> <methods> - <method name="set_cell_mode" > + <method name="set_cell_mode"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="mode" type="int"> @@ -31023,7 +35993,7 @@ <description> </description> </method> - <method name="get_cell_mode" qualifiers="const" > + <method name="get_cell_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="column" type="int"> @@ -31031,7 +36001,7 @@ <description> </description> </method> - <method name="set_checked" > + <method name="set_checked"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="checked" type="bool"> @@ -31039,7 +36009,7 @@ <description> </description> </method> - <method name="is_checked" qualifiers="const" > + <method name="is_checked" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="column" type="int"> @@ -31047,7 +36017,7 @@ <description> </description> </method> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="text" type="String"> @@ -31055,7 +36025,7 @@ <description> </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <argument index="0" name="column" type="int"> @@ -31063,7 +36033,7 @@ <description> </description> </method> - <method name="set_icon" > + <method name="set_icon"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -31071,7 +36041,7 @@ <description> </description> </method> - <method name="get_icon" qualifiers="const" > + <method name="get_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="column" type="int"> @@ -31079,7 +36049,7 @@ <description> </description> </method> - <method name="set_icon_region" > + <method name="set_icon_region"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="region" type="Rect2"> @@ -31087,7 +36057,7 @@ <description> </description> </method> - <method name="get_icon_region" qualifiers="const" > + <method name="get_icon_region" qualifiers="const"> <return type="Rect2"> </return> <argument index="0" name="column" type="int"> @@ -31095,7 +36065,7 @@ <description> </description> </method> - <method name="set_icon_max_width" > + <method name="set_icon_max_width"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="width" type="int"> @@ -31103,7 +36073,7 @@ <description> </description> </method> - <method name="get_icon_max_width" qualifiers="const" > + <method name="get_icon_max_width" qualifiers="const"> <return type="int"> </return> <argument index="0" name="column" type="int"> @@ -31111,7 +36081,7 @@ <description> </description> </method> - <method name="set_range" > + <method name="set_range"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="value" type="float"> @@ -31119,7 +36089,7 @@ <description> </description> </method> - <method name="get_range" qualifiers="const" > + <method name="get_range" qualifiers="const"> <return type="float"> </return> <argument index="0" name="column" type="int"> @@ -31127,7 +36097,7 @@ <description> </description> </method> - <method name="set_range_config" > + <method name="set_range_config"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="min" type="float"> @@ -31141,7 +36111,7 @@ <description> </description> </method> - <method name="get_range_config" > + <method name="get_range_config"> <return type="Dictionary"> </return> <argument index="0" name="column" type="int"> @@ -31149,7 +36119,7 @@ <description> </description> </method> - <method name="set_metadata" > + <method name="set_metadata"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="meta" type="var"> @@ -31157,13 +36127,13 @@ <description> </description> </method> - <method name="get_metadata" qualifiers="const" > + <method name="get_metadata" qualifiers="const"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="set_custom_draw" > + <method name="set_custom_draw"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="object" type="Object"> @@ -31173,61 +36143,61 @@ <description> </description> </method> - <method name="set_collapsed" > + <method name="set_collapsed"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_collapsed" > + <method name="is_collapsed"> <return type="bool"> </return> <description> </description> </method> - <method name="get_next" > + <method name="get_next"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_prev" > + <method name="get_prev"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_parent" > + <method name="get_parent"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_children" > + <method name="get_children"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_next_visible" > + <method name="get_next_visible"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_prev_visible" > + <method name="get_prev_visible"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="remove_child" > + <method name="remove_child"> <argument index="0" name="child" type="Object"> </argument> <description> </description> </method> - <method name="set_selectable" > + <method name="set_selectable"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="selectable" type="bool"> @@ -31235,7 +36205,7 @@ <description> </description> </method> - <method name="is_selectable" qualifiers="const" > + <method name="is_selectable" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="column" type="int"> @@ -31243,7 +36213,7 @@ <description> </description> </method> - <method name="is_selected" > + <method name="is_selected"> <return type="bool"> </return> <argument index="0" name="column" type="int"> @@ -31251,19 +36221,19 @@ <description> </description> </method> - <method name="select" > + <method name="select"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="deselect" > + <method name="deselect"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="set_editable" > + <method name="set_editable"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="enabled" type="bool"> @@ -31271,7 +36241,7 @@ <description> </description> </method> - <method name="is_editable" > + <method name="is_editable"> <return type="bool"> </return> <argument index="0" name="column" type="int"> @@ -31279,7 +36249,7 @@ <description> </description> </method> - <method name="set_custom_color" > + <method name="set_custom_color"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -31287,13 +36257,13 @@ <description> </description> </method> - <method name="clear_custom_color" > + <method name="clear_custom_color"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="set_custom_bg_color" > + <method name="set_custom_bg_color"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -31301,13 +36271,13 @@ <description> </description> </method> - <method name="clear_custom_bg_color" > + <method name="clear_custom_bg_color"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="get_custom_bg_color" qualifiers="const" > + <method name="get_custom_bg_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="column" type="int"> @@ -31315,7 +36285,7 @@ <description> </description> </method> - <method name="add_button" > + <method name="add_button"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="button" type="Texture"> @@ -31325,7 +36295,7 @@ <description> </description> </method> - <method name="get_button_count" qualifiers="const" > + <method name="get_button_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="column" type="int"> @@ -31333,7 +36303,7 @@ <description> </description> </method> - <method name="get_button" qualifiers="const" > + <method name="get_button" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="column" type="int"> @@ -31343,7 +36313,7 @@ <description> </description> </method> - <method name="erase_button" > + <method name="erase_button"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="button_idx" type="int"> @@ -31351,7 +36321,7 @@ <description> </description> </method> - <method name="set_tooltip" > + <method name="set_tooltip"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="tooltip" type="String"> @@ -31359,7 +36329,7 @@ <description> </description> </method> - <method name="get_tooltip" qualifiers="const" > + <method name="get_tooltip" qualifiers="const"> <return type="String"> </return> <argument index="0" name="column" type="int"> @@ -31367,11 +36337,11 @@ <description> </description> </method> - <method name="move_to_top" > + <method name="move_to_top"> <description> </description> </method> - <method name="move_to_bottom" > + <method name="move_to_bottom"> <description> </description> </method> @@ -31395,125 +36365,125 @@ <description> </description> <methods> - <method name="is_active" qualifiers="const" > + <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_active" > + <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> </description> </method> - <method name="is_repeat" qualifiers="const" > + <method name="is_repeat" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_repeat" > + <method name="set_repeat"> <argument index="0" name="repeat" type="bool"> </argument> <description> </description> </method> - <method name="set_speed" > + <method name="set_speed"> <argument index="0" name="speed" type="float"> </argument> <description> </description> </method> - <method name="get_speed" qualifiers="const" > + <method name="get_speed" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_tween_process_mode" > + <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" > + <method name="get_tween_process_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="start" > + <method name="start"> <return type="bool"> </return> <description> </description> </method> - <method name="reset" > + <method name="reset"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="key" type="String"> </argument> <description> </description> </method> - <method name="reset_all" > + <method name="reset_all"> <return type="bool"> </return> <description> </description> </method> - <method name="stop" > + <method name="stop"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="key" type="String"> </argument> <description> </description> </method> - <method name="stop_all" > + <method name="stop_all"> <return type="bool"> </return> <description> </description> </method> - <method name="resume" > + <method name="resume"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="key" type="String"> </argument> <description> </description> </method> - <method name="resume_all" > + <method name="resume_all"> <return type="bool"> </return> <description> </description> </method> - <method name="remove" > + <method name="remove"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="key" type="String"> </argument> <description> </description> </method> - <method name="remove_all" > + <method name="remove_all"> <return type="bool"> </return> <description> </description> </method> - <method name="seek" > + <method name="seek"> <return type="bool"> </return> <argument index="0" name="time" type="float"> @@ -31521,22 +36491,22 @@ <description> </description> </method> - <method name="tell" qualifiers="const" > + <method name="tell" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_runtime" qualifiers="const" > + <method name="get_runtime" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="interpolate_property" > + <method name="interpolate_property"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="property" type="String"> </argument> @@ -31555,10 +36525,10 @@ <description> </description> </method> - <method name="interpolate_method" > + <method name="interpolate_method"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="method" type="String"> </argument> @@ -31577,24 +36547,54 @@ <description> </description> </method> - <method name="interpolate_callback" > + <method name="interpolate_callback"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> + </argument> + <argument index="1" name="times_in_sec" type="float"> + </argument> + <argument index="2" name="callback" type="String"> </argument> - <argument index="1" name="callback" type="String"> + <argument index="3" name="arg1" type="var" default="NULL"> </argument> - <argument index="2" name="times_in_sec" type="float"> + <argument index="4" name="arg2" type="var" default="NULL"> </argument> - <argument index="3" name="args" type="var" default="NULL"> + <argument index="5" name="arg3" type="var" default="NULL"> + </argument> + <argument index="6" name="arg4" type="var" default="NULL"> + </argument> + <argument index="7" name="arg5" type="var" default="NULL"> </argument> <description> </description> </method> - <method name="follow_property" > + <method name="interpolate_deferred_callback"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> + </argument> + <argument index="1" name="times_in_sec" type="float"> + </argument> + <argument index="2" name="callback" type="String"> + </argument> + <argument index="3" name="arg1" type="var" default="NULL"> + </argument> + <argument index="4" name="arg2" type="var" default="NULL"> + </argument> + <argument index="5" name="arg3" type="var" default="NULL"> + </argument> + <argument index="6" name="arg4" type="var" default="NULL"> + </argument> + <argument index="7" name="arg5" type="var" default="NULL"> + </argument> + <description> + </description> + </method> + <method name="follow_property"> + <return type="bool"> + </return> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="property" type="String"> </argument> @@ -31615,10 +36615,10 @@ <description> </description> </method> - <method name="follow_method" > + <method name="follow_method"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="method" type="String"> </argument> @@ -31639,10 +36639,10 @@ <description> </description> </method> - <method name="targeting_property" > + <method name="targeting_property"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="property" type="String"> </argument> @@ -31663,10 +36663,10 @@ <description> </description> </method> - <method name="targeting_method" > + <method name="targeting_method"> <return type="bool"> </return> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="method" type="String"> </argument> @@ -31690,7 +36690,7 @@ </methods> <signals> <signal name="tween_complete"> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="key" type="String"> </argument> @@ -31698,7 +36698,7 @@ </description> </signal> <signal name="tween_step"> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="key" type="String"> </argument> @@ -31710,7 +36710,7 @@ </description> </signal> <signal name="tween_start"> - <argument index="0" name="node" type="Object"> + <argument index="0" name="object" type="Object"> </argument> <argument index="1" name="key" type="String"> </argument> @@ -31719,6 +36719,10 @@ </signal> </signals> <constants> + <constant name="TWEEN_PROCESS_FIXED" value="0"> + </constant> + <constant name="TWEEN_PROCESS_IDLE" value="1"> + </constant> <constant name="TRANS_LINEAR" value="0"> </constant> <constant name="TRANS_SINE" value="1"> @@ -31751,44 +36755,104 @@ </constant> </constants> </class> -<class name="UnshadedMaterial" inherits="Material" category="Core"> +<class name="UndoRedo" inherits="Object" category="Core"> <brief_description> </brief_description> <description> </description> <methods> - <method name="set_texture" > - <argument index="0" name="texture" type="Object"> + <method name="create_action"> + <argument index="0" name="name" type="String"> + </argument> + <argument index="1" name="mergeable" type="bool" default="false"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > - <return type="Texture"> - </return> + <method name="commit_action"> <description> </description> </method> - <method name="set_use_alpha" > - <argument index="0" name="enable" type="bool"> + <method name="add_do_method"> + <argument index="0" name="object" type="Object"> + </argument> + <argument index="1" name="method" type="String"> + </argument> + <argument index="2" name="arg0" type="var" default="NULL"> + </argument> + <argument index="3" name="arg1" type="var" default="NULL"> + </argument> + <argument index="4" name="arg2" type="var" default="NULL"> + </argument> + <argument index="5" name="arg3" type="var" default="NULL"> + </argument> + <argument index="6" name="arg4" type="var" default="NULL"> </argument> <description> </description> </method> - <method name="is_using_alpha" qualifiers="const" > - <return type="bool"> - </return> + <method name="add_undo_method"> + <argument index="0" name="object" type="Object"> + </argument> + <argument index="1" name="method" type="String"> + </argument> + <argument index="2" name="arg0" type="var" default="NULL"> + </argument> + <argument index="3" name="arg1" type="var" default="NULL"> + </argument> + <argument index="4" name="arg2" type="var" default="NULL"> + </argument> + <argument index="5" name="arg3" type="var" default="NULL"> + </argument> + <argument index="6" name="arg4" type="var" default="NULL"> + </argument> <description> </description> </method> - <method name="set_use_color_array" > - <argument index="0" name="enable" type="bool"> + <method name="add_do_property"> + <argument index="0" name="object" type="Object"> + </argument> + <argument index="1" name="property" type="String"> + </argument> + <argument index="2" name="value" type="var"> </argument> <description> </description> </method> - <method name="is_using_color_array" qualifiers="const" > - <return type="bool"> + <method name="add_undo_property"> + <argument index="0" name="object" type="Object"> + </argument> + <argument index="1" name="property" type="String"> + </argument> + <argument index="2" name="value" type="var"> + </argument> + <description> + </description> + </method> + <method name="add_do_reference"> + <argument index="0" name="object" type="Object"> + </argument> + <description> + </description> + </method> + <method name="add_undo_reference"> + <argument index="0" name="object" type="Object"> + </argument> + <description> + </description> + </method> + <method name="clear_history"> + <description> + </description> + </method> + <method name="get_current_action_name" qualifiers="const"> + <return type="String"> + </return> + <description> + </description> + </method> + <method name="get_version" qualifiers="const"> + <return type="int"> </return> <description> </description> @@ -31947,29 +37011,32 @@ <description> </description> <methods> - <method name="angle_to" > + <method name="angle_to"> <return type="float"> </return> <argument index="0" name="to" type="Vector2"> </argument> <description> + Returns the angle in radians between the two vectors. </description> </method> - <method name="angle_to_point" > + <method name="angle_to_point"> <return type="float"> </return> <argument index="0" name="to" type="Vector2"> </argument> <description> + Returns the angle in radians between the line connecting the two points and the x coordinate. </description> </method> - <method name="atan2" > + <method name="atan2"> <return type="float"> </return> <description> + Returns the result of atan2 when called with the Vector's x and y as parameters. </description> </method> - <method name="cubic_interpolate" > + <method name="cubic_interpolate"> <return type="Vector2"> </return> <argument index="0" name="b" type="Vector2"> @@ -31981,17 +37048,19 @@ <argument index="3" name="t" type="float"> </argument> <description> + Cubicly interpolates between this Vector and "b", using "pre_a" and "post_b" as handles, and returning the result at position "t". </description> </method> - <method name="distance_squared_to" > + <method name="distance_squared_to"> <return type="float"> </return> <argument index="0" name="to" type="Vector2"> </argument> <description> + Returns the squared distance to vector "b". Prefer this function over "distance_to" if you need to sort vectors or need the squared distance for some formula. </description> </method> - <method name="distance_to" > + <method name="distance_to"> <return type="float"> </return> <argument index="0" name="to" type="Vector2"> @@ -32000,7 +37069,7 @@ Returns the distance to vector "b". </description> </method> - <method name="dot" > + <method name="dot"> <return type="float"> </return> <argument index="0" name="with" type="Vector2"> @@ -32009,39 +37078,41 @@ Returns the dot product with vector "b". </description> </method> - <method name="floor" > + <method name="floor"> <return type="Vector2"> </return> <description> Remove the fractional part of x and y. </description> </method> - <method name="floorf" > + <method name="floorf"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_aspect" > + <method name="get_aspect"> <return type="float"> </return> <description> + Returns the ratio of X to Y. </description> </method> - <method name="length" > + <method name="length"> <return type="float"> </return> <description> Returns the length of the vector. </description> </method> - <method name="length_squared" > + <method name="length_squared"> <return type="float"> </return> <description> + Returns the squared length of the vector. Prefer this function over "length" if you need to sort vectors or need the squared length for some formula. </description> </method> - <method name="linear_interpolate" > + <method name="linear_interpolate"> <return type="Vector2"> </return> <argument index="0" name="b" type="Vector2"> @@ -32049,60 +37120,68 @@ <argument index="1" name="t" type="float"> </argument> <description> - Returns the result of the linear interpolation between this vector and "b", by amount "i". + Returns the result of the linear interpolation between this vector and "b", by amount "t". </description> </method> - <method name="normalized" > + <method name="normalized"> <return type="Vector2"> </return> <description> Returns a normalized vector to unit length. </description> </method> - <method name="reflect" > - <return type="float"> + <method name="reflect"> + <return type="Vector2"> </return> <argument index="0" name="vec" type="Vector2"> </argument> <description> + Reflects/mirrors the vector around another vector. </description> </method> - <method name="rotated" > + <method name="rotated"> <return type="Vector2"> </return> <argument index="0" name="phi" type="float"> </argument> <description> + Rotates the vector by "phi" radians. </description> </method> - <method name="slide" > - <return type="float"> + <method name="slide"> + <return type="Vector2"> </return> <argument index="0" name="vec" type="Vector2"> </argument> <description> + Slides the vector by the other vector. </description> </method> - <method name="snapped" > + <method name="snapped"> <return type="Vector2"> </return> <argument index="0" name="by" type="Vector2"> </argument> <description> + Snaps the vector to a grid with the given size. </description> </method> - <method name="tangent" > + <method name="tangent"> <return type="Vector2"> </return> <description> + Returns a perpendicular vector. </description> </method> - <method name="Vector2" > + <method name="Vector2"> + <return type="Vector2"> + </return> <argument index="0" name="x" type="float"> </argument> <argument index="1" name="y" type="float"> </argument> <description> + Constructs a new Vector2 from the given x and y. </description> </method> </methods> @@ -32121,48 +37200,58 @@ </class> <class name="Vector2Array" category="Built-In Types"> <brief_description> + An Array of Vector2's. </brief_description> <description> + An Array specifically designed to hold Vector2's. </description> <methods> - <method name="get" > + <method name="get"> <return type="Vector2"> </return> <argument index="0" name="idx" type="int"> </argument> <description> + Get the Vector2 at the given index. </description> </method> - <method name="push_back" > + <method name="push_back"> <argument index="0" name="vector2" type="Vector2"> </argument> <description> + Insert a new Vector2. </description> </method> - <method name="resize" > + <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> + Set the size of the Vector2Array. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array. </description> </method> - <method name="set" > + <method name="set"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="vector2" type="Vector2"> </argument> <description> + Set the Vector2 at the given index. </description> </method> - <method name="size" > + <method name="size"> <return type="int"> </return> <description> + Returns the size of the array. </description> </method> - <method name="Vector2Array" > + <method name="Vector2Array"> + <return type="Vector2Array"> + </return> <argument index="0" name="from" type="Array"> </argument> <description> + Constructs a new Vector2Array. Optionally, you can pass in an Array that will be converted. </description> </method> </methods> @@ -32177,13 +37266,13 @@ Vector3 is one of the core classes of the engine, and includes several built-in helper functions to perform basic vecor math operations. </description> <methods> - <method name="abs" > + <method name="abs"> <return type="Vector3"> </return> <description> </description> </method> - <method name="cross" > + <method name="cross"> <return type="Vector3"> </return> <argument index="0" name="b" type="Vector3"> @@ -32192,7 +37281,7 @@ Return the cross product with b. </description> </method> - <method name="cubic_interpolate" > + <method name="cubic_interpolate"> <return type="Vector3"> </return> <argument index="0" name="b" type="Vector3"> @@ -32207,7 +37296,7 @@ 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" > + <method name="distance_squared_to"> <return type="float"> </return> <argument index="0" name="b" type="Vector3"> @@ -32216,7 +37305,7 @@ Return the squared distance (distance minus the last square root) to b. </description> </method> - <method name="distance_to" > + <method name="distance_to"> <return type="float"> </return> <argument index="0" name="b" type="Vector3"> @@ -32225,7 +37314,7 @@ Return the distance to b. </description> </method> - <method name="dot" > + <method name="dot"> <return type="float"> </return> <argument index="0" name="b" type="Vector3"> @@ -32234,28 +37323,28 @@ Return the dot product with b. </description> </method> - <method name="inverse" > + <method name="inverse"> <return type="Vector3"> </return> <description> Returns the inverse of the vector. this is the same as Vector3( 1.0 / v.x, 1.0 / v.y, 1.0 / v.z ) </description> </method> - <method name="length" > + <method name="length"> <return type="float"> </return> <description> Return the length of the vector. </description> </method> - <method name="length_squared" > + <method name="length_squared"> <return type="float"> </return> <description> - Return the length of the vector, without the square root step. + Return the length of the vector, squared. </description> </method> - <method name="linear_interpolate" > + <method name="linear_interpolate"> <return type="Vector3"> </return> <argument index="0" name="b" type="Vector3"> @@ -32263,29 +37352,29 @@ <argument index="1" name="t" type="float"> </argument> <description> - Linearly interpolates the vector to a given one (b), by the given amount (i) + Linearly interpolates the vector to a given one (b), by the given amount (i). </description> </method> - <method name="max_axis" > + <method name="max_axis"> <return type="int"> </return> <description> </description> </method> - <method name="min_axis" > + <method name="min_axis"> <return type="int"> </return> <description> </description> </method> - <method name="normalized" > + <method name="normalized"> <return type="Vector3"> </return> <description> Return a copy of the normalized vector to unit length. This is the same as v / v.length() </description> </method> - <method name="reflect" > + <method name="reflect"> <return type="Vector3"> </return> <argument index="0" name="by" type="Vector3"> @@ -32293,7 +37382,7 @@ <description> </description> </method> - <method name="rotated" > + <method name="rotated"> <return type="Vector3"> </return> <argument index="0" name="axis" type="Vector3"> @@ -32303,7 +37392,7 @@ <description> </description> </method> - <method name="slide" > + <method name="slide"> <return type="Vector3"> </return> <argument index="0" name="by" type="Vector3"> @@ -32311,7 +37400,7 @@ <description> </description> </method> - <method name="snapped" > + <method name="snapped"> <return type="Vector3"> </return> <argument index="0" name="by" type="float"> @@ -32320,7 +37409,9 @@ Return a copy of the vector, snapped to the lowest neared multiple. </description> </method> - <method name="Vector3" > + <method name="Vector3"> + <return type="Vector3"> + </return> <argument index="0" name="x" type="float"> </argument> <argument index="1" name="y" type="float"> @@ -32354,7 +37445,7 @@ <description> </description> <methods> - <method name="get" > + <method name="get"> <return type="Vector3"> </return> <argument index="0" name="idx" type="int"> @@ -32362,19 +37453,19 @@ <description> </description> </method> - <method name="push_back" > + <method name="push_back"> <argument index="0" name="vector3" type="Vector3"> </argument> <description> </description> </method> - <method name="resize" > + <method name="resize"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="set" > + <method name="set"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="vector3" type="Vector3"> @@ -32382,13 +37473,15 @@ <description> </description> </method> - <method name="size" > + <method name="size"> <return type="int"> </return> <description> </description> </method> - <method name="Vector3Array" > + <method name="Vector3Array"> + <return type="Vector3Array"> + </return> <argument index="0" name="from" type="Array"> </argument> <description> @@ -32404,61 +37497,61 @@ <description> </description> <methods> - <method name="set_mass" > + <method name="set_mass"> <argument index="0" name="mass" type="float"> </argument> <description> </description> </method> - <method name="get_mass" qualifiers="const" > + <method name="get_mass" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_friction" > + <method name="set_friction"> <argument index="0" name="friction" type="float"> </argument> <description> </description> </method> - <method name="get_friction" qualifiers="const" > + <method name="get_friction" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_engine_force" > + <method name="set_engine_force"> <argument index="0" name="engine_force" type="float"> </argument> <description> </description> </method> - <method name="get_engine_force" qualifiers="const" > + <method name="get_engine_force" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_brake" > + <method name="set_brake"> <argument index="0" name="brake" type="float"> </argument> <description> </description> </method> - <method name="get_brake" qualifiers="const" > + <method name="get_brake" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_steering" > + <method name="set_steering"> <argument index="0" name="steering" type="float"> </argument> <description> </description> </method> - <method name="get_steering" qualifiers="const" > + <method name="get_steering" qualifiers="const"> <return type="float"> </return> <description> @@ -32474,121 +37567,121 @@ <description> </description> <methods> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="length" type="float"> </argument> <description> </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_suspension_rest_length" > + <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" > + <method name="get_suspension_rest_length" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_suspension_travel" > + <method name="set_suspension_travel"> <argument index="0" name="length" type="float"> </argument> <description> </description> </method> - <method name="get_suspension_travel" qualifiers="const" > + <method name="get_suspension_travel" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_suspension_stiffness" > + <method name="set_suspension_stiffness"> <argument index="0" name="length" type="float"> </argument> <description> </description> </method> - <method name="get_suspension_stiffness" qualifiers="const" > + <method name="get_suspension_stiffness" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_suspension_max_force" > + <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" > + <method name="get_suspension_max_force" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_damping_compression" > + <method name="set_damping_compression"> <argument index="0" name="length" type="float"> </argument> <description> </description> </method> - <method name="get_damping_compression" qualifiers="const" > + <method name="get_damping_compression" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_damping_relaxation" > + <method name="set_damping_relaxation"> <argument index="0" name="length" type="float"> </argument> <description> </description> </method> - <method name="get_damping_relaxation" qualifiers="const" > + <method name="get_damping_relaxation" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_use_as_traction" > + <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" > + <method name="is_used_as_traction" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_use_as_steering" > + <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" > + <method name="is_used_as_steering" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_friction_slip" > + <method name="set_friction_slip"> <argument index="0" name="length" type="float"> </argument> <description> </description> </method> - <method name="get_friction_slip" qualifiers="const" > + <method name="get_friction_slip" qualifiers="const"> <return type="float"> </return> <description> @@ -32604,104 +37697,128 @@ <description> </description> <methods> - <method name="set_stream" > + <method name="set_stream"> <argument index="0" name="stream" type="Stream"> </argument> <description> </description> </method> - <method name="get_stream" qualifiers="const" > + <method name="get_stream" qualifiers="const"> <return type="Stream"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_paused" > + <method name="set_paused"> <argument index="0" name="paused" type="bool"> </argument> <description> </description> </method> - <method name="is_paused" qualifiers="const" > + <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_volume" > + <method name="set_volume"> <argument index="0" name="volume" type="float"> </argument> <description> </description> </method> - <method name="get_volume" qualifiers="const" > + <method name="get_volume" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_volume_db" > + <method name="set_volume_db"> <argument index="0" name="db" type="float"> </argument> <description> </description> </method> - <method name="get_volume_db" qualifiers="const" > + <method name="get_volume_db" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="get_stream_name" qualifiers="const" > + <method name="set_audio_track"> + <argument index="0" name="track" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_audio_track" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> + <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_stream_pos" qualifiers="const" > + <method name="get_stream_pos" qualifiers="const"> <return type="float"> </return> <description> </description> </method> - <method name="set_autoplay" > + <method name="set_autoplay"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_autoplay" qualifiers="const" > + <method name="has_autoplay" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_expand" > + <method name="set_expand"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_expand" qualifiers="const" > + <method name="has_expand" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> + <method name="set_buffering_msec"> + <argument index="0" name="msec" type="int"> + </argument> + <description> + </description> + </method> + <method name="get_buffering_msec" qualifiers="const"> + <return type="int"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -32712,30 +37829,16 @@ <description> </description> <methods> - <method name="get_pending_frame_count" qualifiers="const" > - <return type="int"> - </return> - <description> - </description> - </method> - <method name="pop_frame" > - <argument index="0" name="arg0" type="Object"> - </argument> - <description> - </description> - </method> - <method name="peek_frame" qualifiers="const" > - <return type="Image"> - </return> - <description> - </description> - </method> - <method name="set_audio_track" > - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> + </methods> + <constants> + </constants> +</class> +<class name="VideoStreamTheora" inherits="VideoStream" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> </methods> <constants> </constants> @@ -32745,104 +37848,104 @@ Creates a sub-view into the screen. </brief_description> <description> - A Viewport creates a different view into the screen, or a sub-view inside another viewport. Children 2D Nodes will display on it, and children Camera 3D nodes will renderon it too.[br] - Optionally, a viewport can have it's own 2D or 3D world, so they don't share what they draw with other viewports.[br] - If a viewport is a child of a [Control], it will automatically take up it's same rect and position, otherwise they must be set manually.[br] - Viewports can also choose to be audio listeners, so they generate positional audio depending on a 2D or 3D camera child of it.[br] - Also, viewports can be assigned to different screens in the situation while devices have multiple screens.[br] - Finaly, viewports can also behave as render targets, in which case they will not be visible unless the associated texture is used to draw. + A Viewport creates a different view into the screen, or a sub-view inside another viewport. Children 2D Nodes will display on it, and children Camera 3D nodes will render on it too. + Optionally, a viewport can have its own 2D or 3D world, so they don't share what they draw with other viewports. + If a viewport is a child of a [Control], it will automatically take up its same rect and position, otherwise they must be set manually. + Viewports can also choose to be audio listeners, so they generate positional audio depending on a 2D or 3D camera child of it. + Also, viewports can be assigned to different screens in case the devices have multiple screens. + Finally, viewports can also behave as render targets, in which case they will not be visible unless the associated texture is used to draw. </description> <methods> - <method name="set_rect" > + <method name="set_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> - Set the viewport rect. If the viewport is child of a control, it will use the same as the parent. + Set the viewport rect. If the viewport is child of a control, it will use the same rect as the parent. </description> </method> - <method name="get_rect" qualifiers="const" > + <method name="get_rect" qualifiers="const"> <return type="Rect2"> </return> <description> - Return the viewport rect. If the viewport is child of a control, it will use the same as the parent, otherwise if the rect is empty, the viewport will use all the allowed space. + Return the viewport rect. If the viewport is child of a control, it will use the same rect as the parent. Otherwise, if the rect is empty, the viewport will use all the allowed space. </description> </method> - <method name="find_world_2d" qualifiers="const" > + <method name="find_world_2d" qualifiers="const"> <return type="World2D"> </return> <description> </description> </method> - <method name="set_world" > + <method name="set_world"> <argument index="0" name="world" type="World"> </argument> <description> </description> </method> - <method name="get_world" qualifiers="const" > + <method name="get_world" qualifiers="const"> <return type="World"> </return> <description> </description> </method> - <method name="find_world" qualifiers="const" > + <method name="find_world" qualifiers="const"> <return type="World"> </return> <description> </description> </method> - <method name="set_canvas_transform" > + <method name="set_canvas_transform"> <argument index="0" name="xform" type="Matrix32"> </argument> <description> </description> </method> - <method name="get_canvas_transform" qualifiers="const" > + <method name="get_canvas_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="set_global_canvas_transform" > + <method name="set_global_canvas_transform"> <argument index="0" name="xform" type="Matrix32"> </argument> <description> </description> </method> - <method name="get_global_canvas_transform" qualifiers="const" > + <method name="get_global_canvas_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="get_final_transform" qualifiers="const" > + <method name="get_final_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="get_visible_rect" qualifiers="const" > + <method name="get_visible_rect" qualifiers="const"> <return type="Rect2"> </return> <description> Return the final, visuble rect in global screen coordinates. </description> </method> - <method name="set_transparent_background" > + <method name="set_transparent_background"> <argument index="0" name="enable" type="bool"> </argument> <description> - Keep whathver the parent viewport has drawn + If this viewport is a child of another viewport, keep the previously drawn background visible. </description> </method> - <method name="has_transparent_background" qualifiers="const" > + <method name="has_transparent_background" qualifiers="const"> <return type="bool"> </return> <description> - If this viewport is a child of another viewport, keep the previously drawn background visible. + Reurn whether the viewport lets whatever is behind it to show. </description> </method> - <method name="set_size_override" > + <method name="set_size_override"> <argument index="0" name="enable" type="bool"> </argument> <argument index="1" name="size" type="Vector2" default="Vector2(-1,-1)"> @@ -32852,189 +37955,217 @@ <description> </description> </method> - <method name="get_size_override" qualifiers="const" > + <method name="get_size_override" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="is_size_override_enabled" qualifiers="const" > + <method name="is_size_override_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_size_override_stretch" > + <method name="set_size_override_stretch"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_size_override_stretch_enabled" qualifiers="const" > + <method name="is_size_override_stretch_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="queue_screen_capture" > + <method name="queue_screen_capture"> <description> </description> </method> - <method name="get_screen_capture" qualifiers="const" > + <method name="get_screen_capture" qualifiers="const"> <return type="Image"> </return> <description> </description> </method> - <method name="set_as_render_target" > + <method name="set_as_render_target"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <method name="is_set_as_render_target" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_render_target_vflip"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_set_as_render_target" qualifiers="const" > + <method name="get_render_target_vflip" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_render_target_vflip" > + <method name="set_render_target_clear_on_new_frame"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_render_target_vflip" qualifiers="const" > + <method name="get_render_target_clear_on_new_frame" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_render_target_filter" > + <method name="render_target_clear"> + <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" > + <method name="get_render_target_filter" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_render_target_gen_mipmaps" > + <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" > + <method name="get_render_target_gen_mipmaps" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_render_target_update_mode" > + <method name="set_render_target_update_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_render_target_update_mode" qualifiers="const" > + <method name="get_render_target_update_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_render_target_texture" qualifiers="const" > + <method name="get_render_target_texture" qualifiers="const"> <return type="RenderTargetTexture"> </return> <description> </description> </method> - <method name="set_physics_object_picking" > + <method name="set_physics_object_picking"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_physics_object_picking" > + <method name="get_physics_object_picking"> <return type="bool"> </return> <description> </description> </method> - <method name="get_viewport" qualifiers="const" > + <method name="get_viewport" qualifiers="const"> <return type="RID"> </return> <description> Get the viewport RID from the visual server. </description> </method> - <method name="input" > + <method name="input"> <argument index="0" name="local_event" type="InputEvent"> </argument> <description> </description> </method> - <method name="unhandled_input" > + <method name="unhandled_input"> <argument index="0" name="local_event" type="InputEvent"> </argument> <description> </description> </method> - <method name="update_worlds" > + <method name="update_worlds"> <description> </description> </method> - <method name="set_use_own_world" > + <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" > + <method name="is_using_own_world" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_camera" qualifiers="const" > + <method name="get_camera" qualifiers="const"> <return type="Camera"> </return> <description> </description> </method> - <method name="set_as_audio_listener" > + <method name="set_as_audio_listener"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_audio_listener" qualifiers="const" > + <method name="is_audio_listener" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_as_audio_listener_2d" > + <method name="set_as_audio_listener_2d"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_audio_listener_2d" qualifiers="const" > + <method name="is_audio_listener_2d" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_render_target_to_screen_rect" > + <method name="set_render_target_to_screen_rect"> <argument index="0" name="arg0" type="Rect2"> </argument> <description> </description> </method> + <method name="get_mouse_pos" qualifiers="const"> + <return type="Vector2"> + </return> + <description> + </description> + </method> + <method name="warp_mouse"> + <argument index="0" name="to_pos" type="Vector2"> + </argument> + <description> + </description> + </method> </methods> <signals> <signal name="size_changed"> @@ -33059,49 +38190,49 @@ <description> </description> <methods> - <method name="set_viewport_path" > + <method name="set_viewport_path"> <argument index="0" name="path" type="NodePath"> </argument> <description> </description> </method> - <method name="get_viewport_path" qualifiers="const" > + <method name="get_viewport_path" qualifiers="const"> <return type="NodePath"> </return> <description> </description> </method> - <method name="set_centered" > + <method name="set_centered"> <argument index="0" name="centered" type="bool"> </argument> <description> </description> </method> - <method name="is_centered" qualifiers="const" > + <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_modulate" > + <method name="set_modulate"> <argument index="0" name="modulate" type="Color"> </argument> <description> </description> </method> - <method name="get_modulate" qualifiers="const" > + <method name="get_modulate" qualifiers="const"> <return type="Color"> </return> <description> @@ -33117,7 +38248,7 @@ <description> </description> <methods> - <method name="set_enabler" > + <method name="set_enabler"> <argument index="0" name="enabler" type="int"> </argument> <argument index="1" name="enabled" type="bool"> @@ -33125,7 +38256,7 @@ <description> </description> </method> - <method name="is_enabler_enabled" qualifiers="const" > + <method name="is_enabler_enabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="enabler" type="int"> @@ -33149,7 +38280,7 @@ <description> </description> <methods> - <method name="set_enabler" > + <method name="set_enabler"> <argument index="0" name="enabler" type="int"> </argument> <argument index="1" name="enabled" type="bool"> @@ -33157,7 +38288,7 @@ <description> </description> </method> - <method name="is_enabler_enabled" qualifiers="const" > + <method name="is_enabler_enabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="enabler" type="int"> @@ -33171,7 +38302,13 @@ </constant> <constant name="ENABLER_PAUSE_ANIMATIONS" value="0"> </constant> - <constant name="ENABLER_MAX" value="2"> + <constant name="ENABLER_PAUSE_PARTICLES" value="2"> + </constant> + <constant name="ENABLER_PARENT_PROCESS" value="3"> + </constant> + <constant name="ENABLER_PARENT_FIXED_PROCESS" value="4"> + </constant> + <constant name="ENABLER_MAX" value="5"> </constant> </constants> </class> @@ -33181,19 +38318,19 @@ <description> </description> <methods> - <method name="set_aabb" > + <method name="set_aabb"> <argument index="0" name="rect" type="AABB"> </argument> <description> </description> </method> - <method name="get_aabb" qualifiers="const" > + <method name="get_aabb" qualifiers="const"> <return type="AABB"> </return> <description> </description> </method> - <method name="is_on_screen" qualifiers="const" > + <method name="is_on_screen" qualifiers="const"> <return type="bool"> </return> <description> @@ -33231,19 +38368,19 @@ <description> </description> <methods> - <method name="set_rect" > + <method name="set_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> </description> </method> - <method name="get_rect" qualifiers="const" > + <method name="get_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="is_on_screen" qualifiers="const" > + <method name="is_on_screen" qualifiers="const"> <return type="bool"> </return> <description> @@ -33281,19 +38418,19 @@ <description> </description> <methods> - <method name="set_base" > + <method name="set_base"> <argument index="0" name="base" type="RID"> </argument> <description> </description> </method> - <method name="set_layer_mask" > + <method name="set_layer_mask"> <argument index="0" name="mask" type="int"> </argument> <description> </description> </method> - <method name="get_layer_mask" qualifiers="const" > + <method name="get_layer_mask" qualifiers="const"> <return type="int"> </return> <description> @@ -33308,17 +38445,17 @@ Server for anything visible. </brief_description> <description> - Server for anything visible. The visual server is the API backend for everything visible. The whole scene system mounts on it to display.[br] + Server for anything visible. The visual server is the API backend for everything visible. The whole scene system mounts on it to display. The visual server is completely opaque, the internals are entirely implementation specific and cannot be accessed. </description> <methods> - <method name="texture_create" > + <method name="texture_create"> <return type="RID"> </return> <description> </description> </method> - <method name="texture_create_from_image" > + <method name="texture_create_from_image"> <return type="RID"> </return> <argument index="0" name="arg0" type="Image"> @@ -33328,7 +38465,7 @@ <description> </description> </method> - <method name="texture_set_flags" > + <method name="texture_set_flags"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33336,7 +38473,7 @@ <description> </description> </method> - <method name="texture_get_flags" qualifiers="const" > + <method name="texture_get_flags" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33344,7 +38481,7 @@ <description> </description> </method> - <method name="texture_get_width" qualifiers="const" > + <method name="texture_get_width" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33352,7 +38489,7 @@ <description> </description> </method> - <method name="texture_get_height" qualifiers="const" > + <method name="texture_get_height" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33360,7 +38497,7 @@ <description> </description> </method> - <method name="shader_create" > + <method name="shader_create"> <return type="RID"> </return> <argument index="0" name="mode" type="int" default="0"> @@ -33368,7 +38505,7 @@ <description> </description> </method> - <method name="shader_set_mode" > + <method name="shader_set_mode"> <argument index="0" name="shader" type="RID"> </argument> <argument index="1" name="mode" type="int"> @@ -33376,13 +38513,13 @@ <description> </description> </method> - <method name="material_create" > + <method name="material_create"> <return type="RID"> </return> <description> </description> </method> - <method name="material_set_shader" > + <method name="material_set_shader"> <argument index="0" name="shader" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -33390,7 +38527,7 @@ <description> </description> </method> - <method name="material_get_shader" qualifiers="const" > + <method name="material_get_shader" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -33398,7 +38535,7 @@ <description> </description> </method> - <method name="material_set_param" > + <method name="material_set_param"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="String"> @@ -33408,7 +38545,7 @@ <description> </description> </method> - <method name="material_get_param" qualifiers="const" > + <method name="material_get_param" qualifiers="const"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="String"> @@ -33416,7 +38553,7 @@ <description> </description> </method> - <method name="material_set_flag" > + <method name="material_set_flag"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33426,7 +38563,7 @@ <description> </description> </method> - <method name="material_get_flag" qualifiers="const" > + <method name="material_get_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -33436,7 +38573,7 @@ <description> </description> </method> - <method name="material_set_blend_mode" > + <method name="material_set_blend_mode"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33444,7 +38581,7 @@ <description> </description> </method> - <method name="material_get_blend_mode" qualifiers="const" > + <method name="material_get_blend_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33452,7 +38589,7 @@ <description> </description> </method> - <method name="material_set_line_width" > + <method name="material_set_line_width"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="float"> @@ -33460,7 +38597,7 @@ <description> </description> </method> - <method name="material_get_line_width" qualifiers="const" > + <method name="material_get_line_width" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="RID"> @@ -33468,13 +38605,13 @@ <description> </description> </method> - <method name="mesh_create" > + <method name="mesh_create"> <return type="RID"> </return> <description> </description> </method> - <method name="mesh_add_surface" > + <method name="mesh_add_surface"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33488,7 +38625,7 @@ <description> </description> </method> - <method name="mesh_surface_set_material" > + <method name="mesh_surface_set_material"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33500,7 +38637,7 @@ <description> </description> </method> - <method name="mesh_surface_get_material" qualifiers="const" > + <method name="mesh_surface_get_material" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -33510,7 +38647,7 @@ <description> </description> </method> - <method name="mesh_surface_get_array_len" qualifiers="const" > + <method name="mesh_surface_get_array_len" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33520,7 +38657,7 @@ <description> </description> </method> - <method name="mesh_surface_get_array_index_len" qualifiers="const" > + <method name="mesh_surface_get_array_index_len" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33530,7 +38667,7 @@ <description> </description> </method> - <method name="mesh_surface_get_format" qualifiers="const" > + <method name="mesh_surface_get_format" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33540,7 +38677,7 @@ <description> </description> </method> - <method name="mesh_surface_get_primitive_type" qualifiers="const" > + <method name="mesh_surface_get_primitive_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33550,7 +38687,7 @@ <description> </description> </method> - <method name="mesh_remove_surface" > + <method name="mesh_remove_surface"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33558,7 +38695,7 @@ <description> </description> </method> - <method name="mesh_get_surface_count" qualifiers="const" > + <method name="mesh_get_surface_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33566,13 +38703,13 @@ <description> </description> </method> - <method name="multimesh_create" > + <method name="multimesh_create"> <return type="RID"> </return> <description> </description> </method> - <method name="multimesh_set_mesh" > + <method name="multimesh_set_mesh"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -33580,7 +38717,7 @@ <description> </description> </method> - <method name="multimesh_set_aabb" > + <method name="multimesh_set_aabb"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="AABB"> @@ -33588,7 +38725,7 @@ <description> </description> </method> - <method name="multimesh_instance_set_transform" > + <method name="multimesh_instance_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33598,7 +38735,7 @@ <description> </description> </method> - <method name="multimesh_instance_set_color" > + <method name="multimesh_instance_set_color"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33608,7 +38745,7 @@ <description> </description> </method> - <method name="multimesh_get_mesh" qualifiers="const" > + <method name="multimesh_get_mesh" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -33616,7 +38753,7 @@ <description> </description> </method> - <method name="multimesh_get_aabb" qualifiers="const" > + <method name="multimesh_get_aabb" qualifiers="const"> <return type="AABB"> </return> <argument index="0" name="arg0" type="RID"> @@ -33626,7 +38763,7 @@ <description> </description> </method> - <method name="multimesh_instance_get_transform" qualifiers="const" > + <method name="multimesh_instance_get_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="arg0" type="RID"> @@ -33636,7 +38773,7 @@ <description> </description> </method> - <method name="multimesh_instance_get_color" qualifiers="const" > + <method name="multimesh_instance_get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="RID"> @@ -33646,13 +38783,13 @@ <description> </description> </method> - <method name="particles_create" > + <method name="particles_create"> <return type="RID"> </return> <description> </description> </method> - <method name="particles_set_amount" > + <method name="particles_set_amount"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33660,7 +38797,7 @@ <description> </description> </method> - <method name="particles_get_amount" qualifiers="const" > + <method name="particles_get_amount" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33668,7 +38805,7 @@ <description> </description> </method> - <method name="particles_set_emitting" > + <method name="particles_set_emitting"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -33676,7 +38813,7 @@ <description> </description> </method> - <method name="particles_is_emitting" qualifiers="const" > + <method name="particles_is_emitting" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -33684,7 +38821,7 @@ <description> </description> </method> - <method name="particles_set_visibility_aabb" > + <method name="particles_set_visibility_aabb"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="AABB"> @@ -33692,7 +38829,7 @@ <description> </description> </method> - <method name="particles_get_visibility_aabb" qualifiers="const" > + <method name="particles_get_visibility_aabb" qualifiers="const"> <return type="AABB"> </return> <argument index="0" name="arg0" type="RID"> @@ -33700,7 +38837,7 @@ <description> </description> </method> - <method name="particles_set_variable" > + <method name="particles_set_variable"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33710,7 +38847,7 @@ <description> </description> </method> - <method name="particles_get_variable" qualifiers="const" > + <method name="particles_get_variable" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="RID"> @@ -33720,7 +38857,7 @@ <description> </description> </method> - <method name="particles_set_randomness" > + <method name="particles_set_randomness"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33730,7 +38867,7 @@ <description> </description> </method> - <method name="particles_get_randomness" qualifiers="const" > + <method name="particles_get_randomness" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="RID"> @@ -33740,7 +38877,7 @@ <description> </description> </method> - <method name="particles_set_color_phases" > + <method name="particles_set_color_phases"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33748,7 +38885,7 @@ <description> </description> </method> - <method name="particles_get_color_phases" qualifiers="const" > + <method name="particles_get_color_phases" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33756,7 +38893,7 @@ <description> </description> </method> - <method name="particles_set_color_phase_pos" > + <method name="particles_set_color_phase_pos"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33766,7 +38903,7 @@ <description> </description> </method> - <method name="particles_get_color_phase_pos" qualifiers="const" > + <method name="particles_get_color_phase_pos" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="RID"> @@ -33776,7 +38913,7 @@ <description> </description> </method> - <method name="particles_set_color_phase_color" > + <method name="particles_set_color_phase_color"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33786,7 +38923,7 @@ <description> </description> </method> - <method name="particles_get_color_phase_color" qualifiers="const" > + <method name="particles_get_color_phase_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="RID"> @@ -33796,7 +38933,7 @@ <description> </description> </method> - <method name="particles_set_attractors" > + <method name="particles_set_attractors"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33804,7 +38941,7 @@ <description> </description> </method> - <method name="particles_get_attractors" qualifiers="const" > + <method name="particles_get_attractors" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33812,7 +38949,7 @@ <description> </description> </method> - <method name="particles_set_attractor_pos" > + <method name="particles_set_attractor_pos"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33822,7 +38959,7 @@ <description> </description> </method> - <method name="particles_get_attractor_pos" qualifiers="const" > + <method name="particles_get_attractor_pos" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="arg0" type="RID"> @@ -33832,7 +38969,7 @@ <description> </description> </method> - <method name="particles_set_attractor_strength" > + <method name="particles_set_attractor_strength"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33842,7 +38979,7 @@ <description> </description> </method> - <method name="particles_get_attractor_strength" qualifiers="const" > + <method name="particles_get_attractor_strength" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="RID"> @@ -33852,7 +38989,7 @@ <description> </description> </method> - <method name="particles_set_material" > + <method name="particles_set_material"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -33862,7 +38999,7 @@ <description> </description> </method> - <method name="particles_set_height_from_velocity" > + <method name="particles_set_height_from_velocity"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -33870,7 +39007,7 @@ <description> </description> </method> - <method name="particles_has_height_from_velocity" qualifiers="const" > + <method name="particles_has_height_from_velocity" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -33878,7 +39015,7 @@ <description> </description> </method> - <method name="light_create" > + <method name="light_create"> <return type="RID"> </return> <argument index="0" name="arg0" type="int"> @@ -33886,7 +39023,7 @@ <description> </description> </method> - <method name="light_get_type" qualifiers="const" > + <method name="light_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -33894,7 +39031,7 @@ <description> </description> </method> - <method name="light_set_color" > + <method name="light_set_color"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33904,7 +39041,7 @@ <description> </description> </method> - <method name="light_get_color" qualifiers="const" > + <method name="light_get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="RID"> @@ -33914,7 +39051,7 @@ <description> </description> </method> - <method name="light_set_shadow" > + <method name="light_set_shadow"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -33922,7 +39059,7 @@ <description> </description> </method> - <method name="light_has_shadow" qualifiers="const" > + <method name="light_has_shadow" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -33930,7 +39067,7 @@ <description> </description> </method> - <method name="light_set_volumetric" > + <method name="light_set_volumetric"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -33938,7 +39075,7 @@ <description> </description> </method> - <method name="light_is_volumetric" qualifiers="const" > + <method name="light_is_volumetric" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -33946,7 +39083,7 @@ <description> </description> </method> - <method name="light_set_projector" > + <method name="light_set_projector"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -33954,7 +39091,7 @@ <description> </description> </method> - <method name="light_get_projector" qualifiers="const" > + <method name="light_get_projector" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -33962,7 +39099,7 @@ <description> </description> </method> - <method name="light_set_var" > + <method name="light_set_var"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33972,7 +39109,7 @@ <description> </description> </method> - <method name="light_get_var" qualifiers="const" > + <method name="light_get_var" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="RID"> @@ -33982,13 +39119,13 @@ <description> </description> </method> - <method name="skeleton_create" > + <method name="skeleton_create"> <return type="RID"> </return> <description> </description> </method> - <method name="skeleton_resize" > + <method name="skeleton_resize"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -33996,7 +39133,7 @@ <description> </description> </method> - <method name="skeleton_get_bone_count" qualifiers="const" > + <method name="skeleton_get_bone_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -34004,7 +39141,7 @@ <description> </description> </method> - <method name="skeleton_bone_set_transform" > + <method name="skeleton_bone_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -34014,7 +39151,7 @@ <description> </description> </method> - <method name="skeleton_bone_get_transform" > + <method name="skeleton_bone_get_transform"> <return type="Transform"> </return> <argument index="0" name="arg0" type="RID"> @@ -34024,13 +39161,13 @@ <description> </description> </method> - <method name="room_create" > + <method name="room_create"> <return type="RID"> </return> <description> </description> </method> - <method name="room_set_bounds" > + <method name="room_set_bounds"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Dictionary"> @@ -34038,7 +39175,7 @@ <description> </description> </method> - <method name="room_get_bounds" qualifiers="const" > + <method name="room_get_bounds" qualifiers="const"> <return type="Dictionary"> </return> <argument index="0" name="arg0" type="RID"> @@ -34046,13 +39183,13 @@ <description> </description> </method> - <method name="portal_create" > + <method name="portal_create"> <return type="RID"> </return> <description> </description> </method> - <method name="portal_set_shape" > + <method name="portal_set_shape"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Vector2Array"> @@ -34060,7 +39197,7 @@ <description> </description> </method> - <method name="portal_get_shape" qualifiers="const" > + <method name="portal_get_shape" qualifiers="const"> <return type="Vector2Array"> </return> <argument index="0" name="arg0" type="RID"> @@ -34068,7 +39205,7 @@ <description> </description> </method> - <method name="portal_set_enabled" > + <method name="portal_set_enabled"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -34076,7 +39213,7 @@ <description> </description> </method> - <method name="portal_is_enabled" qualifiers="const" > + <method name="portal_is_enabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -34084,7 +39221,7 @@ <description> </description> </method> - <method name="portal_set_disable_distance" > + <method name="portal_set_disable_distance"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="float"> @@ -34092,7 +39229,7 @@ <description> </description> </method> - <method name="portal_get_disable_distance" qualifiers="const" > + <method name="portal_get_disable_distance" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="RID"> @@ -34100,7 +39237,7 @@ <description> </description> </method> - <method name="portal_set_disabled_color" > + <method name="portal_set_disabled_color"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Color"> @@ -34108,7 +39245,7 @@ <description> </description> </method> - <method name="portal_get_disabled_color" qualifiers="const" > + <method name="portal_get_disabled_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="RID"> @@ -34116,13 +39253,13 @@ <description> </description> </method> - <method name="camera_create" > + <method name="camera_create"> <return type="RID"> </return> <description> </description> </method> - <method name="camera_set_perspective" > + <method name="camera_set_perspective"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="float"> @@ -34134,7 +39271,7 @@ <description> </description> </method> - <method name="camera_set_orthogonal" > + <method name="camera_set_orthogonal"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="float"> @@ -34146,7 +39283,7 @@ <description> </description> </method> - <method name="camera_set_transform" > + <method name="camera_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Transform"> @@ -34154,13 +39291,13 @@ <description> </description> </method> - <method name="viewport_create" > + <method name="viewport_create"> <return type="RID"> </return> <description> </description> </method> - <method name="viewport_set_rect" > + <method name="viewport_set_rect"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -34168,7 +39305,7 @@ <description> </description> </method> - <method name="viewport_get_rect" qualifiers="const" > + <method name="viewport_get_rect" qualifiers="const"> <return type="Rect2"> </return> <argument index="0" name="arg0" type="RID"> @@ -34176,7 +39313,7 @@ <description> </description> </method> - <method name="viewport_attach_camera" > + <method name="viewport_attach_camera"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID" default="RID()"> @@ -34184,7 +39321,7 @@ <description> </description> </method> - <method name="viewport_get_attached_camera" qualifiers="const" > + <method name="viewport_get_attached_camera" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -34192,7 +39329,7 @@ <description> </description> </method> - <method name="viewport_get_scenario" qualifiers="const" > + <method name="viewport_get_scenario" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -34200,7 +39337,7 @@ <description> </description> </method> - <method name="viewport_attach_canvas" > + <method name="viewport_attach_canvas"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -34208,7 +39345,7 @@ <description> </description> </method> - <method name="viewport_remove_canvas" > + <method name="viewport_remove_canvas"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -34216,7 +39353,7 @@ <description> </description> </method> - <method name="viewport_set_global_canvas_transform" > + <method name="viewport_set_global_canvas_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Matrix32"> @@ -34224,13 +39361,13 @@ <description> </description> </method> - <method name="scenario_create" > + <method name="scenario_create"> <return type="RID"> </return> <description> </description> </method> - <method name="scenario_set_debug" > + <method name="scenario_set_debug"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -34238,13 +39375,13 @@ <description> </description> </method> - <method name="instance_create" > + <method name="instance_create"> <return type="RID"> </return> <description> </description> </method> - <method name="instance_get_base" qualifiers="const" > + <method name="instance_get_base" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -34252,7 +39389,7 @@ <description> </description> </method> - <method name="instance_get_base_aabb" qualifiers="const" > + <method name="instance_get_base_aabb" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -34260,7 +39397,7 @@ <description> </description> </method> - <method name="instance_set_transform" > + <method name="instance_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Transform"> @@ -34268,7 +39405,7 @@ <description> </description> </method> - <method name="instance_get_transform" qualifiers="const" > + <method name="instance_get_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="arg0" type="RID"> @@ -34276,7 +39413,7 @@ <description> </description> </method> - <method name="instance_attach_object_instance_ID" > + <method name="instance_attach_object_instance_ID"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -34284,7 +39421,7 @@ <description> </description> </method> - <method name="instance_get_object_instance_ID" qualifiers="const" > + <method name="instance_get_object_instance_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -34292,7 +39429,7 @@ <description> </description> </method> - <method name="instance_attach_skeleton" > + <method name="instance_attach_skeleton"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -34300,7 +39437,7 @@ <description> </description> </method> - <method name="instance_get_skeleton" qualifiers="const" > + <method name="instance_get_skeleton" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -34308,7 +39445,7 @@ <description> </description> </method> - <method name="instance_set_room" > + <method name="instance_set_room"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -34316,7 +39453,7 @@ <description> </description> </method> - <method name="instance_get_room" qualifiers="const" > + <method name="instance_get_room" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -34324,7 +39461,7 @@ <description> </description> </method> - <method name="instance_set_exterior" > + <method name="instance_set_exterior"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -34332,7 +39469,7 @@ <description> </description> </method> - <method name="instance_is_exterior" qualifiers="const" > + <method name="instance_is_exterior" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -34340,7 +39477,7 @@ <description> </description> </method> - <method name="instances_cull_aabb" qualifiers="const" > + <method name="instances_cull_aabb" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="arg0" type="AABB"> @@ -34350,7 +39487,7 @@ <description> </description> </method> - <method name="instances_cull_ray" qualifiers="const" > + <method name="instances_cull_ray" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="arg0" type="Vector3"> @@ -34362,7 +39499,7 @@ <description> </description> </method> - <method name="instances_cull_convex" qualifiers="const" > + <method name="instances_cull_convex" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="arg0" type="Array"> @@ -34372,7 +39509,7 @@ <description> </description> </method> - <method name="instance_geometry_override_material_param" qualifiers="const" > + <method name="instance_geometry_override_material_param" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -34380,7 +39517,7 @@ <description> </description> </method> - <method name="instance_geometry_get_material_param" qualifiers="const" > + <method name="instance_geometry_get_material_param" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -34388,25 +39525,25 @@ <description> </description> </method> - <method name="get_test_cube" > + <method name="get_test_cube"> <return type="RID"> </return> <description> </description> </method> - <method name="canvas_create" > + <method name="canvas_create"> <return type="RID"> </return> <description> </description> </method> - <method name="canvas_item_create" > + <method name="canvas_item_create"> <return type="RID"> </return> <description> </description> </method> - <method name="canvas_item_set_parent" > + <method name="canvas_item_set_parent"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -34414,7 +39551,7 @@ <description> </description> </method> - <method name="canvas_item_get_parent" qualifiers="const" > + <method name="canvas_item_get_parent" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -34422,7 +39559,7 @@ <description> </description> </method> - <method name="canvas_item_set_transform" > + <method name="canvas_item_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Matrix32"> @@ -34430,7 +39567,7 @@ <description> </description> </method> - <method name="canvas_item_set_custom_rect" > + <method name="canvas_item_set_custom_rect"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -34440,7 +39577,7 @@ <description> </description> </method> - <method name="canvas_item_set_clip" > + <method name="canvas_item_set_clip"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -34448,7 +39585,7 @@ <description> </description> </method> - <method name="canvas_item_set_opacity" > + <method name="canvas_item_set_opacity"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="float"> @@ -34456,7 +39593,7 @@ <description> </description> </method> - <method name="canvas_item_get_opacity" qualifiers="const" > + <method name="canvas_item_get_opacity" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="RID"> @@ -34466,7 +39603,7 @@ <description> </description> </method> - <method name="canvas_item_set_self_opacity" > + <method name="canvas_item_set_self_opacity"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="float"> @@ -34474,7 +39611,7 @@ <description> </description> </method> - <method name="canvas_item_get_self_opacity" qualifiers="const" > + <method name="canvas_item_get_self_opacity" qualifiers="const"> <return type="float"> </return> <argument index="0" name="arg0" type="RID"> @@ -34484,7 +39621,7 @@ <description> </description> </method> - <method name="canvas_item_add_line" > + <method name="canvas_item_add_line"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Vector2"> @@ -34498,7 +39635,7 @@ <description> </description> </method> - <method name="canvas_item_add_rect" > + <method name="canvas_item_add_rect"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -34508,7 +39645,7 @@ <description> </description> </method> - <method name="canvas_item_add_texture_rect" > + <method name="canvas_item_add_texture_rect"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -34519,10 +39656,12 @@ </argument> <argument index="4" name="arg4" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="5" name="arg5" type="bool" default="false"> + </argument> <description> </description> </method> - <method name="canvas_item_add_texture_rect_region" > + <method name="canvas_item_add_texture_rect_region"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -34533,10 +39672,12 @@ </argument> <argument index="4" name="arg4" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="5" name="arg5" type="bool" default="false"> + </argument> <description> </description> </method> - <method name="canvas_item_add_style_box" > + <method name="canvas_item_add_style_box"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -34550,7 +39691,7 @@ <description> </description> </method> - <method name="canvas_item_add_circle" > + <method name="canvas_item_add_circle"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Vector2"> @@ -34562,7 +39703,7 @@ <description> </description> </method> - <method name="viewport_set_canvas_transform" > + <method name="viewport_set_canvas_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -34572,19 +39713,19 @@ <description> </description> </method> - <method name="canvas_item_clear" > + <method name="canvas_item_clear"> <argument index="0" name="arg0" type="RID"> </argument> <description> </description> </method> - <method name="canvas_item_raise" > + <method name="canvas_item_raise"> <argument index="0" name="arg0" type="RID"> </argument> <description> </description> </method> - <method name="cursor_set_rotation" > + <method name="cursor_set_rotation"> <argument index="0" name="arg0" type="float"> </argument> <argument index="1" name="arg1" type="int"> @@ -34592,7 +39733,7 @@ <description> </description> </method> - <method name="cursor_set_texture" > + <method name="cursor_set_texture"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Vector2"> @@ -34602,7 +39743,7 @@ <description> </description> </method> - <method name="cursor_set_visible" > + <method name="cursor_set_visible"> <argument index="0" name="arg0" type="bool"> </argument> <argument index="1" name="arg1" type="int"> @@ -34610,7 +39751,7 @@ <description> </description> </method> - <method name="cursor_set_pos" > + <method name="cursor_set_pos"> <argument index="0" name="arg0" type="Vector2"> </argument> <argument index="1" name="arg1" type="int"> @@ -34618,7 +39759,7 @@ <description> </description> </method> - <method name="black_bars_set_margins" > + <method name="black_bars_set_margins"> <argument index="0" name="left" type="int"> </argument> <argument index="1" name="top" type="int"> @@ -34630,7 +39771,7 @@ <description> </description> </method> - <method name="black_bars_set_images" > + <method name="black_bars_set_images"> <argument index="0" name="left" type="RID"> </argument> <argument index="1" name="top" type="RID"> @@ -34642,7 +39783,7 @@ <description> </description> </method> - <method name="make_sphere_mesh" > + <method name="make_sphere_mesh"> <return type="RID"> </return> <argument index="0" name="arg0" type="int"> @@ -34654,7 +39795,7 @@ <description> </description> </method> - <method name="mesh_add_surface_from_planes" > + <method name="mesh_add_surface_from_planes"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Array"> @@ -34662,27 +39803,27 @@ <description> </description> </method> - <method name="draw" > + <method name="draw"> <description> </description> </method> - <method name="flush" > + <method name="sync"> <description> </description> </method> - <method name="free" > + <method name="free"> <argument index="0" name="arg0" type="RID"> </argument> <description> </description> </method> - <method name="set_default_clear_color" > + <method name="set_default_clear_color"> <argument index="0" name="arg0" type="Color"> </argument> <description> </description> </method> - <method name="get_render_info" > + <method name="get_render_info"> <return type="int"> </return> <argument index="0" name="arg0" type="int"> @@ -34918,6 +40059,20 @@ </constant> </constants> </class> +<class name="WeakRef" inherits="Reference" category="Core"> + <brief_description> + </brief_description> + <description> + </description> + <methods> + <method name="get_ref" qualifiers="const"> + <description> + </description> + </method> + </methods> + <constants> + </constants> +</class> <class name="WindowDialog" inherits="Popup" category="Core"> <brief_description> Base class for window dialogs. @@ -34926,21 +40081,21 @@ Windowdialog is the base class for all window-based dialogs. It's a by-default toplevel [Control] that draws a window decoration and allows motion and resizing. </description> <methods> - <method name="set_title" > + <method name="set_title"> <argument index="0" name="title" type="String"> </argument> <description> Set the title of the window. </description> </method> - <method name="get_title" qualifiers="const" > + <method name="get_title" qualifiers="const"> <return type="String"> </return> <description> Return the title of the window. </description> </method> - <method name="get_close_button" > + <method name="get_close_button"> <return type="TextureButton"> </return> <description> @@ -34955,10 +40110,10 @@ </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="close_v_ofs" type="int"> + </theme_item> <theme_item name="title_color" type="Color"> </theme_item> <theme_item name="close_hilite" type="Texture"> @@ -34979,36 +40134,42 @@ Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Spatial nodes register their resources into the current world. </description> <methods> - <method name="get_space" qualifiers="const" > + <method name="get_space" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="get_scenario" qualifiers="const" > + <method name="get_scenario" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="get_sound_space" qualifiers="const" > + <method name="get_sound_space" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="set_environment" > + <method name="set_environment"> <argument index="0" name="env" type="Environment"> </argument> <description> </description> </method> - <method name="get_environment" qualifiers="const" > + <method name="get_environment" qualifiers="const"> <return type="Environment"> </return> <description> </description> </method> + <method name="get_direct_space_state"> + <return type="PhysicsDirectSpaceState"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -35021,24 +40182,30 @@ Class that has everything pertaining to a 2D world. A physics space, a visual scenario and a sound space. 2D nodes register their resources into the current 2D world. </description> <methods> - <method name="get_canvas" > + <method name="get_canvas"> <return type="RID"> </return> <description> </description> </method> - <method name="get_space" > + <method name="get_space"> <return type="RID"> </return> <description> </description> </method> - <method name="get_sound_space" > + <method name="get_sound_space"> <return type="RID"> </return> <description> </description> </method> + <method name="get_direct_space_state"> + <return type="Physics2DDirectSpaceState"> + </return> + <description> + </description> + </method> </methods> <constants> </constants> @@ -35049,13 +40216,13 @@ <description> </description> <methods> - <method name="set_environment" > + <method name="set_environment"> <argument index="0" name="env" type="Environment"> </argument> <description> </description> </method> - <method name="get_environment" qualifiers="const" > + <method name="get_environment" qualifiers="const"> <return type="Environment"> </return> <description> @@ -35071,43 +40238,43 @@ <description> </description> <methods> - <method name="read" > + <method name="read"> <return type="int"> </return> <description> </description> </method> - <method name="get_node_type" > + <method name="get_node_type"> <return type="int"> </return> <description> </description> </method> - <method name="get_node_name" qualifiers="const" > + <method name="get_node_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_node_data" qualifiers="const" > + <method name="get_node_data" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_node_offset" qualifiers="const" > + <method name="get_node_offset" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_attribute_count" qualifiers="const" > + <method name="get_attribute_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_attribute_name" qualifiers="const" > + <method name="get_attribute_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="arg0" type="int"> @@ -35115,7 +40282,7 @@ <description> </description> </method> - <method name="get_attribute_value" qualifiers="const" > + <method name="get_attribute_value" qualifiers="const"> <return type="String"> </return> <argument index="0" name="arg0" type="int"> @@ -35123,7 +40290,7 @@ <description> </description> </method> - <method name="has_attribute" qualifiers="const" > + <method name="has_attribute" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="String"> @@ -35131,7 +40298,7 @@ <description> </description> </method> - <method name="get_named_attribute_value" qualifiers="const" > + <method name="get_named_attribute_value" qualifiers="const"> <return type="String"> </return> <argument index="0" name="arg0" type="String"> @@ -35139,7 +40306,7 @@ <description> </description> </method> - <method name="get_named_attribute_value_safe" qualifiers="const" > + <method name="get_named_attribute_value_safe" qualifiers="const"> <return type="String"> </return> <argument index="0" name="arg0" type="String"> @@ -35147,23 +40314,23 @@ <description> </description> </method> - <method name="is_empty" qualifiers="const" > + <method name="is_empty" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_current_line" qualifiers="const" > + <method name="get_current_line" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="skip_section" > + <method name="skip_section"> <description> </description> </method> - <method name="seek" > + <method name="seek"> <return type="int"> </return> <argument index="0" name="arg0" type="int"> @@ -35171,7 +40338,7 @@ <description> </description> </method> - <method name="open" > + <method name="open"> <return type="int"> </return> <argument index="0" name="file" type="String"> @@ -35179,7 +40346,7 @@ <description> </description> </method> - <method name="open_buffer" > + <method name="open_buffer"> <return type="int"> </return> <argument index="0" name="buffer" type="RawArray"> @@ -35211,13 +40378,13 @@ <description> </description> <methods> - <method name="set_sort_enabled" > + <method name="set_sort_enabled"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_sort_enabled" qualifiers="const" > + <method name="is_sort_enabled" qualifiers="const"> <return type="bool"> </return> <description> @@ -35235,19 +40402,25 @@ Boolean built-in type. </description> <methods> - <method name="bool" > + <method name="bool"> + <return type="bool"> + </return> <argument index="0" name="from" type="int"> </argument> <description> </description> </method> - <method name="bool" > + <method name="bool"> + <return type="bool"> + </return> <argument index="0" name="from" type="float"> </argument> <description> </description> </method> - <method name="bool" > + <method name="bool"> + <return type="bool"> + </return> <argument index="0" name="from" type="String"> </argument> <description> @@ -35263,19 +40436,25 @@ <description> </description> <methods> - <method name="float" > + <method name="float"> + <return type="float"> + </return> <argument index="0" name="from" type="bool"> </argument> <description> </description> </method> - <method name="float" > + <method name="float"> + <return type="float"> + </return> <argument index="0" name="from" type="int"> </argument> <description> </description> </method> - <method name="float" > + <method name="float"> + <return type="float"> + </return> <argument index="0" name="from" type="String"> </argument> <description> @@ -35293,19 +40472,25 @@ Integer built-in type. </description> <methods> - <method name="int" > + <method name="int"> + <return type="int"> + </return> <argument index="0" name="from" type="bool"> </argument> <description> </description> </method> - <method name="int" > + <method name="int"> + <return type="int"> + </return> <argument index="0" name="from" type="float"> </argument> <description> </description> </method> - <method name="int" > + <method name="int"> + <return type="int"> + </return> <argument index="0" name="from" type="String"> </argument> <description> diff --git a/doc/engine_classes.xml b/doc/engine_classes.xml index fca2be0318..af153a16ef 100644 --- a/doc/engine_classes.xml +++ b/doc/engine_classes.xml @@ -6,31 +6,31 @@ <description> </description> <methods> - <method name="get_ok" > + <method name="get_ok"> <return type="Object"> </return> <description> </description> </method> - <method name="get_label" > + <method name="get_label"> <return type="Object"> </return> <description> </description> </method> - <method name="set_hide_on_ok" > + <method name="set_hide_on_ok"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="get_hide_on_ok" qualifiers="const" > + <method name="get_hide_on_ok" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="add_button" > + <method name="add_button"> <return type="Button"> </return> <argument index="0" name="text" type="String" default=""""> @@ -38,7 +38,7 @@ <description> </description> </method> - <method name="add_cancel" > + <method name="add_cancel"> <return type="Button"> </return> <argument index="0" name="name" type="String"> @@ -46,19 +46,19 @@ <description> </description> </method> - <method name="register_text_enter" > + <method name="register_text_enter"> <argument index="0" name="line_edit" type="Object"> </argument> <description> </description> </method> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> @@ -86,7 +86,7 @@ <description> </description> <methods> - <method name="add_track" > + <method name="add_track"> <return type="int"> </return> <argument index="0" name="type" type="int"> @@ -96,19 +96,19 @@ <description> </description> </method> - <method name="remove_track" > + <method name="remove_track"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="get_track_count" qualifiers="const" > + <method name="get_track_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="track_get_type" qualifiers="const" > + <method name="track_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -116,7 +116,7 @@ <description> </description> </method> - <method name="track_get_path" qualifiers="const" > + <method name="track_get_path" qualifiers="const"> <return type="NodePath"> </return> <argument index="0" name="idx" type="int"> @@ -124,7 +124,7 @@ <description> </description> </method> - <method name="track_set_path" > + <method name="track_set_path"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="path" type="NodePath"> @@ -132,19 +132,19 @@ <description> </description> </method> - <method name="track_move_up" > + <method name="track_move_up"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="track_move_down" > + <method name="track_move_down"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="transform_track_insert_key" > + <method name="transform_track_insert_key"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -160,7 +160,7 @@ <description> </description> </method> - <method name="track_insert_key" > + <method name="track_insert_key"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="time" type="real"> @@ -172,7 +172,7 @@ <description> </description> </method> - <method name="track_remove_key" > + <method name="track_remove_key"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="key_idx" type="int"> @@ -180,7 +180,7 @@ <description> </description> </method> - <method name="track_remove_key_at_pos" > + <method name="track_remove_key_at_pos"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="pos" type="real"> @@ -188,7 +188,7 @@ <description> </description> </method> - <method name="track_set_key_value" > + <method name="track_set_key_value"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="key" type="int"> @@ -198,7 +198,7 @@ <description> </description> </method> - <method name="track_set_key_transition" > + <method name="track_set_key_transition"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="key_idx" type="int"> @@ -208,7 +208,7 @@ <description> </description> </method> - <method name="track_get_key_transition" qualifiers="const" > + <method name="track_get_key_transition" qualifiers="const"> <return type="real"> </return> <argument index="0" name="idx" type="int"> @@ -218,7 +218,7 @@ <description> </description> </method> - <method name="track_get_key_count" qualifiers="const" > + <method name="track_get_key_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -226,7 +226,7 @@ <description> </description> </method> - <method name="track_get_key_value" qualifiers="const" > + <method name="track_get_key_value" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="key_idx" type="int"> @@ -234,7 +234,7 @@ <description> </description> </method> - <method name="track_get_key_time" qualifiers="const" > + <method name="track_get_key_time" qualifiers="const"> <return type="real"> </return> <argument index="0" name="idx" type="int"> @@ -244,7 +244,7 @@ <description> </description> </method> - <method name="track_find_key" qualifiers="const" > + <method name="track_find_key" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -256,7 +256,7 @@ <description> </description> </method> - <method name="track_set_interpolation_type" > + <method name="track_set_interpolation_type"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="interpolation" type="int"> @@ -264,7 +264,7 @@ <description> </description> </method> - <method name="track_get_interpolation_type" qualifiers="const" > + <method name="track_get_interpolation_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -272,7 +272,7 @@ <description> </description> </method> - <method name="transform_track_interpolate" qualifiers="const" > + <method name="transform_track_interpolate" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="idx" type="int"> @@ -282,7 +282,7 @@ <description> </description> </method> - <method name="value_track_set_continuous" > + <method name="value_track_set_continuous"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="continuous" type="bool"> @@ -290,7 +290,7 @@ <description> </description> </method> - <method name="value_track_is_continuous" qualifiers="const" > + <method name="value_track_is_continuous" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -298,7 +298,7 @@ <description> </description> </method> - <method name="value_track_get_key_indices" qualifiers="const" > + <method name="value_track_get_key_indices" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="idx" type="int"> @@ -310,7 +310,7 @@ <description> </description> </method> - <method name="method_track_get_key_indices" qualifiers="const" > + <method name="method_track_get_key_indices" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="idx" type="int"> @@ -322,7 +322,7 @@ <description> </description> </method> - <method name="method_track_get_name" qualifiers="const" > + <method name="method_track_get_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -332,7 +332,7 @@ <description> </description> </method> - <method name="method_track_get_params" qualifiers="const" > + <method name="method_track_get_params" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="idx" type="int"> @@ -342,31 +342,31 @@ <description> </description> </method> - <method name="set_length" > + <method name="set_length"> <argument index="0" name="time_sec" type="real"> </argument> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> @@ -392,7 +392,7 @@ <description> </description> <methods> - <method name="add_animation" > + <method name="add_animation"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -402,13 +402,13 @@ <description> </description> </method> - <method name="remove_animation" > + <method name="remove_animation"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="rename_animation" > + <method name="rename_animation"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="newname" type="String"> @@ -416,7 +416,7 @@ <description> </description> </method> - <method name="has_animation" qualifiers="const" > + <method name="has_animation" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -424,7 +424,7 @@ <description> </description> </method> - <method name="get_animation" qualifiers="const" > + <method name="get_animation" qualifiers="const"> <return type="Animation"> </return> <argument index="0" name="name" type="String"> @@ -432,13 +432,13 @@ <description> </description> </method> - <method name="get_animation_list" qualifiers="const" > + <method name="get_animation_list" qualifiers="const"> <return type="StringArray"> </return> <description> </description> </method> - <method name="set_blend_time" > + <method name="set_blend_time"> <argument index="0" name="anim_from" type="String"> </argument> <argument index="1" name="anim_to" type="String"> @@ -448,7 +448,7 @@ <description> </description> </method> - <method name="get_blend_time" qualifiers="const" > + <method name="get_blend_time" qualifiers="const"> <return type="real"> </return> <argument index="0" name="anim_from" type="String"> @@ -458,81 +458,81 @@ <description> </description> </method> - <method name="play" > + <method name="play"> <argument index="0" name="name" type="String" default=""""> </argument> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="stop_all" > + <method name="stop_all"> <description> </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_current_animation" > + <method name="set_current_animation"> <argument index="0" name="anim" type="String"> </argument> <description> </description> </method> - <method name="get_current_animation" qualifiers="const" > + <method name="get_current_animation" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="queue" > + <method name="queue"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="set_pause" > + <method name="set_pause"> <argument index="0" name="paused" type="bool"> </argument> <description> </description> </method> - <method name="is_paused" qualifiers="const" > + <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_speed" > + <method name="set_speed"> <argument index="0" name="speed" type="real"> </argument> <description> </description> </method> - <method name="get_speed" qualifiers="const" > + <method name="get_speed" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_autoplay" > + <method name="set_autoplay"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="get_autoplay" qualifiers="const" > + <method name="get_autoplay" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="seek" > + <method name="seek"> <argument index="0" name="pos_sec" type="real"> </argument> <argument index="1" name="update" type="bool" default="false"> @@ -540,13 +540,13 @@ <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="find_animation" qualifiers="const" > + <method name="find_animation" qualifiers="const"> <return type="String"> </return> <argument index="0" name="animation" type="Animation"> @@ -554,17 +554,17 @@ <description> </description> </method> - <method name="clear_caches" > + <method name="clear_caches"> <description> </description> </method> - <method name="set_animation_process_mode" > + <method name="set_animation_process_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_animation_process_mode" qualifiers="const" > + <method name="get_animation_process_mode" qualifiers="const"> <return type="int"> </return> <description> @@ -590,7 +590,7 @@ <description> </description> <methods> - <method name="add_node" > + <method name="add_node"> <argument index="0" name="type" type="int"> </argument> <argument index="1" name="id" type="int"> @@ -598,7 +598,7 @@ <description> </description> </method> - <method name="get_node_id" qualifiers="const" > + <method name="get_node_id" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -606,7 +606,7 @@ <description> </description> </method> - <method name="node_set_name" > + <method name="node_set_name"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="name" type="String"> @@ -614,7 +614,7 @@ <description> </description> </method> - <method name="node_get_name" qualifiers="const" > + <method name="node_get_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="int"> @@ -622,7 +622,7 @@ <description> </description> </method> - <method name="node_get_type" qualifiers="const" > + <method name="node_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -630,7 +630,7 @@ <description> </description> </method> - <method name="node_get_input_count" qualifiers="const" > + <method name="node_get_input_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -638,7 +638,7 @@ <description> </description> </method> - <method name="animation_node_set_animation" > + <method name="animation_node_set_animation"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="animation" type="Animation"> @@ -646,7 +646,7 @@ <description> </description> </method> - <method name="animation_node_get_animation" qualifiers="const" > + <method name="animation_node_get_animation" qualifiers="const"> <return type="Animation"> </return> <argument index="0" name="id" type="int"> @@ -654,7 +654,7 @@ <description> </description> </method> - <method name="oneshot_node_set_fadein_time" > + <method name="oneshot_node_set_fadein_time"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="time_sec" type="real"> @@ -662,7 +662,7 @@ <description> </description> </method> - <method name="oneshot_node_get_fadein_time" qualifiers="const" > + <method name="oneshot_node_get_fadein_time" qualifiers="const"> <return type="real"> </return> <argument index="0" name="id" type="int"> @@ -670,7 +670,7 @@ <description> </description> </method> - <method name="oneshot_node_set_fadeout_time" > + <method name="oneshot_node_set_fadeout_time"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="time_sec" type="real"> @@ -678,7 +678,7 @@ <description> </description> </method> - <method name="oneshot_node_get_fadeout_time" qualifiers="const" > + <method name="oneshot_node_get_fadeout_time" qualifiers="const"> <return type="real"> </return> <argument index="0" name="id" type="int"> @@ -686,7 +686,7 @@ <description> </description> </method> - <method name="oneshot_node_set_autorestart" > + <method name="oneshot_node_set_autorestart"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -694,7 +694,7 @@ <description> </description> </method> - <method name="oneshot_node_set_autorestart_delay" > + <method name="oneshot_node_set_autorestart_delay"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="delay_sec" type="real"> @@ -702,7 +702,7 @@ <description> </description> </method> - <method name="oneshot_node_set_autorestart_random_delay" > + <method name="oneshot_node_set_autorestart_random_delay"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="rand_sec" type="real"> @@ -710,7 +710,7 @@ <description> </description> </method> - <method name="oneshot_node_has_autorestart" qualifiers="const" > + <method name="oneshot_node_has_autorestart" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="id" type="int"> @@ -718,7 +718,7 @@ <description> </description> </method> - <method name="oneshot_node_get_autorestart_delay" qualifiers="const" > + <method name="oneshot_node_get_autorestart_delay" qualifiers="const"> <return type="real"> </return> <argument index="0" name="id" type="int"> @@ -726,7 +726,7 @@ <description> </description> </method> - <method name="oneshot_node_get_autorestart_random_delay" qualifiers="const" > + <method name="oneshot_node_get_autorestart_random_delay" qualifiers="const"> <return type="real"> </return> <argument index="0" name="id" type="int"> @@ -734,19 +734,19 @@ <description> </description> </method> - <method name="oneshot_node_start" > + <method name="oneshot_node_start"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="oneshot_node_stop" > + <method name="oneshot_node_stop"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="oneshot_node_is_active" qualifiers="const" > + <method name="oneshot_node_is_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="id" type="int"> @@ -754,7 +754,7 @@ <description> </description> </method> - <method name="mix_node_set_amount" > + <method name="mix_node_set_amount"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="ratio" type="real"> @@ -762,7 +762,7 @@ <description> </description> </method> - <method name="mix_node_get_amount" qualifiers="const" > + <method name="mix_node_get_amount" qualifiers="const"> <return type="real"> </return> <argument index="0" name="id" type="int"> @@ -770,7 +770,7 @@ <description> </description> </method> - <method name="blend2_node_set_amount" > + <method name="blend2_node_set_amount"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="blend" type="real"> @@ -778,7 +778,7 @@ <description> </description> </method> - <method name="blend2_node_get_amount" qualifiers="const" > + <method name="blend2_node_get_amount" qualifiers="const"> <return type="real"> </return> <argument index="0" name="id" type="int"> @@ -786,7 +786,7 @@ <description> </description> </method> - <method name="blend3_node_set_amount" > + <method name="blend3_node_set_amount"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="blend" type="real"> @@ -794,7 +794,7 @@ <description> </description> </method> - <method name="blend3_node_get_amount" qualifiers="const" > + <method name="blend3_node_get_amount" qualifiers="const"> <return type="real"> </return> <argument index="0" name="id" type="int"> @@ -802,7 +802,7 @@ <description> </description> </method> - <method name="blend4_node_set_amount" > + <method name="blend4_node_set_amount"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="blend" type="Vector2"> @@ -810,7 +810,7 @@ <description> </description> </method> - <method name="blend4_node_get_amount" qualifiers="const" > + <method name="blend4_node_get_amount" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="id" type="int"> @@ -818,7 +818,7 @@ <description> </description> </method> - <method name="timescale_node_set_scale" > + <method name="timescale_node_set_scale"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="scale" type="real"> @@ -826,7 +826,7 @@ <description> </description> </method> - <method name="timescale_node_get_scale" qualifiers="const" > + <method name="timescale_node_get_scale" qualifiers="const"> <return type="real"> </return> <argument index="0" name="id" type="int"> @@ -834,7 +834,7 @@ <description> </description> </method> - <method name="timeseek_node_seek" > + <method name="timeseek_node_seek"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="pos_sec" type="real"> @@ -842,7 +842,7 @@ <description> </description> </method> - <method name="transition_node_set_input_count" > + <method name="transition_node_set_input_count"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="count" type="int"> @@ -850,7 +850,7 @@ <description> </description> </method> - <method name="transition_node_get_input_count" qualifiers="const" > + <method name="transition_node_get_input_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -858,7 +858,7 @@ <description> </description> </method> - <method name="transition_node_delete_input" > + <method name="transition_node_delete_input"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="input_idx" type="int"> @@ -866,7 +866,7 @@ <description> </description> </method> - <method name="transition_node_set_input_auto_advance" > + <method name="transition_node_set_input_auto_advance"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="input_idx" type="int"> @@ -876,7 +876,7 @@ <description> </description> </method> - <method name="transition_node_has_input_auto_advance" qualifiers="const" > + <method name="transition_node_has_input_auto_advance" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="id" type="int"> @@ -886,7 +886,7 @@ <description> </description> </method> - <method name="transition_node_set_xfade_time" > + <method name="transition_node_set_xfade_time"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="time_sec" type="real"> @@ -894,7 +894,7 @@ <description> </description> </method> - <method name="transition_node_get_xfade_time" qualifiers="const" > + <method name="transition_node_get_xfade_time" qualifiers="const"> <return type="real"> </return> <argument index="0" name="id" type="int"> @@ -902,7 +902,7 @@ <description> </description> </method> - <method name="transition_node_set_current" > + <method name="transition_node_set_current"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="input_idx" type="int"> @@ -910,7 +910,7 @@ <description> </description> </method> - <method name="transition_node_get_current" qualifiers="const" > + <method name="transition_node_get_current" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -918,7 +918,7 @@ <description> </description> </method> - <method name="node_set_pos" > + <method name="node_set_pos"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="screen_pos" type="Vector2"> @@ -926,7 +926,7 @@ <description> </description> </method> - <method name="node_get_pos" qualifiers="const" > + <method name="node_get_pos" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="id" type="int"> @@ -934,13 +934,13 @@ <description> </description> </method> - <method name="remove_node" > + <method name="remove_node"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="connect" > + <method name="connect"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -952,7 +952,7 @@ <description> </description> </method> - <method name="is_connected" qualifiers="const" > + <method name="is_connected" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="id" type="int"> @@ -964,7 +964,7 @@ <description> </description> </method> - <method name="disconnect" > + <method name="disconnect"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="dst_input_idx" type="int"> @@ -972,41 +972,41 @@ <description> </description> </method> - <method name="set_active" > + <method name="set_active"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_active" qualifiers="const" > + <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_base_path" > + <method name="set_base_path"> <argument index="0" name="path" type="NodePath"> </argument> <description> </description> </method> - <method name="get_base_path" qualifiers="const" > + <method name="get_base_path" qualifiers="const"> <return type="NodePath"> </return> <description> </description> </method> - <method name="get_node_list" > + <method name="get_node_list"> <return type="IntArray"> </return> <description> </description> </method> - <method name="reset" > + <method name="reset"> <description> </description> </method> - <method name="recompute_caches" > + <method name="recompute_caches"> <description> </description> </method> @@ -1040,85 +1040,85 @@ <description> </description> <methods> - <method name="set_override_space_params" > + <method name="set_override_space_params"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_overriding_space_params" qualifiers="const" > + <method name="is_overriding_space_params" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_gravity_is_point" > + <method name="set_gravity_is_point"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_gravity_a_point" qualifiers="const" > + <method name="is_gravity_a_point" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_gravity_vector" > + <method name="set_gravity_vector"> <argument index="0" name="vector" type="Vector2"> </argument> <description> </description> </method> - <method name="get_gravity_vector" qualifiers="const" > + <method name="get_gravity_vector" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_gravity" > + <method name="set_gravity"> <argument index="0" name="gravity" type="real"> </argument> <description> </description> </method> - <method name="get_gravity" qualifiers="const" > + <method name="get_gravity" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_density" > + <method name="set_density"> <argument index="0" name="density" type="real"> </argument> <description> </description> </method> - <method name="get_density" qualifiers="const" > + <method name="get_density" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_priority" > + <method name="set_priority"> <argument index="0" name="priority" type="real"> </argument> <description> </description> </method> - <method name="get_priority" qualifiers="const" > + <method name="get_priority" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_enable_monitoring" > + <method name="set_enable_monitoring"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_monitoring_enabled" qualifiers="const" > + <method name="is_monitoring_enabled" qualifiers="const"> <return type="bool"> </return> <description> @@ -1176,7 +1176,7 @@ <description> </description> <methods> - <method name="sample_create" > + <method name="sample_create"> <return type="RID"> </return> <argument index="0" name="format" type="int"> @@ -1188,7 +1188,7 @@ <description> </description> </method> - <method name="sample_set_description" > + <method name="sample_set_description"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="description" type="String"> @@ -1196,7 +1196,7 @@ <description> </description> </method> - <method name="sample_get_description" qualifiers="const" > + <method name="sample_get_description" qualifiers="const"> <return type="String"> </return> <argument index="0" name="sample" type="RID"> @@ -1206,7 +1206,7 @@ <description> </description> </method> - <method name="sample_get_format" qualifiers="const" > + <method name="sample_get_format" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> @@ -1214,7 +1214,7 @@ <description> </description> </method> - <method name="sample_is_stereo" qualifiers="const" > + <method name="sample_is_stereo" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="sample" type="RID"> @@ -1222,7 +1222,7 @@ <description> </description> </method> - <method name="sample_get_length" qualifiers="const" > + <method name="sample_get_length" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> @@ -1230,7 +1230,7 @@ <description> </description> </method> - <method name="sample_set_signed_data" > + <method name="sample_set_signed_data"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="data" type="RealArray"> @@ -1238,7 +1238,7 @@ <description> </description> </method> - <method name="sample_set_data" > + <method name="sample_set_data"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="arg1" type="RawArray"> @@ -1246,7 +1246,7 @@ <description> </description> </method> - <method name="sample_get_data" qualifiers="const" > + <method name="sample_get_data" qualifiers="const"> <return type="RawArray"> </return> <argument index="0" name="sample" type="RID"> @@ -1254,7 +1254,7 @@ <description> </description> </method> - <method name="sample_set_mix_rate" > + <method name="sample_set_mix_rate"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="mix_rate" type="int"> @@ -1262,7 +1262,7 @@ <description> </description> </method> - <method name="sample_get_mix_rate" qualifiers="const" > + <method name="sample_get_mix_rate" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> @@ -1270,7 +1270,7 @@ <description> </description> </method> - <method name="sample_set_loop_format" > + <method name="sample_set_loop_format"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="loop_format" type="int"> @@ -1278,7 +1278,7 @@ <description> </description> </method> - <method name="sample_get_loop_format" qualifiers="const" > + <method name="sample_get_loop_format" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> @@ -1286,7 +1286,7 @@ <description> </description> </method> - <method name="sample_set_loop_begin" > + <method name="sample_set_loop_begin"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="pos" type="int"> @@ -1294,7 +1294,7 @@ <description> </description> </method> - <method name="sample_get_loop_begin" qualifiers="const" > + <method name="sample_get_loop_begin" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> @@ -1302,7 +1302,7 @@ <description> </description> </method> - <method name="sample_set_loop_end" > + <method name="sample_set_loop_end"> <argument index="0" name="sample" type="RID"> </argument> <argument index="1" name="pos" type="int"> @@ -1310,7 +1310,7 @@ <description> </description> </method> - <method name="sample_get_loop_end" qualifiers="const" > + <method name="sample_get_loop_end" qualifiers="const"> <return type="int"> </return> <argument index="0" name="sample" type="RID"> @@ -1318,13 +1318,13 @@ <description> </description> </method> - <method name="voice_create" > + <method name="voice_create"> <return type="RID"> </return> <description> </description> </method> - <method name="voice_play" > + <method name="voice_play"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="sample" type="RID"> @@ -1332,7 +1332,7 @@ <description> </description> </method> - <method name="voice_set_volume" > + <method name="voice_set_volume"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="volume" type="real"> @@ -1340,7 +1340,7 @@ <description> </description> </method> - <method name="voice_set_pan" > + <method name="voice_set_pan"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="pan" type="real"> @@ -1352,7 +1352,7 @@ <description> </description> </method> - <method name="voice_set_filter" > + <method name="voice_set_filter"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="type" type="int"> @@ -1366,7 +1366,7 @@ <description> </description> </method> - <method name="voice_set_chorus" > + <method name="voice_set_chorus"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="chorus" type="real"> @@ -1374,7 +1374,7 @@ <description> </description> </method> - <method name="voice_set_reverb" > + <method name="voice_set_reverb"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="room" type="int"> @@ -1384,7 +1384,7 @@ <description> </description> </method> - <method name="voice_set_mix_rate" > + <method name="voice_set_mix_rate"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="rate" type="int"> @@ -1392,7 +1392,7 @@ <description> </description> </method> - <method name="voice_set_positional" > + <method name="voice_set_positional"> <argument index="0" name="voice" type="RID"> </argument> <argument index="1" name="enabled" type="bool"> @@ -1400,7 +1400,7 @@ <description> </description> </method> - <method name="voice_get_volume" qualifiers="const" > + <method name="voice_get_volume" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="RID"> @@ -1408,7 +1408,7 @@ <description> </description> </method> - <method name="voice_get_pan" qualifiers="const" > + <method name="voice_get_pan" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="RID"> @@ -1416,7 +1416,7 @@ <description> </description> </method> - <method name="voice_get_pan_height" qualifiers="const" > + <method name="voice_get_pan_height" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="RID"> @@ -1424,7 +1424,7 @@ <description> </description> </method> - <method name="voice_get_pan_depth" qualifiers="const" > + <method name="voice_get_pan_depth" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="RID"> @@ -1432,7 +1432,7 @@ <description> </description> </method> - <method name="voice_get_filter_type" qualifiers="const" > + <method name="voice_get_filter_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="RID"> @@ -1440,7 +1440,7 @@ <description> </description> </method> - <method name="voice_get_filter_cutoff" qualifiers="const" > + <method name="voice_get_filter_cutoff" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="RID"> @@ -1448,7 +1448,7 @@ <description> </description> </method> - <method name="voice_get_filter_resonance" qualifiers="const" > + <method name="voice_get_filter_resonance" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="RID"> @@ -1456,7 +1456,7 @@ <description> </description> </method> - <method name="voice_get_chorus" qualifiers="const" > + <method name="voice_get_chorus" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="RID"> @@ -1464,7 +1464,7 @@ <description> </description> </method> - <method name="voice_get_reverb_type" qualifiers="const" > + <method name="voice_get_reverb_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="RID"> @@ -1472,7 +1472,7 @@ <description> </description> </method> - <method name="voice_get_reverb" qualifiers="const" > + <method name="voice_get_reverb" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="RID"> @@ -1480,7 +1480,7 @@ <description> </description> </method> - <method name="voice_get_mix_rate" qualifiers="const" > + <method name="voice_get_mix_rate" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="RID"> @@ -1488,7 +1488,7 @@ <description> </description> </method> - <method name="voice_is_positional" qualifiers="const" > + <method name="voice_is_positional" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="voice" type="RID"> @@ -1496,37 +1496,37 @@ <description> </description> </method> - <method name="voice_stop" > + <method name="voice_stop"> <argument index="0" name="voice" type="RID"> </argument> <description> </description> </method> - <method name="free" > + <method name="free"> <argument index="0" name="rid" type="RID"> </argument> <description> </description> </method> - <method name="set_stream_global_volume_scale" > + <method name="set_stream_global_volume_scale"> <argument index="0" name="scale" type="real"> </argument> <description> </description> </method> - <method name="get_stream_global_volume_scale" qualifiers="const" > + <method name="get_stream_global_volume_scale" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_mixer_global_volume_scale" > + <method name="set_mixer_global_volume_scale"> <argument index="0" name="scale" type="real"> </argument> <description> </description> </method> - <method name="get_mixer_global_volume_scale" qualifiers="const" > + <method name="get_mixer_global_volume_scale" qualifiers="const"> <return type="real"> </return> <description> @@ -1584,69 +1584,69 @@ <description> </description> <methods> - <method name="play" > + <method name="play"> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_stream_name" qualifiers="const" > + <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_loop_count" qualifiers="const" > + <method name="get_loop_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="seek_pos" > + <method name="seek_pos"> <argument index="0" name="pos" type="real"> </argument> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_update_mode" qualifiers="const" > + <method name="get_update_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="update" > + <method name="update"> <description> </description> </method> @@ -1666,49 +1666,49 @@ <description> </description> <methods> - <method name="set_phonemes" > + <method name="set_phonemes"> <argument index="0" name="phonemes" type="Object"> </argument> <description> </description> </method> - <method name="get_phonemes" qualifiers="const" > + <method name="get_phonemes" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_pitch_scale" > + <method name="set_pitch_scale"> <argument index="0" name="pitch_scale" type="real"> </argument> <description> </description> </method> - <method name="get_pitch_scale" qualifiers="const" > + <method name="get_pitch_scale" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_pitch_random_scale" > + <method name="set_pitch_random_scale"> <argument index="0" name="pitch_random_scale" type="real"> </argument> <description> </description> </method> - <method name="get_pitch_random_scale" qualifiers="const" > + <method name="get_pitch_random_scale" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_xfade_time" > + <method name="set_xfade_time"> <argument index="0" name="sec" type="real"> </argument> <description> </description> </method> - <method name="get_xfade_time" qualifiers="const" > + <method name="get_xfade_time" qualifiers="const"> <return type="real"> </return> <description> @@ -1724,13 +1724,13 @@ <description> </description> <methods> - <method name="set_file" > + <method name="set_file"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="get_file" qualifiers="const" > + <method name="get_file" qualifiers="const"> <return type="String"> </return> <description> @@ -1766,13 +1766,13 @@ <description> </description> <methods> - <method name="set_file" > + <method name="set_file"> <argument index="0" name="file" type="String"> </argument> <description> </description> </method> - <method name="get_file" qualifiers="const" > + <method name="get_file" qualifiers="const"> <return type="String"> </return> <description> @@ -1818,49 +1818,49 @@ <description> </description> <methods> - <method name="set_pressed" > + <method name="set_pressed"> <argument index="0" name="pressed" type="bool"> </argument> <description> </description> </method> - <method name="is_pressed" qualifiers="const" > + <method name="is_pressed" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_toggle_mode" > + <method name="set_toggle_mode"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_toggle_mode" qualifiers="const" > + <method name="is_toggle_mode" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_disabled" > + <method name="set_disabled"> <argument index="0" name="disabled" type="bool"> </argument> <description> </description> </method> - <method name="is_disabled" qualifiers="const" > + <method name="is_disabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_click_on_press" > + <method name="set_click_on_press"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_click_on_press" qualifiers="const" > + <method name="get_click_on_press" qualifiers="const"> <return type="bool"> </return> <description> @@ -1908,13 +1908,13 @@ <description> </description> <methods> - <method name="set_extents" > + <method name="set_extents"> <argument index="0" name="extents" type="Vector3"> </argument> <description> </description> </method> - <method name="get_extents" qualifiers="const" > + <method name="get_extents" qualifiers="const"> <return type="Vector3"> </return> <description> @@ -1930,49 +1930,49 @@ <description> </description> <methods> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_icon" > + <method name="set_icon"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="get_icon" qualifiers="const" > + <method name="get_icon" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_flat" > + <method name="set_flat"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="set_clip_text" > + <method name="set_clip_text"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="get_clip_text" qualifiers="const" > + <method name="get_clip_text" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="is_flat" qualifiers="const" > + <method name="is_flat" qualifiers="const"> <return type="bool"> </return> <description> @@ -1988,13 +1988,13 @@ <description> </description> <methods> - <method name="add_button" > + <method name="add_button"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="add_icon_button" > + <method name="add_icon_button"> <argument index="0" name="icon" type="Object"> </argument> <argument index="1" name="text" type="String" default=""""> @@ -2002,7 +2002,7 @@ <description> </description> </method> - <method name="set_button_text" > + <method name="set_button_text"> <argument index="0" name="button" type="int"> </argument> <argument index="1" name="text" type="String"> @@ -2010,7 +2010,7 @@ <description> </description> </method> - <method name="set_button_icon" > + <method name="set_button_icon"> <argument index="0" name="button" type="int"> </argument> <argument index="1" name="icon" type="Object"> @@ -2018,7 +2018,7 @@ <description> </description> </method> - <method name="get_button_text" qualifiers="const" > + <method name="get_button_text" qualifiers="const"> <return type="String"> </return> <argument index="0" name="button" type="int"> @@ -2026,7 +2026,7 @@ <description> </description> </method> - <method name="get_button_icon" qualifiers="const" > + <method name="get_button_icon" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="button" type="int"> @@ -2034,37 +2034,37 @@ <description> </description> </method> - <method name="get_button_count" qualifiers="const" > + <method name="get_button_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_selected" qualifiers="const" > + <method name="get_selected" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_hovered" qualifiers="const" > + <method name="get_hovered" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_selected" > + <method name="set_selected"> <argument index="0" name="button" type="int"> </argument> <description> </description> </method> - <method name="erase_button" > + <method name="erase_button"> <argument index="0" name="button" type="int"> </argument> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> @@ -2096,31 +2096,31 @@ <description> </description> <methods> - <method name="get_pressed_button" qualifiers="const" > + <method name="get_pressed_button" qualifiers="const"> <return type="BaseButton"> </return> <description> </description> </method> - <method name="get_pressed_button_index" qualifiers="const" > + <method name="get_pressed_button_index" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_focused_button" qualifiers="const" > + <method name="get_focused_button" qualifiers="const"> <return type="BaseButton"> </return> <description> </description> </method> - <method name="get_button_list" qualifiers="const" > + <method name="get_button_list" qualifiers="const"> <return type="Array"> </return> <description> </description> </method> - <method name="set_pressed_button" > + <method name="set_pressed_button"> <argument index="0" name="button" type="BaseButton"> </argument> <description> @@ -2136,7 +2136,7 @@ <description> </description> <methods> - <method name="project_ray_normal" qualifiers="const" > + <method name="project_ray_normal" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="screen_point" type="Vector2"> @@ -2144,7 +2144,7 @@ <description> </description> </method> - <method name="project_local_ray_normal" qualifiers="const" > + <method name="project_local_ray_normal" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="screen_point" type="Vector2"> @@ -2152,7 +2152,7 @@ <description> </description> </method> - <method name="project_ray_origin" qualifiers="const" > + <method name="project_ray_origin" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="screen_point" type="Vector2"> @@ -2160,7 +2160,7 @@ <description> </description> </method> - <method name="unproject_position" qualifiers="const" > + <method name="unproject_position" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="world_point" type="Vector3"> @@ -2168,7 +2168,7 @@ <description> </description> </method> - <method name="project_position" qualifiers="const" > + <method name="project_position" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="screen_point" type="Vector2"> @@ -2176,7 +2176,7 @@ <description> </description> </method> - <method name="set_perspective" > + <method name="set_perspective"> <argument index="0" name="fov" type="real"> </argument> <argument index="1" name="z_near" type="real"> @@ -2186,7 +2186,7 @@ <description> </description> </method> - <method name="set_orthogonal" > + <method name="set_orthogonal"> <argument index="0" name="size" type="real"> </argument> <argument index="1" name="z_near" type="real"> @@ -2196,51 +2196,51 @@ <description> </description> </method> - <method name="make_current" > + <method name="make_current"> <description> </description> </method> - <method name="clear_current" > + <method name="clear_current"> <description> </description> </method> - <method name="is_current" qualifiers="const" > + <method name="is_current" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_camera_transform" qualifiers="const" > + <method name="get_camera_transform" qualifiers="const"> <return type="Transform"> </return> <description> </description> </method> - <method name="get_fov" qualifiers="const" > + <method name="get_fov" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_size" qualifiers="const" > + <method name="get_size" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_zfar" qualifiers="const" > + <method name="get_zfar" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_znear" qualifiers="const" > + <method name="get_znear" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_projection" qualifiers="const" > + <method name="get_projection" qualifiers="const"> <return type="int"> </return> <description> @@ -2260,41 +2260,41 @@ <description> </description> <methods> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_centered" > + <method name="set_centered"> <argument index="0" name="centered" type="bool"> </argument> <description> </description> </method> - <method name="is_centered" qualifiers="const" > + <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="make_current" > + <method name="make_current"> <description> </description> </method> - <method name="is_current" qualifiers="const" > + <method name="is_current" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_limit" > + <method name="set_limit"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="limit" type="int"> @@ -2302,7 +2302,7 @@ <description> </description> </method> - <method name="get_limit" qualifiers="const" > + <method name="get_limit" qualifiers="const"> <return type="int"> </return> <argument index="0" name="margin" type="int"> @@ -2310,7 +2310,7 @@ <description> </description> </method> - <method name="set_drag_margin" > + <method name="set_drag_margin"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="drag_margin" type="real"> @@ -2318,7 +2318,7 @@ <description> </description> </method> - <method name="get_drag_margin" qualifiers="const" > + <method name="get_drag_margin" qualifiers="const"> <return type="real"> </return> <argument index="0" name="margin" type="int"> @@ -2326,13 +2326,13 @@ <description> </description> </method> - <method name="get_camera_pos" qualifiers="const" > + <method name="get_camera_pos" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="force_update_scroll" > + <method name="force_update_scroll"> <description> </description> </method> @@ -2346,113 +2346,113 @@ <description> </description> <methods> - <method name="edit_set_state" > + <method name="edit_set_state"> <argument index="0" name="state" type="var"> </argument> <description> </description> </method> - <method name="edit_get" qualifiers="const" > + <method name="edit_get" qualifiers="const"> <description> </description> </method> - <method name="edit_set_rect" > + <method name="edit_set_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> </description> </method> - <method name="edit_rotate" > + <method name="edit_rotate"> <argument index="0" name="degrees" type="real"> </argument> <description> </description> </method> - <method name="get_item_rect" qualifiers="const" > + <method name="get_item_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="get_canvas_item" qualifiers="const" > + <method name="get_canvas_item" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="is_visible" qualifiers="const" > + <method name="is_visible" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="is_hidden" qualifiers="const" > + <method name="is_hidden" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="show" > + <method name="show"> <description> </description> </method> - <method name="hide" > + <method name="hide"> <description> </description> </method> - <method name="update" > + <method name="update"> <description> </description> </method> - <method name="set_as_toplevel" > + <method name="set_as_toplevel"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_set_as_toplevel" qualifiers="const" > + <method name="is_set_as_toplevel" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_blend_mode" > + <method name="set_blend_mode"> <argument index="0" name="blend_mode" type="int"> </argument> <description> </description> </method> - <method name="get_blend_mode" qualifiers="const" > + <method name="get_blend_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_opacity" > + <method name="set_opacity"> <argument index="0" name="opacity" type="real"> </argument> <description> </description> </method> - <method name="get_opacity" qualifiers="const" > + <method name="get_opacity" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_self_opacity" > + <method name="set_self_opacity"> <argument index="0" name="self_opacity" type="real"> </argument> <description> </description> </method> - <method name="get_self_opacity" qualifiers="const" > + <method name="get_self_opacity" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="draw_line" > + <method name="draw_line"> <argument index="0" name="from" type="Vector2"> </argument> <argument index="1" name="to" type="Vector2"> @@ -2464,7 +2464,7 @@ <description> </description> </method> - <method name="draw_rect" > + <method name="draw_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <argument index="1" name="color" type="Color"> @@ -2472,7 +2472,7 @@ <description> </description> </method> - <method name="draw_circle" > + <method name="draw_circle"> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="radius" type="real"> @@ -2482,7 +2482,7 @@ <description> </description> </method> - <method name="draw_texture" > + <method name="draw_texture"> <argument index="0" name="texture" type="Texture"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -2490,7 +2490,7 @@ <description> </description> </method> - <method name="draw_texture_rect" > + <method name="draw_texture_rect"> <argument index="0" name="texture" type="Texture"> </argument> <argument index="1" name="rect" type="Rect2"> @@ -2499,10 +2499,12 @@ </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="transpose" type="bool" default="false"> + </argument> <description> </description> </method> - <method name="draw_texture_rect_region" > + <method name="draw_texture_rect_region"> <argument index="0" name="texture" type="Texture"> </argument> <argument index="1" name="rect" type="Rect2"> @@ -2511,10 +2513,12 @@ </argument> <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> </argument> + <argument index="4" name="transpose" type="bool" default="false"> + </argument> <description> </description> </method> - <method name="draw_style_box" > + <method name="draw_style_box"> <argument index="0" name="style_box" type="StyleBox"> </argument> <argument index="1" name="rect" type="Rect2"> @@ -2522,7 +2526,7 @@ <description> </description> </method> - <method name="draw_primitive" > + <method name="draw_primitive"> <argument index="0" name="points" type="Vector2Array"> </argument> <argument index="1" name="colors" type="ColorArray"> @@ -2536,7 +2540,7 @@ <description> </description> </method> - <method name="draw_polygon" > + <method name="draw_polygon"> <argument index="0" name="points" type="Vector2Array"> </argument> <argument index="1" name="colors" type="ColorArray"> @@ -2550,7 +2554,7 @@ <description> </description> </method> - <method name="draw_colored_polygon" > + <method name="draw_colored_polygon"> <argument index="0" name="points" type="Vector2Array"> </argument> <argument index="1" name="color" type="ColorArray"> @@ -2564,7 +2568,7 @@ <description> </description> </method> - <method name="draw_string" > + <method name="draw_string"> <argument index="0" name="font" type="Font"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -2578,7 +2582,7 @@ <description> </description> </method> - <method name="draw_char" > + <method name="draw_char"> <return type="real"> </return> <argument index="0" name="font" type="Font"> @@ -2594,7 +2598,7 @@ <description> </description> </method> - <method name="draw_set_transform" > + <method name="draw_set_transform"> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="rot" type="real"> @@ -2604,13 +2608,13 @@ <description> </description> </method> - <method name="set_transform_notify" > + <method name="set_transform_notify"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_transform_notify_enabled" qualifiers="const" > + <method name="is_transform_notify_enabled" qualifiers="const"> <return type="bool"> </return> <description> @@ -2662,73 +2666,73 @@ <description> </description> <methods> - <method name="set_layer" > + <method name="set_layer"> <argument index="0" name="layer" type="int"> </argument> <description> </description> </method> - <method name="get_layer" qualifiers="const" > + <method name="get_layer" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="transform" type="Matrix32"> </argument> <description> </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="set_offset" > + <method name="set_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_rotation" > + <method name="set_rotation"> <argument index="0" name="rotation" type="real"> </argument> <description> </description> </method> - <method name="get_rotation" qualifiers="const" > + <method name="get_rotation" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_scale" > + <method name="set_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> </description> </method> - <method name="get_scale" qualifiers="const" > + <method name="get_scale" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_canvas" qualifiers="const" > + <method name="get_canvas" qualifiers="const"> <return type="Canvas"> </return> <description> </description> </method> - <method name="get_viewport" qualifiers="const" > + <method name="get_viewport" qualifiers="const"> <return type="RID"> </return> <description> @@ -2744,25 +2748,25 @@ <description> </description> <methods> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="radius" type="real"> </argument> <description> </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_height" > + <method name="set_height"> <argument index="0" name="height" type="real"> </argument> <description> </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="real"> </return> <description> @@ -2778,25 +2782,25 @@ <description> </description> <methods> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="radius" type="real"> </argument> <description> </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_height" > + <method name="set_height"> <argument index="0" name="height" type="real"> </argument> <description> </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="real"> </return> <description> @@ -2822,13 +2826,13 @@ <description> </description> <methods> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> @@ -2844,13 +2848,13 @@ <description> </description> <methods> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="radius" type="real"> </argument> <description> </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="real"> </return> <description> @@ -2866,7 +2870,7 @@ <description> </description> <methods> - <method name="add_shape" > + <method name="add_shape"> <argument index="0" name="shape" type="Shape2D"> </argument> <argument index="1" name="transform" type="Matrix32" default="1,0, 0,1, 0,0"> @@ -2874,13 +2878,13 @@ <description> </description> </method> - <method name="get_shape_count" qualifiers="const" > + <method name="get_shape_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_shape" > + <method name="set_shape"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="shape" type="Shape"> @@ -2888,7 +2892,7 @@ <description> </description> </method> - <method name="set_shape_transform" > + <method name="set_shape_transform"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="transform" type="Matrix32"> @@ -2896,7 +2900,7 @@ <description> </description> </method> - <method name="get_shape" qualifiers="const" > + <method name="get_shape" qualifiers="const"> <return type="Shape2D"> </return> <argument index="0" name="shape_idx" type="int"> @@ -2904,7 +2908,7 @@ <description> </description> </method> - <method name="get_shape_transform" qualifiers="const" > + <method name="get_shape_transform" qualifiers="const"> <return type="Matrix32"> </return> <argument index="0" name="shape_idx" type="int"> @@ -2912,13 +2916,13 @@ <description> </description> </method> - <method name="remove_shape" > + <method name="remove_shape"> <argument index="0" name="shape_idx" type="int"> </argument> <description> </description> </method> - <method name="clear_shapes" > + <method name="clear_shapes"> <description> </description> </method> @@ -2952,25 +2956,25 @@ <description> </description> <methods> - <method name="set_color" > + <method name="set_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_show_alpha" > + <method name="set_show_alpha"> <argument index="0" name="show" type="bool"> </argument> <description> </description> </method> - <method name="is_showing_alpha" qualifiers="const" > + <method name="is_showing_alpha" qualifiers="const"> <return type="bool"> </return> <description> @@ -2994,13 +2998,13 @@ <description> </description> <methods> - <method name="set_faces" > + <method name="set_faces"> <argument index="0" name="faces" type="Vector3Array"> </argument> <description> </description> </method> - <method name="get_faces" qualifiers="const" > + <method name="get_faces" qualifiers="const"> <return type="Vector3Array"> </return> <description> @@ -3016,13 +3020,13 @@ <description> </description> <methods> - <method name="set_segments" > + <method name="set_segments"> <argument index="0" name="segments" type="Vector2Array"> </argument> <description> </description> </method> - <method name="get_segments" qualifiers="const" > + <method name="get_segments" qualifiers="const"> <return type="Vector2Array"> </return> <description> @@ -3038,7 +3042,7 @@ <description> </description> <methods> - <method name="get_cancel" > + <method name="get_cancel"> <return type="Button"> </return> <description> @@ -3054,11 +3058,11 @@ <description> </description> <methods> - <method name="queue_sort" > + <method name="queue_sort"> <description> </description> </method> - <method name="fit_child_in_rect" > + <method name="fit_child_in_rect"> <argument index="0" name="child" type="Control"> </argument> <argument index="1" name="rect" type="Rect2"> @@ -3084,29 +3088,29 @@ <description> </description> <methods> - <method name="accept_event" > + <method name="accept_event"> <description> </description> </method> - <method name="get_minimum_size" qualifiers="const" > + <method name="get_minimum_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="is_window" qualifiers="const" > + <method name="is_window" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_window" qualifiers="const" > + <method name="get_window" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_anchor" > + <method name="set_anchor"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="anchor_mode" type="int"> @@ -3114,7 +3118,7 @@ <description> </description> </method> - <method name="get_anchor" qualifiers="const" > + <method name="get_anchor" qualifiers="const"> <return type="int"> </return> <argument index="0" name="margin" type="int"> @@ -3122,7 +3126,7 @@ <description> </description> </method> - <method name="set_margin" > + <method name="set_margin"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="offset" type="real"> @@ -3130,7 +3134,7 @@ <description> </description> </method> - <method name="set_anchor_and_margin" > + <method name="set_anchor_and_margin"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="anchor_mode" type="int"> @@ -3140,37 +3144,37 @@ <description> </description> </method> - <method name="set_begin" > + <method name="set_begin"> <argument index="0" name="pos" type="Vector2"> </argument> <description> </description> </method> - <method name="set_end" > + <method name="set_end"> <argument index="0" name="pos" type="Vector2"> </argument> <description> </description> </method> - <method name="set_pos" > + <method name="set_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> </description> </method> - <method name="set_size" > + <method name="set_size"> <argument index="0" name="size" type="Vector2"> </argument> <description> </description> </method> - <method name="set_global_pos" > + <method name="set_global_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> </description> </method> - <method name="get_margin" qualifiers="const" > + <method name="get_margin" qualifiers="const"> <return type="real"> </return> <argument index="0" name="margin" type="int"> @@ -3178,141 +3182,141 @@ <description> </description> </method> - <method name="get_begin" qualifiers="const" > + <method name="get_begin" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_end" qualifiers="const" > + <method name="get_end" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_size" qualifiers="const" > + <method name="get_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_parent_area_size" qualifiers="const" > + <method name="get_parent_area_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_global_pos" qualifiers="const" > + <method name="get_global_pos" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_rect" qualifiers="const" > + <method name="get_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="get_global_rect" qualifiers="const" > + <method name="get_global_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="set_area_as_parent_rect" > + <method name="set_area_as_parent_rect"> <argument index="0" name="margin" type="int" default="0"> </argument> <description> </description> </method> - <method name="show_modal" > + <method name="show_modal"> <argument index="0" name="exclusive" type="bool" default="false"> </argument> <description> </description> </method> - <method name="set_focus_mode" > + <method name="set_focus_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="has_focus" qualifiers="const" > + <method name="has_focus" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="grab_focus" > + <method name="grab_focus"> <description> </description> </method> - <method name="release_focus" > + <method name="release_focus"> <description> </description> </method> - <method name="get_focus_owner" qualifiers="const" > + <method name="get_focus_owner" qualifiers="const"> <return type="Control"> </return> <description> </description> </method> - <method name="set_h_size_flags" > + <method name="set_h_size_flags"> <argument index="0" name="flags" type="int"> </argument> <description> </description> </method> - <method name="get_h_size_flags" qualifiers="const" > + <method name="get_h_size_flags" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_stretch_ratio" > + <method name="set_stretch_ratio"> <argument index="0" name="ratio" type="int"> </argument> <description> </description> </method> - <method name="get_stretch_ratio" qualifiers="const" > + <method name="get_stretch_ratio" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_v_size_flags" > + <method name="set_v_size_flags"> <argument index="0" name="flags" type="int"> </argument> <description> </description> </method> - <method name="get_v_size_flags" qualifiers="const" > + <method name="get_v_size_flags" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_theme" > + <method name="set_theme"> <argument index="0" name="theme" type="Theme"> </argument> <description> </description> </method> - <method name="get_theme" qualifiers="const" > + <method name="get_theme" qualifiers="const"> <return type="Theme"> </return> <description> </description> </method> - <method name="add_icon_override" > + <method name="add_icon_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="texture" type="Texture"> @@ -3320,7 +3324,7 @@ <description> </description> </method> - <method name="add_style_override" > + <method name="add_style_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="stylebox" type="StyleBox"> @@ -3328,7 +3332,7 @@ <description> </description> </method> - <method name="add_font_override" > + <method name="add_font_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="font" type="Font"> @@ -3336,7 +3340,7 @@ <description> </description> </method> - <method name="add_color_override" > + <method name="add_color_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="color" type="Color"> @@ -3344,7 +3348,7 @@ <description> </description> </method> - <method name="add_constant_override" > + <method name="add_constant_override"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="constant" type="int"> @@ -3352,7 +3356,7 @@ <description> </description> </method> - <method name="get_icon" qualifiers="const" > + <method name="get_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="name" type="String"> @@ -3362,7 +3366,7 @@ <description> </description> </method> - <method name="get_stylebox" qualifiers="const" > + <method name="get_stylebox" qualifiers="const"> <return type="StyleBox"> </return> <argument index="0" name="name" type="String"> @@ -3372,7 +3376,7 @@ <description> </description> </method> - <method name="get_font" qualifiers="const" > + <method name="get_font" qualifiers="const"> <return type="Font"> </return> <argument index="0" name="name" type="String"> @@ -3382,7 +3386,7 @@ <description> </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="name" type="String"> @@ -3392,7 +3396,7 @@ <description> </description> </method> - <method name="get_constant" qualifiers="const" > + <method name="get_constant" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -3402,19 +3406,19 @@ <description> </description> </method> - <method name="get_parent_control" qualifiers="const" > + <method name="get_parent_control" qualifiers="const"> <return type="Control"> </return> <description> </description> </method> - <method name="set_tooltip" > + <method name="set_tooltip"> <argument index="0" name="tooltip" type="String"> </argument> <description> </description> </method> - <method name="get_tooltip" qualifiers="const" > + <method name="get_tooltip" qualifiers="const"> <return type="String"> </return> <argument index="0" name="atpos" type="Vector2" default="Vector2(0,0)"> @@ -3422,19 +3426,19 @@ <description> </description> </method> - <method name="set_default_cursor_shape" > + <method name="set_default_cursor_shape"> <argument index="0" name="shape" type="int"> </argument> <description> </description> </method> - <method name="get_default_cursor_shape" qualifiers="const" > + <method name="get_default_cursor_shape" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_cursor_shape" qualifiers="const" > + <method name="get_cursor_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="pos" type="Vector2" default="Vector2(0,0)"> @@ -3442,7 +3446,7 @@ <description> </description> </method> - <method name="set_focus_neighbour" > + <method name="set_focus_neighbour"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="neighbour" type="NodePath"> @@ -3450,7 +3454,7 @@ <description> </description> </method> - <method name="get_focus_neighbour" qualifiers="const" > + <method name="get_focus_neighbour" qualifiers="const"> <return type="NodePath"> </return> <argument index="0" name="margin" type="int"> @@ -3458,13 +3462,13 @@ <description> </description> </method> - <method name="set_ignore_mouse" > + <method name="set_ignore_mouse"> <argument index="0" name="ignore" type="bool"> </argument> <description> </description> </method> - <method name="is_ignoring_mouse" qualifiers="const" > + <method name="is_ignoring_mouse" qualifiers="const"> <return type="bool"> </return> <description> @@ -3574,13 +3578,13 @@ <description> </description> <methods> - <method name="set_planes" > + <method name="set_planes"> <argument index="0" name="planes" type="Array"> </argument> <description> </description> </method> - <method name="get_planes" qualifiers="const" > + <method name="get_planes" qualifiers="const"> <return type="Array"> </return> <description> @@ -3596,13 +3600,13 @@ <description> </description> <methods> - <method name="set_points" > + <method name="set_points"> <argument index="0" name="points" type="Vector2Array"> </argument> <description> </description> </method> - <method name="get_points" qualifiers="const" > + <method name="get_points" qualifiers="const"> <return type="Vector2Array"> </return> <description> @@ -3628,49 +3632,49 @@ <description> </description> <methods> - <method name="set_length" > + <method name="set_length"> <argument index="0" name="length" type="real"> </argument> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_rest_length" > + <method name="set_rest_length"> <argument index="0" name="rest_length" type="real"> </argument> <description> </description> </method> - <method name="get_rest_length" qualifiers="const" > + <method name="get_rest_length" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_stiffness" > + <method name="set_stiffness"> <argument index="0" name="stiffness" type="real"> </argument> <description> </description> </method> - <method name="get_stiffness" qualifiers="const" > + <method name="get_stiffness" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_damping" > + <method name="set_damping"> <argument index="0" name="damping" type="real"> </argument> <description> </description> </method> - <method name="get_damping" qualifiers="const" > + <method name="get_damping" qualifiers="const"> <return type="real"> </return> <description> @@ -3696,103 +3700,103 @@ <description> </description> <methods> - <method name="set_mass" > + <method name="set_mass"> <argument index="0" name="mass" type="real"> </argument> <description> </description> </method> - <method name="set_friction" > + <method name="set_friction"> <argument index="0" name="friction" type="real"> </argument> <description> </description> </method> - <method name="set_bounce" > + <method name="set_bounce"> <argument index="0" name="bounce" type="real"> </argument> <description> </description> </method> - <method name="get_mass" qualifiers="const" > + <method name="get_mass" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_friction" qualifiers="const" > + <method name="get_friction" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_bounce" qualifiers="const" > + <method name="get_bounce" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_linear_velocity" > + <method name="set_linear_velocity"> <argument index="0" name="linear_velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_linear_velocity" qualifiers="const" > + <method name="get_linear_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_angular_velocity" > + <method name="set_angular_velocity"> <argument index="0" name="angular_velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_angular_velocity" qualifiers="const" > + <method name="get_angular_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_sleeping" > + <method name="set_sleeping"> <argument index="0" name="sleeping" type="bool"> </argument> <description> </description> </method> - <method name="is_sleeping" qualifiers="const" > + <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_applied_force" > + <method name="set_applied_force"> <argument index="0" name="applied_force" type="Vector3"> </argument> <description> </description> </method> - <method name="get_applied_force" qualifiers="const" > + <method name="get_applied_force" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_applied_torque" > + <method name="set_applied_torque"> <argument index="0" name="applied_torque" type="Vector3"> </argument> <description> </description> </method> - <method name="get_applied_torque" qualifiers="const" > + <method name="get_applied_torque" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="apply_local_impulse" > + <method name="apply_local_impulse"> <argument index="0" name="pos" type="Vector3"> </argument> <argument index="1" name="impulse" type="Vector3"> @@ -3800,31 +3804,31 @@ <description> </description> </method> - <method name="set_axis_velocity" > + <method name="set_axis_velocity"> <argument index="0" name="axis_velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="set_direct_state_control" > + <method name="set_direct_state_control"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_direct_state_control_enabled" qualifiers="const" > + <method name="is_direct_state_control_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_omit_force_integration" > + <method name="set_omit_force_integration"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_omitting_force_integration" qualifiers="const" > + <method name="is_omitting_force_integration" qualifiers="const"> <return type="bool"> </return> <description> @@ -3850,7 +3854,7 @@ <description> </description> <methods> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> @@ -3876,13 +3880,13 @@ <description> </description> <methods> - <method name="set_minsize" > + <method name="set_minsize"> <argument index="0" name="minsize" type="Vector2"> </argument> <description> </description> </method> - <method name="get_minsize" qualifiers="const" > + <method name="get_minsize" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -3898,7 +3902,7 @@ <description> </description> <methods> - <method name="open" > + <method name="open"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -3908,89 +3912,89 @@ <description> </description> </method> - <method name="close" > + <method name="close"> <description> </description> </method> - <method name="is_open" qualifiers="const" > + <method name="is_open" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="seek" > + <method name="seek"> <argument index="0" name="pos" type="int"> </argument> <description> </description> </method> - <method name="seek_end" > + <method name="seek_end"> <argument index="0" name="pos" type="int" default="0"> </argument> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_len" qualifiers="const" > + <method name="get_len" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="eof_reached" qualifiers="const" > + <method name="eof_reached" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_8" qualifiers="const" > + <method name="get_8" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_16" qualifiers="const" > + <method name="get_16" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_32" qualifiers="const" > + <method name="get_32" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_64" qualifiers="const" > + <method name="get_64" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_float" qualifiers="const" > + <method name="get_float" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_double" qualifiers="const" > + <method name="get_double" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_real" qualifiers="const" > + <method name="get_real" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_buffer" qualifiers="const" > + <method name="get_buffer" qualifiers="const"> <return type="RawArray"> </return> <argument index="0" name="len" type="int"> @@ -3998,101 +4002,101 @@ <description> </description> </method> - <method name="get_line" qualifiers="const" > + <method name="get_line" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_endian_swap" > + <method name="get_endian_swap"> <return type="bool"> </return> <description> </description> </method> - <method name="set_endian_swap" > + <method name="set_endian_swap"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_error" qualifiers="const" > + <method name="get_error" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_var" qualifiers="const" > + <method name="get_var" qualifiers="const"> <description> </description> </method> - <method name="store_8" > + <method name="store_8"> <argument index="0" name="value" type="int"> </argument> <description> </description> </method> - <method name="store_16" > + <method name="store_16"> <argument index="0" name="value" type="int"> </argument> <description> </description> </method> - <method name="store_32" > + <method name="store_32"> <argument index="0" name="value" type="int"> </argument> <description> </description> </method> - <method name="store_64" > + <method name="store_64"> <argument index="0" name="value" type="int"> </argument> <description> </description> </method> - <method name="store_float" > + <method name="store_float"> <argument index="0" name="value" type="real"> </argument> <description> </description> </method> - <method name="store_double" > + <method name="store_double"> <argument index="0" name="value" type="real"> </argument> <description> </description> </method> - <method name="store_real" > + <method name="store_real"> <argument index="0" name="value" type="real"> </argument> <description> </description> </method> - <method name="store_buffer" > + <method name="store_buffer"> <argument index="0" name="buffer" type="RawArray"> </argument> <description> </description> </method> - <method name="store_line" > + <method name="store_line"> <argument index="0" name="line" type="String"> </argument> <description> </description> </method> - <method name="store_string" > + <method name="store_string"> <argument index="0" name="string" type="String"> </argument> <description> </description> </method> - <method name="store_var" > + <method name="store_var"> <argument index="0" name="value" type="var"> </argument> <description> </description> </method> - <method name="file_exists" qualifiers="const" > + <method name="file_exists" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="path" type="String"> @@ -4116,65 +4120,65 @@ <description> </description> <methods> - <method name="clear_filters" > + <method name="clear_filters"> <description> </description> </method> - <method name="add_filter" > + <method name="add_filter"> <argument index="0" name="filter" type="String"> </argument> <description> </description> </method> - <method name="get_current_dir" qualifiers="const" > + <method name="get_current_dir" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_current_file" qualifiers="const" > + <method name="get_current_file" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_current_path" qualifiers="const" > + <method name="get_current_path" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_current_dir" > + <method name="set_current_dir"> <argument index="0" name="dir" type="String"> </argument> <description> </description> </method> - <method name="set_current_file" > + <method name="set_current_file"> <argument index="0" name="file" type="String"> </argument> <description> </description> </method> - <method name="set_current_path" > + <method name="set_current_path"> <argument index="0" name="path" type="String"> </argument> <description> </description> </method> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_vbox" > + <method name="get_vbox"> <return type="VBoxContainer"> </return> <description> @@ -4210,19 +4214,19 @@ <description> </description> <methods> - <method name="set_shader" > + <method name="set_shader"> <argument index="0" name="shader" type="Shader"> </argument> <description> </description> </method> - <method name="get_shader" qualifiers="const" > + <method name="get_shader" qualifiers="const"> <return type="Shader"> </return> <description> </description> </method> - <method name="set_parameter" > + <method name="set_parameter"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="var"> @@ -4230,13 +4234,13 @@ <description> </description> </method> - <method name="get_parameter" qualifiers="const" > + <method name="get_parameter" qualifiers="const"> <argument index="0" name="param" type="int"> </argument> <description> </description> </method> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -4244,7 +4248,7 @@ <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="param" type="int"> @@ -4252,19 +4256,19 @@ <description> </description> </method> - <method name="set_texgen_mode" > + <method name="set_texgen_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_texgen_mode" qualifiers="const" > + <method name="get_texgen_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_texcoord_mode" > + <method name="set_texcoord_mode"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="mode" type="int"> @@ -4272,7 +4276,7 @@ <description> </description> </method> - <method name="get_texcoord_mode" qualifiers="const" > + <method name="get_texcoord_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="param" type="int"> @@ -4280,25 +4284,25 @@ <description> </description> </method> - <method name="set_uv_transform" > + <method name="set_uv_transform"> <argument index="0" name="transform" type="Transform"> </argument> <description> </description> </method> - <method name="get_uv_transform" qualifiers="const" > + <method name="get_uv_transform" qualifiers="const"> <return type="Transform"> </return> <description> </description> </method> - <method name="set_detail_blend_mode" > + <method name="set_detail_blend_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_detail_blend_mode" qualifiers="const" > + <method name="get_detail_blend_mode" qualifiers="const"> <return type="int"> </return> <description> @@ -4358,205 +4362,205 @@ <description> </description> <methods> - <method name="set_orbit" > + <method name="set_orbit"> <argument index="0" name="orbit" type="Vector2"> </argument> <description> </description> </method> - <method name="get_orbit" qualifiers="const" > + <method name="get_orbit" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_orbit_x" > + <method name="set_orbit_x"> <argument index="0" name="x" type="real"> </argument> <description> </description> </method> - <method name="set_orbit_y" > + <method name="set_orbit_y"> <argument index="0" name="y" type="real"> </argument> <description> </description> </method> - <method name="set_min_orbit_x" > + <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" > + <method name="get_min_orbit_x" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_max_orbit_x" > + <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" > + <method name="get_max_orbit_x" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_height" > + <method name="set_height"> <argument index="0" name="height" type="real"> </argument> <description> </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_inclination" > + <method name="set_inclination"> <argument index="0" name="inclination" type="real"> </argument> <description> </description> </method> - <method name="get_inclination" qualifiers="const" > + <method name="get_inclination" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="rotate_orbit" > + <method name="rotate_orbit"> <argument index="0" name="arg0" type="Vector2"> </argument> <description> </description> </method> - <method name="set_distance" > + <method name="set_distance"> <argument index="0" name="distance" type="real"> </argument> <description> </description> </method> - <method name="get_distance" qualifiers="const" > + <method name="get_distance" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_max_distance" > + <method name="set_max_distance"> <argument index="0" name="max_distance" type="real"> </argument> <description> </description> </method> - <method name="get_max_distance" qualifiers="const" > + <method name="get_max_distance" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_min_distance" > + <method name="set_min_distance"> <argument index="0" name="min_distance" type="real"> </argument> <description> </description> </method> - <method name="get_min_distance" qualifiers="const" > + <method name="get_min_distance" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_clip" > + <method name="set_clip"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_clip" qualifiers="const" > + <method name="has_clip" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_autoturn" > + <method name="set_autoturn"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_autoturn" qualifiers="const" > + <method name="has_autoturn" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_autoturn_tolerance" > + <method name="set_autoturn_tolerance"> <argument index="0" name="degrees" type="real"> </argument> <description> </description> </method> - <method name="get_autoturn_tolerance" qualifiers="const" > + <method name="get_autoturn_tolerance" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_autoturn_speed" > + <method name="set_autoturn_speed"> <argument index="0" name="speed" type="real"> </argument> <description> </description> </method> - <method name="get_autoturn_speed" qualifiers="const" > + <method name="get_autoturn_speed" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_smoothing" > + <method name="set_smoothing"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_smoothing" qualifiers="const" > + <method name="has_smoothing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_rotation_smoothing" > + <method name="set_rotation_smoothing"> <argument index="0" name="amount" type="real"> </argument> <description> </description> </method> - <method name="get_rotation_smoothing" qualifiers="const" > + <method name="get_rotation_smoothing" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_translation_smoothing" > + <method name="set_translation_smoothing"> <argument index="0" name="amount" type="real"> </argument> <description> </description> </method> - <method name="get_translation_smoothing" qualifiers="const" > + <method name="get_translation_smoothing" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_use_lookat_target" > + <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)"> @@ -4574,37 +4578,37 @@ <description> </description> <methods> - <method name="set_height" > + <method name="set_height"> <argument index="0" name="px" type="real"> </argument> <description> </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_ascent" > + <method name="set_ascent"> <argument index="0" name="px" type="real"> </argument> <description> </description> </method> - <method name="get_ascent" qualifiers="const" > + <method name="get_ascent" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_descent" qualifiers="const" > + <method name="get_descent" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="add_kerning_pair" > + <method name="add_kerning_pair"> <argument index="0" name="char_a" type="int"> </argument> <argument index="1" name="char_b" type="int"> @@ -4614,7 +4618,7 @@ <description> </description> </method> - <method name="get_kerning_pair" qualifiers="const" > + <method name="get_kerning_pair" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="int"> @@ -4624,13 +4628,13 @@ <description> </description> </method> - <method name="add_texture" > + <method name="add_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="add_char" > + <method name="add_char"> <argument index="0" name="character" type="int"> </argument> <argument index="1" name="texture" type="int"> @@ -4644,7 +4648,7 @@ <description> </description> </method> - <method name="get_char_size" qualifiers="const" > + <method name="get_char_size" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="char" type="int"> @@ -4654,7 +4658,7 @@ <description> </description> </method> - <method name="get_string_size" qualifiers="const" > + <method name="get_string_size" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="string" type="String"> @@ -4662,11 +4666,11 @@ <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="draw" qualifiers="const" > + <method name="draw" qualifiers="const"> <argument index="0" name="canvas_item" type="RID"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -4680,7 +4684,7 @@ <description> </description> </method> - <method name="draw_char" qualifiers="const" > + <method name="draw_char" qualifiers="const"> <return type="real"> </return> <argument index="0" name="canvas_item" type="RID"> @@ -4706,7 +4710,7 @@ <description> </description> <methods> - <method name="new" > + <method name="new"> <description> </description> </method> @@ -4720,7 +4724,7 @@ <description> </description> <methods> - <method name="new" > + <method name="new"> <description> </description> </method> @@ -4744,7 +4748,7 @@ <description> </description> <methods> - <method name="build_box_planes" > + <method name="build_box_planes"> <return type="Array"> </return> <argument index="0" name="extents" type="Vector3"> @@ -4752,7 +4756,7 @@ <description> </description> </method> - <method name="build_cylinder_planes" > + <method name="build_cylinder_planes"> <return type="Array"> </return> <argument index="0" name="radius" type="real"> @@ -4766,7 +4770,7 @@ <description> </description> </method> - <method name="build_capsule_planes" > + <method name="build_capsule_planes"> <return type="Array"> </return> <argument index="0" name="radius" type="real"> @@ -4782,7 +4786,7 @@ <description> </description> </method> - <method name="segment_intersects_circle" > + <method name="segment_intersects_circle"> <return type="real"> </return> <argument index="0" name="segment_from" type="Vector2"> @@ -4806,25 +4810,25 @@ <description> </description> <methods> - <method name="set_visible" > + <method name="set_visible"> <argument index="0" name="visible" type="bool"> </argument> <description> </description> </method> - <method name="is_visible" qualifiers="const" > + <method name="is_visible" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_material_override" > + <method name="set_material_override"> <argument index="0" name="material" type="Object"> </argument> <description> </description> </method> - <method name="get_material_override" qualifiers="const" > + <method name="get_material_override" qualifiers="const"> <return type="Object"> </return> <description> @@ -4840,7 +4844,7 @@ <description> </description> <methods> - <method name="has" qualifiers="const" > + <method name="has" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -4848,7 +4852,7 @@ <description> </description> </method> - <method name="set_order" > + <method name="set_order"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="pos" type="int"> @@ -4856,7 +4860,7 @@ <description> </description> </method> - <method name="get_order" qualifiers="const" > + <method name="get_order" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -4864,7 +4868,7 @@ <description> </description> </method> - <method name="set_persisting" > + <method name="set_persisting"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="enable" type="bool"> @@ -4872,7 +4876,7 @@ <description> </description> </method> - <method name="is_persisting" qualifiers="const" > + <method name="is_persisting" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -4880,13 +4884,13 @@ <description> </description> </method> - <method name="clear" > + <method name="clear"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="localize_path" qualifiers="const" > + <method name="localize_path" qualifiers="const"> <return type="String"> </return> <argument index="0" name="path" type="String"> @@ -4894,7 +4898,7 @@ <description> </description> </method> - <method name="globalize_path" qualifiers="const" > + <method name="globalize_path" qualifiers="const"> <return type="String"> </return> <argument index="0" name="path" type="String"> @@ -4922,79 +4926,79 @@ <description> </description> <methods> - <method name="set_theme" > + <method name="set_theme"> <argument index="0" name="theme" type="MeshLibrary"> </argument> <description> </description> </method> - <method name="get_theme" qualifiers="const" > + <method name="get_theme" qualifiers="const"> <return type="MeshLibrary"> </return> <description> </description> </method> - <method name="set_cell_size" > + <method name="set_cell_size"> <argument index="0" name="size" type="real"> </argument> <description> </description> </method> - <method name="get_cell_size" qualifiers="const" > + <method name="get_cell_size" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_octant_size" > + <method name="set_octant_size"> <argument index="0" name="size" type="int"> </argument> <description> </description> </method> - <method name="get_octant_size" qualifiers="const" > + <method name="get_octant_size" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_width" > + <method name="set_width"> <argument index="0" name="width" type="int"> </argument> <description> </description> </method> - <method name="get_width" qualifiers="const" > + <method name="get_width" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_height" > + <method name="set_height"> <argument index="0" name="height" type="int"> </argument> <description> </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_depth" > + <method name="set_depth"> <argument index="0" name="depth" type="int"> </argument> <description> </description> </method> - <method name="get_depth" qualifiers="const" > + <method name="get_depth" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_cell_item" > + <method name="set_cell_item"> <argument index="0" name="x" type="int"> </argument> <argument index="1" name="y" type="int"> @@ -5008,7 +5012,7 @@ <description> </description> </method> - <method name="get_cell_item" qualifiers="const" > + <method name="get_cell_item" qualifiers="const"> <return type="int"> </return> <argument index="0" name="x" type="int"> @@ -5020,7 +5024,7 @@ <description> </description> </method> - <method name="get_cell_item_orientation" qualifiers="const" > + <method name="get_cell_item_orientation" qualifiers="const"> <return type="int"> </return> <argument index="0" name="x" type="int"> @@ -5032,49 +5036,49 @@ <description> </description> </method> - <method name="resource_changed" > + <method name="resource_changed"> <argument index="0" name="arg0" type="Object"> </argument> <description> </description> </method> - <method name="set_center_x" > + <method name="set_center_x"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_center_x" qualifiers="const" > + <method name="get_center_x" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_center_y" > + <method name="set_center_y"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_center_y" qualifiers="const" > + <method name="get_center_y" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_center_z" > + <method name="set_center_z"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_center_z" qualifiers="const" > + <method name="get_center_z" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_clip" > + <method name="set_clip"> <argument index="0" name="enabled" type="bool"> </argument> <argument index="1" name="clipabove" type="bool" default="true"> @@ -5086,7 +5090,7 @@ <description> </description> </method> - <method name="crate_area" > + <method name="crate_area"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -5096,7 +5100,7 @@ <description> </description> </method> - <method name="area_get_bounds" qualifiers="const" > + <method name="area_get_bounds" qualifiers="const"> <return type="AABB"> </return> <argument index="0" name="area" type="int"> @@ -5104,7 +5108,7 @@ <description> </description> </method> - <method name="area_set_exterior_portal" > + <method name="area_set_exterior_portal"> <argument index="0" name="area" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -5112,7 +5116,7 @@ <description> </description> </method> - <method name="area_set_name" > + <method name="area_set_name"> <argument index="0" name="area" type="int"> </argument> <argument index="1" name="name" type="String"> @@ -5120,7 +5124,7 @@ <description> </description> </method> - <method name="area_get_name" qualifiers="const" > + <method name="area_get_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="area" type="int"> @@ -5128,7 +5132,7 @@ <description> </description> </method> - <method name="area_is_exterior_portal" qualifiers="const" > + <method name="area_is_exterior_portal" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="area" type="int"> @@ -5136,7 +5140,7 @@ <description> </description> </method> - <method name="area_set_portal_disable_distance" > + <method name="area_set_portal_disable_distance"> <argument index="0" name="area" type="int"> </argument> <argument index="1" name="distance" type="real"> @@ -5144,7 +5148,7 @@ <description> </description> </method> - <method name="area_get_portal_disable_distance" qualifiers="const" > + <method name="area_get_portal_disable_distance" qualifiers="const"> <return type="real"> </return> <argument index="0" name="area" type="int"> @@ -5152,7 +5156,7 @@ <description> </description> </method> - <method name="area_set_portal_disable_color" > + <method name="area_set_portal_disable_color"> <argument index="0" name="area" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -5160,7 +5164,7 @@ <description> </description> </method> - <method name="area_get_portal_disable_color" qualifiers="const" > + <method name="area_get_portal_disable_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="area" type="int"> @@ -5168,13 +5172,13 @@ <description> </description> </method> - <method name="erase_area" > + <method name="erase_area"> <argument index="0" name="area" type="int"> </argument> <description> </description> </method> - <method name="get_unused_area_id" qualifiers="const" > + <method name="get_unused_area_id" qualifiers="const"> <return type="int"> </return> <description> @@ -5192,25 +5196,25 @@ <description> </description> <methods> - <method name="set_length" > + <method name="set_length"> <argument index="0" name="length" type="real"> </argument> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_initial_offset" > + <method name="set_initial_offset"> <argument index="0" name="offset" type="real"> </argument> <description> </description> </method> - <method name="get_initial_offset" qualifiers="const" > + <method name="get_initial_offset" qualifiers="const"> <return type="real"> </return> <description> @@ -5286,7 +5290,7 @@ <description> </description> <methods> - <method name="resolve_hostname" > + <method name="resolve_hostname"> <return type="String"> </return> <argument index="0" name="host" type="String"> @@ -5294,7 +5298,7 @@ <description> </description> </method> - <method name="resolve_hostname_queue_item" > + <method name="resolve_hostname_queue_item"> <return type="int"> </return> <argument index="0" name="host" type="String"> @@ -5302,7 +5306,7 @@ <description> </description> </method> - <method name="get_resolve_item_status" qualifiers="const" > + <method name="get_resolve_item_status" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -5310,7 +5314,7 @@ <description> </description> </method> - <method name="get_resolve_item_address" qualifiers="const" > + <method name="get_resolve_item_address" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="int"> @@ -5318,7 +5322,7 @@ <description> </description> </method> - <method name="erase_resolve_item" > + <method name="erase_resolve_item"> <argument index="0" name="id" type="int"> </argument> <description> @@ -5366,43 +5370,43 @@ <description> </description> <methods> - <method name="set_target_path" > + <method name="set_target_path"> <argument index="0" name="target_path" type="NodePath"> </argument> <description> </description> </method> - <method name="get_target_path" qualifiers="const" > + <method name="get_target_path" qualifiers="const"> <return type="NodePath"> </return> <description> </description> </method> - <method name="set_target" > + <method name="set_target"> <argument index="0" name="target" type="Object"> </argument> <description> </description> </method> - <method name="set_speed" > + <method name="set_speed"> <argument index="0" name="speed" type="real"> </argument> <description> </description> </method> - <method name="get_speed" qualifiers="const" > + <method name="get_speed" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_interpolation_enabled" > + <method name="set_interpolation_enabled"> <argument index="0" name="target_path" type="bool"> </argument> <description> </description> </method> - <method name="is_interpolation_enabled" qualifiers="const" > + <method name="is_interpolation_enabled" qualifiers="const"> <return type="bool"> </return> <description> @@ -5418,25 +5422,25 @@ <description> </description> <methods> - <method name="set_node_a" > + <method name="set_node_a"> <argument index="0" name="node" type="NodePath"> </argument> <description> </description> </method> - <method name="get_node_a" qualifiers="const" > + <method name="get_node_a" qualifiers="const"> <return type="NodePath"> </return> <description> </description> </method> - <method name="set_node_b" > + <method name="set_node_b"> <argument index="0" name="node" type="NodePath"> </argument> <description> </description> </method> - <method name="get_node_b" qualifiers="const" > + <method name="get_node_b" qualifiers="const"> <return type="NodePath"> </return> <description> @@ -5452,61 +5456,61 @@ <description> </description> <methods> - <method name="set_align" > + <method name="set_align"> <argument index="0" name="align" type="int"> </argument> <description> </description> </method> - <method name="get_align" qualifiers="const" > + <method name="get_align" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_valign" > + <method name="set_valign"> <argument index="0" name="valign" type="int"> </argument> <description> </description> </method> - <method name="get_valign" qualifiers="const" > + <method name="get_valign" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_autowrap" > + <method name="set_autowrap"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_autowrap" qualifiers="const" > + <method name="has_autowrap" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_line_height" qualifiers="const" > + <method name="get_line_height" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_line_count" qualifiers="const" > + <method name="get_line_count" qualifiers="const"> <return type="int"> </return> <description> @@ -5538,7 +5542,7 @@ <description> </description> <methods> - <method name="set_parameter" > + <method name="set_parameter"> <argument index="0" name="variable" type="int"> </argument> <argument index="1" name="value" type="real"> @@ -5546,7 +5550,7 @@ <description> </description> </method> - <method name="get_parameter" qualifiers="const" > + <method name="get_parameter" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="int"> @@ -5554,7 +5558,7 @@ <description> </description> </method> - <method name="set_color" > + <method name="set_color"> <argument index="0" name="color" type="int"> </argument> <argument index="1" name="value" type="Color"> @@ -5562,7 +5566,7 @@ <description> </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="int"> @@ -5570,37 +5574,37 @@ <description> </description> </method> - <method name="set_project_shadows" > + <method name="set_project_shadows"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_project_shadows" qualifiers="const" > + <method name="has_project_shadows" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_projector" > + <method name="set_projector"> <argument index="0" name="projector" type="Texture"> </argument> <description> </description> </method> - <method name="get_projector" qualifiers="const" > + <method name="get_projector" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_operator" > + <method name="set_operator"> <argument index="0" name="operator" type="int"> </argument> <description> </description> </method> - <method name="get_operator" qualifiers="const" > + <method name="get_operator" qualifiers="const"> <return type="int"> </return> <description> @@ -5634,81 +5638,81 @@ <description> </description> <methods> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="select_all" > + <method name="select_all"> <description> </description> </method> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_cursor_pos" > + <method name="set_cursor_pos"> <argument index="0" name="pos" type="int"> </argument> <description> </description> </method> - <method name="get_cursor_pos" qualifiers="const" > + <method name="get_cursor_pos" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_max_length" > + <method name="set_max_length"> <argument index="0" name="chars" type="int"> </argument> <description> </description> </method> - <method name="get_max_length" qualifiers="const" > + <method name="get_max_length" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="append_at_cursor" > + <method name="append_at_cursor"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="set_editable" > + <method name="set_editable"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_editable" qualifiers="const" > + <method name="is_editable" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_secret" > + <method name="set_secret"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_secret" qualifiers="const" > + <method name="is_secret" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="select" qualifiers="const" > + <method name="select" qualifiers="const"> <return type="bool"> </return> <description> @@ -5738,25 +5742,25 @@ <description> </description> <methods> - <method name="set_normal" > + <method name="set_normal"> <argument index="0" name="normal" type="Vector2"> </argument> <description> </description> </method> - <method name="get_normal" qualifiers="const" > + <method name="get_normal" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_d" > + <method name="set_d"> <argument index="0" name="d" type="real"> </argument> <description> </description> </method> - <method name="get_d" qualifiers="const" > + <method name="get_d" qualifiers="const"> <return type="real"> </return> <description> @@ -5772,7 +5776,7 @@ <description> </description> <methods> - <method name="input_event" > + <method name="input_event"> <argument index="0" name="arg0" type="InputEvent"> </argument> <description> @@ -5804,7 +5808,7 @@ <description> </description> <methods> - <method name="set_flag" > + <method name="set_flag"> <argument index="0" name="flag" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -5812,7 +5816,7 @@ <description> </description> </method> - <method name="get_flag" qualifiers="const" > + <method name="get_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="flag" type="int"> @@ -5820,7 +5824,7 @@ <description> </description> </method> - <method name="set_hint" > + <method name="set_hint"> <argument index="0" name="hint" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -5828,7 +5832,7 @@ <description> </description> </method> - <method name="get_hint" qualifiers="const" > + <method name="get_hint" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="hint" type="int"> @@ -5836,43 +5840,43 @@ <description> </description> </method> - <method name="set_blend_mode" > + <method name="set_blend_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_blend_mode" qualifiers="const" > + <method name="get_blend_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_shade_model" > + <method name="set_shade_model"> <argument index="0" name="model" type="int"> </argument> <description> </description> </method> - <method name="get_shade_model" qualifiers="const" > + <method name="get_shade_model" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_line_width" > + <method name="set_line_width"> <argument index="0" name="width" type="real"> </argument> <description> </description> </method> - <method name="get_line_width" qualifiers="const" > + <method name="get_line_width" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_shader_param" > + <method name="set_shader_param"> <argument index="0" name="param" type="String"> </argument> <argument index="1" name="arg1" type="var"> @@ -5880,7 +5884,7 @@ <description> </description> </method> - <method name="get_shader_param" qualifiers="const" > + <method name="get_shader_param" qualifiers="const"> <argument index="0" name="arg0" type="String"> </argument> <description> @@ -5944,7 +5948,7 @@ <description> </description> <methods> - <method name="get_popup" > + <method name="get_popup"> <return type="Object"> </return> <description> @@ -5966,19 +5970,19 @@ <description> </description> <methods> - <method name="add_morph_target" > + <method name="add_morph_target"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="get_morph_target_count" qualifiers="const" > + <method name="get_morph_target_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_morph_target_name" qualifiers="const" > + <method name="get_morph_target_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="index" type="int"> @@ -5986,23 +5990,23 @@ <description> </description> </method> - <method name="clear_morph_targets" > + <method name="clear_morph_targets"> <description> </description> </method> - <method name="set_morph_target_mode" > + <method name="set_morph_target_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_morph_target_mode" qualifiers="const" > + <method name="get_morph_target_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="add_surface" > + <method name="add_surface"> <argument index="0" name="primitive" type="int"> </argument> <argument index="1" name="format" type="int"> @@ -6014,19 +6018,19 @@ <description> </description> </method> - <method name="get_surface_count" qualifiers="const" > + <method name="get_surface_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="surface_remove" > + <method name="surface_remove"> <argument index="0" name="surf_idx" type="int"> </argument> <description> </description> </method> - <method name="surface_set_array" > + <method name="surface_set_array"> <return type="int"> </return> <argument index="0" name="surf_idx" type="int"> @@ -6038,7 +6042,7 @@ <description> </description> </method> - <method name="surface_get_array" qualifiers="const" > + <method name="surface_get_array" qualifiers="const"> <argument index="0" name="surf_idx" type="int"> </argument> <argument index="1" name="array" type="int"> @@ -6046,7 +6050,7 @@ <description> </description> </method> - <method name="surface_get_array_len" qualifiers="const" > + <method name="surface_get_array_len" qualifiers="const"> <return type="int"> </return> <argument index="0" name="surf_idx" type="int"> @@ -6054,7 +6058,7 @@ <description> </description> </method> - <method name="surface_get_array_index_len" qualifiers="const" > + <method name="surface_get_array_index_len" qualifiers="const"> <return type="int"> </return> <argument index="0" name="surf_idx" type="int"> @@ -6062,7 +6066,7 @@ <description> </description> </method> - <method name="surface_get_format" qualifiers="const" > + <method name="surface_get_format" qualifiers="const"> <return type="int"> </return> <argument index="0" name="surf_idx" type="int"> @@ -6070,7 +6074,7 @@ <description> </description> </method> - <method name="surface_get_primitive_type" qualifiers="const" > + <method name="surface_get_primitive_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="surf_idx" type="int"> @@ -6078,7 +6082,7 @@ <description> </description> </method> - <method name="surface_set_material" > + <method name="surface_set_material"> <argument index="0" name="surf_idx:Material" type="int"> </argument> <argument index="1" name="arg1" type="Object"> @@ -6086,7 +6090,7 @@ <description> </description> </method> - <method name="surface_get_material" qualifiers="const" > + <method name="surface_get_material" qualifiers="const"> <return type="Material"> </return> <argument index="0" name="surf_idx" type="int"> @@ -6158,25 +6162,25 @@ <description> </description> <methods> - <method name="set_mesh" > + <method name="set_mesh"> <argument index="0" name="mesh" type="Mesh"> </argument> <description> </description> </method> - <method name="get_mesh" qualifiers="const" > + <method name="get_mesh" qualifiers="const"> <return type="Mesh"> </return> <description> </description> </method> - <method name="get_aabb" qualifiers="const" > + <method name="get_aabb" qualifiers="const"> <return type="AABB"> </return> <description> </description> </method> - <method name="create_trimesh_collision" > + <method name="create_trimesh_collision"> <description> </description> </method> @@ -6190,13 +6194,13 @@ <description> </description> <methods> - <method name="create_item" > + <method name="create_item"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="set_item_name" > + <method name="set_item_name"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="name" type="String"> @@ -6204,7 +6208,7 @@ <description> </description> </method> - <method name="set_item_mesh" > + <method name="set_item_mesh"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="mesh" type="Mesh"> @@ -6212,7 +6216,7 @@ <description> </description> </method> - <method name="set_item_shape" > + <method name="set_item_shape"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="shape" type="Shape"> @@ -6220,7 +6224,7 @@ <description> </description> </method> - <method name="get_item_name" qualifiers="const" > + <method name="get_item_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="int"> @@ -6228,7 +6232,7 @@ <description> </description> </method> - <method name="get_item_mesh" qualifiers="const" > + <method name="get_item_mesh" qualifiers="const"> <return type="Mesh"> </return> <argument index="0" name="id" type="int"> @@ -6236,7 +6240,7 @@ <description> </description> </method> - <method name="get_item_shape" qualifiers="const" > + <method name="get_item_shape" qualifiers="const"> <return type="Shape"> </return> <argument index="0" name="id" type="int"> @@ -6244,23 +6248,23 @@ <description> </description> </method> - <method name="remove_item" > + <method name="remove_item"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="get_item_list" qualifiers="const" > + <method name="get_item_list" qualifiers="const"> <return type="IntArray"> </return> <description> </description> </method> - <method name="get_last_unused_item_id" qualifiers="const" > + <method name="get_last_unused_item_id" qualifiers="const"> <return type="int"> </return> <description> @@ -6276,31 +6280,31 @@ <description> </description> <methods> - <method name="set_mesh" > + <method name="set_mesh"> <argument index="0" name="mesh" type="Mesh"> </argument> <description> </description> </method> - <method name="get_mesh" qualifiers="const" > + <method name="get_mesh" qualifiers="const"> <return type="Mesh"> </return> <description> </description> </method> - <method name="set_instance_count" > + <method name="set_instance_count"> <argument index="0" name="arg0" type="int"> </argument> <description> </description> </method> - <method name="get_instance_count" qualifiers="const" > + <method name="get_instance_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_instance_transform" > + <method name="set_instance_transform"> <argument index="0" name="arg0" type="int"> </argument> <argument index="1" name="arg1" type="Transform"> @@ -6308,7 +6312,7 @@ <description> </description> </method> - <method name="get_instance_transform" qualifiers="const" > + <method name="get_instance_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="arg0" type="int"> @@ -6316,7 +6320,7 @@ <description> </description> </method> - <method name="set_instance_color" > + <method name="set_instance_color"> <argument index="0" name="arg0" type="int"> </argument> <argument index="1" name="arg1" type="Color"> @@ -6324,7 +6328,7 @@ <description> </description> </method> - <method name="get_instance_color" qualifiers="const" > + <method name="get_instance_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="int"> @@ -6332,19 +6336,19 @@ <description> </description> </method> - <method name="set_aabb" > + <method name="set_aabb"> <argument index="0" name="arg0" type="AABB"> </argument> <description> </description> </method> - <method name="get_aabb" qualifiers="const" > + <method name="get_aabb" qualifiers="const"> <return type="AABB"> </return> <description> </description> </method> - <method name="generate_aabb" > + <method name="generate_aabb"> <description> </description> </method> @@ -6358,13 +6362,13 @@ <description> </description> <methods> - <method name="set_multimesh" > + <method name="set_multimesh"> <argument index="0" name="multimesh" type="Object"> </argument> <description> </description> </method> - <method name="get_multimesh" qualifiers="const" > + <method name="get_multimesh" qualifiers="const"> <return type="Object"> </return> <description> @@ -6380,43 +6384,43 @@ <description> </description> <methods> - <method name="set_name" > + <method name="set_name"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="get_name" qualifiers="const" > + <method name="get_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="add_child" > + <method name="add_child"> <argument index="0" name="node" type="Node"> </argument> <description> </description> </method> - <method name="remove_child" > + <method name="remove_child"> <argument index="0" name="node" type="Node"> </argument> <description> </description> </method> - <method name="remove_and_delete_child" > + <method name="remove_and_delete_child"> <argument index="0" name="node" type="Node"> </argument> <description> </description> </method> - <method name="get_child_count" qualifiers="const" > + <method name="get_child_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_child" qualifiers="const" > + <method name="get_child" qualifiers="const"> <return type="Node"> </return> <argument index="0" name="idx" type="int"> @@ -6424,7 +6428,7 @@ <description> </description> </method> - <method name="has_node" qualifiers="const" > + <method name="has_node" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="path" type="NodePath"> @@ -6432,7 +6436,7 @@ <description> </description> </method> - <method name="get_node" qualifiers="const" > + <method name="get_node" qualifiers="const"> <return type="Node"> </return> <argument index="0" name="path" type="NodePath"> @@ -6440,13 +6444,13 @@ <description> </description> </method> - <method name="get_parent" qualifiers="const" > + <method name="get_parent" qualifiers="const"> <return type="Parent"> </return> <description> </description> </method> - <method name="has_node_and_resource" qualifiers="const" > + <method name="has_node_and_resource" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="path" type="NodePath"> @@ -6454,7 +6458,7 @@ <description> </description> </method> - <method name="get_node_and_resource" > + <method name="get_node_and_resource"> <return type="Array"> </return> <argument index="0" name="path" type="NodePath"> @@ -6462,13 +6466,13 @@ <description> </description> </method> - <method name="is_inside_scene" qualifiers="const" > + <method name="is_inside_scene" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="is_a_parent_of" qualifiers="const" > + <method name="is_a_parent_of" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="node" type="Node"> @@ -6476,7 +6480,7 @@ <description> </description> </method> - <method name="is_greater_than" qualifiers="const" > + <method name="is_greater_than" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="node" type="Node"> @@ -6484,13 +6488,13 @@ <description> </description> </method> - <method name="get_path" qualifiers="const" > + <method name="get_path" qualifiers="const"> <return type="NodePath"> </return> <description> </description> </method> - <method name="get_path_to" qualifiers="const" > + <method name="get_path_to" qualifiers="const"> <return type="NodePath"> </return> <argument index="0" name="node" type="Node"> @@ -6498,7 +6502,7 @@ <description> </description> </method> - <method name="add_to_group" > + <method name="add_to_group"> <argument index="0" name="group" type="String"> </argument> <argument index="1" name="arg1" type="bool" default="false"> @@ -6506,13 +6510,13 @@ <description> </description> </method> - <method name="remove_from_group" > + <method name="remove_from_group"> <argument index="0" name="group" type="String"> </argument> <description> </description> </method> - <method name="is_in_group" qualifiers="const" > + <method name="is_in_group" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="group" type="String"> @@ -6520,7 +6524,7 @@ <description> </description> </method> - <method name="move_child" > + <method name="move_child"> <argument index="0" name="child_node" type="Node"> </argument> <argument index="1" name="to_pos" type="int"> @@ -6528,167 +6532,167 @@ <description> </description> </method> - <method name="raise" > + <method name="raise"> <description> </description> </method> - <method name="set_owner" > + <method name="set_owner"> <argument index="0" name="owner" type="Node"> </argument> <description> </description> </method> - <method name="get_owner" qualifiers="const" > + <method name="get_owner" qualifiers="const"> <return type="Node"> </return> <description> </description> </method> - <method name="remove_and_skip" > + <method name="remove_and_skip"> <description> </description> </method> - <method name="get_index" qualifiers="const" > + <method name="get_index" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="print_tree" > + <method name="print_tree"> <description> </description> </method> - <method name="set_filename" > + <method name="set_filename"> <argument index="0" name="filename" type="String"> </argument> <description> </description> </method> - <method name="get_filename" qualifiers="const" > + <method name="get_filename" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="propagate_notification" > + <method name="propagate_notification"> <argument index="0" name="what" type="int"> </argument> <description> </description> </method> - <method name="set_process" > + <method name="set_process"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_process_time" qualifiers="const" > + <method name="get_process_time" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="is_processing" qualifiers="const" > + <method name="is_processing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_idle_process" > + <method name="set_idle_process"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_idle_process_time" qualifiers="const" > + <method name="get_idle_process_time" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="is_idle_processing" qualifiers="const" > + <method name="is_idle_processing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_process_input" > + <method name="set_process_input"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_processing_input" qualifiers="const" > + <method name="is_processing_input" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_process_unhandled_input" > + <method name="set_process_unhandled_input"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_processing_unhandled_input" qualifiers="const" > + <method name="is_processing_unhandled_input" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_process_mode" > + <method name="set_process_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_process_mode" qualifiers="const" > + <method name="get_process_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="can_process" qualifiers="const" > + <method name="can_process" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="print_stray_nodes" > + <method name="print_stray_nodes"> <description> </description> </method> - <method name="set_world" > + <method name="set_world"> <argument index="0" name="world" type="World"> </argument> <description> </description> </method> - <method name="get_world" qualifiers="const" > + <method name="get_world" qualifiers="const"> <return type="World"> </return> <description> </description> </method> - <method name="get_current_world" qualifiers="const" > + <method name="get_current_world" qualifiers="const"> <return type="World"> </return> <description> </description> </method> - <method name="get_scene" qualifiers="const" > + <method name="get_scene" qualifiers="const"> <return type="SceneMainLoop"> </return> <description> </description> </method> - <method name="duplicate" qualifiers="const" > + <method name="duplicate" qualifiers="const"> <return type="Node"> </return> <description> </description> </method> - <method name="replace_by" > + <method name="replace_by"> <argument index="0" name="node" type="Node"> </argument> <argument index="1" name="keep_data" type="bool" default="false"> @@ -6750,43 +6754,43 @@ <description> </description> <methods> - <method name="set_pos" > + <method name="set_pos"> <argument index="0" name="pos" type="Vector2"> </argument> <description> </description> </method> - <method name="set_rot" > + <method name="set_rot"> <argument index="0" name="rot" type="real"> </argument> <description> </description> </method> - <method name="set_scale" > + <method name="set_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_rot" qualifiers="const" > + <method name="get_rot" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_scale" qualifiers="const" > + <method name="get_scale" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_global_pos" qualifiers="const" > + <method name="get_global_pos" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -6802,43 +6806,43 @@ <description> </description> <methods> - <method name="set_mouse_show" > + <method name="set_mouse_show"> <argument index="0" name="show" type="bool"> </argument> <description> </description> </method> - <method name="set_mouse_grab" > + <method name="set_mouse_grab"> <argument index="0" name="grab" type="bool"> </argument> <description> </description> </method> - <method name="is_mouse_grab_enabled" qualifiers="const" > + <method name="is_mouse_grab_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_mouse_pos" qualifiers="const" > + <method name="get_mouse_pos" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_clipboard" > + <method name="set_clipboard"> <argument index="0" name="clipboard" type="String"> </argument> <description> </description> </method> - <method name="get_clipboard" qualifiers="const" > + <method name="get_clipboard" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_video_mode" > + <method name="set_video_mode"> <argument index="0" name="size" type="Vector2"> </argument> <argument index="1" name="fullscreen" type="bool"> @@ -6850,7 +6854,7 @@ <description> </description> </method> - <method name="get_video_mode_size" qualifiers="const" > + <method name="get_video_mode_size" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="screen" type="int" default="0"> @@ -6858,7 +6862,7 @@ <description> </description> </method> - <method name="is_video_mode_fullscreen" qualifiers="const" > + <method name="is_video_mode_fullscreen" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="screen" type="int" default="0"> @@ -6866,7 +6870,7 @@ <description> </description> </method> - <method name="is_video_mode_resizable" qualifiers="const" > + <method name="is_video_mode_resizable" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="screen" type="int" default="0"> @@ -6874,7 +6878,7 @@ <description> </description> </method> - <method name="get_fullscreen_mode_list" qualifiers="const" > + <method name="get_fullscreen_mode_list" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="screen" type="int" default="0"> @@ -6882,37 +6886,37 @@ <description> </description> </method> - <method name="set_iterations_per_second" > + <method name="set_iterations_per_second"> <argument index="0" name="iterations_per_second" type="int"> </argument> <description> </description> </method> - <method name="get_iterations_per_second" qualifiers="const" > + <method name="get_iterations_per_second" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_low_processor_usage_mode" > + <method name="set_low_processor_usage_mode"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_in_low_processor_usage_mode" qualifiers="const" > + <method name="is_in_low_processor_usage_mode" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_executable_path" qualifiers="const" > + <method name="get_executable_path" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="execute" > + <method name="execute"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -6924,7 +6928,7 @@ <description> </description> </method> - <method name="kill" > + <method name="kill"> <return type="int"> </return> <argument index="0" name="pid" type="int"> @@ -6932,7 +6936,7 @@ <description> </description> </method> - <method name="get_environment" qualifiers="const" > + <method name="get_environment" qualifiers="const"> <return type="String"> </return> <argument index="0" name="environment" type="String"> @@ -6940,7 +6944,7 @@ <description> </description> </method> - <method name="has_environment" qualifiers="const" > + <method name="has_environment" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="environment" type="String"> @@ -6948,115 +6952,115 @@ <description> </description> </method> - <method name="get_name" qualifiers="const" > + <method name="get_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_cmdline_args" > + <method name="get_cmdline_args"> <return type="StringArray"> </return> <description> </description> </method> - <method name="get_main_loop" qualifiers="const" > + <method name="get_main_loop" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="get_date" qualifiers="const" > + <method name="get_date" qualifiers="const"> <return type="Dictionary"> </return> <description> </description> </method> - <method name="get_time" qualifiers="const" > + <method name="get_time" qualifiers="const"> <return type="Dictionary"> </return> <description> </description> </method> - <method name="delay_usec" qualifiers="const" > + <method name="delay_usec" qualifiers="const"> <argument index="0" name="usec" type="int"> </argument> <description> </description> </method> - <method name="get_ticks_msec" qualifiers="const" > + <method name="get_ticks_msec" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_locale" qualifiers="const" > + <method name="get_locale" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="can_draw" qualifiers="const" > + <method name="can_draw" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_frames_drawn" > + <method name="get_frames_drawn"> <return type="int"> </return> <description> </description> </method> - <method name="is_stdout_verbose" qualifiers="const" > + <method name="is_stdout_verbose" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_mouse_button_state" qualifiers="const" > + <method name="get_mouse_button_state" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="dump_memory_to_file" > + <method name="dump_memory_to_file"> <argument index="0" name="file" type="String"> </argument> <description> </description> </method> - <method name="dump_resources_to_file" > + <method name="dump_resources_to_file"> <argument index="0" name="file" type="String"> </argument> <description> </description> </method> - <method name="print_resources_in_use" > + <method name="print_resources_in_use"> <argument index="0" name="short" type="bool" default="false"> </argument> <description> </description> </method> - <method name="print_all_resources" > + <method name="print_all_resources"> <argument index="0" name="tofile" type="String" default=""""> </argument> <description> </description> </method> - <method name="get_static_memory_usage" qualifiers="const" > + <method name="get_static_memory_usage" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_static_memory_peak_usage" qualifiers="const" > + <method name="get_static_memory_peak_usage" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_dynamic_memory_usage" qualifiers="const" > + <method name="get_dynamic_memory_usage" qualifiers="const"> <return type="int"> </return> <description> @@ -7110,13 +7114,13 @@ <description> </description> <methods> - <method name="get_type" qualifiers="const" > + <method name="get_type" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="is_type" qualifiers="const" > + <method name="is_type" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="type" type="String"> @@ -7124,7 +7128,7 @@ <description> </description> </method> - <method name="set" > + <method name="set"> <argument index="0" name="property" type="String"> </argument> <argument index="1" name="value" type="var"> @@ -7132,19 +7136,19 @@ <description> </description> </method> - <method name="get" qualifiers="const" > + <method name="get" qualifiers="const"> <argument index="0" name="property" type="String"> </argument> <description> </description> </method> - <method name="get_property_list" qualifiers="const" > + <method name="get_property_list" qualifiers="const"> <return type="Array"> </return> <description> </description> </method> - <method name="notification" > + <method name="notification"> <argument index="0" name="what" type="int"> </argument> <argument index="1" name="arg1" type="bool" default="false"> @@ -7152,25 +7156,25 @@ <description> </description> </method> - <method name="get_instance_ID" qualifiers="const" > + <method name="get_instance_ID" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_script" > + <method name="set_script"> <argument index="0" name="script" type="Script"> </argument> <description> </description> </method> - <method name="get_script" qualifiers="const" > + <method name="get_script" qualifiers="const"> <return type="Script"> </return> <description> </description> </method> - <method name="set_meta" > + <method name="set_meta"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="value" type="var"> @@ -7178,13 +7182,13 @@ <description> </description> </method> - <method name="get_meta" qualifiers="const" > + <method name="get_meta" qualifiers="const"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="has_meta" qualifiers="const" > + <method name="has_meta" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -7192,13 +7196,13 @@ <description> </description> </method> - <method name="get_meta_list" qualifiers="const" > + <method name="get_meta_list" qualifiers="const"> <return type="StringArray"> </return> <description> </description> </method> - <method name="call" > + <method name="call"> <argument index="0" name="method" type="String"> </argument> <argument index="1" name="arg1" type="var" default="NULL"> @@ -7212,7 +7216,7 @@ <description> </description> </method> - <method name="call_deferred" > + <method name="call_deferred"> <argument index="0" name="method" type="String"> </argument> <argument index="1" name="arg1" type="var" default="NULL"> @@ -7226,7 +7230,7 @@ <description> </description> </method> - <method name="add_user_signal" > + <method name="add_user_signal"> <argument index="0" name="signal" type="String"> </argument> <argument index="1" name="arguments" type="Array" default="Array()"> @@ -7234,7 +7238,7 @@ <description> </description> </method> - <method name="emit_signal" > + <method name="emit_signal"> <argument index="0" name="signal" type="String"> </argument> <argument index="1" name="arguments" type="Array" default="Array()"> @@ -7242,13 +7246,13 @@ <description> </description> </method> - <method name="get_signal_list" qualifiers="const" > + <method name="get_signal_list" qualifiers="const"> <return type="Array"> </return> <description> </description> </method> - <method name="connect" > + <method name="connect"> <argument index="0" name="signal" type="String"> </argument> <argument index="1" name="target" type="Object"> @@ -7262,7 +7266,7 @@ <description> </description> </method> - <method name="disconnect" > + <method name="disconnect"> <argument index="0" name="signal" type="String"> </argument> <argument index="1" name="target" type="Object"> @@ -7272,7 +7276,7 @@ <description> </description> </method> - <method name="is_connected" qualifiers="const" > + <method name="is_connected" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="signal" type="String"> @@ -7284,31 +7288,31 @@ <description> </description> </method> - <method name="set_block_signals" > + <method name="set_block_signals"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_blocking_signals" qualifiers="const" > + <method name="is_blocking_signals" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_message_translation" > + <method name="set_message_translation"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="can_translate_messages" > + <method name="can_translate_messages"> <argument index="0" name="arg0" type="bool"> </argument> <description> </description> </method> - <method name="XL_MESSAGE" qualifiers="const" > + <method name="XL_MESSAGE" qualifiers="const"> <return type="String"> </return> <argument index="0" name="message" type="String"> @@ -7316,7 +7320,7 @@ <description> </description> </method> - <method name="tr" qualifiers="const" > + <method name="tr" qualifiers="const"> <return type="String"> </return> <argument index="0" name="message" type="String"> @@ -7354,25 +7358,25 @@ <description> </description> <methods> - <method name="set_target_platform" > + <method name="set_target_platform"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="get_target_platform" qualifiers="const" > + <method name="get_target_platform" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_target_name" > + <method name="set_target_name"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="add_property" > + <method name="add_property"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="value" type="var"> @@ -7380,7 +7384,7 @@ <description> </description> </method> - <method name="optimize_object" > + <method name="optimize_object"> <return type="bool"> </return> <argument index="0" name="obj" type="Object"> @@ -7398,7 +7402,7 @@ <description> </description> <methods> - <method name="add_item" > + <method name="add_item"> <argument index="0" name="label" type="String"> </argument> <argument index="1" name="id" type="int" default="-1"> @@ -7406,7 +7410,7 @@ <description> </description> </method> - <method name="add_icon_item" > + <method name="add_icon_item"> <argument index="0" name="texture" type="Texture"> </argument> <argument index="1" name="label" type="String"> @@ -7416,7 +7420,7 @@ <description> </description> </method> - <method name="set_item_text" > + <method name="set_item_text"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="text" type="String"> @@ -7424,7 +7428,7 @@ <description> </description> </method> - <method name="set_item_icon" > + <method name="set_item_icon"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -7432,7 +7436,7 @@ <description> </description> </method> - <method name="set_item_disabled" > + <method name="set_item_disabled"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="disabled" type="bool"> @@ -7440,7 +7444,7 @@ <description> </description> </method> - <method name="set_item_ID" > + <method name="set_item_ID"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="id" type="int"> @@ -7448,7 +7452,7 @@ <description> </description> </method> - <method name="set_item_metadata" > + <method name="set_item_metadata"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="metadata" type="var"> @@ -7456,7 +7460,7 @@ <description> </description> </method> - <method name="get_item_text" qualifiers="const" > + <method name="get_item_text" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -7464,7 +7468,7 @@ <description> </description> </method> - <method name="get_item_icon" qualifiers="const" > + <method name="get_item_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="idx" type="int"> @@ -7472,7 +7476,7 @@ <description> </description> </method> - <method name="get_item_ID" qualifiers="const" > + <method name="get_item_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -7480,13 +7484,13 @@ <description> </description> </method> - <method name="get_item_metadata" qualifiers="const" > + <method name="get_item_metadata" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="is_item_disabled" qualifiers="const" > + <method name="is_item_disabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -7494,43 +7498,43 @@ <description> </description> </method> - <method name="get_item_count" qualifiers="const" > + <method name="get_item_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="add_separator" > + <method name="add_separator"> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="select" > + <method name="select"> <argument index="0" name="arg0" type="int"> </argument> <description> </description> </method> - <method name="get_selected" qualifiers="const" > + <method name="get_selected" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_selected_ID" qualifiers="const" > + <method name="get_selected_ID" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_selected_metadata" qualifiers="const" > + <method name="get_selected_metadata" qualifiers="const"> <description> </description> </method> - <method name="remove_item" > + <method name="remove_item"> <argument index="0" name="idx" type="int"> </argument> <description> @@ -7574,7 +7578,7 @@ <description> </description> <methods> - <method name="set_stream_peer" > + <method name="set_stream_peer"> <argument index="0" name="peer" type="StreamPeer"> </argument> <description> @@ -7600,61 +7604,61 @@ <description> </description> <methods> - <method name="set_scroll_offset" > + <method name="set_scroll_offset"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> </description> </method> - <method name="get_scroll_offset" qualifiers="const" > + <method name="get_scroll_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_scroll_base_offset" > + <method name="set_scroll_base_offset"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> </description> </method> - <method name="get_scroll_base_offset" qualifiers="const" > + <method name="get_scroll_base_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_scroll_base_scale" > + <method name="set_scroll_base_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> </description> </method> - <method name="get_scroll_base_scale" qualifiers="const" > + <method name="get_scroll_base_scale" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_limit_begin" > + <method name="set_limit_begin"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> </description> </method> - <method name="get_limit_begin" qualifiers="const" > + <method name="get_limit_begin" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_limit_end" > + <method name="set_limit_end"> <argument index="0" name="ofs" type="Vector2"> </argument> <description> </description> </method> - <method name="get_limit_end" qualifiers="const" > + <method name="get_limit_end" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -7670,37 +7674,37 @@ <description> </description> <methods> - <method name="set_motion_scale" > + <method name="set_motion_scale"> <argument index="0" name="scale" type="Vector2"> </argument> <description> </description> </method> - <method name="get_motion_scale" qualifiers="const" > + <method name="get_motion_scale" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_motion_wrap_begin" > + <method name="set_motion_wrap_begin"> <argument index="0" name="wrap_begin" type="Vector2"> </argument> <description> </description> </method> - <method name="get_motion_wrap_begin" qualifiers="const" > + <method name="get_motion_wrap_begin" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_motion_wrap_end" > + <method name="set_motion_wrap_end"> <argument index="0" name="wrap_end" type="Vector2"> </argument> <description> </description> </method> - <method name="get_motion_wrap_end" qualifiers="const" > + <method name="get_motion_wrap_end" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -7716,91 +7720,91 @@ <description> </description> <methods> - <method name="set_amount" > + <method name="set_amount"> <argument index="0" name="amount" type="int"> </argument> <description> </description> </method> - <method name="get_amount" qualifiers="const" > + <method name="get_amount" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_emitting" > + <method name="set_emitting"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_emitting" qualifiers="const" > + <method name="is_emitting" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_visibility_aabb" > + <method name="set_visibility_aabb"> <argument index="0" name="aabb" type="AABB"> </argument> <description> </description> </method> - <method name="get_visibility_aabb" qualifiers="const" > + <method name="get_visibility_aabb" qualifiers="const"> <return type="AABB"> </return> <description> </description> </method> - <method name="set_emission_half_extents" > + <method name="set_emission_half_extents"> <argument index="0" name="half_extents" type="Vector3"> </argument> <description> </description> </method> - <method name="get_emission_half_extents" qualifiers="const" > + <method name="get_emission_half_extents" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_emission_base_velocity" > + <method name="set_emission_base_velocity"> <argument index="0" name="base_velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_emission_base_velocity" qualifiers="const" > + <method name="get_emission_base_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_emission_points" > + <method name="set_emission_points"> <argument index="0" name="points" type="Vector3Array"> </argument> <description> </description> </method> - <method name="get_emission_points" qualifiers="const" > + <method name="get_emission_points" qualifiers="const"> <return type="Vector3Array"> </return> <description> </description> </method> - <method name="set_gravity_normal" > + <method name="set_gravity_normal"> <argument index="0" name="normal" type="Vector3"> </argument> <description> </description> </method> - <method name="get_gravity_normal" qualifiers="const" > + <method name="get_gravity_normal" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_variable" > + <method name="set_variable"> <argument index="0" name="variable" type="int"> </argument> <argument index="1" name="value" type="real"> @@ -7808,7 +7812,7 @@ <description> </description> </method> - <method name="get_variable" qualifiers="const" > + <method name="get_variable" qualifiers="const"> <return type="real"> </return> <argument index="0" name="variable" type="int"> @@ -7816,7 +7820,7 @@ <description> </description> </method> - <method name="set_randomness" > + <method name="set_randomness"> <argument index="0" name="variable" type="int"> </argument> <argument index="1" name="randomness" type="real"> @@ -7824,7 +7828,7 @@ <description> </description> </method> - <method name="get_randomness" qualifiers="const" > + <method name="get_randomness" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="int"> @@ -7832,7 +7836,7 @@ <description> </description> </method> - <method name="set_color_phase_pos" > + <method name="set_color_phase_pos"> <argument index="0" name="phase" type="int"> </argument> <argument index="1" name="pos" type="real"> @@ -7840,7 +7844,7 @@ <description> </description> </method> - <method name="get_color_phase_pos" qualifiers="const" > + <method name="get_color_phase_pos" qualifiers="const"> <return type="real"> </return> <argument index="0" name="phase" type="int"> @@ -7848,7 +7852,7 @@ <description> </description> </method> - <method name="set_color_phase_color" > + <method name="set_color_phase_color"> <argument index="0" name="phase" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -7856,7 +7860,7 @@ <description> </description> </method> - <method name="get_color_phase_color" qualifiers="const" > + <method name="get_color_phase_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="phase" type="int"> @@ -7864,49 +7868,49 @@ <description> </description> </method> - <method name="set_material" > + <method name="set_material"> <argument index="0" name="material" type="Material"> </argument> <description> </description> </method> - <method name="get_material" qualifiers="const" > + <method name="get_material" qualifiers="const"> <return type="Material"> </return> <description> </description> </method> - <method name="set_emit_timeout" > + <method name="set_emit_timeout"> <argument index="0" name="arg0" type="real"> </argument> <description> </description> </method> - <method name="get_emit_timeout" qualifiers="const" > + <method name="get_emit_timeout" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_height_from_velocity" > + <method name="set_height_from_velocity"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_height_from_velocity" qualifiers="const" > + <method name="has_height_from_velocity" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_color_phases" > + <method name="set_color_phases"> <argument index="0" name="count" type="int"> </argument> <description> </description> </method> - <method name="get_color_phases" qualifiers="const" > + <method name="get_color_phases" qualifiers="const"> <return type="int"> </return> <description> @@ -7950,67 +7954,67 @@ <description> </description> <methods> - <method name="set_emitting" > + <method name="set_emitting"> <argument index="0" name="active" type="bool"> </argument> <description> </description> </method> - <method name="is_emitting" qualifiers="const" > + <method name="is_emitting" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_amount" > + <method name="set_amount"> <argument index="0" name="amount" type="int"> </argument> <description> </description> </method> - <method name="get_amount" qualifiers="const" > + <method name="get_amount" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_lifetime" > + <method name="set_lifetime"> <argument index="0" name="lifetime" type="real"> </argument> <description> </description> </method> - <method name="get_lifetime" qualifiers="const" > + <method name="get_lifetime" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_pre_process_time" > + <method name="set_pre_process_time"> <argument index="0" name="time" type="real"> </argument> <description> </description> </method> - <method name="get_pre_process_time" qualifiers="const" > + <method name="get_pre_process_time" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_emit_timeout" > + <method name="set_emit_timeout"> <argument index="0" name="value" type="real"> </argument> <description> </description> </method> - <method name="get_emit_timeout" qualifiers="const" > + <method name="get_emit_timeout" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="real"> @@ -8018,7 +8022,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="real"> </return> <argument index="0" name="param" type="int"> @@ -8026,7 +8030,7 @@ <description> </description> </method> - <method name="set_randomness" > + <method name="set_randomness"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="real"> @@ -8034,7 +8038,7 @@ <description> </description> </method> - <method name="get_randomness" qualifiers="const" > + <method name="get_randomness" qualifiers="const"> <return type="real"> </return> <argument index="0" name="param" type="int"> @@ -8042,55 +8046,55 @@ <description> </description> </method> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Object"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_emissor_offset" > + <method name="set_emissor_offset"> <argument index="0" name="offset" type="Vector2"> </argument> <description> </description> </method> - <method name="get_emissor_offset" qualifiers="const" > + <method name="get_emissor_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_emission_half_extents" > + <method name="set_emission_half_extents"> <argument index="0" name="extents" type="Vector2"> </argument> <description> </description> </method> - <method name="get_emission_half_extents" qualifiers="const" > + <method name="get_emission_half_extents" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_color_phases" > + <method name="set_color_phases"> <argument index="0" name="phases" type="int"> </argument> <description> </description> </method> - <method name="get_color_phases" qualifiers="const" > + <method name="get_color_phases" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_color_phase_color" > + <method name="set_color_phase_color"> <argument index="0" name="phase" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -8098,7 +8102,7 @@ <description> </description> </method> - <method name="get_color_phase_color" qualifiers="const" > + <method name="get_color_phase_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="phase" type="int"> @@ -8106,7 +8110,7 @@ <description> </description> </method> - <method name="set_color_phase_pos" > + <method name="set_color_phase_pos"> <argument index="0" name="phase" type="int"> </argument> <argument index="1" name="pos" type="real"> @@ -8114,7 +8118,7 @@ <description> </description> </method> - <method name="get_color_phase_pos" qualifiers="const" > + <method name="get_color_phase_pos" qualifiers="const"> <return type="real"> </return> <argument index="0" name="phase" type="int"> @@ -8122,37 +8126,37 @@ <description> </description> </method> - <method name="pre_process" > + <method name="pre_process"> <argument index="0" name="time" type="real"> </argument> <description> </description> </method> - <method name="set_use_local_space" > + <method name="set_use_local_space"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_using_local_space" qualifiers="const" > + <method name="is_using_local_space" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_initial_velocity" > + <method name="set_initial_velocity"> <argument index="0" name="velocity" type="Vector2"> </argument> <description> </description> </method> - <method name="get_initial_velocity" qualifiers="const" > + <method name="get_initial_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="testee" > + <method name="testee"> <argument index="0" name="arg0" type="int" default="0"> </argument> <argument index="1" name="arg1" type="int" default="1"> @@ -8202,7 +8206,7 @@ <description> </description> <methods> - <method name="add_remap" > + <method name="add_remap"> <argument index="0" name="from" type="String"> </argument> <argument index="1" name="to" type="String"> @@ -8210,7 +8214,7 @@ <description> </description> </method> - <method name="has_remap" > + <method name="has_remap"> <argument index="0" name="path" type="String"> </argument> <argument index="1" name="arg1" type="String"> @@ -8218,7 +8222,7 @@ <description> </description> </method> - <method name="get_remap" qualifiers="const" > + <method name="get_remap" qualifiers="const"> <return type="String"> </return> <argument index="0" name="path" type="String"> @@ -8226,13 +8230,13 @@ <description> </description> </method> - <method name="erase_remap" > + <method name="erase_remap"> <argument index="0" name="path" type="String"> </argument> <description> </description> </method> - <method name="clear_remaps" > + <method name="clear_remaps"> <description> </description> </method> @@ -8246,85 +8250,85 @@ <description> </description> <methods> - <method name="get_total_gravity" qualifiers="const" > + <method name="get_total_gravity" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_total_density" qualifiers="const" > + <method name="get_total_density" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_inverse_mass" qualifiers="const" > + <method name="get_inverse_mass" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_inverse_inertia" qualifiers="const" > + <method name="get_inverse_inertia" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_linear_velocity" > + <method name="set_linear_velocity"> <argument index="0" name="velocity" type="Vector2"> </argument> <description> </description> </method> - <method name="get_linear_velocity" qualifiers="const" > + <method name="get_linear_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_angular_velocity" > + <method name="set_angular_velocity"> <argument index="0" name="velocity" type="real"> </argument> <description> </description> </method> - <method name="get_angular_velocity" qualifiers="const" > + <method name="get_angular_velocity" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="transform" type="Matrix32"> </argument> <description> </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Matrix32"> </return> <description> </description> </method> - <method name="set_sleep_state" > + <method name="set_sleep_state"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_sleeping" qualifiers="const" > + <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_contact_count" qualifiers="const" > + <method name="get_contact_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_contact_local_pos" qualifiers="const" > + <method name="get_contact_local_pos" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="contact_idx" type="int"> @@ -8332,7 +8336,7 @@ <description> </description> </method> - <method name="get_contact_local_normal" qualifiers="const" > + <method name="get_contact_local_normal" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="contact_idx" type="int"> @@ -8340,7 +8344,7 @@ <description> </description> </method> - <method name="get_contact_local_shape" qualifiers="const" > + <method name="get_contact_local_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -8348,7 +8352,7 @@ <description> </description> </method> - <method name="get_contact_collider" qualifiers="const" > + <method name="get_contact_collider" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="contact_idx" type="int"> @@ -8356,7 +8360,7 @@ <description> </description> </method> - <method name="get_contact_collider_pos" qualifiers="const" > + <method name="get_contact_collider_pos" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="contact_idx" type="int"> @@ -8364,7 +8368,7 @@ <description> </description> </method> - <method name="get_contact_collider_id" qualifiers="const" > + <method name="get_contact_collider_id" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -8372,7 +8376,7 @@ <description> </description> </method> - <method name="get_contact_collider_object" qualifiers="const" > + <method name="get_contact_collider_object" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="contact_idx" type="int"> @@ -8380,7 +8384,7 @@ <description> </description> </method> - <method name="get_contact_collider_shape" qualifiers="const" > + <method name="get_contact_collider_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -8388,7 +8392,7 @@ <description> </description> </method> - <method name="get_contact_collider_velocity_at_pos" qualifiers="const" > + <method name="get_contact_collider_velocity_at_pos" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="contact_idx" type="int"> @@ -8396,13 +8400,13 @@ <description> </description> </method> - <method name="get_step" qualifiers="const" > + <method name="get_step" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="integrate_forces" > + <method name="integrate_forces"> <description> </description> </method> @@ -8426,7 +8430,7 @@ <description> </description> <methods> - <method name="shape_create" > + <method name="shape_create"> <return type="RID"> </return> <argument index="0" name="type" type="int"> @@ -8434,7 +8438,7 @@ <description> </description> </method> - <method name="shape_set_data" > + <method name="shape_set_data"> <argument index="0" name="shape" type="RID"> </argument> <argument index="1" name="data" type="var"> @@ -8442,7 +8446,7 @@ <description> </description> </method> - <method name="shape_get_type" qualifiers="const" > + <method name="shape_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="shape" type="RID"> @@ -8450,19 +8454,19 @@ <description> </description> </method> - <method name="shape_get_data" qualifiers="const" > + <method name="shape_get_data" qualifiers="const"> <argument index="0" name="shape" type="RID"> </argument> <description> </description> </method> - <method name="space_create" > + <method name="space_create"> <return type="RID"> </return> <description> </description> </method> - <method name="space_set_active" > + <method name="space_set_active"> <argument index="0" name="space" type="RID"> </argument> <argument index="1" name="active" type="bool"> @@ -8470,7 +8474,7 @@ <description> </description> </method> - <method name="space_is_active" qualifiers="const" > + <method name="space_is_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="space" type="RID"> @@ -8478,7 +8482,7 @@ <description> </description> </method> - <method name="space_set_param" > + <method name="space_set_param"> <argument index="0" name="space" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -8488,7 +8492,7 @@ <description> </description> </method> - <method name="space_get_param" qualifiers="const" > + <method name="space_get_param" qualifiers="const"> <return type="real"> </return> <argument index="0" name="space" type="RID"> @@ -8498,13 +8502,13 @@ <description> </description> </method> - <method name="area_create" > + <method name="area_create"> <return type="RID"> </return> <description> </description> </method> - <method name="area_set_space" > + <method name="area_set_space"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="space" type="RID"> @@ -8512,7 +8516,7 @@ <description> </description> </method> - <method name="area_get_space" qualifiers="const" > + <method name="area_get_space" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="area" type="RID"> @@ -8520,7 +8524,7 @@ <description> </description> </method> - <method name="area_add_shape" > + <method name="area_add_shape"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape" type="int"> @@ -8530,7 +8534,7 @@ <description> </description> </method> - <method name="area_set_shape" qualifiers="const" > + <method name="area_set_shape" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="area" type="RID"> @@ -8540,7 +8544,7 @@ <description> </description> </method> - <method name="area_set_shape_transform" > + <method name="area_set_shape_transform"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -8550,7 +8554,7 @@ <description> </description> </method> - <method name="area_get_shape_count" qualifiers="const" > + <method name="area_get_shape_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="area" type="RID"> @@ -8558,7 +8562,7 @@ <description> </description> </method> - <method name="area_get_shape" qualifiers="const" > + <method name="area_get_shape" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="area" type="RID"> @@ -8568,7 +8572,7 @@ <description> </description> </method> - <method name="area_get_shape_transform" qualifiers="const" > + <method name="area_get_shape_transform" qualifiers="const"> <return type="Matrix32"> </return> <argument index="0" name="area" type="RID"> @@ -8578,7 +8582,7 @@ <description> </description> </method> - <method name="area_remove_shape" > + <method name="area_remove_shape"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -8586,13 +8590,13 @@ <description> </description> </method> - <method name="area_clear_shapes" > + <method name="area_clear_shapes"> <argument index="0" name="area" type="RID"> </argument> <description> </description> </method> - <method name="area_set_param" qualifiers="const" > + <method name="area_set_param" qualifiers="const"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -8600,7 +8604,7 @@ <description> </description> </method> - <method name="area_set_transform" qualifiers="const" > + <method name="area_set_transform" qualifiers="const"> <return type="Matrix32"> </return> <argument index="0" name="area" type="RID"> @@ -8608,7 +8612,7 @@ <description> </description> </method> - <method name="area_get_param" qualifiers="const" > + <method name="area_get_param" qualifiers="const"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -8616,7 +8620,7 @@ <description> </description> </method> - <method name="area_get_transform" qualifiers="const" > + <method name="area_get_transform" qualifiers="const"> <return type="Matrix32"> </return> <argument index="0" name="area" type="RID"> @@ -8624,7 +8628,7 @@ <description> </description> </method> - <method name="area_attach_object_instance_ID" > + <method name="area_attach_object_instance_ID"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="id" type="int"> @@ -8632,7 +8636,7 @@ <description> </description> </method> - <method name="area_get_object_instance_ID" qualifiers="const" > + <method name="area_get_object_instance_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="area" type="RID"> @@ -8640,7 +8644,7 @@ <description> </description> </method> - <method name="body_create" > + <method name="body_create"> <return type="RID"> </return> <argument index="0" name="mode" type="int" default="1"> @@ -8650,7 +8654,7 @@ <description> </description> </method> - <method name="body_set_space" > + <method name="body_set_space"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="space" type="RID"> @@ -8658,7 +8662,7 @@ <description> </description> </method> - <method name="body_get_space" qualifiers="const" > + <method name="body_get_space" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="body" type="RID"> @@ -8666,7 +8670,7 @@ <description> </description> </method> - <method name="body_set_mode" > + <method name="body_set_mode"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="mode" type="int"> @@ -8674,7 +8678,7 @@ <description> </description> </method> - <method name="body_get_mode" qualifiers="const" > + <method name="body_get_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -8684,7 +8688,7 @@ <description> </description> </method> - <method name="body_add_shape" > + <method name="body_add_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape" type="RID"> @@ -8694,7 +8698,7 @@ <description> </description> </method> - <method name="body_set_shape" > + <method name="body_set_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -8704,7 +8708,7 @@ <description> </description> </method> - <method name="body_set_shape_transform" > + <method name="body_set_shape_transform"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -8714,7 +8718,7 @@ <description> </description> </method> - <method name="body_get_shape_count" qualifiers="const" > + <method name="body_get_shape_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -8722,7 +8726,7 @@ <description> </description> </method> - <method name="body_get_shape" qualifiers="const" > + <method name="body_get_shape" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="body" type="RID"> @@ -8732,7 +8736,7 @@ <description> </description> </method> - <method name="body_get_shape_transform" qualifiers="const" > + <method name="body_get_shape_transform" qualifiers="const"> <return type="Matrix32"> </return> <argument index="0" name="body" type="RID"> @@ -8742,7 +8746,7 @@ <description> </description> </method> - <method name="body_remove_shape" > + <method name="body_remove_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -8750,13 +8754,13 @@ <description> </description> </method> - <method name="body_clear_shapes" > + <method name="body_clear_shapes"> <argument index="0" name="body" type="RID"> </argument> <description> </description> </method> - <method name="body_attach_object_instance_ID" > + <method name="body_attach_object_instance_ID"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="id" type="int"> @@ -8764,7 +8768,7 @@ <description> </description> </method> - <method name="body_get_object_instance_ID" qualifiers="const" > + <method name="body_get_object_instance_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -8772,7 +8776,7 @@ <description> </description> </method> - <method name="body_set_enable_continuous_collision_detection" > + <method name="body_set_enable_continuous_collision_detection"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="enable" type="bool"> @@ -8780,7 +8784,7 @@ <description> </description> </method> - <method name="body_is_continuous_collision_detection_enabled" qualifiers="const" > + <method name="body_is_continuous_collision_detection_enabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="body" type="RID"> @@ -8788,7 +8792,7 @@ <description> </description> </method> - <method name="body_set_param" > + <method name="body_set_param"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -8798,7 +8802,7 @@ <description> </description> </method> - <method name="body_get_param" qualifiers="const" > + <method name="body_get_param" qualifiers="const"> <return type="real"> </return> <argument index="0" name="body" type="RID"> @@ -8808,7 +8812,7 @@ <description> </description> </method> - <method name="body_static_simulate_motion" > + <method name="body_static_simulate_motion"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="new_xform" type="Matrix32"> @@ -8816,7 +8820,7 @@ <description> </description> </method> - <method name="body_set_state" > + <method name="body_set_state"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="state" type="int"> @@ -8826,7 +8830,7 @@ <description> </description> </method> - <method name="body_get_state" qualifiers="const" > + <method name="body_get_state" qualifiers="const"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="state" type="int"> @@ -8834,7 +8838,7 @@ <description> </description> </method> - <method name="body_apply_impulse" > + <method name="body_apply_impulse"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -8844,7 +8848,7 @@ <description> </description> </method> - <method name="body_set_axis_velocity" > + <method name="body_set_axis_velocity"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="axis_velocity" type="Vector2"> @@ -8852,7 +8856,7 @@ <description> </description> </method> - <method name="body_add_collision_exception" > + <method name="body_add_collision_exception"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="excepted_body" type="RID"> @@ -8860,7 +8864,7 @@ <description> </description> </method> - <method name="body_remove_collision_exception" > + <method name="body_remove_collision_exception"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="excepted_body" type="RID"> @@ -8868,7 +8872,7 @@ <description> </description> </method> - <method name="body_set_max_contacts_reported" > + <method name="body_set_max_contacts_reported"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="amount" type="int"> @@ -8876,7 +8880,7 @@ <description> </description> </method> - <method name="body_get_max_contacts_reported" qualifiers="const" > + <method name="body_get_max_contacts_reported" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -8884,7 +8888,7 @@ <description> </description> </method> - <method name="body_set_omit_force_integration" > + <method name="body_set_omit_force_integration"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="enable" type="bool"> @@ -8892,7 +8896,7 @@ <description> </description> </method> - <method name="body_is_omitting_force_integration" qualifiers="const" > + <method name="body_is_omitting_force_integration" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="body" type="RID"> @@ -8900,7 +8904,7 @@ <description> </description> </method> - <method name="pin_joint_create" > + <method name="pin_joint_create"> <return type="RID"> </return> <argument index="0" name="anchor" type="Vector2"> @@ -8912,7 +8916,7 @@ <description> </description> </method> - <method name="groove_joint_create" > + <method name="groove_joint_create"> <return type="RID"> </return> <argument index="0" name="groove1_a" type="Vector2"> @@ -8928,7 +8932,7 @@ <description> </description> </method> - <method name="damped_spring_joint_create" > + <method name="damped_spring_joint_create"> <return type="RID"> </return> <argument index="0" name="anchor_a" type="Vector2"> @@ -8942,7 +8946,7 @@ <description> </description> </method> - <method name="damped_string_joint_set_param" > + <method name="damped_string_joint_set_param"> <argument index="0" name="joint" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -8952,7 +8956,7 @@ <description> </description> </method> - <method name="damped_string_joint_get_param" qualifiers="const" > + <method name="damped_string_joint_get_param" qualifiers="const"> <return type="real"> </return> <argument index="0" name="joint" type="RID"> @@ -8962,7 +8966,7 @@ <description> </description> </method> - <method name="joint_get_type" qualifiers="const" > + <method name="joint_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="joint" type="RID"> @@ -8970,7 +8974,7 @@ <description> </description> </method> - <method name="query_create" > + <method name="query_create"> <return type="RID"> </return> <argument index="0" name="receiver" type="Object"> @@ -8984,7 +8988,7 @@ <description> </description> </method> - <method name="query_body_state" > + <method name="query_body_state"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="body" type="RID"> @@ -8992,7 +8996,7 @@ <description> </description> </method> - <method name="query_body_direct_state" > + <method name="query_body_direct_state"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="body" type="RID"> @@ -9000,7 +9004,7 @@ <description> </description> </method> - <method name="query_area" > + <method name="query_area"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="area" type="RID"> @@ -9008,7 +9012,7 @@ <description> </description> </method> - <method name="query_intersection" > + <method name="query_intersection"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="space" type="RID"> @@ -9022,7 +9026,7 @@ <description> </description> </method> - <method name="query_intersection_ray" > + <method name="query_intersection_ray"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="from" type="Vector2"> @@ -9032,7 +9036,7 @@ <description> </description> </method> - <method name="query_intersection_segment" > + <method name="query_intersection_segment"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="from" type="Vector2"> @@ -9042,7 +9046,7 @@ <description> </description> </method> - <method name="query_intersection_shape" > + <method name="query_intersection_shape"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="shape" type="RID"> @@ -9052,13 +9056,13 @@ <description> </description> </method> - <method name="query_clear" > + <method name="query_clear"> <argument index="0" name="query" type="RID"> </argument> <description> </description> </method> - <method name="query_get_type" qualifiers="const" > + <method name="query_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="query" type="RID"> @@ -9066,7 +9070,7 @@ <description> </description> </method> - <method name="query_get_target" qualifiers="const" > + <method name="query_get_target" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="query" type="RID"> @@ -9074,13 +9078,13 @@ <description> </description> </method> - <method name="free" > + <method name="free"> <argument index="0" name="rid" type="RID"> </argument> <description> </description> </method> - <method name="set_active" > + <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> @@ -9188,7 +9192,7 @@ <description> </description> <methods> - <method name="add_shape" > + <method name="add_shape"> <argument index="0" name="shape" type="Shape"> </argument> <argument index="1" name="transform" type="Transform" default="Transform()"> @@ -9196,13 +9200,13 @@ <description> </description> </method> - <method name="get_shape_count" qualifiers="const" > + <method name="get_shape_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_shape" > + <method name="set_shape"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="shape" type="Shape"> @@ -9210,7 +9214,7 @@ <description> </description> </method> - <method name="set_shape_transform" > + <method name="set_shape_transform"> <argument index="0" name="shape_idx" type="int"> </argument> <argument index="1" name="transform" type="Transform"> @@ -9218,7 +9222,7 @@ <description> </description> </method> - <method name="get_shape" qualifiers="const" > + <method name="get_shape" qualifiers="const"> <return type="Shape"> </return> <argument index="0" name="shape_idx" type="int"> @@ -9226,7 +9230,7 @@ <description> </description> </method> - <method name="get_shape_transform" qualifiers="const" > + <method name="get_shape_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="shape_idx" type="int"> @@ -9234,41 +9238,41 @@ <description> </description> </method> - <method name="remove_shape" > + <method name="remove_shape"> <argument index="0" name="shape_idx" type="int"> </argument> <description> </description> </method> - <method name="clear_shapes" > + <method name="clear_shapes"> <description> </description> </method> - <method name="get_body" qualifiers="const" > + <method name="get_body" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="set_max_contacts_reported" > + <method name="set_max_contacts_reported"> <argument index="0" name="contacts" type="int"> </argument> <description> </description> </method> - <method name="get_max_contacts_reported" qualifiers="const" > + <method name="get_max_contacts_reported" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_contacts_reported_depth_treshold" > + <method name="set_contacts_reported_depth_treshold"> <argument index="0" name="depth" type="real"> </argument> <description> </description> </method> - <method name="get_contacts_reported_depth_treshold" qualifiers="const" > + <method name="get_contacts_reported_depth_treshold" qualifiers="const"> <return type="real"> </return> <description> @@ -9294,85 +9298,85 @@ <description> </description> <methods> - <method name="get_total_gravity" qualifiers="const" > + <method name="get_total_gravity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="get_total_density" qualifiers="const" > + <method name="get_total_density" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_inverse_mass" qualifiers="const" > + <method name="get_inverse_mass" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_inverse_inertia_tensor" qualifiers="const" > + <method name="get_inverse_inertia_tensor" qualifiers="const"> <return type="Matrix3"> </return> <description> </description> </method> - <method name="set_linear_velocity" > + <method name="set_linear_velocity"> <argument index="0" name="velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_linear_velocity" qualifiers="const" > + <method name="get_linear_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_angular_velocity" > + <method name="set_angular_velocity"> <argument index="0" name="velocity" type="Vector3"> </argument> <description> </description> </method> - <method name="get_angular_velocity" qualifiers="const" > + <method name="get_angular_velocity" qualifiers="const"> <return type="Vector3"> </return> <description> </description> </method> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="transform" type="Transform"> </argument> <description> </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Transform"> </return> <description> </description> </method> - <method name="set_sleep_state" > + <method name="set_sleep_state"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_sleeping" qualifiers="const" > + <method name="is_sleeping" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_contact_count" qualifiers="const" > + <method name="get_contact_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_contact_local_pos" qualifiers="const" > + <method name="get_contact_local_pos" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="contact_idx" type="int"> @@ -9380,7 +9384,7 @@ <description> </description> </method> - <method name="get_contact_local_normal" qualifiers="const" > + <method name="get_contact_local_normal" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="contact_idx" type="int"> @@ -9388,7 +9392,7 @@ <description> </description> </method> - <method name="get_contact_local_shape" qualifiers="const" > + <method name="get_contact_local_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -9396,7 +9400,7 @@ <description> </description> </method> - <method name="get_contact_collider" qualifiers="const" > + <method name="get_contact_collider" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="contact_idx" type="int"> @@ -9404,7 +9408,7 @@ <description> </description> </method> - <method name="get_contact_collider_pos" qualifiers="const" > + <method name="get_contact_collider_pos" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="contact_idx" type="int"> @@ -9412,7 +9416,7 @@ <description> </description> </method> - <method name="get_contact_collider_id" qualifiers="const" > + <method name="get_contact_collider_id" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -9420,7 +9424,7 @@ <description> </description> </method> - <method name="get_contact_collider_shape" qualifiers="const" > + <method name="get_contact_collider_shape" qualifiers="const"> <return type="int"> </return> <argument index="0" name="contact_idx" type="int"> @@ -9428,7 +9432,7 @@ <description> </description> </method> - <method name="get_contact_collider_velocity_at_pos" qualifiers="const" > + <method name="get_contact_collider_velocity_at_pos" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="contact_idx" type="int"> @@ -9456,7 +9460,7 @@ <description> </description> <methods> - <method name="shape_create" > + <method name="shape_create"> <return type="RID"> </return> <argument index="0" name="shape_type" type="int"> @@ -9464,7 +9468,7 @@ <description> </description> </method> - <method name="shape_set_data" > + <method name="shape_set_data"> <argument index="0" name="shape" type="RID"> </argument> <argument index="1" name="data" type="var" default="-1"> @@ -9472,7 +9476,7 @@ <description> </description> </method> - <method name="shape_get_type" qualifiers="const" > + <method name="shape_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="shape" type="RID"> @@ -9480,19 +9484,19 @@ <description> </description> </method> - <method name="shape_get_data" qualifiers="const" > + <method name="shape_get_data" qualifiers="const"> <argument index="0" name="shape" type="RID"> </argument> <description> </description> </method> - <method name="space_create" > + <method name="space_create"> <return type="RID"> </return> <description> </description> </method> - <method name="area_create" > + <method name="area_create"> <return type="RID"> </return> <argument index="0" name="space" type="int"> @@ -9502,7 +9506,7 @@ <description> </description> </method> - <method name="area_set_param" > + <method name="area_set_param"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -9512,7 +9516,7 @@ <description> </description> </method> - <method name="area_set_shape" > + <method name="area_set_shape"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="shape" type="RID"> @@ -9520,7 +9524,7 @@ <description> </description> </method> - <method name="area_set_bounds" > + <method name="area_set_bounds"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="bounds" type="Dictionary"> @@ -9528,7 +9532,7 @@ <description> </description> </method> - <method name="area_set_transform" > + <method name="area_set_transform"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="transform" type="Transform"> @@ -9536,7 +9540,7 @@ <description> </description> </method> - <method name="area_get_param" qualifiers="const" > + <method name="area_get_param" qualifiers="const"> <argument index="0" name="area" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -9544,7 +9548,7 @@ <description> </description> </method> - <method name="area_get_shape" qualifiers="const" > + <method name="area_get_shape" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="area" type="RID"> @@ -9552,7 +9556,7 @@ <description> </description> </method> - <method name="area_get_bounds" qualifiers="const" > + <method name="area_get_bounds" qualifiers="const"> <return type="Dictionary"> </return> <argument index="0" name="area" type="RID"> @@ -9560,7 +9564,7 @@ <description> </description> </method> - <method name="area_get_transform" qualifiers="const" > + <method name="area_get_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="area" type="RID"> @@ -9568,7 +9572,7 @@ <description> </description> </method> - <method name="body_create" > + <method name="body_create"> <return type="RID"> </return> <argument index="0" name="space" type="int"> @@ -9578,7 +9582,7 @@ <description> </description> </method> - <method name="body_set_mode" > + <method name="body_set_mode"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="mode" type="int"> @@ -9586,7 +9590,7 @@ <description> </description> </method> - <method name="body_get_mode" qualifiers="const" > + <method name="body_get_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -9596,7 +9600,7 @@ <description> </description> </method> - <method name="body_add_shape" > + <method name="body_add_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape" type="RID"> @@ -9606,7 +9610,7 @@ <description> </description> </method> - <method name="body_set_shape" > + <method name="body_set_shape"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -9616,7 +9620,7 @@ <description> </description> </method> - <method name="body_set_shape_transform" > + <method name="body_set_shape_transform"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="shape_idx" type="int"> @@ -9626,7 +9630,7 @@ <description> </description> </method> - <method name="body_get_shape_count" qualifiers="const" > + <method name="body_get_shape_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -9634,7 +9638,7 @@ <description> </description> </method> - <method name="body_get_shape" qualifiers="const" > + <method name="body_get_shape" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="body" type="RID"> @@ -9644,7 +9648,7 @@ <description> </description> </method> - <method name="body_get_shape_transform" qualifiers="const" > + <method name="body_get_shape_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="body" type="RID"> @@ -9654,7 +9658,7 @@ <description> </description> </method> - <method name="body_attach_object_instance_ID" > + <method name="body_attach_object_instance_ID"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="ID" type="int"> @@ -9662,7 +9666,7 @@ <description> </description> </method> - <method name="body_get_object_instance_ID" qualifiers="const" > + <method name="body_get_object_instance_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -9670,7 +9674,7 @@ <description> </description> </method> - <method name="body_set_user_flags" > + <method name="body_set_user_flags"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="user_flags" type="int"> @@ -9678,7 +9682,7 @@ <description> </description> </method> - <method name="body_get_user_flags" qualifiers="const" > + <method name="body_get_user_flags" qualifiers="const"> <return type="int"> </return> <argument index="0" name="body" type="RID"> @@ -9688,7 +9692,7 @@ <description> </description> </method> - <method name="body_set_param" > + <method name="body_set_param"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="param" type="int"> @@ -9698,7 +9702,7 @@ <description> </description> </method> - <method name="body_get_param" qualifiers="const" > + <method name="body_get_param" qualifiers="const"> <return type="real"> </return> <argument index="0" name="body" type="RID"> @@ -9708,7 +9712,7 @@ <description> </description> </method> - <method name="body_static_simulate_motion" > + <method name="body_static_simulate_motion"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="motion" type="Transform"> @@ -9716,7 +9720,7 @@ <description> </description> </method> - <method name="body_set_state" > + <method name="body_set_state"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="state" type="int"> @@ -9726,7 +9730,7 @@ <description> </description> </method> - <method name="body_get_state" qualifiers="const" > + <method name="body_get_state" qualifiers="const"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="state" type="int"> @@ -9734,7 +9738,7 @@ <description> </description> </method> - <method name="body_set_applied_force" > + <method name="body_set_applied_force"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="applied_force" type="Vector3"> @@ -9742,7 +9746,7 @@ <description> </description> </method> - <method name="body_get_applied_force" qualifiers="const" > + <method name="body_get_applied_force" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="body" type="RID"> @@ -9750,7 +9754,7 @@ <description> </description> </method> - <method name="body_set_applied_torque" > + <method name="body_set_applied_torque"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="applied_torque" type="Vector3"> @@ -9758,7 +9762,7 @@ <description> </description> </method> - <method name="body_get_applied_torque" qualifiers="const" > + <method name="body_get_applied_torque" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="body" type="RID"> @@ -9766,7 +9770,7 @@ <description> </description> </method> - <method name="body_set_axis_velocity" > + <method name="body_set_axis_velocity"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="axis_velocity" type="Vector3"> @@ -9774,7 +9778,7 @@ <description> </description> </method> - <method name="body_apply_impulse" > + <method name="body_apply_impulse"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="pos" type="Vector3"> @@ -9784,7 +9788,7 @@ <description> </description> </method> - <method name="body_add_collision_exception" > + <method name="body_add_collision_exception"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="against_body" type="RID"> @@ -9792,7 +9796,7 @@ <description> </description> </method> - <method name="body_remove_collision_exception" > + <method name="body_remove_collision_exception"> <argument index="0" name="body" type="RID"> </argument> <argument index="1" name="against_body" type="RID"> @@ -9800,7 +9804,7 @@ <description> </description> </method> - <method name="query_create" > + <method name="query_create"> <return type="RID"> </return> <argument index="0" name="receiver" type="Object"> @@ -9814,7 +9818,7 @@ <description> </description> </method> - <method name="query_body_state" > + <method name="query_body_state"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="body" type="RID"> @@ -9822,7 +9826,7 @@ <description> </description> </method> - <method name="query_body_direct_state" > + <method name="query_body_direct_state"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="body" type="RID"> @@ -9830,7 +9834,7 @@ <description> </description> </method> - <method name="query_area" > + <method name="query_area"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="area" type="RID"> @@ -9838,7 +9842,7 @@ <description> </description> </method> - <method name="query_intersection" > + <method name="query_intersection"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="space" type="RID"> @@ -9850,7 +9854,7 @@ <description> </description> </method> - <method name="query_intersection_ray" > + <method name="query_intersection_ray"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="origin" type="Vector3"> @@ -9860,7 +9864,7 @@ <description> </description> </method> - <method name="query_intersection_segment" > + <method name="query_intersection_segment"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="from" type="Vector3"> @@ -9870,7 +9874,7 @@ <description> </description> </method> - <method name="query_intersection_shape" > + <method name="query_intersection_shape"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="shape" type="RID"> @@ -9880,7 +9884,7 @@ <description> </description> </method> - <method name="query_intersection_bounds" > + <method name="query_intersection_bounds"> <argument index="0" name="query" type="RID"> </argument> <argument index="1" name="bounds" type="Dictionary"> @@ -9890,13 +9894,13 @@ <description> </description> </method> - <method name="query_clear" > + <method name="query_clear"> <argument index="0" name="query" type="RID"> </argument> <description> </description> </method> - <method name="query_get_type" qualifiers="const" > + <method name="query_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="query" type="RID"> @@ -9904,7 +9908,7 @@ <description> </description> </method> - <method name="query_get_target" qualifiers="const" > + <method name="query_get_target" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="query" type="RID"> @@ -9912,13 +9916,13 @@ <description> </description> </method> - <method name="free" > + <method name="free"> <argument index="0" name="rid" type="RID"> </argument> <description> </description> </method> - <method name="set_active" > + <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> @@ -10044,13 +10048,13 @@ <description> </description> <methods> - <method name="set_plane" > + <method name="set_plane"> <argument index="0" name="plane" type="Plane"> </argument> <description> </description> </method> - <method name="get_plane" qualifiers="const" > + <method name="get_plane" qualifiers="const"> <return type="Plane"> </return> <description> @@ -10066,35 +10070,35 @@ <description> </description> <methods> - <method name="popup_centered" > + <method name="popup_centered"> <argument index="0" name="size" type="Vector2" default="Vector2(0,0)"> </argument> <description> </description> </method> - <method name="popup_centered_ratio" > + <method name="popup_centered_ratio"> <argument index="0" name="ratio" type="real" default="0.75"> </argument> <description> </description> </method> - <method name="popup_centered_minsize" > + <method name="popup_centered_minsize"> <argument index="0" name="minsize" type="Vector2" default="Vector2(0,0)"> </argument> <description> </description> </method> - <method name="popup" > + <method name="popup"> <description> </description> </method> - <method name="set_exclusive" > + <method name="set_exclusive"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_exclusive" qualifiers="const" > + <method name="is_exclusive" qualifiers="const"> <return type="bool"> </return> <description> @@ -10128,7 +10132,7 @@ <description> </description> <methods> - <method name="add_icon_item" > + <method name="add_icon_item"> <argument index="0" name="texture" type="Object"> </argument> <argument index="1" name="label" type="String"> @@ -10140,7 +10144,7 @@ <description> </description> </method> - <method name="add_item" > + <method name="add_item"> <argument index="0" name="label" type="String"> </argument> <argument index="1" name="id" type="int" default="-1"> @@ -10150,7 +10154,7 @@ <description> </description> </method> - <method name="add_icon_check_item" > + <method name="add_icon_check_item"> <argument index="0" name="texture" type="Object"> </argument> <argument index="1" name="label" type="String"> @@ -10162,7 +10166,7 @@ <description> </description> </method> - <method name="add_check_item" > + <method name="add_check_item"> <argument index="0" name="label" type="String"> </argument> <argument index="1" name="id" type="int" default="-1"> @@ -10172,7 +10176,7 @@ <description> </description> </method> - <method name="add_submenu_item" > + <method name="add_submenu_item"> <argument index="0" name="label" type="String"> </argument> <argument index="1" name="submenu" type="int"> @@ -10182,7 +10186,7 @@ <description> </description> </method> - <method name="set_item_text" > + <method name="set_item_text"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="text" type="String"> @@ -10190,7 +10194,7 @@ <description> </description> </method> - <method name="set_item_icon" > + <method name="set_item_icon"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="icon" type="Object"> @@ -10198,7 +10202,7 @@ <description> </description> </method> - <method name="set_item_accelerator" > + <method name="set_item_accelerator"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="accel" type="int"> @@ -10206,7 +10210,7 @@ <description> </description> </method> - <method name="set_item_metadata" > + <method name="set_item_metadata"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="metadata" type="var"> @@ -10214,7 +10218,7 @@ <description> </description> </method> - <method name="set_item_checked" > + <method name="set_item_checked"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="arg1" type="bool"> @@ -10222,7 +10226,7 @@ <description> </description> </method> - <method name="set_item_disabled" > + <method name="set_item_disabled"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="disabled" type="bool"> @@ -10230,7 +10234,7 @@ <description> </description> </method> - <method name="set_item_submenu" > + <method name="set_item_submenu"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="submenu" type="String"> @@ -10238,7 +10242,7 @@ <description> </description> </method> - <method name="set_item_as_separator" > + <method name="set_item_as_separator"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -10246,7 +10250,7 @@ <description> </description> </method> - <method name="set_item_as_checkable" > + <method name="set_item_as_checkable"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="enable" type="bool"> @@ -10254,7 +10258,7 @@ <description> </description> </method> - <method name="set_item_ID" > + <method name="set_item_ID"> <argument index="0" name="idx" type="int"> </argument> <argument index="1" name="id" type="int"> @@ -10262,7 +10266,7 @@ <description> </description> </method> - <method name="get_item_text" qualifiers="const" > + <method name="get_item_text" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -10270,7 +10274,7 @@ <description> </description> </method> - <method name="get_item_icon" qualifiers="const" > + <method name="get_item_icon" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="idx" type="int"> @@ -10278,13 +10282,13 @@ <description> </description> </method> - <method name="get_item_metadata" qualifiers="const" > + <method name="get_item_metadata" qualifiers="const"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="get_item_accelerator" qualifiers="const" > + <method name="get_item_accelerator" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -10292,7 +10296,7 @@ <description> </description> </method> - <method name="get_item_submenu" qualifiers="const" > + <method name="get_item_submenu" qualifiers="const"> <return type="String"> </return> <argument index="0" name="idx" type="int"> @@ -10300,7 +10304,7 @@ <description> </description> </method> - <method name="is_item_separator" qualifiers="const" > + <method name="is_item_separator" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -10308,7 +10312,7 @@ <description> </description> </method> - <method name="is_item_checkable" qualifiers="const" > + <method name="is_item_checkable" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -10316,7 +10320,7 @@ <description> </description> </method> - <method name="is_item_checked" qualifiers="const" > + <method name="is_item_checked" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -10324,7 +10328,7 @@ <description> </description> </method> - <method name="is_item_disabled" qualifiers="const" > + <method name="is_item_disabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="idx" type="int"> @@ -10332,7 +10336,7 @@ <description> </description> </method> - <method name="get_item_ID" qualifiers="const" > + <method name="get_item_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="idx" type="int"> @@ -10340,7 +10344,7 @@ <description> </description> </method> - <method name="get_item_index" qualifiers="const" > + <method name="get_item_index" qualifiers="const"> <return type="int"> </return> <argument index="0" name="id" type="int"> @@ -10348,23 +10352,23 @@ <description> </description> </method> - <method name="get_item_count" qualifiers="const" > + <method name="get_item_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="add_separator" > + <method name="add_separator"> <description> </description> </method> - <method name="remove_item" > + <method name="remove_item"> <argument index="0" name="idx" type="int"> </argument> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> @@ -10396,61 +10400,61 @@ <description> </description> <methods> - <method name="set_shape" > + <method name="set_shape"> <argument index="0" name="points" type="Vector2Array"> </argument> <description> </description> </method> - <method name="get_shape" qualifiers="const" > + <method name="get_shape" qualifiers="const"> <return type="Vector2Array"> </return> <description> </description> </method> - <method name="set_enabled" > + <method name="set_enabled"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_enabled" qualifiers="const" > + <method name="is_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_disable_distance" > + <method name="set_disable_distance"> <argument index="0" name="distance" type="real"> </argument> <description> </description> </method> - <method name="get_disable_distance" qualifiers="const" > + <method name="get_disable_distance" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_disabled_color" > + <method name="set_disabled_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_disabled_color" qualifiers="const" > + <method name="get_disabled_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_connect_range" > + <method name="set_connect_range"> <argument index="0" name="range" type="real"> </argument> <description> </description> </method> - <method name="get_connect_range" qualifiers="const" > + <method name="get_connect_range" qualifiers="const"> <return type="real"> </return> <description> @@ -10486,13 +10490,13 @@ <description> </description> <methods> - <method name="set_group_name" > + <method name="set_group_name"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="broadcast" > + <method name="broadcast"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="parameters" type="var"> @@ -10500,19 +10504,19 @@ <description> </description> </method> - <method name="set_dispatch_mode" > + <method name="set_dispatch_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="set_grid_radius" > + <method name="set_grid_radius"> <argument index="0" name="radius" type="Vector3"> </argument> <description> </description> </method> - <method name="get_grid_radius" qualifiers="const" > + <method name="get_grid_radius" qualifiers="const"> <return type="Vector3"> </return> <description> @@ -10538,25 +10542,25 @@ <description> </description> <methods> - <method name="set_group_size" > + <method name="set_group_size"> <argument index="0" name="size" type="int"> </argument> <description> </description> </method> - <method name="get_group_size" qualifiers="const" > + <method name="get_group_size" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_group_notifym" > + <method name="set_group_notifym"> <argument index="0" name="notify" type="int"> </argument> <description> </description> </method> - <method name="get_group_notify" qualifiers="const" > + <method name="get_group_notify" qualifiers="const"> <return type="int"> </return> <description> @@ -10586,121 +10590,121 @@ <description> </description> <methods> - <method name="get_val" qualifiers="const" > + <method name="get_val" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_value" qualifiers="const" > + <method name="get_value" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_min" qualifiers="const" > + <method name="get_min" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_max" qualifiers="const" > + <method name="get_max" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_step" qualifiers="const" > + <method name="get_step" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_page" qualifiers="const" > + <method name="get_page" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_unit_value" qualifiers="const" > + <method name="get_unit_value" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_rounded_values" qualifiers="const" > + <method name="get_rounded_values" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_val" > + <method name="set_val"> <argument index="0" name="value" type="real"> </argument> <description> </description> </method> - <method name="set_value" > + <method name="set_value"> <argument index="0" name="value" type="real"> </argument> <description> </description> </method> - <method name="set_min" > + <method name="set_min"> <argument index="0" name="minimum" type="real"> </argument> <description> </description> </method> - <method name="set_max" > + <method name="set_max"> <argument index="0" name="maximum" type="real"> </argument> <description> </description> </method> - <method name="set_step" > + <method name="set_step"> <argument index="0" name="step" type="real"> </argument> <description> </description> </method> - <method name="set_page" > + <method name="set_page"> <argument index="0" name="pagesize" type="real"> </argument> <description> </description> </method> - <method name="set_unit_value" > + <method name="set_unit_value"> <argument index="0" name="value" type="real"> </argument> <description> </description> </method> - <method name="set_rounded_values" > + <method name="set_rounded_values"> <argument index="0" name="arg0" type="bool"> </argument> <description> </description> </method> - <method name="set_exp_unit_value" > + <method name="set_exp_unit_value"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_unit_value_exp" qualifiers="const" > + <method name="is_unit_value_exp" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="share" > + <method name="share"> <argument index="0" name="with" type="Object"> </argument> <description> </description> </method> - <method name="unshare" > + <method name="unshare"> <description> </description> </method> @@ -10726,13 +10730,13 @@ <description> </description> <methods> - <method name="set_length" > + <method name="set_length"> <argument index="0" name="length" type="real"> </argument> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="real"> </return> <description> @@ -10748,13 +10752,13 @@ <description> </description> <methods> - <method name="set_extents" > + <method name="set_extents"> <argument index="0" name="extents" type="Vector2"> </argument> <description> </description> </method> - <method name="get_extents" qualifiers="const" > + <method name="get_extents" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -10770,17 +10774,17 @@ <description> </description> <methods> - <method name="init_ref" > + <method name="init_ref"> <return type="bool"> </return> <description> </description> </method> - <method name="reference" > + <method name="reference"> <description> </description> </method> - <method name="unreference" > + <method name="unreference"> <return type="bool"> </return> <description> @@ -10806,31 +10810,31 @@ <description> </description> <methods> - <method name="set_path" > + <method name="set_path"> <argument index="0" name="path" type="String"> </argument> <description> </description> </method> - <method name="get_path" qualifiers="const" > + <method name="get_path" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_name" > + <method name="set_name"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="get_name" qualifiers="const" > + <method name="get_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_rid" qualifiers="const" > + <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> @@ -10852,7 +10856,7 @@ <description> </description> <methods> - <method name="load" > + <method name="load"> <return type="Resource"> </return> <argument index="0" name="path" type="String"> @@ -10862,7 +10866,7 @@ <description> </description> </method> - <method name="get_recognized_extensions_for_type" > + <method name="get_recognized_extensions_for_type"> <return type="StringArray"> </return> <argument index="0" name="type" type="String"> @@ -10880,7 +10884,7 @@ <description> </description> <methods> - <method name="add_resource" > + <method name="add_resource"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="resource" type="Object"> @@ -10888,13 +10892,13 @@ <description> </description> </method> - <method name="remove_resource" > + <method name="remove_resource"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="rename_resource" > + <method name="rename_resource"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="newname" type="String"> @@ -10902,7 +10906,7 @@ <description> </description> </method> - <method name="has_resource" qualifiers="const" > + <method name="has_resource" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -10910,7 +10914,7 @@ <description> </description> </method> - <method name="get_resource" qualifiers="const" > + <method name="get_resource" qualifiers="const"> <return type="Object"> </return> <argument index="0" name="name" type="String"> @@ -10918,7 +10922,7 @@ <description> </description> </method> - <method name="get_resource_list" qualifiers="const" > + <method name="get_resource_list" qualifiers="const"> <return type="StringArray"> </return> <description> @@ -10934,7 +10938,7 @@ <description> </description> <methods> - <method name="save" > + <method name="save"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -10944,7 +10948,7 @@ <description> </description> </method> - <method name="get_recognized_extensions" > + <method name="get_recognized_extensions"> <return type="StringArray"> </return> <argument index="0" name="type" type="Object"> @@ -10962,113 +10966,113 @@ <description> </description> <methods> - <method name="add_text" > + <method name="add_text"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="add_image" > + <method name="add_image"> <argument index="0" name="image" type="Texture"> </argument> <description> </description> </method> - <method name="newline" > + <method name="newline"> <description> </description> </method> - <method name="push_font" > + <method name="push_font"> <argument index="0" name="font" type="Object"> </argument> <description> </description> </method> - <method name="push_color" > + <method name="push_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="push_align" > + <method name="push_align"> <argument index="0" name="align" type="int"> </argument> <description> </description> </method> - <method name="push_indent" > + <method name="push_indent"> <argument index="0" name="level" type="int"> </argument> <description> </description> </method> - <method name="push_list" > + <method name="push_list"> <argument index="0" name="type" type="int"> </argument> <description> </description> </method> - <method name="push_meta" > + <method name="push_meta"> <argument index="0" name="data" type="var"> </argument> <description> </description> </method> - <method name="push_underline" > + <method name="push_underline"> <description> </description> </method> - <method name="pop" > + <method name="pop"> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="set_meta_underline" > + <method name="set_meta_underline"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_meta_underlined" qualifiers="const" > + <method name="is_meta_underlined" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_scroll_active" > + <method name="set_scroll_active"> <argument index="0" name="active" type="bool"> </argument> <description> </description> </method> - <method name="is_scroll_active" qualifiers="const" > + <method name="is_scroll_active" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_scroll_follow" > + <method name="set_scroll_follow"> <argument index="0" name="follow" type="bool"> </argument> <description> </description> </method> - <method name="is_scroll_following" qualifiers="const" > + <method name="is_scroll_following" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_tab_size" > + <method name="set_tab_size"> <argument index="0" name="spaces" type="int"> </argument> <description> </description> </method> - <method name="get_tab_size" qualifiers="const" > + <method name="get_tab_size" qualifiers="const"> <return type="int"> </return> <description> @@ -11128,145 +11132,145 @@ <description> </description> <methods> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_mass" > + <method name="set_mass"> <argument index="0" name="mass" type="real"> </argument> <description> </description> </method> - <method name="get_mass" qualifiers="const" > + <method name="get_mass" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_weight" > + <method name="set_weight"> <argument index="0" name="weight" type="real"> </argument> <description> </description> </method> - <method name="get_weight" qualifiers="const" > + <method name="get_weight" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_friction" > + <method name="set_friction"> <argument index="0" name="friction" type="real"> </argument> <description> </description> </method> - <method name="get_friction" qualifiers="const" > + <method name="get_friction" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_bounce" > + <method name="set_bounce"> <argument index="0" name="bounce" type="real"> </argument> <description> </description> </method> - <method name="get_bounce" qualifiers="const" > + <method name="get_bounce" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_linear_velocity" > + <method name="set_linear_velocity"> <argument index="0" name="linear_velocity" type="Vector2"> </argument> <description> </description> </method> - <method name="get_linear_velocity" qualifiers="const" > + <method name="get_linear_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_angular_velocity" > + <method name="set_angular_velocity"> <argument index="0" name="angular_velocity" type="real"> </argument> <description> </description> </method> - <method name="get_angular_velocity" qualifiers="const" > + <method name="get_angular_velocity" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_max_contacts_reported" > + <method name="set_max_contacts_reported"> <argument index="0" name="amount" type="int"> </argument> <description> </description> </method> - <method name="get_max_contacts_reported" qualifiers="const" > + <method name="get_max_contacts_reported" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_use_custom_integrator" > + <method name="set_use_custom_integrator"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_using_custom_integrator" > + <method name="is_using_custom_integrator"> <return type="bool"> </return> <description> </description> </method> - <method name="set_contact_monitor" > + <method name="set_contact_monitor"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_contact_monitor_enabled" qualifiers="const" > + <method name="is_contact_monitor_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_use_continuous_collision_detection" > + <method name="set_use_continuous_collision_detection"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_using_continuous_collision_detection" qualifiers="const" > + <method name="is_using_continuous_collision_detection" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_axis_velocity" > + <method name="set_axis_velocity"> <argument index="0" name="axis_velocity" type="Vector2"> </argument> <description> </description> </method> - <method name="apply_impulse" > + <method name="apply_impulse"> <argument index="0" name="pos" type="Vector2"> </argument> <argument index="1" name="impulse" type="Vector2"> @@ -11274,13 +11278,13 @@ <description> </description> </method> - <method name="set_active" > + <method name="set_active"> <argument index="0" name="active" type="bool"> </argument> <description> </description> </method> - <method name="is_active" qualifiers="const" > + <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> @@ -11344,25 +11348,25 @@ <description> </description> <methods> - <method name="set_bounds" > + <method name="set_bounds"> <argument index="0" name="bsp_tree" type="Dictionary"> </argument> <description> </description> </method> - <method name="get_bounds" qualifiers="const" > + <method name="get_bounds" qualifiers="const"> <return type="Dictionary"> </return> <description> </description> </method> - <method name="set_geometry_hint" > + <method name="set_geometry_hint"> <argument index="0" name="triangles" type="Vector3Array"> </argument> <description> </description> </method> - <method name="get_geometry_hint" qualifiers="const" > + <method name="get_geometry_hint" qualifiers="const"> <return type="Vector3Array"> </return> <description> @@ -11378,29 +11382,29 @@ <description> </description> <methods> - <method name="set_room" > + <method name="set_room"> <argument index="0" name="room" type="Room"> </argument> <description> </description> </method> - <method name="get_room" qualifiers="const" > + <method name="get_room" qualifiers="const"> <return type="Room"> </return> <description> </description> </method> - <method name="compute_room_from_subtree" > + <method name="compute_room_from_subtree"> <description> </description> </method> - <method name="set_simulate_acoustics" > + <method name="set_simulate_acoustics"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_simulating_acoustics" qualifiers="const" > + <method name="is_simulating_acoustics" qualifiers="const"> <return type="bool"> </return> <description> @@ -11426,7 +11430,7 @@ <description> </description> <methods> - <method name="create" > + <method name="create"> <argument index="0" name="format" type="int"> </argument> <argument index="1" name="stereo" type="bool"> @@ -11436,79 +11440,79 @@ <description> </description> </method> - <method name="get_format" qualifiers="const" > + <method name="get_format" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="is_stereo" qualifiers="const" > + <method name="is_stereo" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_data" > + <method name="set_data"> <argument index="0" name="data" type="RawArray"> </argument> <description> </description> </method> - <method name="get_data" qualifiers="const" > + <method name="get_data" qualifiers="const"> <return type="RawArray"> </return> <description> </description> </method> - <method name="set_mix_rate" > + <method name="set_mix_rate"> <argument index="0" name="hz" type="int"> </argument> <description> </description> </method> - <method name="get_mix_rate" qualifiers="const" > + <method name="get_mix_rate" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_loop_format" > + <method name="set_loop_format"> <argument index="0" name="format" type="int"> </argument> <description> </description> </method> - <method name="get_loop_format" qualifiers="const" > + <method name="get_loop_format" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_loop_begin" > + <method name="set_loop_begin"> <argument index="0" name="pos" type="int"> </argument> <description> </description> </method> - <method name="get_loop_begin" qualifiers="const" > + <method name="get_loop_begin" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_loop_end" > + <method name="set_loop_end"> <argument index="0" name="pos" type="int"> </argument> <description> </description> </method> - <method name="get_loop_end" qualifiers="const" > + <method name="get_loop_end" qualifiers="const"> <return type="int"> </return> <description> @@ -11536,7 +11540,7 @@ <description> </description> <methods> - <method name="add_sample" > + <method name="add_sample"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="sample" type="Sample"> @@ -11544,7 +11548,7 @@ <description> </description> </method> - <method name="get_sample" qualifiers="const" > + <method name="get_sample" qualifiers="const"> <return type="Sample"> </return> <argument index="0" name="name" type="String"> @@ -11552,7 +11556,7 @@ <description> </description> </method> - <method name="has_sample" qualifiers="const" > + <method name="has_sample" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -11560,7 +11564,7 @@ <description> </description> </method> - <method name="remove_sample" > + <method name="remove_sample"> <argument index="0" name="name" type="String"> </argument> <description> @@ -11576,31 +11580,31 @@ <description> </description> <methods> - <method name="set_sample_library" > + <method name="set_sample_library"> <argument index="0" name="library" type="SampleLibrary"> </argument> <description> </description> </method> - <method name="get_sample_library" qualifiers="const" > + <method name="get_sample_library" qualifiers="const"> <return type="SampleLibrary"> </return> <description> </description> </method> - <method name="set_voice_count" > + <method name="set_voice_count"> <argument index="0" name="max_voices" type="int"> </argument> <description> </description> </method> - <method name="get_voice_count" qualifiers="const" > + <method name="get_voice_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -11610,17 +11614,17 @@ <description> </description> </method> - <method name="stop" > + <method name="stop"> <argument index="0" name="voice" type="int"> </argument> <description> </description> </method> - <method name="stop_all" > + <method name="stop_all"> <description> </description> </method> - <method name="set_mix_rate" > + <method name="set_mix_rate"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="hz" type="int"> @@ -11628,7 +11632,7 @@ <description> </description> </method> - <method name="set_pitch_scale" > + <method name="set_pitch_scale"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="ratio" type="real"> @@ -11636,7 +11640,7 @@ <description> </description> </method> - <method name="set_volume" > + <method name="set_volume"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="nrg" type="real"> @@ -11644,7 +11648,7 @@ <description> </description> </method> - <method name="set_volume_db" > + <method name="set_volume_db"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="nrg" type="real"> @@ -11652,7 +11656,7 @@ <description> </description> </method> - <method name="set_pan" > + <method name="set_pan"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="pan" type="real"> @@ -11664,7 +11668,7 @@ <description> </description> </method> - <method name="set_filter" > + <method name="set_filter"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="type" type="int"> @@ -11678,7 +11682,7 @@ <description> </description> </method> - <method name="set_chorus" > + <method name="set_chorus"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="send" type="real"> @@ -11686,7 +11690,7 @@ <description> </description> </method> - <method name="set_reverb" > + <method name="set_reverb"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="room_type" type="int"> @@ -11696,7 +11700,7 @@ <description> </description> </method> - <method name="get_mix_rate" qualifiers="const" > + <method name="get_mix_rate" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="int"> @@ -11704,7 +11708,7 @@ <description> </description> </method> - <method name="get_pitch_scale" qualifiers="const" > + <method name="get_pitch_scale" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11712,7 +11716,7 @@ <description> </description> </method> - <method name="get_volume" qualifiers="const" > + <method name="get_volume" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11720,7 +11724,7 @@ <description> </description> </method> - <method name="get_volume_db" qualifiers="const" > + <method name="get_volume_db" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11728,7 +11732,7 @@ <description> </description> </method> - <method name="get_pan" qualifiers="const" > + <method name="get_pan" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11736,7 +11740,7 @@ <description> </description> </method> - <method name="get_pan_depth" qualifiers="const" > + <method name="get_pan_depth" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11744,7 +11748,7 @@ <description> </description> </method> - <method name="get_pan_height" qualifiers="const" > + <method name="get_pan_height" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11752,7 +11756,7 @@ <description> </description> </method> - <method name="get_filter_type" qualifiers="const" > + <method name="get_filter_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="voice" type="int"> @@ -11760,7 +11764,7 @@ <description> </description> </method> - <method name="get_filter_cutoff" qualifiers="const" > + <method name="get_filter_cutoff" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11768,7 +11772,7 @@ <description> </description> </method> - <method name="get_filter_resonance" qualifiers="const" > + <method name="get_filter_resonance" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11776,7 +11780,7 @@ <description> </description> </method> - <method name="get_filter_gain" qualifiers="const" > + <method name="get_filter_gain" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11784,7 +11788,7 @@ <description> </description> </method> - <method name="get_chorus" qualifiers="const" > + <method name="get_chorus" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11792,7 +11796,7 @@ <description> </description> </method> - <method name="get_reverb_room" qualifiers="const" > + <method name="get_reverb_room" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11800,7 +11804,7 @@ <description> </description> </method> - <method name="get_reverb" qualifiers="const" > + <method name="get_reverb" qualifiers="const"> <return type="real"> </return> <argument index="0" name="voice" type="int"> @@ -11808,25 +11812,25 @@ <description> </description> </method> - <method name="set_default_pitch_scale" > + <method name="set_default_pitch_scale"> <argument index="0" name="ratio" type="real"> </argument> <description> </description> </method> - <method name="set_default_volume" > + <method name="set_default_volume"> <argument index="0" name="nrg" type="real"> </argument> <description> </description> </method> - <method name="set_default_volume_db" > + <method name="set_default_volume_db"> <argument index="0" name="db" type="real"> </argument> <description> </description> </method> - <method name="set_default_pan" > + <method name="set_default_pan"> <argument index="0" name="pan" type="real"> </argument> <argument index="1" name="depth" type="real" default="0"> @@ -11836,7 +11840,7 @@ <description> </description> </method> - <method name="set_default_filter" > + <method name="set_default_filter"> <argument index="0" name="type" type="int"> </argument> <argument index="1" name="cutoff_hz" type="real"> @@ -11848,13 +11852,13 @@ <description> </description> </method> - <method name="set_default_chorus" > + <method name="set_default_chorus"> <argument index="0" name="send" type="real"> </argument> <description> </description> </method> - <method name="set_default_reverb" > + <method name="set_default_reverb"> <argument index="0" name="room_type" type="int"> </argument> <argument index="1" name="send" type="real"> @@ -11862,91 +11866,91 @@ <description> </description> </method> - <method name="get_default_pitch_scale" qualifiers="const" > + <method name="get_default_pitch_scale" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_volume" qualifiers="const" > + <method name="get_default_volume" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_volume_db" qualifiers="const" > + <method name="get_default_volume_db" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_pan" qualifiers="const" > + <method name="get_default_pan" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_pan_depth" qualifiers="const" > + <method name="get_default_pan_depth" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_pan_height" qualifiers="const" > + <method name="get_default_pan_height" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_filter_type" qualifiers="const" > + <method name="get_default_filter_type" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_default_filter_cutoff" qualifiers="const" > + <method name="get_default_filter_cutoff" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_filter_resonance" qualifiers="const" > + <method name="get_default_filter_resonance" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_filter_gain" qualifiers="const" > + <method name="get_default_filter_gain" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_chorus" qualifiers="const" > + <method name="get_default_chorus" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_reverb_room" qualifiers="const" > + <method name="get_default_reverb_room" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_default_reverb" qualifiers="const" > + <method name="get_default_reverb" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="is_active" qualifiers="const" > + <method name="is_active" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="is_voice_active" qualifiers="const" > + <method name="is_voice_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="voice" type="int"> @@ -12000,7 +12004,7 @@ <description> </description> <methods> - <method name="load" > + <method name="load"> <return type="Object"> </return> <argument index="0" name="path" type="String"> @@ -12008,7 +12012,7 @@ <description> </description> </method> - <method name="save" > + <method name="save"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -12022,7 +12026,7 @@ <description> </description> </method> - <method name="load_interactive" > + <method name="load_interactive"> <return type="SceneInteractiveLoader"> </return> <argument index="0" name="path" type="String"> @@ -12040,37 +12044,37 @@ <description> </description> <methods> - <method name="get_default_world" qualifiers="const" > + <method name="get_default_world" qualifiers="const"> <return type="World"> </return> <description> </description> </method> - <method name="get_default_viewport" qualifiers="const" > + <method name="get_default_viewport" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="get_default_viewport_size" qualifiers="const" > + <method name="get_default_viewport_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_default_canvas" qualifiers="const" > + <method name="get_default_canvas" qualifiers="const"> <return type="Canvas"> </return> <description> </description> </method> - <method name="get_default_space_2d" qualifiers="const" > + <method name="get_default_space_2d" qualifiers="const"> <return type="Space2D"> </return> <description> </description> </method> - <method name="notify_group" > + <method name="notify_group"> <argument index="0" name="call_flags" type="int"> </argument> <argument index="1" name="group" type="String"> @@ -12080,7 +12084,7 @@ <description> </description> </method> - <method name="set_group" > + <method name="set_group"> <argument index="0" name="call_flags" type="int"> </argument> <argument index="1" name="group" type="String"> @@ -12092,63 +12096,63 @@ <description> </description> </method> - <method name="get_root_node" > + <method name="get_root_node"> <return type="Node"> </return> <description> </description> </method> - <method name="set_root_node" > + <method name="set_root_node"> <argument index="0" name="node" type="Node"> </argument> <description> </description> </method> - <method name="set_auto_accept_quit" > + <method name="set_auto_accept_quit"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="set_editor_hint" > + <method name="set_editor_hint"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_editor_hint" qualifiers="const" > + <method name="is_editor_hint" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_pause" > + <method name="set_pause"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_paused" qualifiers="const" > + <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_input_as_handled" > + <method name="set_input_as_handled"> <description> </description> </method> - <method name="get_frame" qualifiers="const" > + <method name="get_frame" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="quit" > + <method name="quit"> <description> </description> </method> - <method name="call_group" > + <method name="call_group"> <argument index="0" name="flags" type="int"> </argument> <argument index="1" name="group" type="String"> @@ -12202,7 +12206,7 @@ <description> </description> <methods> - <method name="load_scene" > + <method name="load_scene"> <return type="int"> </return> <argument index="0" name="path" type="String"> @@ -12210,19 +12214,19 @@ <description> </description> </method> - <method name="get_scene_path" qualifiers="const" > + <method name="get_scene_path" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="instance" qualifiers="const" > + <method name="instance" qualifiers="const"> <return type="Node"> </return> <description> </description> </method> - <method name="can_instance" qualifiers="const" > + <method name="can_instance" qualifiers="const"> <return type="bool"> </return> <description> @@ -12238,11 +12242,11 @@ <description> </description> <methods> - <method name="enter_screen" > + <method name="enter_screen"> <description> </description> </method> - <method name="exit_screen" > + <method name="exit_screen"> <description> </description> </method> @@ -12266,13 +12270,13 @@ <description> </description> <methods> - <method name="can_instance" qualifiers="const" > + <method name="can_instance" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="instance_has" qualifiers="const" > + <method name="instance_has" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="base_object" type="Object"> @@ -12280,25 +12284,25 @@ <description> </description> </method> - <method name="has_source_code" qualifiers="const" > + <method name="has_source_code" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_source_code" qualifiers="const" > + <method name="get_source_code" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_source_code" > + <method name="set_source_code"> <argument index="0" name="source" type="String"> </argument> <description> </description> </method> - <method name="reload" > + <method name="reload"> <return type="int"> </return> <description> @@ -12314,13 +12318,13 @@ <description> </description> <methods> - <method name="set_custom_step" > + <method name="set_custom_step"> <argument index="0" name="step" type="real"> </argument> <description> </description> </method> - <method name="get_custom_step" qualifiers="const" > + <method name="get_custom_step" qualifiers="const"> <return type="real"> </return> <description> @@ -12336,25 +12340,25 @@ <description> </description> <methods> - <method name="set_a" > + <method name="set_a"> <argument index="0" name="a" type="Vector2"> </argument> <description> </description> </method> - <method name="get_a" qualifiers="const" > + <method name="get_a" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="set_b" > + <method name="set_b"> <argument index="0" name="b" type="Vector2"> </argument> <description> </description> </method> - <method name="get_b" qualifiers="const" > + <method name="get_b" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -12380,55 +12384,55 @@ <description> </description> <methods> - <method name="set_mode" > + <method name="set_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="get_mode" qualifiers="const" > + <method name="get_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_vertex_code" > + <method name="set_vertex_code"> <argument index="0" name="code" type="String"> </argument> <description> </description> </method> - <method name="get_vertex_code" qualifiers="const" > + <method name="get_vertex_code" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_fragment_code" > + <method name="set_fragment_code"> <argument index="0" name="code" type="String"> </argument> <description> </description> </method> - <method name="get_fragment_code" qualifiers="const" > + <method name="get_fragment_code" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_use_world_transform" > + <method name="set_use_world_transform"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_using_world_transform" qualifiers="const" > + <method name="is_using_world_transform" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="String"> </argument> <argument index="1" name="value" type="var"> @@ -12436,13 +12440,13 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <argument index="0" name="param" type="String"> </argument> <description> </description> </method> - <method name="get_param_list" qualifiers="const" > + <method name="get_param_list" qualifiers="const"> <return type="StringArray"> </return> <description> @@ -12462,13 +12466,13 @@ <description> </description> <methods> - <method name="set_shader" > + <method name="set_shader"> <argument index="0" name="shader" type="Shader"> </argument> <description> </description> </method> - <method name="get_shader" qualifiers="const" > + <method name="get_shader" qualifiers="const"> <return type="Shader"> </return> <description> @@ -12504,13 +12508,13 @@ <description> </description> <methods> - <method name="add_bone" > + <method name="add_bone"> <argument index="0" name="name" type="String"> </argument> <description> </description> </method> - <method name="find_bone" qualifiers="const" > + <method name="find_bone" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -12518,7 +12522,7 @@ <description> </description> </method> - <method name="get_bone_name" qualifiers="const" > + <method name="get_bone_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="bone_idx" type="int"> @@ -12526,7 +12530,7 @@ <description> </description> </method> - <method name="get_bone_parent" qualifiers="const" > + <method name="get_bone_parent" qualifiers="const"> <return type="int"> </return> <argument index="0" name="bone_idx" type="int"> @@ -12534,7 +12538,7 @@ <description> </description> </method> - <method name="set_bone_parent" > + <method name="set_bone_parent"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="parent_idx" type="int"> @@ -12542,13 +12546,13 @@ <description> </description> </method> - <method name="get_bone_count" qualifiers="const" > + <method name="get_bone_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_bone_rest" qualifiers="const" > + <method name="get_bone_rest" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="bone_idx" type="int"> @@ -12556,7 +12560,7 @@ <description> </description> </method> - <method name="set_bone_rest" > + <method name="set_bone_rest"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="rest" type="Transform"> @@ -12564,7 +12568,7 @@ <description> </description> </method> - <method name="bind_child_node_to_bone" > + <method name="bind_child_node_to_bone"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="node" type="Node"> @@ -12572,7 +12576,7 @@ <description> </description> </method> - <method name="unbind_child_node_from_bone" > + <method name="unbind_child_node_from_bone"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="node" type="Node"> @@ -12580,7 +12584,7 @@ <description> </description> </method> - <method name="get_bound_child_nodes_to_bone" qualifiers="const" > + <method name="get_bound_child_nodes_to_bone" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="bone_idx" type="int"> @@ -12588,11 +12592,11 @@ <description> </description> </method> - <method name="clear_bones" > + <method name="clear_bones"> <description> </description> </method> - <method name="get_bone_pose" qualifiers="const" > + <method name="get_bone_pose" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="bone_idx" type="int"> @@ -12600,7 +12604,7 @@ <description> </description> </method> - <method name="set_bone_pose" > + <method name="set_bone_pose"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="pose" type="Transform"> @@ -12608,7 +12612,7 @@ <description> </description> </method> - <method name="get_bone_custom_pose" qualifiers="const" > + <method name="get_bone_custom_pose" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="bone_idx" type="int"> @@ -12616,7 +12620,7 @@ <description> </description> </method> - <method name="set_bone_custom_pose" > + <method name="set_bone_custom_pose"> <argument index="0" name="bone_idx" type="int"> </argument> <argument index="1" name="custom_pose" type="Transform"> @@ -12624,7 +12628,7 @@ <description> </description> </method> - <method name="get_bone_transform" qualifiers="const" > + <method name="get_bone_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="bone_idx" type="int"> @@ -12654,25 +12658,25 @@ <description> </description> <methods> - <method name="set_ticks" > + <method name="set_ticks"> <argument index="0" name="count" type="int"> </argument> <description> </description> </method> - <method name="get_ticks" qualifiers="const" > + <method name="get_ticks" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_ticks_on_borders" qualifiers="const" > + <method name="get_ticks_on_borders" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_ticks_on_borders" > + <method name="set_ticks_on_borders"> <argument index="0" name="ticks_on_border" type="bool"> </argument> <description> @@ -12688,7 +12692,7 @@ <description> </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="real"> @@ -12696,7 +12700,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="real"> </return> <argument index="0" name="param" type="int"> @@ -12704,25 +12708,25 @@ <description> </description> </method> - <method name="set_reverb_mode" > + <method name="set_reverb_mode"> <argument index="0" name="reverb_mode" type="int"> </argument> <description> </description> </method> - <method name="get_reverb_mode" qualifiers="const" > + <method name="get_reverb_mode" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_force_params_to_all_sources" > + <method name="set_force_params_to_all_sources"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_forcing_params_to_all_sources" > + <method name="is_forcing_params_to_all_sources"> <return type="bool"> </return> <description> @@ -12738,37 +12742,37 @@ <description> </description> <methods> - <method name="set_transform" > + <method name="set_transform"> <argument index="0" name="local" type="Transform"> </argument> <description> </description> </method> - <method name="get_transform" qualifiers="const" > + <method name="get_transform" qualifiers="const"> <return type="Transform"> </return> <description> </description> </method> - <method name="set_global_transform" > + <method name="set_global_transform"> <argument index="0" name="global" type="Transform"> </argument> <description> </description> </method> - <method name="get_global_transform" qualifiers="const" > + <method name="get_global_transform" qualifiers="const"> <return type="Transform"> </return> <description> </description> </method> - <method name="get_parent_spatial" qualifiers="const" > + <method name="get_parent_spatial" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="update_gizmo" > + <method name="update_gizmo"> <description> </description> </method> @@ -12788,7 +12792,7 @@ <description> </description> <methods> - <method name="set_param" > + <method name="set_param"> <argument index="0" name="param" type="int"> </argument> <argument index="1" name="value" type="real"> @@ -12796,7 +12800,7 @@ <description> </description> </method> - <method name="get_param" qualifiers="const" > + <method name="get_param" qualifiers="const"> <return type="real"> </return> <argument index="0" name="param" type="int"> @@ -12830,31 +12834,31 @@ <description> </description> <methods> - <method name="set_sample_library" > + <method name="set_sample_library"> <argument index="0" name="library" type="SampleLibrary"> </argument> <description> </description> </method> - <method name="get_sample_library" qualifiers="const" > + <method name="get_sample_library" qualifiers="const"> <return type="SampleLibrary"> </return> <description> </description> </method> - <method name="set_polyphony" > + <method name="set_polyphony"> <argument index="0" name="voices" type="int"> </argument> <description> </description> </method> - <method name="get_polyphony" qualifiers="const" > + <method name="get_polyphony" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> <return type="int"> </return> <argument index="0" name="sample" type="String"> @@ -12864,7 +12868,7 @@ <description> </description> </method> - <method name="voice_set_pitch_scale" > + <method name="voice_set_pitch_scale"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="ratio" type="real"> @@ -12872,7 +12876,7 @@ <description> </description> </method> - <method name="voice_set_volume_scale_db" > + <method name="voice_set_volume_scale_db"> <argument index="0" name="voice" type="int"> </argument> <argument index="1" name="db" type="real"> @@ -12880,7 +12884,7 @@ <description> </description> </method> - <method name="is_voice_active" qualifiers="const" > + <method name="is_voice_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="voice" type="int"> @@ -12888,13 +12892,13 @@ <description> </description> </method> - <method name="stop_voice" > + <method name="stop_voice"> <argument index="0" name="voice" type="int"> </argument> <description> </description> </method> - <method name="stop_all" > + <method name="stop_all"> <description> </description> </method> @@ -12932,63 +12936,63 @@ <description> </description> <methods> - <method name="set_stream" > + <method name="set_stream"> <argument index="0" name="stream" type="Stream"> </argument> <description> </description> </method> - <method name="get_stream" qualifiers="const" > + <method name="get_stream" qualifiers="const"> <return type="Stream"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_stream_name" qualifiers="const" > + <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_loop_count" qualifiers="const" > + <method name="get_loop_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="seek_pos" > + <method name="seek_pos"> <argument index="0" name="time" type="real"> </argument> <description> @@ -13004,13 +13008,13 @@ <description> </description> <methods> - <method name="set_radius" > + <method name="set_radius"> <argument index="0" name="radius" type="real"> </argument> <description> </description> </method> - <method name="get_radius" qualifiers="const" > + <method name="get_radius" qualifiers="const"> <return type="real"> </return> <description> @@ -13026,37 +13030,37 @@ <description> </description> <methods> - <method name="set_suffix" > + <method name="set_suffix"> <argument index="0" name="suffix" type="String"> </argument> <description> </description> </method> - <method name="get_suffix" qualifiers="const" > + <method name="get_suffix" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_prefix" > + <method name="set_prefix"> <argument index="0" name="prefix" type="String"> </argument> <description> </description> </method> - <method name="get_prefix" qualifiers="const" > + <method name="get_prefix" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="set_editable" > + <method name="set_editable"> <argument index="0" name="editable" type="bool"> </argument> <description> </description> </method> - <method name="is_editable" qualifiers="const" > + <method name="is_editable" qualifiers="const"> <return type="bool"> </return> <description> @@ -13082,121 +13086,121 @@ <description> </description> <methods> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_centered" > + <method name="set_centered"> <argument index="0" name="centered" type="bool"> </argument> <description> </description> </method> - <method name="is_centered" qualifiers="const" > + <method name="is_centered" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_flip_h" > + <method name="set_flip_h"> <argument index="0" name="flip_h" type="bool"> </argument> <description> </description> </method> - <method name="is_flipped_h" qualifiers="const" > + <method name="is_flipped_h" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_flip_v" > + <method name="set_flip_v"> <argument index="0" name="flip_v" type="bool"> </argument> <description> </description> </method> - <method name="is_flipped_v" qualifiers="const" > + <method name="is_flipped_v" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_region" > + <method name="set_region"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_region" qualifiers="const" > + <method name="is_region" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_region_rect" > + <method name="set_region_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> </description> </method> - <method name="get_region_rect" qualifiers="const" > + <method name="get_region_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="set_frame" > + <method name="set_frame"> <argument index="0" name="frame" type="int"> </argument> <description> </description> </method> - <method name="get_frame" qualifiers="const" > + <method name="get_frame" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_vframes" > + <method name="set_vframes"> <argument index="0" name="vframes" type="int"> </argument> <description> </description> </method> - <method name="get_vframes" qualifiers="const" > + <method name="get_vframes" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_hframes" > + <method name="set_hframes"> <argument index="0" name="hframes" type="int"> </argument> <description> </description> </method> - <method name="get_hframes" qualifiers="const" > + <method name="get_hframes" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_modulate" > + <method name="set_modulate"> <argument index="0" name="modulate" type="Color"> </argument> <description> </description> </method> - <method name="get_modulate" qualifiers="const" > + <method name="get_modulate" qualifiers="const"> <return type="Color"> </return> <description> @@ -13222,25 +13226,25 @@ <description> </description> <methods> - <method name="set_simulated_motion" > + <method name="set_simulated_motion"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_simulating_motion" qualifiers="const" > + <method name="is_simulating_motion" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="simulate_motion" > + <method name="simulate_motion"> <argument index="0" name="new_transform" type="Transform"> </argument> <description> </description> </method> - <method name="create_shapes_from_child_meshes" > + <method name="create_shapes_from_child_meshes"> <description> </description> </method> @@ -13254,37 +13258,37 @@ <description> </description> <methods> - <method name="set_simulate_motion" > + <method name="set_simulate_motion"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="is_simulating_motion" qualifiers="const" > + <method name="is_simulating_motion" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_constant_linear_velocity" > + <method name="set_constant_linear_velocity"> <argument index="0" name="vel" type="Vector2"> </argument> <description> </description> </method> - <method name="set_constant_angular_velocity" > + <method name="set_constant_angular_velocity"> <argument index="0" name="vel" type="real"> </argument> <description> </description> </method> - <method name="get_constant_linear_velocity" qualifiers="const" > + <method name="get_constant_linear_velocity" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_constant_angular_velocity" qualifiers="const" > + <method name="get_constant_angular_velocity" qualifiers="const"> <return type="real"> </return> <description> @@ -13300,7 +13304,7 @@ <description> </description> <methods> - <method name="put_data" > + <method name="put_data"> <return type="int"> </return> <argument index="0" name="data" type="RawArray"> @@ -13308,7 +13312,7 @@ <description> </description> </method> - <method name="put_partial_data" > + <method name="put_partial_data"> <return type="Array"> </return> <argument index="0" name="data" type="RawArray"> @@ -13316,7 +13320,7 @@ <description> </description> </method> - <method name="get_data" > + <method name="get_data"> <return type="Array"> </return> <argument index="0" name="bytes" type="int"> @@ -13324,7 +13328,7 @@ <description> </description> </method> - <method name="get_partial_data" > + <method name="get_partial_data"> <return type="Array"> </return> <argument index="0" name="bytes" type="int"> @@ -13342,7 +13346,7 @@ <description> </description> <methods> - <method name="connect" > + <method name="connect"> <return type="int"> </return> <argument index="0" name="host" type="String"> @@ -13352,25 +13356,25 @@ <description> </description> </method> - <method name="is_connected" qualifiers="const" > + <method name="is_connected" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_connected_host" qualifiers="const" > + <method name="get_connected_host" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_connected_port" qualifiers="const" > + <method name="get_connected_port" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="disconnect" > + <method name="disconnect"> <description> </description> </method> @@ -13384,117 +13388,117 @@ <description> </description> <methods> - <method name="set_stream" > + <method name="set_stream"> <argument index="0" name="stream" type="Stream"> </argument> <description> </description> </method> - <method name="get_stream" qualifiers="const" > + <method name="get_stream" qualifiers="const"> <return type="Stream"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_paused" > + <method name="set_paused"> <argument index="0" name="paused" type="bool"> </argument> <description> </description> </method> - <method name="is_paused" qualifiers="const" > + <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_loop" > + <method name="set_loop"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_loop" qualifiers="const" > + <method name="has_loop" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_volume" > + <method name="set_volume"> <argument index="0" name="volume" type="real"> </argument> <description> </description> </method> - <method name="get_volume" qualifiers="const" > + <method name="get_volume" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_volume_db" > + <method name="set_volume_db"> <argument index="0" name="db" type="real"> </argument> <description> </description> </method> - <method name="get_volume_db" qualifiers="const" > + <method name="get_volume_db" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_stream_name" qualifiers="const" > + <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_loop_count" qualifiers="const" > + <method name="get_loop_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="seek_pos" > + <method name="seek_pos"> <argument index="0" name="time" type="real"> </argument> <description> </description> </method> - <method name="set_autoplay" > + <method name="set_autoplay"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_autoplay" qualifiers="const" > + <method name="has_autoplay" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_length" qualifiers="const" > + <method name="get_length" qualifiers="const"> <return type="real"> </return> <description> @@ -13510,7 +13514,7 @@ <description> </description> <methods> - <method name="test_mask" qualifiers="const" > + <method name="test_mask" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="point" type="Vector2"> @@ -13520,7 +13524,7 @@ <description> </description> </method> - <method name="set_default_margin" > + <method name="set_default_margin"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="offset" type="real"> @@ -13528,7 +13532,7 @@ <description> </description> </method> - <method name="get_default_margin" qualifiers="const" > + <method name="get_default_margin" qualifiers="const"> <return type="real"> </return> <argument index="0" name="margin" type="int"> @@ -13536,7 +13540,7 @@ <description> </description> </method> - <method name="get_margin" qualifiers="const" > + <method name="get_margin" qualifiers="const"> <return type="real"> </return> <argument index="0" name="margin" type="int"> @@ -13544,25 +13548,25 @@ <description> </description> </method> - <method name="get_minimum_size" qualifiers="const" > + <method name="get_minimum_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_center_size" qualifiers="const" > + <method name="get_center_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_offset" qualifiers="const" > + <method name="get_offset" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="draw" qualifiers="const" > + <method name="draw" qualifiers="const"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -13590,73 +13594,73 @@ <description> </description> <methods> - <method name="set_bg_color" > + <method name="set_bg_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_bg_color" qualifiers="const" > + <method name="get_bg_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_light_color" > + <method name="set_light_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_light_color" qualifiers="const" > + <method name="get_light_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_dark_color" > + <method name="set_dark_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="get_dark_color" qualifiers="const" > + <method name="get_dark_color" qualifiers="const"> <return type="Color"> </return> <description> </description> </method> - <method name="set_border_size" > + <method name="set_border_size"> <argument index="0" name="size" type="int"> </argument> <description> </description> </method> - <method name="get_border_size" qualifiers="const" > + <method name="get_border_size" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_border_blend" > + <method name="set_border_blend"> <argument index="0" name="blend" type="bool"> </argument> <description> </description> </method> - <method name="get_border_blend" qualifiers="const" > + <method name="get_border_blend" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_draw_center" > + <method name="set_draw_center"> <argument index="0" name="size" type="bool"> </argument> <description> </description> </method> - <method name="get_draw_center" qualifiers="const" > + <method name="get_draw_center" qualifiers="const"> <return type="bool"> </return> <description> @@ -13672,31 +13676,31 @@ <description> </description> <methods> - <method name="set_image" > + <method name="set_image"> <argument index="0" name="image" type="Image"> </argument> <description> </description> </method> - <method name="get_image" qualifiers="const" > + <method name="get_image" qualifiers="const"> <return type="Image"> </return> <description> </description> </method> - <method name="set_expand" > + <method name="set_expand"> <argument index="0" name="expand" type="bool"> </argument> <description> </description> </method> - <method name="get_expand" qualifiers="const" > + <method name="get_expand" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_expand_margin_size" > + <method name="set_expand_margin_size"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="size" type="real"> @@ -13704,7 +13708,7 @@ <description> </description> </method> - <method name="get_expand_margin_size" qualifiers="const" > + <method name="get_expand_margin_size" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="int"> @@ -13722,19 +13726,19 @@ <description> </description> <methods> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="set_margin_size" > + <method name="set_margin_size"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="size" type="real"> @@ -13742,7 +13746,7 @@ <description> </description> </method> - <method name="get_margin_size" qualifiers="const" > + <method name="get_margin_size" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="int"> @@ -13750,7 +13754,7 @@ <description> </description> </method> - <method name="set_expand_margin_size" > + <method name="set_expand_margin_size"> <argument index="0" name="margin" type="int"> </argument> <argument index="1" name="size" type="real"> @@ -13758,7 +13762,7 @@ <description> </description> </method> - <method name="get_expand_margin_size" qualifiers="const" > + <method name="get_expand_margin_size" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="int"> @@ -13766,13 +13770,13 @@ <description> </description> </method> - <method name="set_draw_center" > + <method name="set_draw_center"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_draw_center" qualifiers="const" > + <method name="get_draw_center" qualifiers="const"> <return type="bool"> </return> <description> @@ -13788,87 +13792,87 @@ <description> </description> <methods> - <method name="begin" > + <method name="begin"> <argument index="0" name="primitive" type="int"> </argument> <description> </description> </method> - <method name="add_vertex" > + <method name="add_vertex"> <argument index="0" name="vertex" type="Vector3"> </argument> <description> </description> </method> - <method name="add_color" > + <method name="add_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="add_normal" > + <method name="add_normal"> <argument index="0" name="normal" type="Vector3"> </argument> <description> </description> </method> - <method name="add_tangent" > + <method name="add_tangent"> <argument index="0" name="tangent" type="Plane"> </argument> <description> </description> </method> - <method name="add_uv" > + <method name="add_uv"> <argument index="0" name="uv" type="Vector3"> </argument> <description> </description> </method> - <method name="add_uv2" > + <method name="add_uv2"> <argument index="0" name="uv2" type="Vector3"> </argument> <description> </description> </method> - <method name="add_bones" > + <method name="add_bones"> <argument index="0" name="bones" type="IntArray"> </argument> <description> </description> </method> - <method name="add_weights" > + <method name="add_weights"> <argument index="0" name="weights" type="RealArray"> </argument> <description> </description> </method> - <method name="set_material" > + <method name="set_material"> <argument index="0" name="material" type="Material"> </argument> <description> </description> </method> - <method name="index" > + <method name="index"> <description> </description> </method> - <method name="deindex" > + <method name="deindex"> <description> </description> </method> - <method name="generate_flat_normals" > + <method name="generate_flat_normals"> <description> </description> </method> - <method name="generate_smooth_normals" > + <method name="generate_smooth_normals"> <description> </description> </method> - <method name="generate_tangents" > + <method name="generate_tangents"> <description> </description> </method> - <method name="commit" > + <method name="commit"> <return type="Mesh"> </return> <argument index="0" name="existing" type="Mesh" default="Object()"> @@ -13876,7 +13880,7 @@ <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> @@ -13890,7 +13894,7 @@ <description> </description> <methods> - <method name="listen" > + <method name="listen"> <return type="int"> </return> <argument index="0" name="port" type="int"> @@ -13900,19 +13904,19 @@ <description> </description> </method> - <method name="is_connection_available" qualifiers="const" > + <method name="is_connection_available" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="take_connection" > + <method name="take_connection"> <return type="Object"> </return> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> @@ -13926,49 +13930,49 @@ <description> </description> <methods> - <method name="get_tab_count" qualifiers="const" > + <method name="get_tab_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_current_tab" > + <method name="set_current_tab"> <argument index="0" name="tab_idx" type="int"> </argument> <description> </description> </method> - <method name="get_current_tab" qualifiers="const" > + <method name="get_current_tab" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_tab_align" > + <method name="set_tab_align"> <argument index="0" name="align" type="int"> </argument> <description> </description> </method> - <method name="get_tab_align" qualifiers="const" > + <method name="get_tab_align" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_tabs_visible" > + <method name="set_tabs_visible"> <argument index="0" name="visible" type="bool"> </argument> <description> </description> </method> - <method name="are_tabs_visible" qualifiers="const" > + <method name="are_tabs_visible" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_tab_title" > + <method name="set_tab_title"> <argument index="0" name="tab_idx" type="int"> </argument> <argument index="1" name="title" type="String"> @@ -13976,7 +13980,7 @@ <description> </description> </method> - <method name="get_tab_title" qualifiers="const" > + <method name="get_tab_title" qualifiers="const"> <return type="String"> </return> <argument index="0" name="tab_idx" type="int"> @@ -13984,7 +13988,7 @@ <description> </description> </method> - <method name="set_tab_icon" > + <method name="set_tab_icon"> <argument index="0" name="tab_idx" type="int"> </argument> <argument index="1" name="icon" type="Texture"> @@ -13992,7 +13996,7 @@ <description> </description> </method> - <method name="get_tab_icon" qualifiers="const" > + <method name="get_tab_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="tab_idx" type="int"> @@ -14028,31 +14032,31 @@ <description> </description> <methods> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="insert_text_at_cursor" > + <method name="insert_text_at_cursor"> <argument index="0" name="text" type="String"> </argument> <description> </description> </method> - <method name="get_line_count" qualifiers="const" > + <method name="get_line_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_text" > + <method name="get_text"> <return type="String"> </return> <description> </description> </method> - <method name="get_line" > + <method name="get_line"> <return type="String"> </return> <argument index="0" name="arg0" type="int"> @@ -14060,65 +14064,65 @@ <description> </description> </method> - <method name="cursor_set_column" > + <method name="cursor_set_column"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="cursor_set_line" > + <method name="cursor_set_line"> <argument index="0" name="line" type="int"> </argument> <description> </description> </method> - <method name="cursor_get_column" qualifiers="const" > + <method name="cursor_get_column" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="cursor_get_line" qualifiers="const" > + <method name="cursor_get_line" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_readonly" > + <method name="set_readonly"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="set_wrap" > + <method name="set_wrap"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="set_max_chars" > + <method name="set_max_chars"> <argument index="0" name="amount" type="int"> </argument> <description> </description> </method> - <method name="cut" > + <method name="cut"> <description> </description> </method> - <method name="copy" > + <method name="copy"> <description> </description> </method> - <method name="paste" > + <method name="paste"> <description> </description> </method> - <method name="select_all" > + <method name="select_all"> <description> </description> </method> - <method name="select" > + <method name="select"> <argument index="0" name="from_line" type="int"> </argument> <argument index="1" name="from_column" type="int"> @@ -14130,43 +14134,43 @@ <description> </description> </method> - <method name="is_selection_active" qualifiers="const" > + <method name="is_selection_active" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_selection_from_line" qualifiers="const" > + <method name="get_selection_from_line" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_selection_from_column" qualifiers="const" > + <method name="get_selection_from_column" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_selection_to_line" qualifiers="const" > + <method name="get_selection_to_line" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_selection_to_column" qualifiers="const" > + <method name="get_selection_to_column" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_selection_text" qualifiers="const" > + <method name="get_selection_text" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="search" qualifiers="const" > + <method name="search" qualifiers="const"> <return type="IntArray"> </return> <argument index="0" name="flags" type="String"> @@ -14180,31 +14184,31 @@ <description> </description> </method> - <method name="undo" > + <method name="undo"> <description> </description> </method> - <method name="redo" > + <method name="redo"> <description> </description> </method> - <method name="clear_undo_history" > + <method name="clear_undo_history"> <description> </description> </method> - <method name="set_syntax_coloring" > + <method name="set_syntax_coloring"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_syntax_coloring_enabled" qualifiers="const" > + <method name="is_syntax_coloring_enabled" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="add_keyword_color" > + <method name="add_keyword_color"> <argument index="0" name="keyword" type="String"> </argument> <argument index="1" name="color" type="Color"> @@ -14212,7 +14216,7 @@ <description> </description> </method> - <method name="add_color_region" > + <method name="add_color_region"> <argument index="0" name="begin_key" type="String"> </argument> <argument index="1" name="end_key" type="String"> @@ -14224,19 +14228,19 @@ <description> </description> </method> - <method name="set_symbol_color" > + <method name="set_symbol_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="set_custom_bg_color" > + <method name="set_custom_bg_color"> <argument index="0" name="color" type="Color"> </argument> <description> </description> </method> - <method name="clear_colors" > + <method name="clear_colors"> <description> </description> </method> @@ -14266,7 +14270,7 @@ <description> </description> <methods> - <method name="create" > + <method name="create"> <argument index="0" name="width" type="int"> </argument> <argument index="1" name="height" type="int"> @@ -14280,7 +14284,7 @@ <description> </description> </method> - <method name="create_from_image" > + <method name="create_from_image"> <argument index="0" name="image" type="Image"> </argument> <argument index="1" name="flags" type="int" default="7"> @@ -14288,31 +14292,31 @@ <description> </description> </method> - <method name="set_flags" > + <method name="set_flags"> <argument index="0" name="flags" type="int"> </argument> <description> </description> </method> - <method name="get_flags" qualifiers="const" > + <method name="get_flags" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_format" qualifiers="const" > + <method name="get_format" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="load" > + <method name="load"> <argument index="0" name="path" type="String"> </argument> <description> </description> </method> - <method name="set_data" > + <method name="set_data"> <argument index="0" name="image" type="Image"> </argument> <argument index="1" name="cube_side" type="int" default="0"> @@ -14320,7 +14324,7 @@ <description> </description> </method> - <method name="get_data" qualifiers="const" > + <method name="get_data" qualifiers="const"> <return type="Image"> </return> <argument index="0" name="cube_side" type="int" default="0"> @@ -14328,37 +14332,37 @@ <description> </description> </method> - <method name="get_width" qualifiers="const" > + <method name="get_width" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_height" qualifiers="const" > + <method name="get_height" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_size" qualifiers="const" > + <method name="get_size" qualifiers="const"> <return type="Vector2"> </return> <description> </description> </method> - <method name="get_rid" qualifiers="const" > + <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="has_alpha" qualifiers="const" > + <method name="has_alpha" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="draw" qualifiers="const" > + <method name="draw" qualifiers="const"> <argument index="0" name="canvas_item" type="RID"> </argument> <argument index="1" name="pos" type="Vector2"> @@ -14402,73 +14406,73 @@ <description> </description> <methods> - <method name="set_normal_texture" > + <method name="set_normal_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_pressed_texture" > + <method name="set_pressed_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_hover_texture" > + <method name="set_hover_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_disabled_texture" > + <method name="set_disabled_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_focused_texture" > + <method name="set_focused_texture"> <argument index="0" name="texture" type="Texture"> </argument> <description> </description> </method> - <method name="set_click_mask" > + <method name="set_click_mask"> <argument index="0" name="texture:Image" type="Image"> </argument> <description> </description> </method> - <method name="get_normal_texture" qualifiers="const" > + <method name="get_normal_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_pressed_texture" qualifiers="const" > + <method name="get_pressed_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_hover_texture" qualifiers="const" > + <method name="get_hover_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_disabled_texture" qualifiers="const" > + <method name="get_disabled_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_focused_texture" qualifiers="const" > + <method name="get_focused_texture" qualifiers="const"> <return type="Texture"> </return> <description> </description> </method> - <method name="get_click_mask" qualifiers="const" > + <method name="get_click_mask" qualifiers="const"> <return type="Image"> </return> <description> @@ -14484,25 +14488,25 @@ <description> </description> <methods> - <method name="set_texture" > + <method name="set_texture"> <argument index="0" name="texture" type="Object"> </argument> <description> </description> </method> - <method name="get_texture" qualifiers="const" > + <method name="get_texture" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_expand" > + <method name="set_expand"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_expand" qualifiers="const" > + <method name="has_expand" qualifiers="const"> <return type="bool"> </return> <description> @@ -14518,37 +14522,37 @@ <description> </description> <methods> - <method name="set_under_texture" > + <method name="set_under_texture"> <argument index="0" name="tex" type="Object"> </argument> <description> </description> </method> - <method name="get_under_texture" qualifiers="const" > + <method name="get_under_texture" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_progress_texture" > + <method name="set_progress_texture"> <argument index="0" name="tex" type="Object"> </argument> <description> </description> </method> - <method name="get_progress_texture" qualifiers="const" > + <method name="get_progress_texture" qualifiers="const"> <return type="Object"> </return> <description> </description> </method> - <method name="set_over_texture" > + <method name="set_over_texture"> <argument index="0" name="tex" type="Object"> </argument> <description> </description> </method> - <method name="get_over_texture" qualifiers="const" > + <method name="get_over_texture" qualifiers="const"> <return type="Object"> </return> <description> @@ -14564,7 +14568,7 @@ <description> </description> <methods> - <method name="set_icon" > + <method name="set_icon"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14574,7 +14578,7 @@ <description> </description> </method> - <method name="get_icon" qualifiers="const" > + <method name="get_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="name" type="String"> @@ -14584,7 +14588,7 @@ <description> </description> </method> - <method name="has_icon" qualifiers="const" > + <method name="has_icon" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -14594,7 +14598,7 @@ <description> </description> </method> - <method name="clear_icon" > + <method name="clear_icon"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14602,7 +14606,7 @@ <description> </description> </method> - <method name="get_icon_list" qualifiers="const" > + <method name="get_icon_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -14610,7 +14614,7 @@ <description> </description> </method> - <method name="set_stylebox" > + <method name="set_stylebox"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14620,7 +14624,7 @@ <description> </description> </method> - <method name="get_stylebox" qualifiers="const" > + <method name="get_stylebox" qualifiers="const"> <return type="StyleBox"> </return> <argument index="0" name="name" type="String"> @@ -14630,7 +14634,7 @@ <description> </description> </method> - <method name="has_stylebox" qualifiers="const" > + <method name="has_stylebox" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -14640,7 +14644,7 @@ <description> </description> </method> - <method name="clear_stylebox" > + <method name="clear_stylebox"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14648,7 +14652,7 @@ <description> </description> </method> - <method name="get_stylebox_list" qualifiers="const" > + <method name="get_stylebox_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -14656,7 +14660,7 @@ <description> </description> </method> - <method name="set_font" > + <method name="set_font"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14666,7 +14670,7 @@ <description> </description> </method> - <method name="get_font" qualifiers="const" > + <method name="get_font" qualifiers="const"> <return type="Font"> </return> <argument index="0" name="name" type="String"> @@ -14676,7 +14680,7 @@ <description> </description> </method> - <method name="has_font" qualifiers="const" > + <method name="has_font" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -14686,7 +14690,7 @@ <description> </description> </method> - <method name="clear_font" > + <method name="clear_font"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14694,7 +14698,7 @@ <description> </description> </method> - <method name="get_font_list" qualifiers="const" > + <method name="get_font_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -14702,7 +14706,7 @@ <description> </description> </method> - <method name="set_color" > + <method name="set_color"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14712,7 +14716,7 @@ <description> </description> </method> - <method name="get_color" qualifiers="const" > + <method name="get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="name" type="String"> @@ -14722,7 +14726,7 @@ <description> </description> </method> - <method name="has_color" qualifiers="const" > + <method name="has_color" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -14732,7 +14736,7 @@ <description> </description> </method> - <method name="clear_color" > + <method name="clear_color"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14740,7 +14744,7 @@ <description> </description> </method> - <method name="get_color_list" qualifiers="const" > + <method name="get_color_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -14748,7 +14752,7 @@ <description> </description> </method> - <method name="set_constant" > + <method name="set_constant"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14758,7 +14762,7 @@ <description> </description> </method> - <method name="get_constant" qualifiers="const" > + <method name="get_constant" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -14768,7 +14772,7 @@ <description> </description> </method> - <method name="has_constant" qualifiers="const" > + <method name="has_constant" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="name" type="String"> @@ -14778,7 +14782,7 @@ <description> </description> </method> - <method name="clear_constant" > + <method name="clear_constant"> <argument index="0" name="name" type="String"> </argument> <argument index="1" name="type" type="String"> @@ -14786,7 +14790,7 @@ <description> </description> </method> - <method name="get_constant_list" qualifiers="const" > + <method name="get_constant_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -14794,7 +14798,7 @@ <description> </description> </method> - <method name="get_type_list" qualifiers="const" > + <method name="get_type_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="String"> @@ -14802,7 +14806,7 @@ <description> </description> </method> - <method name="copy_default_theme" > + <method name="copy_default_theme"> <description> </description> </method> @@ -14816,67 +14820,67 @@ <description> </description> <methods> - <method name="set_tileset" > + <method name="set_tileset"> <argument index="0" name="tileset" type="TileSet"> </argument> <description> </description> </method> - <method name="get_tileset" qualifiers="const" > + <method name="get_tileset" qualifiers="const"> <return type="TileSet"> </return> <description> </description> </method> - <method name="set_cell_size" > + <method name="set_cell_size"> <argument index="0" name="size" type="int"> </argument> <description> </description> </method> - <method name="get_cell_size" qualifiers="const" > + <method name="get_cell_size" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_quadrant_size" > + <method name="set_quadrant_size"> <argument index="0" name="size" type="int"> </argument> <description> </description> </method> - <method name="get_quadrant_size" qualifiers="const" > + <method name="get_quadrant_size" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_center_x" > + <method name="set_center_x"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_center_x" qualifiers="const" > + <method name="get_center_x" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_center_y" > + <method name="set_center_y"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="get_center_y" qualifiers="const" > + <method name="get_center_y" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_cell" > + <method name="set_cell"> <argument index="0" name="x" type="int"> </argument> <argument index="1" name="y" type="int"> @@ -14890,7 +14894,7 @@ <description> </description> </method> - <method name="get_cell" qualifiers="const" > + <method name="get_cell" qualifiers="const"> <return type="int"> </return> <argument index="0" name="x" type="int"> @@ -14900,7 +14904,7 @@ <description> </description> </method> - <method name="is_cell_x_flipped" qualifiers="const" > + <method name="is_cell_x_flipped" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="x" type="int"> @@ -14910,7 +14914,7 @@ <description> </description> </method> - <method name="is_cell_y_flipped" qualifiers="const" > + <method name="is_cell_y_flipped" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="x" type="int"> @@ -14920,7 +14924,7 @@ <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> @@ -14936,13 +14940,13 @@ <description> </description> <methods> - <method name="create_tile" > + <method name="create_tile"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="tile_set_name" > + <method name="tile_set_name"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="name" type="String"> @@ -14950,7 +14954,7 @@ <description> </description> </method> - <method name="tile_get_name" qualifiers="const" > + <method name="tile_get_name" qualifiers="const"> <return type="String"> </return> <argument index="0" name="id" type="int"> @@ -14958,7 +14962,7 @@ <description> </description> </method> - <method name="tile_set_texture" > + <method name="tile_set_texture"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -14966,7 +14970,7 @@ <description> </description> </method> - <method name="tile_get_texture" qualifiers="const" > + <method name="tile_get_texture" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="id" type="int"> @@ -14974,7 +14978,7 @@ <description> </description> </method> - <method name="tile_set_offset" > + <method name="tile_set_offset"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="offset" type="Vector2"> @@ -14982,7 +14986,7 @@ <description> </description> </method> - <method name="tile_get_offset" qualifiers="const" > + <method name="tile_get_offset" qualifiers="const"> <return type="Vector2"> </return> <argument index="0" name="id" type="int"> @@ -14990,7 +14994,7 @@ <description> </description> </method> - <method name="tile_set_region" > + <method name="tile_set_region"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="region" type="Rect2"> @@ -14998,7 +15002,7 @@ <description> </description> </method> - <method name="tile_get_region" qualifiers="const" > + <method name="tile_get_region" qualifiers="const"> <return type="Rect2"> </return> <argument index="0" name="id" type="int"> @@ -15006,7 +15010,7 @@ <description> </description> </method> - <method name="tile_set_shape" > + <method name="tile_set_shape"> <argument index="0" name="id" type="int"> </argument> <argument index="1" name="shape" type="Shape2D"> @@ -15014,7 +15018,7 @@ <description> </description> </method> - <method name="tile_get_shape" qualifiers="const" > + <method name="tile_get_shape" qualifiers="const"> <return type="Shape2D"> </return> <argument index="0" name="id" type="int"> @@ -15022,23 +15026,23 @@ <description> </description> </method> - <method name="remove_tile" > + <method name="remove_tile"> <argument index="0" name="id" type="int"> </argument> <description> </description> </method> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="get_last_unused_tile_id" qualifiers="const" > + <method name="get_last_unused_tile_id" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="find_tile_by_name" qualifiers="const" > + <method name="find_tile_by_name" qualifiers="const"> <return type="int"> </return> <argument index="0" name="name" type="String"> @@ -15046,7 +15050,7 @@ <description> </description> </method> - <method name="get_tiles_ids" qualifiers="const" > + <method name="get_tiles_ids" qualifiers="const"> <return type="Array"> </return> <description> @@ -15063,51 +15067,51 @@ <description> </description> <methods> - <method name="set_wait_time" > + <method name="set_wait_time"> <argument index="0" name="time_sec" type="real"> </argument> <description> </description> </method> - <method name="get_wait_time" qualifiers="const" > + <method name="get_wait_time" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_one_shot" > + <method name="set_one_shot"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_one_shot" qualifiers="const" > + <method name="is_one_shot" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_autostart" > + <method name="set_autostart"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_autostart" qualifiers="const" > + <method name="has_autostart" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="start" > + <method name="start"> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="get_time_left" qualifiers="const" > + <method name="get_time_left" qualifiers="const"> <return type="real"> </return> <description> @@ -15129,19 +15133,19 @@ <description> </description> <methods> - <method name="set_locale" > + <method name="set_locale"> <argument index="0" name="locale" type="String"> </argument> <description> </description> </method> - <method name="get_locale" qualifiers="const" > + <method name="get_locale" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="add_message" > + <method name="add_message"> <argument index="0" name="src_message" type="String"> </argument> <argument index="1" name="xlated_message" type="String"> @@ -15149,7 +15153,7 @@ <description> </description> </method> - <method name="get_message" qualifiers="const" > + <method name="get_message" qualifiers="const"> <return type="String"> </return> <argument index="0" name="src_message" type="String"> @@ -15157,13 +15161,13 @@ <description> </description> </method> - <method name="erase_message" > + <method name="erase_message"> <argument index="0" name="src_message" type="String"> </argument> <description> </description> </method> - <method name="get_message_list" qualifiers="const" > + <method name="get_message_list" qualifiers="const"> <return type="StringArray"> </return> <description> @@ -15189,11 +15193,11 @@ <description> </description> <methods> - <method name="clear" > + <method name="clear"> <description> </description> </method> - <method name="create_item" > + <method name="create_item"> <return type="TreeItem"> </return> <argument index="0" name="parent" type="TreeItem" default="Object()"> @@ -15201,13 +15205,13 @@ <description> </description> </method> - <method name="get_root" > + <method name="get_root"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="set_column_min_width" > + <method name="set_column_min_width"> <argument index="0" name="arg0" type="int"> </argument> <argument index="1" name="arg1" type="int"> @@ -15215,7 +15219,7 @@ <description> </description> </method> - <method name="set_column_expand" > + <method name="set_column_expand"> <argument index="0" name="arg0" type="int"> </argument> <argument index="1" name="arg1" type="bool"> @@ -15223,7 +15227,7 @@ <description> </description> </method> - <method name="get_column_width" qualifiers="const" > + <method name="get_column_width" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="int"> @@ -15231,13 +15235,13 @@ <description> </description> </method> - <method name="set_hide_root" > + <method name="set_hide_root"> <argument index="0" name="arg0" type="bool"> </argument> <description> </description> </method> - <method name="get_next_selected" > + <method name="get_next_selected"> <return type="TreeItem"> </return> <argument index="0" name="from" type="TreeItem"> @@ -15245,61 +15249,61 @@ <description> </description> </method> - <method name="get_selected" qualifiers="const" > + <method name="get_selected" qualifiers="const"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_selected_column" qualifiers="const" > + <method name="get_selected_column" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_pressed_button" qualifiers="const" > + <method name="get_pressed_button" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="set_select_mode" > + <method name="set_select_mode"> <argument index="0" name="mode" type="int"> </argument> <description> </description> </method> - <method name="set_columns" > + <method name="set_columns"> <argument index="0" name="amount" type="int"> </argument> <description> </description> </method> - <method name="get_columns" qualifiers="const" > + <method name="get_columns" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_edited" qualifiers="const" > + <method name="get_edited" qualifiers="const"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_edited_column" qualifiers="const" > + <method name="get_edited_column" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="get_custom_popup_rect" qualifiers="const" > + <method name="get_custom_popup_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="get_item_area_rect" qualifiers="const" > + <method name="get_item_area_rect" qualifiers="const"> <return type="Rect2"> </return> <argument index="0" name="item" type="TreeItem"> @@ -15309,23 +15313,23 @@ <description> </description> </method> - <method name="ensure_cursor_is_visible" > + <method name="ensure_cursor_is_visible"> <description> </description> </method> - <method name="set_column_titles_visible" > + <method name="set_column_titles_visible"> <argument index="0" name="visible" type="bool"> </argument> <description> </description> </method> - <method name="are_column_titles_visible" qualifiers="const" > + <method name="are_column_titles_visible" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_column_title" > + <method name="set_column_title"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="title" type="String"> @@ -15333,7 +15337,7 @@ <description> </description> </method> - <method name="get_column_title" qualifiers="const" > + <method name="get_column_title" qualifiers="const"> <return type="String"> </return> <argument index="0" name="column" type="int"> @@ -15341,7 +15345,7 @@ <description> </description> </method> - <method name="get_scroll" qualifiers="const" > + <method name="get_scroll" qualifiers="const"> <return type="Vector2"> </return> <description> @@ -15407,7 +15411,7 @@ <description> </description> <methods> - <method name="set_cell_mode" > + <method name="set_cell_mode"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="mode" type="int"> @@ -15415,7 +15419,7 @@ <description> </description> </method> - <method name="get_cell_mode" qualifiers="const" > + <method name="get_cell_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="column" type="int"> @@ -15423,7 +15427,7 @@ <description> </description> </method> - <method name="set_checked" > + <method name="set_checked"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="checked" type="bool"> @@ -15431,7 +15435,7 @@ <description> </description> </method> - <method name="is_checked" qualifiers="const" > + <method name="is_checked" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="column" type="int"> @@ -15439,7 +15443,7 @@ <description> </description> </method> - <method name="set_text" > + <method name="set_text"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="text" type="String"> @@ -15447,7 +15451,7 @@ <description> </description> </method> - <method name="get_text" qualifiers="const" > + <method name="get_text" qualifiers="const"> <return type="String"> </return> <argument index="0" name="column" type="int"> @@ -15455,7 +15459,7 @@ <description> </description> </method> - <method name="set_icon" > + <method name="set_icon"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="texture" type="Texture"> @@ -15463,7 +15467,7 @@ <description> </description> </method> - <method name="get_icon" qualifiers="const" > + <method name="get_icon" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="column" type="int"> @@ -15471,7 +15475,7 @@ <description> </description> </method> - <method name="set_icon_region" > + <method name="set_icon_region"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="region" type="Rect2"> @@ -15479,7 +15483,7 @@ <description> </description> </method> - <method name="get_icon_region" qualifiers="const" > + <method name="get_icon_region" qualifiers="const"> <return type="Rect2"> </return> <argument index="0" name="column" type="int"> @@ -15487,7 +15491,7 @@ <description> </description> </method> - <method name="set_icon_max_width" > + <method name="set_icon_max_width"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="width" type="int"> @@ -15495,7 +15499,7 @@ <description> </description> </method> - <method name="get_icon_max_width" qualifiers="const" > + <method name="get_icon_max_width" qualifiers="const"> <return type="int"> </return> <argument index="0" name="column" type="int"> @@ -15503,7 +15507,7 @@ <description> </description> </method> - <method name="set_range" > + <method name="set_range"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="value" type="real"> @@ -15511,7 +15515,7 @@ <description> </description> </method> - <method name="get_range" qualifiers="const" > + <method name="get_range" qualifiers="const"> <return type="real"> </return> <argument index="0" name="column" type="int"> @@ -15519,7 +15523,7 @@ <description> </description> </method> - <method name="set_range_config" > + <method name="set_range_config"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="min" type="real"> @@ -15533,7 +15537,7 @@ <description> </description> </method> - <method name="get_range_config" > + <method name="get_range_config"> <return type="Dictionary"> </return> <argument index="0" name="column" type="int"> @@ -15541,7 +15545,7 @@ <description> </description> </method> - <method name="set_metadata" > + <method name="set_metadata"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="meta" type="var"> @@ -15549,67 +15553,67 @@ <description> </description> </method> - <method name="get_metadata" qualifiers="const" > + <method name="get_metadata" qualifiers="const"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="set_collapsed" > + <method name="set_collapsed"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="is_collapsed" > + <method name="is_collapsed"> <return type="bool"> </return> <description> </description> </method> - <method name="get_next" > + <method name="get_next"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_prev" > + <method name="get_prev"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_parent" > + <method name="get_parent"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_children" > + <method name="get_children"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_next_visible" > + <method name="get_next_visible"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="get_prev_visible" > + <method name="get_prev_visible"> <return type="TreeItem"> </return> <description> </description> </method> - <method name="remove_child" > + <method name="remove_child"> <argument index="0" name="child" type="Object"> </argument> <description> </description> </method> - <method name="set_selectable" > + <method name="set_selectable"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="selectable" type="bool"> @@ -15617,7 +15621,7 @@ <description> </description> </method> - <method name="is_selectable" qualifiers="const" > + <method name="is_selectable" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="column" type="int"> @@ -15625,7 +15629,7 @@ <description> </description> </method> - <method name="is_selected" > + <method name="is_selected"> <return type="bool"> </return> <argument index="0" name="column" type="int"> @@ -15633,19 +15637,19 @@ <description> </description> </method> - <method name="select" > + <method name="select"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="deselect" > + <method name="deselect"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="set_editable" > + <method name="set_editable"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="enabled" type="bool"> @@ -15653,7 +15657,7 @@ <description> </description> </method> - <method name="is_editable" > + <method name="is_editable"> <return type="bool"> </return> <argument index="0" name="column" type="int"> @@ -15661,7 +15665,7 @@ <description> </description> </method> - <method name="set_custom_color" > + <method name="set_custom_color"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -15669,13 +15673,13 @@ <description> </description> </method> - <method name="clear_custom_color" > + <method name="clear_custom_color"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="set_custom_bg_color" > + <method name="set_custom_bg_color"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="color" type="Color"> @@ -15683,13 +15687,13 @@ <description> </description> </method> - <method name="clear_custom_bg_color" > + <method name="clear_custom_bg_color"> <argument index="0" name="column" type="int"> </argument> <description> </description> </method> - <method name="get_custom_bg_color" qualifiers="const" > + <method name="get_custom_bg_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="column" type="int"> @@ -15697,7 +15701,7 @@ <description> </description> </method> - <method name="add_button" > + <method name="add_button"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="button" type="Texture"> @@ -15707,7 +15711,7 @@ <description> </description> </method> - <method name="get_button_count" qualifiers="const" > + <method name="get_button_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="column" type="int"> @@ -15715,7 +15719,7 @@ <description> </description> </method> - <method name="get_button" qualifiers="const" > + <method name="get_button" qualifiers="const"> <return type="Texture"> </return> <argument index="0" name="column" type="int"> @@ -15725,7 +15729,7 @@ <description> </description> </method> - <method name="erase_button" > + <method name="erase_button"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="button_idx" type="int"> @@ -15733,7 +15737,7 @@ <description> </description> </method> - <method name="set_tooltip" > + <method name="set_tooltip"> <argument index="0" name="column" type="int"> </argument> <argument index="1" name="tooltip" type="String"> @@ -15741,7 +15745,7 @@ <description> </description> </method> - <method name="get_tooltip" qualifiers="const" > + <method name="get_tooltip" qualifiers="const"> <return type="String"> </return> <argument index="0" name="column" type="int"> @@ -15819,99 +15823,99 @@ <description> </description> <methods> - <method name="set_stream" > + <method name="set_stream"> <argument index="0" name="stream" type="Stream"> </argument> <description> </description> </method> - <method name="get_stream" qualifiers="const" > + <method name="get_stream" qualifiers="const"> <return type="Stream"> </return> <description> </description> </method> - <method name="play" > + <method name="play"> <description> </description> </method> - <method name="stop" > + <method name="stop"> <description> </description> </method> - <method name="is_playing" qualifiers="const" > + <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_paused" > + <method name="set_paused"> <argument index="0" name="paused" type="bool"> </argument> <description> </description> </method> - <method name="is_paused" qualifiers="const" > + <method name="is_paused" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_volume" > + <method name="set_volume"> <argument index="0" name="volume" type="real"> </argument> <description> </description> </method> - <method name="get_volume" qualifiers="const" > + <method name="get_volume" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_volume_db" > + <method name="set_volume_db"> <argument index="0" name="db" type="real"> </argument> <description> </description> </method> - <method name="get_volume_db" qualifiers="const" > + <method name="get_volume_db" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="get_stream_name" qualifiers="const" > + <method name="get_stream_name" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_pos" qualifiers="const" > + <method name="get_pos" qualifiers="const"> <return type="real"> </return> <description> </description> </method> - <method name="set_autoplay" > + <method name="set_autoplay"> <argument index="0" name="enabled" type="bool"> </argument> <description> </description> </method> - <method name="has_autoplay" qualifiers="const" > + <method name="has_autoplay" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="set_expand" > + <method name="set_expand"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_expand" qualifiers="const" > + <method name="has_expand" qualifiers="const"> <return type="bool"> </return> <description> @@ -15927,19 +15931,19 @@ <description> </description> <methods> - <method name="get_pending_frame_count" qualifiers="const" > + <method name="get_pending_frame_count" qualifiers="const"> <return type="int"> </return> <description> </description> </method> - <method name="pop_frame" > + <method name="pop_frame"> <return type="Image"> </return> <description> </description> </method> - <method name="peek_frame" qualifiers="const" > + <method name="peek_frame" qualifiers="const"> <return type="Image"> </return> <description> @@ -15965,37 +15969,37 @@ <description> </description> <methods> - <method name="set_rect" > + <method name="set_rect"> <argument index="0" name="rect" type="Rect2"> </argument> <description> </description> </method> - <method name="get_rect" qualifiers="const" > + <method name="get_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="get_visible_rect" qualifiers="const" > + <method name="get_visible_rect" qualifiers="const"> <return type="Rect2"> </return> <description> </description> </method> - <method name="set_transparent_background" > + <method name="set_transparent_background"> <argument index="0" name="enable" type="bool"> </argument> <description> </description> </method> - <method name="has_transparent_background" qualifiers="const" > + <method name="has_transparent_background" qualifiers="const"> <return type="bool"> </return> <description> </description> </method> - <method name="get_viewport" qualifiers="const" > + <method name="get_viewport" qualifiers="const"> <return type="RID"> </return> <description> @@ -16011,7 +16015,7 @@ <description> </description> <methods> - <method name="set_base" > + <method name="set_base"> <argument index="0" name="base" type="RID"> </argument> <description> @@ -16027,13 +16031,13 @@ <description> </description> <methods> - <method name="texture_create" > + <method name="texture_create"> <return type="RID"> </return> <description> </description> </method> - <method name="texture_create_from_image" > + <method name="texture_create_from_image"> <return type="RID"> </return> <argument index="0" name="arg0" type="Image"> @@ -16043,7 +16047,7 @@ <description> </description> </method> - <method name="texture_set_flags" > + <method name="texture_set_flags"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16051,7 +16055,7 @@ <description> </description> </method> - <method name="texture_get_flags" qualifiers="const" > + <method name="texture_get_flags" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16059,7 +16063,7 @@ <description> </description> </method> - <method name="texture_get_width" qualifiers="const" > + <method name="texture_get_width" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16067,7 +16071,7 @@ <description> </description> </method> - <method name="texture_get_height" qualifiers="const" > + <method name="texture_get_height" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16075,7 +16079,7 @@ <description> </description> </method> - <method name="shader_create" > + <method name="shader_create"> <return type="RID"> </return> <argument index="0" name="mode" type="int" default="0"> @@ -16083,7 +16087,7 @@ <description> </description> </method> - <method name="shader_set_mode" > + <method name="shader_set_mode"> <argument index="0" name="shader" type="RID"> </argument> <argument index="1" name="mode" type="int"> @@ -16091,7 +16095,7 @@ <description> </description> </method> - <method name="shader_get_mode" qualifiers="const" > + <method name="shader_get_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="shader" type="RID"> @@ -16099,7 +16103,7 @@ <description> </description> </method> - <method name="shader_set_vertex_code" > + <method name="shader_set_vertex_code"> <argument index="0" name="shader" type="RID"> </argument> <argument index="1" name="code" type="String"> @@ -16107,7 +16111,7 @@ <description> </description> </method> - <method name="shader_get_vertex_code" qualifiers="const" > + <method name="shader_get_vertex_code" qualifiers="const"> <return type="String"> </return> <argument index="0" name="shader" type="RID"> @@ -16115,7 +16119,7 @@ <description> </description> </method> - <method name="shader_set_fragment_code" > + <method name="shader_set_fragment_code"> <argument index="0" name="shader" type="RID"> </argument> <argument index="1" name="code" type="String"> @@ -16123,7 +16127,7 @@ <description> </description> </method> - <method name="shader_get_fragment_code" qualifiers="const" > + <method name="shader_get_fragment_code" qualifiers="const"> <return type="String"> </return> <argument index="0" name="shader" type="RID"> @@ -16131,7 +16135,7 @@ <description> </description> </method> - <method name="shader_set_param" > + <method name="shader_set_param"> <argument index="0" name="shader" type="RID"> </argument> <argument index="1" name="param" type="String"> @@ -16141,7 +16145,7 @@ <description> </description> </method> - <method name="shader_get_param" qualifiers="const" > + <method name="shader_get_param" qualifiers="const"> <argument index="0" name="shader" type="RID"> </argument> <argument index="1" name="param" type="String"> @@ -16149,7 +16153,7 @@ <description> </description> </method> - <method name="shader_get_param_list" qualifiers="const" > + <method name="shader_get_param_list" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="shader" type="RID"> @@ -16157,7 +16161,7 @@ <description> </description> </method> - <method name="shader_set_use_world_transform" > + <method name="shader_set_use_world_transform"> <argument index="0" name="shader" type="RID"> </argument> <argument index="1" name="enable" type="bool"> @@ -16165,7 +16169,7 @@ <description> </description> </method> - <method name="shader_is_using_world_transform" qualifiers="const" > + <method name="shader_is_using_world_transform" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="shader" type="RID"> @@ -16173,13 +16177,13 @@ <description> </description> </method> - <method name="material_create" > + <method name="material_create"> <return type="RID"> </return> <description> </description> </method> - <method name="material_set_shader" > + <method name="material_set_shader"> <argument index="0" name="shader" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -16187,7 +16191,7 @@ <description> </description> </method> - <method name="material_get_shader" qualifiers="const" > + <method name="material_get_shader" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -16195,7 +16199,7 @@ <description> </description> </method> - <method name="material_set_param" > + <method name="material_set_param"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="String"> @@ -16205,7 +16209,7 @@ <description> </description> </method> - <method name="material_get_param" qualifiers="const" > + <method name="material_get_param" qualifiers="const"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="String"> @@ -16213,7 +16217,7 @@ <description> </description> </method> - <method name="material_set_flag" > + <method name="material_set_flag"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16223,7 +16227,7 @@ <description> </description> </method> - <method name="material_get_flag" qualifiers="const" > + <method name="material_get_flag" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -16233,7 +16237,7 @@ <description> </description> </method> - <method name="material_set_blend_mode" > + <method name="material_set_blend_mode"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16241,7 +16245,7 @@ <description> </description> </method> - <method name="material_get_blend_mode" qualifiers="const" > + <method name="material_get_blend_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16249,7 +16253,7 @@ <description> </description> </method> - <method name="material_set_line_width" > + <method name="material_set_line_width"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="real"> @@ -16257,7 +16261,7 @@ <description> </description> </method> - <method name="material_get_line_width" qualifiers="const" > + <method name="material_get_line_width" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="RID"> @@ -16265,7 +16269,7 @@ <description> </description> </method> - <method name="fixed_material_set_parameter" > + <method name="fixed_material_set_parameter"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16275,7 +16279,7 @@ <description> </description> </method> - <method name="fixed_material_get_parameter" qualifiers="const" > + <method name="fixed_material_get_parameter" qualifiers="const"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16283,7 +16287,7 @@ <description> </description> </method> - <method name="fixed_material_set_texture" > + <method name="fixed_material_set_texture"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16293,7 +16297,7 @@ <description> </description> </method> - <method name="fixed_material_get_texture" qualifiers="const" > + <method name="fixed_material_get_texture" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -16303,7 +16307,7 @@ <description> </description> </method> - <method name="fixed_material_set_texgen_mode" > + <method name="fixed_material_set_texgen_mode"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16311,7 +16315,7 @@ <description> </description> </method> - <method name="fixed_material_get_texgen_mode" qualifiers="const" > + <method name="fixed_material_get_texgen_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16319,7 +16323,7 @@ <description> </description> </method> - <method name="fixed_material_set_texcoord_mode" > + <method name="fixed_material_set_texcoord_mode"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16329,7 +16333,7 @@ <description> </description> </method> - <method name="fixed_material_get_texcoord_mode" qualifiers="const" > + <method name="fixed_material_get_texcoord_mode" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16339,7 +16343,7 @@ <description> </description> </method> - <method name="fixed_material_set_uv_transform" > + <method name="fixed_material_set_uv_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Transform"> @@ -16347,7 +16351,7 @@ <description> </description> </method> - <method name="fixed_material_get_uv_transform" qualifiers="const" > + <method name="fixed_material_get_uv_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="arg0" type="RID"> @@ -16355,13 +16359,13 @@ <description> </description> </method> - <method name="mesh_create" > + <method name="mesh_create"> <return type="RID"> </return> <description> </description> </method> - <method name="mesh_add_surface" > + <method name="mesh_add_surface"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16375,7 +16379,7 @@ <description> </description> </method> - <method name="mesh_surface_set_array" > + <method name="mesh_surface_set_array"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16389,7 +16393,7 @@ <description> </description> </method> - <method name="mesh_surface_get_array" qualifiers="const" > + <method name="mesh_surface_get_array" qualifiers="const"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16399,7 +16403,7 @@ <description> </description> </method> - <method name="mesh_surface_set_material" > + <method name="mesh_surface_set_material"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16411,7 +16415,7 @@ <description> </description> </method> - <method name="mesh_surface_get_material" qualifiers="const" > + <method name="mesh_surface_get_material" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -16421,7 +16425,7 @@ <description> </description> </method> - <method name="mesh_surface_get_array_len" qualifiers="const" > + <method name="mesh_surface_get_array_len" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16431,7 +16435,7 @@ <description> </description> </method> - <method name="mesh_surface_get_array_index_len" qualifiers="const" > + <method name="mesh_surface_get_array_index_len" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16441,7 +16445,7 @@ <description> </description> </method> - <method name="mesh_surface_get_format" qualifiers="const" > + <method name="mesh_surface_get_format" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16451,7 +16455,7 @@ <description> </description> </method> - <method name="mesh_surface_get_primitive_type" qualifiers="const" > + <method name="mesh_surface_get_primitive_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16461,7 +16465,7 @@ <description> </description> </method> - <method name="mesh_erase_surface" > + <method name="mesh_erase_surface"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16469,7 +16473,7 @@ <description> </description> </method> - <method name="mesh_get_surface_count" qualifiers="const" > + <method name="mesh_get_surface_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16477,13 +16481,13 @@ <description> </description> </method> - <method name="multimesh_create" > + <method name="multimesh_create"> <return type="RID"> </return> <description> </description> </method> - <method name="multimesh_set_mesh" > + <method name="multimesh_set_mesh"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -16491,7 +16495,7 @@ <description> </description> </method> - <method name="multimesh_set_aabb" > + <method name="multimesh_set_aabb"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="AABB"> @@ -16499,7 +16503,7 @@ <description> </description> </method> - <method name="multimesh_instance_set_transform" > + <method name="multimesh_instance_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16509,7 +16513,7 @@ <description> </description> </method> - <method name="multimesh_instance_set_color" > + <method name="multimesh_instance_set_color"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16519,7 +16523,7 @@ <description> </description> </method> - <method name="multimesh_get_mesh" qualifiers="const" > + <method name="multimesh_get_mesh" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -16527,7 +16531,7 @@ <description> </description> </method> - <method name="multimesh_get_aabb" qualifiers="const" > + <method name="multimesh_get_aabb" qualifiers="const"> <return type="AABB"> </return> <argument index="0" name="arg0" type="RID"> @@ -16537,7 +16541,7 @@ <description> </description> </method> - <method name="multimesh_instance_get_transform" qualifiers="const" > + <method name="multimesh_instance_get_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="arg0" type="RID"> @@ -16547,7 +16551,7 @@ <description> </description> </method> - <method name="multimesh_instance_get_color" qualifiers="const" > + <method name="multimesh_instance_get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="RID"> @@ -16557,13 +16561,13 @@ <description> </description> </method> - <method name="poly_create" > + <method name="poly_create"> <return type="RID"> </return> <description> </description> </method> - <method name="poly_set_material" > + <method name="poly_set_material"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -16573,19 +16577,19 @@ <description> </description> </method> - <method name="poly_clear" > + <method name="poly_clear"> <argument index="0" name="arg0" type="RID"> </argument> <description> </description> </method> - <method name="particles_create" > + <method name="particles_create"> <return type="RID"> </return> <description> </description> </method> - <method name="particles_set_amount" > + <method name="particles_set_amount"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16593,7 +16597,7 @@ <description> </description> </method> - <method name="particles_get_amount" qualifiers="const" > + <method name="particles_get_amount" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16601,7 +16605,7 @@ <description> </description> </method> - <method name="particles_set_emitting" > + <method name="particles_set_emitting"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -16609,7 +16613,7 @@ <description> </description> </method> - <method name="particles_is_emitting" qualifiers="const" > + <method name="particles_is_emitting" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -16617,7 +16621,7 @@ <description> </description> </method> - <method name="particles_set_visibility_aabb" > + <method name="particles_set_visibility_aabb"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="AABB"> @@ -16625,7 +16629,7 @@ <description> </description> </method> - <method name="particles_get_visibility_aabb" qualifiers="const" > + <method name="particles_get_visibility_aabb" qualifiers="const"> <return type="AABB"> </return> <argument index="0" name="arg0" type="RID"> @@ -16633,7 +16637,7 @@ <description> </description> </method> - <method name="particles_set_variable" > + <method name="particles_set_variable"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16643,7 +16647,7 @@ <description> </description> </method> - <method name="particles_get_variable" qualifiers="const" > + <method name="particles_get_variable" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="RID"> @@ -16653,7 +16657,7 @@ <description> </description> </method> - <method name="particles_set_randomness" > + <method name="particles_set_randomness"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16663,7 +16667,7 @@ <description> </description> </method> - <method name="particles_get_randomness" qualifiers="const" > + <method name="particles_get_randomness" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="RID"> @@ -16673,7 +16677,7 @@ <description> </description> </method> - <method name="particles_set_color_phases" > + <method name="particles_set_color_phases"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16681,7 +16685,7 @@ <description> </description> </method> - <method name="particles_get_color_phases" qualifiers="const" > + <method name="particles_get_color_phases" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16689,7 +16693,7 @@ <description> </description> </method> - <method name="particles_set_color_phase_pos" > + <method name="particles_set_color_phase_pos"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16699,7 +16703,7 @@ <description> </description> </method> - <method name="particles_get_color_phase_pos" qualifiers="const" > + <method name="particles_get_color_phase_pos" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="RID"> @@ -16709,7 +16713,7 @@ <description> </description> </method> - <method name="particles_set_color_phase_color" > + <method name="particles_set_color_phase_color"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16719,7 +16723,7 @@ <description> </description> </method> - <method name="particles_get_color_phase_color" qualifiers="const" > + <method name="particles_get_color_phase_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="RID"> @@ -16729,7 +16733,7 @@ <description> </description> </method> - <method name="particles_set_attractors" > + <method name="particles_set_attractors"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16737,7 +16741,7 @@ <description> </description> </method> - <method name="particles_get_attractors" qualifiers="const" > + <method name="particles_get_attractors" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16745,7 +16749,7 @@ <description> </description> </method> - <method name="particles_set_attractor_pos" > + <method name="particles_set_attractor_pos"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16755,7 +16759,7 @@ <description> </description> </method> - <method name="particles_get_attractor_pos" qualifiers="const" > + <method name="particles_get_attractor_pos" qualifiers="const"> <return type="Vector3"> </return> <argument index="0" name="arg0" type="RID"> @@ -16765,7 +16769,7 @@ <description> </description> </method> - <method name="particles_set_attractor_strength" > + <method name="particles_set_attractor_strength"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16775,7 +16779,7 @@ <description> </description> </method> - <method name="particles_get_attractor_strength" qualifiers="const" > + <method name="particles_get_attractor_strength" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="RID"> @@ -16785,7 +16789,7 @@ <description> </description> </method> - <method name="particles_set_material" > + <method name="particles_set_material"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -16795,7 +16799,7 @@ <description> </description> </method> - <method name="particles_set_height_from_velocity" > + <method name="particles_set_height_from_velocity"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -16803,7 +16807,7 @@ <description> </description> </method> - <method name="particles_has_height_from_velocity" qualifiers="const" > + <method name="particles_has_height_from_velocity" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -16811,7 +16815,7 @@ <description> </description> </method> - <method name="light_create" > + <method name="light_create"> <return type="RID"> </return> <argument index="0" name="arg0" type="int"> @@ -16819,7 +16823,7 @@ <description> </description> </method> - <method name="light_get_type" qualifiers="const" > + <method name="light_get_type" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16827,7 +16831,7 @@ <description> </description> </method> - <method name="light_set_color" > + <method name="light_set_color"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16837,7 +16841,7 @@ <description> </description> </method> - <method name="light_get_color" qualifiers="const" > + <method name="light_get_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="RID"> @@ -16847,7 +16851,7 @@ <description> </description> </method> - <method name="light_set_shadow" > + <method name="light_set_shadow"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -16855,7 +16859,7 @@ <description> </description> </method> - <method name="light_has_shadow" qualifiers="const" > + <method name="light_has_shadow" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -16863,7 +16867,7 @@ <description> </description> </method> - <method name="light_set_volumetric" > + <method name="light_set_volumetric"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -16871,7 +16875,7 @@ <description> </description> </method> - <method name="light_is_volumetric" qualifiers="const" > + <method name="light_is_volumetric" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -16879,7 +16883,7 @@ <description> </description> </method> - <method name="light_set_projector" > + <method name="light_set_projector"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -16887,7 +16891,7 @@ <description> </description> </method> - <method name="light_get_projector" qualifiers="const" > + <method name="light_get_projector" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -16895,7 +16899,7 @@ <description> </description> </method> - <method name="light_set_var" > + <method name="light_set_var"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16905,7 +16909,7 @@ <description> </description> </method> - <method name="light_get_var" qualifiers="const" > + <method name="light_get_var" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="RID"> @@ -16915,13 +16919,13 @@ <description> </description> </method> - <method name="skeleton_create" > + <method name="skeleton_create"> <return type="RID"> </return> <description> </description> </method> - <method name="skeleton_resize" > + <method name="skeleton_resize"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16929,7 +16933,7 @@ <description> </description> </method> - <method name="skeleton_get_bone_count" qualifiers="const" > + <method name="skeleton_get_bone_count" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -16937,7 +16941,7 @@ <description> </description> </method> - <method name="skeleton_bone_set_transform" > + <method name="skeleton_bone_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -16947,7 +16951,7 @@ <description> </description> </method> - <method name="skeleton_bone_get_transform" > + <method name="skeleton_bone_get_transform"> <return type="Transform"> </return> <argument index="0" name="arg0" type="RID"> @@ -16957,13 +16961,13 @@ <description> </description> </method> - <method name="room_create" > + <method name="room_create"> <return type="RID"> </return> <description> </description> </method> - <method name="room_set_bounds" > + <method name="room_set_bounds"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Dictionary"> @@ -16971,7 +16975,7 @@ <description> </description> </method> - <method name="room_get_bounds" qualifiers="const" > + <method name="room_get_bounds" qualifiers="const"> <return type="Dictionary"> </return> <argument index="0" name="arg0" type="RID"> @@ -16979,13 +16983,13 @@ <description> </description> </method> - <method name="portal_create" > + <method name="portal_create"> <return type="RID"> </return> <description> </description> </method> - <method name="portal_set_shape" > + <method name="portal_set_shape"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Vector2Array"> @@ -16993,7 +16997,7 @@ <description> </description> </method> - <method name="portal_get_shape" qualifiers="const" > + <method name="portal_get_shape" qualifiers="const"> <return type="Vector2Array"> </return> <argument index="0" name="arg0" type="RID"> @@ -17001,7 +17005,7 @@ <description> </description> </method> - <method name="portal_set_enabled" > + <method name="portal_set_enabled"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -17009,7 +17013,7 @@ <description> </description> </method> - <method name="portal_is_enabled" qualifiers="const" > + <method name="portal_is_enabled" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -17017,7 +17021,7 @@ <description> </description> </method> - <method name="portal_set_disable_distance" > + <method name="portal_set_disable_distance"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="real"> @@ -17025,7 +17029,7 @@ <description> </description> </method> - <method name="portal_get_disable_distance" qualifiers="const" > + <method name="portal_get_disable_distance" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="RID"> @@ -17033,7 +17037,7 @@ <description> </description> </method> - <method name="portal_set_disabled_color" > + <method name="portal_set_disabled_color"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Color"> @@ -17041,7 +17045,7 @@ <description> </description> </method> - <method name="portal_get_disabled_color" qualifiers="const" > + <method name="portal_get_disabled_color" qualifiers="const"> <return type="Color"> </return> <argument index="0" name="arg0" type="RID"> @@ -17049,13 +17053,13 @@ <description> </description> </method> - <method name="camera_create" > + <method name="camera_create"> <return type="RID"> </return> <description> </description> </method> - <method name="camera_set_perspective" > + <method name="camera_set_perspective"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="real"> @@ -17067,7 +17071,7 @@ <description> </description> </method> - <method name="camera_set_orthogonal" > + <method name="camera_set_orthogonal"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="real"> @@ -17079,7 +17083,7 @@ <description> </description> </method> - <method name="camera_set_transform" > + <method name="camera_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Transform"> @@ -17087,13 +17091,13 @@ <description> </description> </method> - <method name="viewport_create" > + <method name="viewport_create"> <return type="RID"> </return> <description> </description> </method> - <method name="viewport_set_rect" > + <method name="viewport_set_rect"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -17101,7 +17105,7 @@ <description> </description> </method> - <method name="viewport_get_rect" qualifiers="const" > + <method name="viewport_get_rect" qualifiers="const"> <return type="Rect2"> </return> <argument index="0" name="arg0" type="RID"> @@ -17109,7 +17113,7 @@ <description> </description> </method> - <method name="viewport_attach_camera" > + <method name="viewport_attach_camera"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID" default="RID()"> @@ -17117,7 +17121,7 @@ <description> </description> </method> - <method name="viewport_get_attached_camera" qualifiers="const" > + <method name="viewport_get_attached_camera" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -17125,7 +17129,7 @@ <description> </description> </method> - <method name="viewport_get_scenario" qualifiers="const" > + <method name="viewport_get_scenario" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -17133,7 +17137,7 @@ <description> </description> </method> - <method name="viewport_attach_canvas" > + <method name="viewport_attach_canvas"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -17141,7 +17145,7 @@ <description> </description> </method> - <method name="viewport_remove_canvas" > + <method name="viewport_remove_canvas"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -17149,13 +17153,13 @@ <description> </description> </method> - <method name="scenario_create" > + <method name="scenario_create"> <return type="RID"> </return> <description> </description> </method> - <method name="scenario_set_debug" > + <method name="scenario_set_debug"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -17163,7 +17167,7 @@ <description> </description> </method> - <method name="scenario_fx_get_effects" qualifiers="const" > + <method name="scenario_fx_get_effects" qualifiers="const"> <return type="StringArray"> </return> <argument index="0" name="arg0" type="RID"> @@ -17171,7 +17175,7 @@ <description> </description> </method> - <method name="scenario_fx_set_active" > + <method name="scenario_fx_set_active"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="String"> @@ -17181,7 +17185,7 @@ <description> </description> </method> - <method name="scenario_fx_is_active" qualifiers="const" > + <method name="scenario_fx_is_active" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -17191,7 +17195,7 @@ <description> </description> </method> - <method name="scenario_fx_get_effect_params" qualifiers="const" > + <method name="scenario_fx_get_effect_params" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="arg0" type="RID"> @@ -17201,7 +17205,7 @@ <description> </description> </method> - <method name="scenario_fx_get_effect_param" qualifiers="const" > + <method name="scenario_fx_get_effect_param" qualifiers="const"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="String"> @@ -17211,7 +17215,7 @@ <description> </description> </method> - <method name="scenario_fx_set_effect_param" > + <method name="scenario_fx_set_effect_param"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="String"> @@ -17223,13 +17227,13 @@ <description> </description> </method> - <method name="instance_create" > + <method name="instance_create"> <return type="RID"> </return> <description> </description> </method> - <method name="instance_get_base" qualifiers="const" > + <method name="instance_get_base" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -17237,7 +17241,7 @@ <description> </description> </method> - <method name="instance_get_base_aabb" qualifiers="const" > + <method name="instance_get_base_aabb" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -17245,7 +17249,7 @@ <description> </description> </method> - <method name="instance_set_transform" > + <method name="instance_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Transform"> @@ -17253,7 +17257,7 @@ <description> </description> </method> - <method name="instance_get_transform" qualifiers="const" > + <method name="instance_get_transform" qualifiers="const"> <return type="Transform"> </return> <argument index="0" name="arg0" type="RID"> @@ -17261,7 +17265,7 @@ <description> </description> </method> - <method name="instance_attach_object_instance_ID" > + <method name="instance_attach_object_instance_ID"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="int"> @@ -17269,7 +17273,7 @@ <description> </description> </method> - <method name="instance_get_object_instance_ID" qualifiers="const" > + <method name="instance_get_object_instance_ID" qualifiers="const"> <return type="int"> </return> <argument index="0" name="arg0" type="RID"> @@ -17277,7 +17281,7 @@ <description> </description> </method> - <method name="instance_attach_skeleton" > + <method name="instance_attach_skeleton"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -17285,7 +17289,7 @@ <description> </description> </method> - <method name="instance_get_skeleton" qualifiers="const" > + <method name="instance_get_skeleton" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -17293,7 +17297,7 @@ <description> </description> </method> - <method name="instance_set_room" > + <method name="instance_set_room"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -17301,7 +17305,7 @@ <description> </description> </method> - <method name="instance_get_room" qualifiers="const" > + <method name="instance_get_room" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -17309,7 +17313,7 @@ <description> </description> </method> - <method name="instance_set_exterior" > + <method name="instance_set_exterior"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -17317,7 +17321,7 @@ <description> </description> </method> - <method name="instance_is_exterior" qualifiers="const" > + <method name="instance_is_exterior" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -17325,7 +17329,7 @@ <description> </description> </method> - <method name="instances_cull_aabb" qualifiers="const" > + <method name="instances_cull_aabb" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="arg0" type="AABB"> @@ -17335,7 +17339,7 @@ <description> </description> </method> - <method name="instances_cull_ray" qualifiers="const" > + <method name="instances_cull_ray" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="arg0" type="Vector3"> @@ -17347,7 +17351,7 @@ <description> </description> </method> - <method name="instances_cull_convex" qualifiers="const" > + <method name="instances_cull_convex" qualifiers="const"> <return type="Array"> </return> <argument index="0" name="arg0" type="Vector3"> @@ -17359,7 +17363,7 @@ <description> </description> </method> - <method name="instance_geometry_set_visible" > + <method name="instance_geometry_set_visible"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -17367,7 +17371,7 @@ <description> </description> </method> - <method name="instance_geometry_is_visible" qualifiers="const" > + <method name="instance_geometry_is_visible" qualifiers="const"> <return type="bool"> </return> <argument index="0" name="arg0" type="RID"> @@ -17375,7 +17379,7 @@ <description> </description> </method> - <method name="instance_geometry_override_material_param" qualifiers="const" > + <method name="instance_geometry_override_material_param" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -17383,7 +17387,7 @@ <description> </description> </method> - <method name="instance_geometry_get_material_param" qualifiers="const" > + <method name="instance_geometry_get_material_param" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -17391,19 +17395,19 @@ <description> </description> </method> - <method name="canvas_create" > + <method name="canvas_create"> <return type="RID"> </return> <description> </description> </method> - <method name="canvas_item_create" > + <method name="canvas_item_create"> <return type="RID"> </return> <description> </description> </method> - <method name="canvas_item_set_parent" > + <method name="canvas_item_set_parent"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -17411,7 +17415,7 @@ <description> </description> </method> - <method name="canvas_item_get_parent" qualifiers="const" > + <method name="canvas_item_get_parent" qualifiers="const"> <return type="RID"> </return> <argument index="0" name="arg0" type="RID"> @@ -17419,7 +17423,7 @@ <description> </description> </method> - <method name="canvas_item_set_transform" > + <method name="canvas_item_set_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Matrix32"> @@ -17427,7 +17431,7 @@ <description> </description> </method> - <method name="canvas_item_set_custom_rect" > + <method name="canvas_item_set_custom_rect"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -17437,7 +17441,7 @@ <description> </description> </method> - <method name="canvas_item_set_clip" > + <method name="canvas_item_set_clip"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="bool"> @@ -17445,7 +17449,7 @@ <description> </description> </method> - <method name="canvas_item_set_opacity" > + <method name="canvas_item_set_opacity"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="real"> @@ -17453,7 +17457,7 @@ <description> </description> </method> - <method name="canvas_item_get_opacity" qualifiers="const" > + <method name="canvas_item_get_opacity" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="RID"> @@ -17463,7 +17467,7 @@ <description> </description> </method> - <method name="canvas_item_set_self_opacity" > + <method name="canvas_item_set_self_opacity"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="real"> @@ -17471,7 +17475,7 @@ <description> </description> </method> - <method name="canvas_item_get_self_opacity" qualifiers="const" > + <method name="canvas_item_get_self_opacity" qualifiers="const"> <return type="real"> </return> <argument index="0" name="arg0" type="RID"> @@ -17481,7 +17485,7 @@ <description> </description> </method> - <method name="canvas_item_add_line" > + <method name="canvas_item_add_line"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Vector2"> @@ -17495,7 +17499,7 @@ <description> </description> </method> - <method name="canvas_item_add_rect" > + <method name="canvas_item_add_rect"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -17505,7 +17509,7 @@ <description> </description> </method> - <method name="canvas_item_add_texture_rect" > + <method name="canvas_item_add_texture_rect"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -17519,7 +17523,7 @@ <description> </description> </method> - <method name="canvas_item_add_texture_rect_region" > + <method name="canvas_item_add_texture_rect_region"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -17533,7 +17537,7 @@ <description> </description> </method> - <method name="canvas_item_add_style_box" > + <method name="canvas_item_add_style_box"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Rect2"> @@ -17547,7 +17551,7 @@ <description> </description> </method> - <method name="canvas_item_add_circle" > + <method name="canvas_item_add_circle"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Vector2"> @@ -17559,7 +17563,7 @@ <description> </description> </method> - <method name="viewport_set_canvas_transform" > + <method name="viewport_set_canvas_transform"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="RID"> @@ -17569,19 +17573,19 @@ <description> </description> </method> - <method name="canvas_item_clear" > + <method name="canvas_item_clear"> <argument index="0" name="arg0" type="RID"> </argument> <description> </description> </method> - <method name="canvas_item_raise" > + <method name="canvas_item_raise"> <argument index="0" name="arg0" type="RID"> </argument> <description> </description> </method> - <method name="cursor_set_rotation" > + <method name="cursor_set_rotation"> <argument index="0" name="arg0" type="real"> </argument> <argument index="1" name="arg1" type="int"> @@ -17589,7 +17593,7 @@ <description> </description> </method> - <method name="cursor_set_texture" > + <method name="cursor_set_texture"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Vector2"> @@ -17599,7 +17603,7 @@ <description> </description> </method> - <method name="cursor_set_visible" > + <method name="cursor_set_visible"> <argument index="0" name="arg0" type="bool"> </argument> <argument index="1" name="arg1" type="int"> @@ -17607,7 +17611,7 @@ <description> </description> </method> - <method name="cursor_set_pos" > + <method name="cursor_set_pos"> <argument index="0" name="arg0" type="Vector2"> </argument> <argument index="1" name="arg1" type="int"> @@ -17615,7 +17619,7 @@ <description> </description> </method> - <method name="make_sphere_mesh" > + <method name="make_sphere_mesh"> <return type="RID"> </return> <argument index="0" name="arg0" type="int"> @@ -17627,7 +17631,7 @@ <description> </description> </method> - <method name="mesh_add_surface_from_planes" > + <method name="mesh_add_surface_from_planes"> <argument index="0" name="arg0" type="RID"> </argument> <argument index="1" name="arg1" type="Array"> @@ -17635,7 +17639,7 @@ <description> </description> </method> - <method name="free" > + <method name="free"> <argument index="0" name="arg0" type="RID"> </argument> <description> @@ -17883,19 +17887,19 @@ <description> </description> <methods> - <method name="set_title" > + <method name="set_title"> <argument index="0" name="title" type="String"> </argument> <description> </description> </method> - <method name="get_title" qualifiers="const" > + <method name="get_title" qualifiers="const"> <return type="String"> </return> <description> </description> </method> - <method name="get_close_button" > + <method name="get_close_button"> <return type="TextureButton"> </return> <description> @@ -17911,19 +17915,19 @@ <description> </description> <methods> - <method name="get_space" qualifiers="const" > + <method name="get_space" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="get_scenario" qualifiers="const" > + <method name="get_scenario" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="get_sound_space" qualifiers="const" > + <method name="get_sound_space" qualifiers="const"> <return type="RID"> </return> <description> |