summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBojidar Marinov <bojidar.marinov.bg@gmail.com>2017-03-29 22:27:59 +0300
committerBojidar Marinov <bojidar.marinov.bg@gmail.com>2017-03-29 22:27:59 +0300
commit669956849aa7c5f97c0b7fde16a871e933f0f019 (patch)
tree6e0da89c77e9b552c2bc1f9da79ed6d2e6650e13
parentd4740a98537b1e7dcb6fb48176abdebe27eee83c (diff)
Update classes.xml to master version, add a small feature to doc_status
-rw-r--r--doc/base/classes.xml17707
-rwxr-xr-xdoc/tools/doc_status.py15
2 files changed, 9178 insertions, 8544 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 3881197ec9..f3d73deaf0 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<doc version="2.2.alpha.custom_build" name="Engine Types">
+<doc version="3.0.alpha.custom_build" name="Engine Types">
<class name="@GDScript" category="Core">
<brief_description>
Built-in GDScript functions.
@@ -23,6 +23,16 @@
Make a color from red, green, blue and alpha. Arguments can range from 0 to 255.
</description>
</method>
+ <method name="ColorN">
+ <return type="Color">
+ </return>
+ <argument index="0" name="name" type="String">
+ </argument>
+ <argument index="1" name="alpha" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="abs">
<return type="float">
</return>
@@ -82,7 +92,7 @@
<method name="bytes2var">
<return type="Variant">
</return>
- <argument index="0" name="bytes" type="RawArray">
+ <argument index="0" name="bytes" type="PoolByteArray">
</argument>
<description>
Decode a byte array back to a value.
@@ -97,6 +107,14 @@
Ceiling (rounds up to nearest integer).
</description>
</method>
+ <method name="char">
+ <return type="String">
+ </return>
+ <argument index="0" name="ascii" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="clamp">
<return type="float">
</return>
@@ -364,6 +382,15 @@
Return the nearest larger power of 2 for an integer.
</description>
</method>
+ <method name="parse_json">
+ <return type="Variant">
+ </return>
+ <argument index="0" name="json" type="String">
+ </argument>
+ <description>
+ Parse json text to a Variant (use [method typeof] to check if it is what you expect).
+ </description>
+ </method>
<method name="pow">
<return type="float">
</return>
@@ -608,6 +635,15 @@
Hyperbolic tangent.
</description>
</method>
+ <method name="to_json">
+ <return type="String">
+ </return>
+ <argument index="0" name="var:Variant" type="Variant">
+ </argument>
+ <description>
+ Convert a Variant to json text.
+ </description>
+ </method>
<method name="type_exists">
<return type="bool">
</return>
@@ -625,8 +661,16 @@
Return the internal type of the given Variant object, using the TYPE_* enum in [@Global Scope].
</description>
</method>
+ <method name="validate_json">
+ <return type="Variant">
+ </return>
+ <argument index="0" name="json" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="var2bytes">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<argument index="0" name="var" type="Variant">
</argument>
@@ -669,6 +713,10 @@
<constant name="PI" value="3.141593">
Constant that represents how many times the diameter of a circumference fits around its perimeter.
</constant>
+ <constant name="INF" value="inf">
+ </constant>
+ <constant name="NAN" value="nan">
+ </constant>
</constants>
</class>
<class name="@Global Scope" category="Core">
@@ -682,79 +730,52 @@
<methods>
</methods>
<members>
- <member name="AS" type="AudioServer">
+ <member name="AudioServer" type="AudioServer" setter="" getter="" brief="">
[AudioServer] singleton
</member>
- <member name="AudioServer" type="AudioServer">
- [AudioServer] singleton
+ <member name="ClassDB" type="ClassDB" setter="" getter="" brief="">
+ </member>
+ <member name="Engine" type="Engine" setter="" getter="" brief="">
</member>
- <member name="Geometry" type="Geometry">
+ <member name="Geometry" type="Geometry" setter="" getter="" brief="">
[Geometry] singleton
</member>
- <member name="Globals" type="Globals">
- [Globals] singleton
+ <member name="GlobalConfig" type="GlobalConfig" setter="" getter="" brief="">
</member>
- <member name="IP" type="IP">
+ <member name="IP" type="IP" setter="" getter="" brief="">
[IP] singleton
</member>
- <member name="Input" type="Input">
+ <member name="Input" type="Input" setter="" getter="" brief="">
[Input] singleton
</member>
- <member name="InputMap" type="InputMap">
+ <member name="InputMap" type="InputMap" setter="" getter="" brief="">
[InputMap] singleton
</member>
- <member name="Marshalls" type="Reference">
+ <member name="Marshalls" type="Reference" setter="" getter="" brief="">
[Marshalls] singleton
</member>
- <member name="OS" type="OS">
+ <member name="OS" type="OS" setter="" getter="" brief="">
[OS] singleton
</member>
- <member name="PS" type="PhysicsServer">
- [PhysicsServer] singleton
- </member>
- <member name="PS2D" type="Physics2DServer">
- [Physics2DServer] singleton
- </member>
- <member name="PathRemap" type="PathRemap">
- [PathRemap] singleton
- </member>
- <member name="Performance" type="Performance">
+ <member name="Performance" type="Performance" setter="" getter="" brief="">
[Performance] singleton
</member>
- <member name="Physics2DServer" type="Physics2DServer">
+ <member name="Physics2DServer" type="Physics2DServer" setter="" getter="" brief="">
[Physics2DServer] singleton
</member>
- <member name="PhysicsServer" type="PhysicsServer">
+ <member name="PhysicsServer" type="PhysicsServer" setter="" getter="" brief="">
[PhysicsServer] singleton
</member>
- <member name="ResourceLoader" type="ResourceLoader">
+ <member name="ResourceLoader" type="ResourceLoader" setter="" getter="" brief="">
[ResourceLoader] singleton
</member>
- <member name="ResourceSaver" type="ResourceSaver">
+ <member name="ResourceSaver" type="ResourceSaver" setter="" getter="" brief="">
[ResourceSaver] singleton
</member>
- <member name="SS" type="SpatialSoundServer">
- [SpatialSoundServer] singleton
- </member>
- <member name="SS2D" type="SpatialSound2DServer">
- [SpatialSound2DServer] singleton
- </member>
- <member name="SpatialSound2DServer" type="SpatialSound2DServer">
- [SpatialSound2DServer] singleton
- </member>
- <member name="SpatialSoundServer" type="SpatialSoundServer">
- [SpatialSoundServer] singleton
- </member>
- <member name="TS" type="TranslationServer">
+ <member name="TranslationServer" type="TranslationServer" setter="" getter="" brief="">
[TranslationServer] singleton
</member>
- <member name="TranslationServer" type="TranslationServer">
- [TranslationServer] singleton
- </member>
- <member name="VS" type="VisualServer">
- [VisualServer] singleton
- </member>
- <member name="VisualServer" type="VisualServer">
+ <member name="VisualServer" type="VisualServer" setter="" getter="" brief="">
[VisualServer] singleton
</member>
</members>
@@ -1491,67 +1512,55 @@
<constant name="BUTTON_MASK_MIDDLE" value="4">
</constant>
<constant name="JOY_BUTTON_0" value="0">
- Joystick Button 0
+ Joypad Button 0
</constant>
<constant name="JOY_BUTTON_1" value="1">
- Joystick Button 1
+ Joypad Button 1
</constant>
<constant name="JOY_BUTTON_2" value="2">
- Joystick Button 2
+ Joypad Button 2
</constant>
<constant name="JOY_BUTTON_3" value="3">
- Joystick Button 3
+ Joypad Button 3
</constant>
<constant name="JOY_BUTTON_4" value="4">
- Joystick Button 4
+ Joypad Button 4
</constant>
<constant name="JOY_BUTTON_5" value="5">
- Joystick Button 5
+ Joypad Button 5
</constant>
<constant name="JOY_BUTTON_6" value="6">
- Joystick Button 6
+ Joypad Button 6
</constant>
<constant name="JOY_BUTTON_7" value="7">
- Joystick Button 7
+ Joypad Button 7
</constant>
<constant name="JOY_BUTTON_8" value="8">
- Joystick Button 8
+ Joypad Button 8
</constant>
<constant name="JOY_BUTTON_9" value="9">
- Joystick Button 9
+ Joypad Button 9
</constant>
<constant name="JOY_BUTTON_10" value="10">
- Joystick Button 10
+ Joypad Button 10
</constant>
<constant name="JOY_BUTTON_11" value="11">
- Joystick Button 11
+ Joypad Button 11
</constant>
<constant name="JOY_BUTTON_12" value="12">
- Joystick Button 12
+ Joypad Button 12
</constant>
<constant name="JOY_BUTTON_13" value="13">
- Joystick Button 13
+ Joypad Button 13
</constant>
<constant name="JOY_BUTTON_14" value="14">
- Joystick Button 14
+ Joypad Button 14
</constant>
<constant name="JOY_BUTTON_15" value="15">
- Joystick Button 15
+ Joypad Button 15
</constant>
<constant name="JOY_BUTTON_MAX" value="16">
- Joystick Button 16
- </constant>
- <constant name="JOY_SNES_A" value="1">
- Super Nintendo Entertaiment System controller A button
- </constant>
- <constant name="JOY_SNES_B" value="0">
- Super Nintendo Entertaiment System controller B button
- </constant>
- <constant name="JOY_SNES_X" value="3">
- Super Nintendo Entertaiment System controller X button
- </constant>
- <constant name="JOY_SNES_Y" value="2">
- Super Nintendo Entertaiment System controller Y button
+ Joypad Button 16
</constant>
<constant name="JOY_SONY_CIRCLE" value="1">
DUALSHOCK circle button
@@ -1565,18 +1574,6 @@
<constant name="JOY_SONY_TRIANGLE" value="3">
DUALSHOCK triangle button
</constant>
- <constant name="JOY_SEGA_B" value="1">
- SEGA controller B button
- </constant>
- <constant name="JOY_SEGA_A" value="0">
- SEGA controller A button
- </constant>
- <constant name="JOY_SEGA_X" value="2">
- SEGA controller X button
- </constant>
- <constant name="JOY_SEGA_Y" value="3">
- SEGA controller Y button
- </constant>
<constant name="JOY_XBOX_B" value="1">
XBOX controller B button
</constant>
@@ -1598,80 +1595,76 @@
<constant name="JOY_DS_Y" value="2">
</constant>
<constant name="JOY_SELECT" value="10">
- Joystick Button Select
+ Joypad Button Select
</constant>
<constant name="JOY_START" value="11">
- Joystick Button Start
+ Joypad Button Start
</constant>
<constant name="JOY_DPAD_UP" value="12">
- Joystick DPad Up
+ Joypad DPad Up
</constant>
<constant name="JOY_DPAD_DOWN" value="13">
- Joystick DPad Down
+ Joypad DPad Down
</constant>
<constant name="JOY_DPAD_LEFT" value="14">
- Joystick DPad Left
+ Joypad DPad Left
</constant>
<constant name="JOY_DPAD_RIGHT" value="15">
- Joystick DPad Right
+ Joypad DPad Right
</constant>
<constant name="JOY_L" value="4">
- Joystick Left Shoulder Button
+ Joypad Left Shoulder Button
</constant>
<constant name="JOY_L2" value="6">
- Joystick Left Trigger
+ Joypad Left Trigger
</constant>
<constant name="JOY_L3" value="8">
- Joystick Left Stick Click
+ Joypad Left Stick Click
</constant>
<constant name="JOY_R" value="5">
- Joystick Right Shoulder Button
+ Joypad Right Shoulder Button
</constant>
<constant name="JOY_R2" value="7">
- Joystick Right Trigger
+ Joypad Right Trigger
</constant>
<constant name="JOY_R3" value="9">
- Joystick Right Stick Click
+ Joypad Right Stick Click
</constant>
<constant name="JOY_AXIS_0" value="0">
- Joystick Left Stick Horizontal Axis
+ Joypad Left Stick Horizontal Axis
</constant>
<constant name="JOY_AXIS_1" value="1">
- Joystick Left Stick Vertical Axis
+ Joypad Left Stick Vertical Axis
</constant>
<constant name="JOY_AXIS_2" value="2">
- Joystick Right Stick Horizontal Axis
+ Joypad Right Stick Horizontal Axis
</constant>
<constant name="JOY_AXIS_3" value="3">
- Joystick Right Stick Vertical Axis
+ Joypad Right Stick Vertical Axis
</constant>
<constant name="JOY_AXIS_4" value="4">
</constant>
<constant name="JOY_AXIS_5" value="5">
</constant>
<constant name="JOY_AXIS_6" value="6">
- Joystick Left Trigger Analog Axis
+ Joypad Left Trigger Analog Axis
</constant>
<constant name="JOY_AXIS_7" value="7">
- Joystick Right Trigger Analog Axis
+ Joypad Right Trigger Analog Axis
</constant>
<constant name="JOY_AXIS_MAX" value="8">
</constant>
- <constant name="JOY_ANALOG_0_X" value="0">
- Joystick Left Stick Horizontal Axis
+ <constant name="JOY_ANALOG_LX" value="0">
+ Joypad Left Stick Horizontal Axis
</constant>
- <constant name="JOY_ANALOG_0_Y" value="1">
- Joystick Left Stick Vertical Axis
+ <constant name="JOY_ANALOG_LY" value="1">
+ Joypad Left Stick Vertical Axis
</constant>
- <constant name="JOY_ANALOG_1_X" value="2">
- Joystick Right Stick Horizontal Axis
+ <constant name="JOY_ANALOG_RX" value="2">
+ Joypad Right Stick Horizontal Axis
</constant>
- <constant name="JOY_ANALOG_1_Y" value="3">
- Joystick Right Stick Vertical Axis
- </constant>
- <constant name="JOY_ANALOG_2_X" value="4">
- </constant>
- <constant name="JOY_ANALOG_2_Y" value="5">
+ <constant name="JOY_ANALOG_RY" value="3">
+ Joypad Right Stick Vertical Axis
</constant>
<constant name="JOY_ANALOG_L2" value="6">
</constant>
@@ -1723,7 +1716,7 @@
</constant>
<constant name="ERR_PARSE_ERROR" value="43">
</constant>
- <constant name="ERROR_QUERY_FAILED" value="21">
+ <constant name="ERR_QUERY_FAILED" value="21">
</constant>
<constant name="ERR_ALREADY_IN_USE" value="22">
</constant>
@@ -1784,29 +1777,34 @@
<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="9">
- Property hint for a bitmask description that covers all 32 bits. Valid only for integers.
+ <constant name="PROPERTY_HINT_LAYERS_2D_RENDER" value="9">
+ </constant>
+ <constant name="PROPERTY_HINT_LAYERS_2D_PHYSICS" value="10">
</constant>
- <constant name="PROPERTY_HINT_FILE" value="10">
+ <constant name="PROPERTY_HINT_LAYERS_3D_RENDER" value="11">
+ </constant>
+ <constant name="PROPERTY_HINT_LAYERS_3D_PHYSICS" value="12">
+ </constant>
+ <constant name="PROPERTY_HINT_FILE" value="13">
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="11">
+ <constant name="PROPERTY_HINT_DIR" value="14">
String property is a directory (so pop up a file dialog when edited).
</constant>
- <constant name="PROPERTY_HINT_GLOBAL_FILE" value="12">
+ <constant name="PROPERTY_HINT_GLOBAL_FILE" value="15">
</constant>
- <constant name="PROPERTY_HINT_GLOBAL_DIR" value="13">
+ <constant name="PROPERTY_HINT_GLOBAL_DIR" value="16">
</constant>
- <constant name="PROPERTY_HINT_RESOURCE_TYPE" value="14">
+ <constant name="PROPERTY_HINT_RESOURCE_TYPE" value="17">
String property is a resource, so open the resource popup menu when edited.
</constant>
- <constant name="PROPERTY_HINT_MULTILINE_TEXT" value="15">
+ <constant name="PROPERTY_HINT_MULTILINE_TEXT" value="18">
</constant>
- <constant name="PROPERTY_HINT_COLOR_NO_ALPHA" value="16">
+ <constant name="PROPERTY_HINT_COLOR_NO_ALPHA" value="19">
</constant>
- <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSY" value="17">
+ <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSY" value="20">
</constant>
- <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS" value="18">
+ <constant name="PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS" value="21">
</constant>
<constant name="PROPERTY_USAGE_STORAGE" value="1">
Property will be used as storage (default).
@@ -1824,7 +1822,7 @@
</constant>
<constant name="PROPERTY_USAGE_INTERNATIONALIZED" value="64">
</constant>
- <constant name="PROPERTY_USAGE_BUNDLE" value="128">
+ <constant name="PROPERTY_USAGE_GROUP" value="128">
</constant>
<constant name="PROPERTY_USAGE_CATEGORY" value="256">
</constant>
@@ -1885,8 +1883,8 @@
<constant name="TYPE_VECTOR3" value="7">
Variable is of type [Vector3].
</constant>
- <constant name="TYPE_MATRIX32" value="8">
- Variable is of type [Matrix32].
+ <constant name="TYPE_TRANSFORM2D" value="8">
+ Variable is of type [Transform2D].
</constant>
<constant name="TYPE_PLANE" value="9">
Variable is of type [Plane].
@@ -1894,11 +1892,11 @@
<constant name="TYPE_QUAT" value="10">
Variable is of type [Quat].
</constant>
- <constant name="TYPE_AABB" value="11">
- Variable is of type [AABB].
+ <constant name="TYPE_RECT3" value="11">
+ Variable is of type [Rect3].
</constant>
- <constant name="TYPE_MATRIX3" value="12">
- Variable is of type [Matrix3].
+ <constant name="TYPE_BASIS" value="12">
+ Variable is of type [Basis].
</constant>
<constant name="TYPE_TRANSFORM" value="13">
Variable is of type [Transform].
@@ -1955,204 +1953,6 @@
<constants>
</constants>
</class>
-<class name="AABB" category="Built-In Types">
- <brief_description>
- Axis-Aligned Bounding Box.
- </brief_description>
- <description>
- AABB provides an 3D Axis-Aligned Bounding Box. It consists of a position, a size, and several utility functions. It is typically used for simple (fast) overlap tests.
- </description>
- <methods>
- <method name="AABB">
- <return type="AABB">
- </return>
- <argument index="0" name="pos" type="Vector3">
- </argument>
- <argument index="1" name="size" type="Vector3">
- </argument>
- <description>
- Optional constructor, accepts position and size.
- </description>
- </method>
- <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.
- </description>
- </method>
- <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.
- </description>
- </method>
- <method name="get_area">
- <return type="float">
- </return>
- <description>
- Get the area of the [AABB].
- </description>
- </method>
- <method name="get_endpoint">
- <return type="Vector3">
- </return>
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Get the position of the 8 endpoints of the [AABB] in space.
- </description>
- </method>
- <method name="get_longest_axis">
- <return type="Vector3">
- </return>
- <description>
- Return the normalized longest axis of the [AABB].
- </description>
- </method>
- <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).
- </description>
- </method>
- <method name="get_longest_axis_size">
- <return type="float">
- </return>
- <description>
- Return the scalar length of the longest axis of the [AABB].
- </description>
- </method>
- <method name="get_shortest_axis">
- <return type="Vector3">
- </return>
- <description>
- Return the normalized shortest axis of the [AABB].
- </description>
- </method>
- <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).
- </description>
- </method>
- <method name="get_shortest_axis_size">
- <return type="float">
- </return>
- <description>
- Return the scalar length of the shortest axis of the [AABB].
- </description>
- </method>
- <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.
- </description>
- </method>
- <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 amount of units towards all the sides.
- </description>
- </method>
- <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">
- <return type="bool">
- </return>
- <description>
- Return true if the [AABB] is empty.
- </description>
- </method>
- <method name="has_point">
- <return type="bool">
- </return>
- <argument index="0" name="point" type="Vector3">
- </argument>
- <description>
- Return true if the [AABB] contains a point.
- </description>
- </method>
- <method name="intersection">
- <return type="AABB">
- </return>
- <argument index="0" name="with" type="AABB">
- </argument>
- <description>
- Return the intersection between two [AABB]. An empty AABB (size 0,0,0) is returned on failure.
- </description>
- </method>
- <method name="intersects">
- <return type="bool">
- </return>
- <argument index="0" name="with" type="AABB">
- </argument>
- <description>
- Return true if the [AABB] overlaps with another.
- </description>
- </method>
- <method name="intersects_plane">
- <return type="bool">
- </return>
- <argument index="0" name="plane" type="Plane">
- </argument>
- <description>
- Return true if the [AABB] is at both sides of a plane.
- </description>
- </method>
- <method name="intersects_segment">
- <return type="bool">
- </return>
- <argument index="0" name="from" type="Vector3">
- </argument>
- <argument index="1" name="to" type="Vector3">
- </argument>
- <description>
- Return true if the [AABB] intersects the line segment between from and to
- </description>
- </method>
- <method name="merge">
- <return type="AABB">
- </return>
- <argument index="0" name="with" type="AABB">
- </argument>
- <description>
- Combine this [AABB] with another, a larger one is returned that contains both.
- </description>
- </method>
- </methods>
- <members>
- <member name="end" type="Vector3">
- Ending corner.
- </member>
- <member name="pos" type="Vector3">
- Position (starting corner).
- </member>
- <member name="size" type="Vector3">
- Size from position to end.
- </member>
- </members>
- <constants>
- </constants>
-</class>
<class name="AStar" inherits="Reference" category="Core">
<brief_description>
</brief_description>
@@ -2222,7 +2022,7 @@
</description>
</method>
<method name="get_id_path">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="from_id" type="int">
</argument>
@@ -2232,7 +2032,7 @@
</description>
</method>
<method name="get_point_path">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<argument index="0" name="from_id" type="int">
</argument>
@@ -2335,12 +2135,6 @@
Register a [LineEdit] in the dialog. When the enter key is pressed, the dialog will be accepted.
</description>
</method>
- <method name="set_child_rect">
- <argument index="0" name="child" type="Control">
- </argument>
- <description>
- </description>
- </method>
<method name="set_hide_on_ok">
<argument index="0" name="enabled" type="bool">
</argument>
@@ -2356,6 +2150,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="dialog_hide_on_ok" type="bool" setter="set_hide_on_ok" getter="get_hide_on_ok" brief="">
+ </member>
+ <member name="dialog_text" type="String" setter="set_text" getter="get_text" brief="">
+ </member>
+ </members>
<signals>
<signal name="confirmed">
<description>
@@ -2395,13 +2195,6 @@
Return the visible frame index.
</description>
</method>
- <method name="get_modulate" qualifiers="const">
- <return type="Color">
- </return>
- <description>
- Return the color modulation for this sprite.
- </description>
- </method>
<method name="get_offset" qualifiers="const">
<return type="Vector2">
</return>
@@ -2486,13 +2279,6 @@
Set the visible sprite frame index (from the list of frames inside the [SpriteFrames] resource).
</description>
</method>
- <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="set_offset">
<argument index="0" name="offset" type="Vector2">
</argument>
@@ -2513,15 +2299,33 @@
</description>
</method>
</methods>
+ <members>
+ <member name="animation" type="String" setter="set_animation" getter="get_animation" brief="">
+ </member>
+ <member name="centered" type="bool" setter="set_centered" getter="is_centered" brief="">
+ </member>
+ <member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h" brief="">
+ </member>
+ <member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v" brief="">
+ </member>
+ <member name="frame" type="int" setter="set_frame" getter="get_frame" brief="">
+ </member>
+ <member name="frames" type="SpriteFrames" setter="set_sprite_frames" getter="get_sprite_frames" brief="">
+ </member>
+ <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" brief="">
+ </member>
+ <member name="playing" type="bool" setter="_set_playing" getter="_is_playing" brief="">
+ </member>
+ </members>
<signals>
- <signal name="frame_changed">
+ <signal name="animation_finished">
<description>
- Emitted when frame is changed.
+ Emitted when the animation is finished (when it plays the last frame). If the animation is looping, this signal is emitted every time the last frame is drawn, before looping.
</description>
</signal>
- <signal name="finished">
+ <signal name="frame_changed">
<description>
- Emitted when the animation is finished (when it plays the last frame). If the animation is looping, this signal is emitted every time the last frame is drawn, before looping.
+ Emitted when frame is changed.
</description>
</signal>
</signals>
@@ -2596,6 +2400,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="animation" type="String" setter="set_animation" getter="get_animation" brief="">
+ </member>
+ <member name="frame" type="int" setter="set_frame" getter="get_frame" brief="">
+ </member>
+ <member name="frames" type="SpriteFrames" setter="set_sprite_frames" getter="get_sprite_frames" brief="">
+ </member>
+ <member name="playing" type="bool" setter="_set_playing" getter="_is_playing" brief="">
+ </member>
+ </members>
<signals>
<signal name="frame_changed">
<description>
@@ -2669,7 +2483,7 @@
</description>
</method>
<method name="method_track_get_key_indices" qualifiers="const">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -2744,6 +2558,14 @@
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_get_interpolation_loop_wrap" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="track_get_interpolation_type" qualifiers="const">
<return type="int">
</return>
@@ -2874,6 +2696,14 @@
Set the given track as imported or not.
</description>
</method>
+ <method name="track_set_interpolation_loop_wrap">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="interpolation" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="track_set_interpolation_type">
<argument index="0" name="idx" type="int">
</argument>
@@ -2943,7 +2773,7 @@
</description>
</method>
<method name="value_track_get_key_indices" qualifiers="const">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -3070,7 +2900,7 @@
</description>
</method>
<method name="get_animation_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Get the list of names of the animations stored in the player.
@@ -3143,7 +2973,7 @@
Return path to root node (see [method set_root]).
</description>
</method>
- <method name="get_speed" qualifiers="const">
+ <method name="get_speed_scale" qualifiers="const">
<return type="float">
</return>
<description>
@@ -3280,7 +3110,7 @@
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="set_speed">
+ <method name="set_speed_scale">
<argument index="0" name="speed" type="float">
</argument>
<description>
@@ -3300,6 +3130,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="playback_default_blend_time" type="float" setter="set_default_blend_time" getter="get_default_blend_time" brief="">
+ </member>
+ <member name="playback_process_mode" type="int" setter="set_animation_process_mode" getter="get_animation_process_mode" brief="">
+ </member>
+ <member name="root_node" type="NodePath" setter="set_root" getter="get_root" brief="">
+ </member>
+ </members>
<signals>
<signal name="animation_changed">
<argument index="0" name="old_name" type="String">
@@ -3310,16 +3148,18 @@
If the currently being played animation changes, this signal will notify of such change.
</description>
</signal>
- <signal name="animation_started">
+ <signal name="animation_finished">
<argument index="0" name="name" type="String">
</argument>
<description>
- Notifies when an animation starts playing.
+ Notifies when an animation finished playing.
</description>
</signal>
- <signal name="finished">
+ <signal name="animation_started">
+ <argument index="0" name="name" type="String">
+ </argument>
<description>
- Notifies when an animation finished playing.
+ Notifies when an animation starts playing.
</description>
</signal>
</signals>
@@ -3398,6 +3238,18 @@
<description>
</description>
</method>
+ <method name="are_nodes_connected" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="id" type="String">
+ </argument>
+ <argument index="1" name="dst_id" type="String">
+ </argument>
+ <argument index="2" name="dst_input_idx" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="blend2_node_get_amount" qualifiers="const">
<return type="float">
</return>
@@ -3456,7 +3308,7 @@
<description>
</description>
</method>
- <method name="connect">
+ <method name="connect_nodes">
<return type="int">
</return>
<argument index="0" name="id" type="String">
@@ -3468,7 +3320,7 @@
<description>
</description>
</method>
- <method name="disconnect">
+ <method name="disconnect_nodes">
<argument index="0" name="id" type="String">
</argument>
<argument index="1" name="dst_input_idx" type="int">
@@ -3495,7 +3347,7 @@
</description>
</method>
<method name="get_node_list">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
</description>
@@ -3506,18 +3358,6 @@
<description>
</description>
</method>
- <method name="is_connected" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="id" type="String">
- </argument>
- <argument index="1" name="dst_id" type="String">
- </argument>
- <argument index="2" name="dst_input_idx" type="int">
- </argument>
- <description>
- </description>
- </method>
<method name="mix_node_get_amount" qualifiers="const">
<return type="float">
</return>
@@ -3848,6 +3688,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="playback_process_mode" type="int" setter="set_animation_process_mode" getter="get_animation_process_mode" brief="">
+ </member>
+ </members>
<constants>
<constant name="NODE_OUTPUT" value="0">
</constant>
@@ -3988,7 +3832,7 @@
Return whether this area can be detected by other, monitoring, areas.
</description>
</method>
- <method name="is_monitoring_enabled" qualifiers="const">
+ <method name="is_monitoring" qualifiers="const">
<return type="bool">
</return>
<description>
@@ -4037,13 +3881,6 @@
Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier.
</description>
</method>
- <method name="set_enable_monitoring">
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- Set whether this area can detect bodies/areas entering/exiting it.
- </description>
- </method>
<method name="set_gravity">
<argument index="0" name="gravity" type="float">
</argument>
@@ -4107,6 +3944,13 @@
Set whether this area can be detected by other, monitoring, areas. Only areas need to be marked as monitorable. Bodies are always so.
</description>
</method>
+ <method name="set_monitoring">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ Set whether this area can detect bodies/areas entering/exiting it.
+ </description>
+ </method>
<method name="set_priority">
<argument index="0" name="priority" type="float">
</argument>
@@ -4128,15 +3972,48 @@
</description>
</method>
</methods>
+ <members>
+ <member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp" brief="">
+ </member>
+ <member name="collision_layers" type="int" setter="set_layer_mask" getter="get_layer_mask" brief="">
+ </member>
+ <member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask" brief="">
+ </member>
+ <member name="gravity" type="float" setter="set_gravity" getter="get_gravity" brief="">
+ </member>
+ <member name="gravity_distance_scale" type="float" setter="set_gravity_distance_scale" getter="get_gravity_distance_scale" brief="">
+ </member>
+ <member name="gravity_point" type="bool" setter="set_gravity_is_point" getter="is_gravity_a_point" brief="">
+ </member>
+ <member name="gravity_vec" type="Vector3" setter="set_gravity_vector" getter="get_gravity_vector" brief="">
+ </member>
+ <member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp" brief="">
+ </member>
+ <member name="monitorable" type="bool" setter="set_monitorable" getter="is_monitorable" brief="">
+ </member>
+ <member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring" brief="">
+ </member>
+ <member name="priority" type="int" setter="set_priority" getter="get_priority" brief="">
+ </member>
+ <member name="space_override" type="int" setter="set_space_override_mode" getter="get_space_override_mode" brief="">
+ </member>
+ </members>
<signals>
- <signal name="area_enter">
+ <signal name="area_entered">
<argument index="0" name="area" type="Object">
</argument>
<description>
This signal is triggered only once when an area enters this area. The only parameter passed is the area that entered this area.
</description>
</signal>
- <signal name="area_enter_shape">
+ <signal name="area_exited">
+ <argument index="0" name="area" type="Object">
+ </argument>
+ <description>
+ This signal is triggered only once when an area exits this area. The only parameter passed is the area that exited this area.
+ </description>
+ </signal>
+ <signal name="area_shape_entered">
<argument index="0" name="area_id" type="int">
</argument>
<argument index="1" name="area" type="Object">
@@ -4149,14 +4026,7 @@
This signal triggers only once when an area enters this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering.
</description>
</signal>
- <signal name="area_exit">
- <argument index="0" name="area" type="Object">
- </argument>
- <description>
- This signal is triggered only once when an area exits this area. The only parameter passed is the area that exited this area.
- </description>
- </signal>
- <signal name="area_exit_shape">
+ <signal name="area_shape_exited">
<argument index="0" name="area_id" type="int">
</argument>
<argument index="1" name="area" type="Object">
@@ -4169,14 +4039,21 @@
This signal triggers only once when an area exits this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering.
</description>
</signal>
- <signal name="body_enter">
+ <signal name="body_entered">
<argument index="0" name="body" type="Object">
</argument>
<description>
This signal is triggered only once when a body enters this area. The only parameter passed is the body that entered this area.
</description>
</signal>
- <signal name="body_enter_shape">
+ <signal name="body_exited">
+ <argument index="0" name="body" type="Object">
+ </argument>
+ <description>
+ This signal is triggered only once when a body exits this area. The only parameter passed is the body that exited this area.
+ </description>
+ </signal>
+ <signal name="body_shape_entered">
<argument index="0" name="body_id" type="int">
</argument>
<argument index="1" name="body" type="Object">
@@ -4189,14 +4066,7 @@
This signal triggers only once when a body enters this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape of the body that entered this area, and the fourth one is the index of the shape in this area that reported the entering.
</description>
</signal>
- <signal name="body_exit">
- <argument index="0" name="body" type="Object">
- </argument>
- <description>
- This signal is triggered only once when a body exits this area. The only parameter passed is the body that exited this area.
- </description>
- </signal>
- <signal name="body_exit_shape">
+ <signal name="body_shape_exited">
<argument index="0" name="body_id" type="int">
</argument>
<argument index="1" name="body" type="Object">
@@ -4330,7 +4200,7 @@
Return whether this area can be detected by other, monitoring, areas.
</description>
</method>
- <method name="is_monitoring_enabled" qualifiers="const">
+ <method name="is_monitoring" qualifiers="const">
<return type="bool">
</return>
<description>
@@ -4379,13 +4249,6 @@
Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier.
</description>
</method>
- <method name="set_enable_monitoring">
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- Set whether this area can detect bodies/areas entering/exiting it.
- </description>
- </method>
<method name="set_gravity">
<argument index="0" name="gravity" type="float">
</argument>
@@ -4449,6 +4312,13 @@
Set whether this area can be detected by other, monitoring, areas. Only areas need to be marked as monitorable. Bodies are always so.
</description>
</method>
+ <method name="set_monitoring">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ Set whether this area can detect bodies/areas entering/exiting it.
+ </description>
+ </method>
<method name="set_priority">
<argument index="0" name="priority" type="float">
</argument>
@@ -4470,15 +4340,48 @@
</description>
</method>
</methods>
+ <members>
+ <member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp" brief="">
+ </member>
+ <member name="collision_layers" type="int" setter="set_layer_mask" getter="get_layer_mask" brief="">
+ </member>
+ <member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask" brief="">
+ </member>
+ <member name="gravity" type="float" setter="set_gravity" getter="get_gravity" brief="">
+ </member>
+ <member name="gravity_distance_scale" type="float" setter="set_gravity_distance_scale" getter="get_gravity_distance_scale" brief="">
+ </member>
+ <member name="gravity_point" type="bool" setter="set_gravity_is_point" getter="is_gravity_a_point" brief="">
+ </member>
+ <member name="gravity_vec" type="Vector2" setter="set_gravity_vector" getter="get_gravity_vector" brief="">
+ </member>
+ <member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp" brief="">
+ </member>
+ <member name="monitorable" type="bool" setter="set_monitorable" getter="is_monitorable" brief="">
+ </member>
+ <member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring" brief="">
+ </member>
+ <member name="priority" type="int" setter="set_priority" getter="get_priority" brief="">
+ </member>
+ <member name="space_override" type="int" setter="set_space_override_mode" getter="get_space_override_mode" brief="">
+ </member>
+ </members>
<signals>
- <signal name="area_enter">
+ <signal name="area_entered">
<argument index="0" name="area" type="Object">
</argument>
<description>
This signal is triggered only once when an area enters this area. The only parameter passed is the area that entered this area.
</description>
</signal>
- <signal name="area_enter_shape">
+ <signal name="area_exited">
+ <argument index="0" name="area" type="Object">
+ </argument>
+ <description>
+ This signal is triggered only once when an area exits this area. The only parameter passed is the area that exited this area.
+ </description>
+ </signal>
+ <signal name="area_shape_entered">
<argument index="0" name="area_id" type="int">
</argument>
<argument index="1" name="area" type="Object">
@@ -4491,14 +4394,7 @@
This signal triggers only once when an area enters this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering.
</description>
</signal>
- <signal name="area_exit">
- <argument index="0" name="area" type="Object">
- </argument>
- <description>
- This signal is triggered only once when an area exits this area. The only parameter passed is the area that exited this area.
- </description>
- </signal>
- <signal name="area_exit_shape">
+ <signal name="area_shape_exited">
<argument index="0" name="area_id" type="int">
</argument>
<argument index="1" name="area" type="Object">
@@ -4511,14 +4407,21 @@
This signal triggers only once when an area exits this area. The first parameter is the area's [RID]. The second one is the area as an object. The third one is the index of the shape entering this area, and the fourth one is the index of the shape in this area that reported the entering.
</description>
</signal>
- <signal name="body_enter">
+ <signal name="body_entered">
<argument index="0" name="body" type="Object">
</argument>
<description>
This signal is triggered only once when a body enters this area. The only parameter passed is the body that entered this area.
</description>
</signal>
- <signal name="body_enter_shape">
+ <signal name="body_exited">
+ <argument index="0" name="body" type="Object">
+ </argument>
+ <description>
+ This signal is triggered only once when a body exits this area. The only parameter passed is the body that exited this area.
+ </description>
+ </signal>
+ <signal name="body_shape_entered">
<argument index="0" name="body_id" type="int">
</argument>
<argument index="1" name="body" type="Object">
@@ -4531,14 +4434,7 @@
This signal triggers only once when a body enters this area. The first parameter is the body's [RID]. The second one is the body as an object. The third one is the index of the shape of the body that entered this area, and the fourth one is the index of the shape in this area that reported the entering.
</description>
</signal>
- <signal name="body_exit">
- <argument index="0" name="body" type="Object">
- </argument>
- <description>
- This signal is triggered only once when a body exits this area. The only parameter passed is the body that exited this area.
- </description>
- </signal>
- <signal name="body_exit_shape">
+ <signal name="body_shape_exited">
<argument index="0" name="body_id" type="int">
</argument>
<argument index="1" name="body" type="Object">
@@ -4566,64 +4462,64 @@
<method name="Array">
<return type="Array">
</return>
- <argument index="0" name="from" type="ColorArray">
+ <argument index="0" name="from" type="PoolColorArray">
</argument>
<description>
- Construct an array from a [RawArray].
+ Construct an array from a [PoolByteArray].
</description>
</method>
<method name="Array">
<return type="Array">
</return>
- <argument index="0" name="from" type="Vector3Array">
+ <argument index="0" name="from" type="PoolVector3Array">
</argument>
<description>
- Construct an array from a [RawArray].
+ Construct an array from a [PoolByteArray].
</description>
</method>
<method name="Array">
<return type="Array">
</return>
- <argument index="0" name="from" type="Vector2Array">
+ <argument index="0" name="from" type="PoolVector2Array">
</argument>
<description>
- Construct an array from a [RawArray].
+ Construct an array from a [PoolByteArray].
</description>
</method>
<method name="Array">
<return type="Array">
</return>
- <argument index="0" name="from" type="StringArray">
+ <argument index="0" name="from" type="PoolStringArray">
</argument>
<description>
- Construct an array from a [RawArray].
+ Construct an array from a [PoolStringArray].
</description>
</method>
<method name="Array">
<return type="Array">
</return>
- <argument index="0" name="from" type="RealArray">
+ <argument index="0" name="from" type="PoolRealArray">
</argument>
<description>
- Construct an array from a [RawArray].
+ Construct an array from a [PoolRealArray].
</description>
</method>
<method name="Array">
<return type="Array">
</return>
- <argument index="0" name="from" type="IntArray">
+ <argument index="0" name="from" type="PoolIntArray">
</argument>
<description>
- Construct an array from a [RawArray].
+ Construct an array from a [PoolByteArray].
</description>
</method>
<method name="Array">
<return type="Array">
</return>
- <argument index="0" name="from" type="RawArray">
+ <argument index="0" name="from" type="PoolByteArray">
</argument>
<description>
- Construct an array from a [RawArray].
+ Construct an array from a [PoolByteArray].
</description>
</method>
<method name="append">
@@ -4633,6 +4529,11 @@
Append an element at the end of the array (alias of [method push_back]).
</description>
</method>
+ <method name="back">
+ <description>
+ Returns the last element of the array if the array is not empty (size&gt;0).
+ </description>
+ </method>
<method name="clear">
<description>
Clear the array (resize to 0).
@@ -4661,20 +4562,6 @@
Remove the first occurrence of a value from the array.
</description>
</method>
- <method name="front">
- <return type="Variant">
- </return>
- <description>
- Returns the first element of the array if the array is not empty (size>0).
- </description>
- </method>
- <method name="back">
- <return type="Variant">
- </return>
- <description>
- Returns the last element of the array if the array is not empty (size>0).
- </description>
- </method>
<method name="find">
<return type="int">
</return>
@@ -4695,6 +4582,11 @@
Searches the array in reverse order for a value and returns its index or -1 if not found.
</description>
</method>
+ <method name="front">
+ <description>
+ Returns the first element of the array if the array is not empty (size&gt;0).
+ </description>
+ </method>
<method name="has">
<return type="bool">
</return>
@@ -4725,13 +4617,6 @@
Reverse the order of the elements in the array (so first element will now be the last).
</description>
</method>
- <method name="is_shared">
- <return type="bool">
- </return>
- <description>
- Get whether this is a shared array instance.
- </description>
- </method>
<method name="pop_back">
<description>
Remove the last element of the array.
@@ -4849,6 +4734,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="atlas" type="Texture" setter="set_atlas" getter="get_atlas" brief="">
+ </member>
+ <member name="margin" type="Rect2" setter="set_margin" getter="get_margin" brief="">
+ </member>
+ <member name="region" type="Rect2" setter="set_region" getter="get_region" brief="">
+ </member>
+ </members>
<signals>
<signal name="atlas_changed">
<description>
@@ -4858,1079 +4751,1875 @@
<constants>
</constants>
</class>
-<class name="AudioServer" inherits="Object" category="Core">
+<class name="AudioBusLayout" inherits="Resource" category="Core">
<brief_description>
- Server interface for low level audio access.
</brief_description>
<description>
- 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="free_rid">
- <argument index="0" name="rid" type="RID">
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffect" inherits="Resource" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectAmplify" inherits="AudioEffect" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_volume_db" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_volume_db">
+ <argument index="0" name="volume" type="float">
</argument>
<description>
- Free a [RID] resource.
</description>
</method>
- <method name="get_event_voice_global_volume_scale" qualifiers="const">
+ </methods>
+ <members>
+ <member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectBandLimitFilter" inherits="AudioEffectFilter" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectBandPassFilter" inherits="AudioEffectFilter" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectChorus" inherits="AudioEffect" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_dry" qualifiers="const">
<return type="float">
</return>
<description>
- Return the global scale for event-based stream playback.
</description>
</method>
- <method name="get_fx_global_volume_scale" qualifiers="const">
- <return type="float">
+ <method name="get_voice_count" qualifiers="const">
+ <return type="int">
</return>
<description>
- Return the global scale for all voices.
</description>
</method>
- <method name="get_stream_global_volume_scale" qualifiers="const">
+ <method name="get_voice_cutoff_hz" qualifiers="const">
<return type="float">
</return>
+ <argument index="0" name="voice_idx" type="int">
+ </argument>
<description>
- Return the global scale for stream playback.
</description>
</method>
- <method name="sample_create">
- <return type="RID">
+ <method name="get_voice_delay_ms" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="format" type="int">
- </argument>
- <argument index="1" name="stereo" type="bool">
- </argument>
- <argument index="2" name="length" type="int">
+ <argument index="0" name="voice_idx" type="int">
</argument>
<description>
- 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 samples, not bytes), in either stereo or mono.
- Even if a stereo sample consists of a left sample and a right sample, it still counts as one sample for length purposes.
</description>
</method>
- <method name="sample_get_data" qualifiers="const">
- <return type="RawArray">
+ <method name="get_voice_depth_ms" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="sample" type="RID">
+ <argument index="0" name="voice_idx" type="int">
</argument>
<description>
- Return the sample data as an array of bytes. The length will be the expected length in bytes.
</description>
</method>
- <method name="sample_get_description" qualifiers="const">
- <return type="String">
+ <method name="get_voice_level_db" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="sample" type="RID">
+ <argument index="0" name="voice_idx" type="int">
</argument>
<description>
- Return the description of an audio sample. Mainly used for organization.
</description>
</method>
- <method name="sample_get_format" qualifiers="const">
- <return type="int">
+ <method name="get_voice_pan" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="sample" type="RID">
+ <argument index="0" name="voice_idx" type="int">
</argument>
<description>
- Return the format of the audio sample, in the form of the SAMPLE_FORMAT_* enum.
</description>
</method>
- <method name="sample_get_length" qualifiers="const">
- <return type="int">
+ <method name="get_voice_rate_hz" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="sample" type="RID">
+ <argument index="0" name="voice_idx" type="int">
</argument>
<description>
- Return the length in samples (not bytes) of the audio sample. Even if a stereo sample consists of a left sample and a right sample, it still counts as one sample for length purposes.
</description>
</method>
- <method name="sample_get_loop_begin" qualifiers="const">
- <return type="int">
+ <method name="get_wet" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="sample" type="RID">
- </argument>
<description>
- 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_get_loop_end" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="sample" type="RID">
+ <method name="set_dry">
+ <argument index="0" name="amount" type="float">
</argument>
<description>
- 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="sample_get_loop_format" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="sample" type="RID">
+ <method name="set_voice_count">
+ <argument index="0" name="voices" type="int">
</argument>
<description>
- Return the loop format for a sample, as a value from the SAMPLE_LOOP_* enum.
</description>
</method>
- <method name="sample_get_mix_rate" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="sample" type="RID">
+ <method name="set_voice_cutoff_hz">
+ <argument index="0" name="voice_idx" type="int">
+ </argument>
+ <argument index="1" name="cutoff_hz" type="float">
</argument>
<description>
- Return the mix rate of the given sample.
</description>
</method>
- <method name="sample_is_stereo" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="sample" type="RID">
+ <method name="set_voice_delay_ms">
+ <argument index="0" name="voice_idx" type="int">
+ </argument>
+ <argument index="1" name="delay_ms" type="float">
</argument>
<description>
- Return whether the sample is stereo (2 channels).
</description>
</method>
- <method name="sample_set_data">
- <argument index="0" name="sample" type="RID">
+ <method name="set_voice_depth_ms">
+ <argument index="0" name="voice_idx" type="int">
</argument>
- <argument index="1" name="data" type="RawArray">
+ <argument index="1" name="depth_ms" type="float">
</argument>
<description>
- Set the sample data for a given sample as an array of bytes. The length must be equal to the sample length expected in bytes or an error will be produced. The byte length can be calculated as follows:
- Get the sample length ([method sample_get_length]).
- If the sample format is SAMPLE_FORMAT_PCM16, multiply it by 2.
- If the sample format is SAMPLE_FORMAT_IMA_ADPCM, divide it by 2 (rounding any fraction up), then add 4.
- If the sample is stereo ([method sample_is_stereo]), multiply it by 2.
</description>
</method>
- <method name="sample_set_description">
- <argument index="0" name="sample" type="RID">
+ <method name="set_voice_level_db">
+ <argument index="0" name="voice_idx" type="int">
</argument>
- <argument index="1" name="description" type="String">
+ <argument index="1" name="level_db" type="float">
</argument>
<description>
- Set the description of an audio sample. Mainly used for organization.
</description>
</method>
- <method name="sample_set_loop_begin">
- <argument index="0" name="sample" type="RID">
+ <method name="set_voice_pan">
+ <argument index="0" name="voice_idx" type="int">
</argument>
- <argument index="1" name="pos" type="int">
+ <argument index="1" name="pan" type="float">
</argument>
<description>
- 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_set_loop_end">
- <argument index="0" name="sample" type="RID">
+ <method name="set_voice_rate_hz">
+ <argument index="0" name="voice_idx" type="int">
</argument>
- <argument index="1" name="pos" type="int">
+ <argument index="1" name="rate_hz" type="float">
</argument>
<description>
- 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_set_loop_format">
- <argument index="0" name="sample" type="RID">
- </argument>
- <argument index="1" name="loop_format" type="int">
+ <method name="set_wet">
+ <argument index="0" name="amount" type="float">
</argument>
<description>
- 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_set_mix_rate">
- <argument index="0" name="sample" type="RID">
+ </methods>
+ <members>
+ <member name="dry" type="float" setter="set_dry" getter="get_dry" brief="">
+ </member>
+ <member name="voice/1/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" brief="">
+ </member>
+ <member name="voice/1/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" brief="">
+ </member>
+ <member name="voice/1/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" brief="">
+ </member>
+ <member name="voice/1/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" brief="">
+ </member>
+ <member name="voice/1/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" brief="">
+ </member>
+ <member name="voice/1/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" brief="">
+ </member>
+ <member name="voice/2/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" brief="">
+ </member>
+ <member name="voice/2/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" brief="">
+ </member>
+ <member name="voice/2/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" brief="">
+ </member>
+ <member name="voice/2/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" brief="">
+ </member>
+ <member name="voice/2/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" brief="">
+ </member>
+ <member name="voice/2/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" brief="">
+ </member>
+ <member name="voice/3/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" brief="">
+ </member>
+ <member name="voice/3/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" brief="">
+ </member>
+ <member name="voice/3/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" brief="">
+ </member>
+ <member name="voice/3/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" brief="">
+ </member>
+ <member name="voice/3/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" brief="">
+ </member>
+ <member name="voice/3/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" brief="">
+ </member>
+ <member name="voice/4/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" brief="">
+ </member>
+ <member name="voice/4/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" brief="">
+ </member>
+ <member name="voice/4/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" brief="">
+ </member>
+ <member name="voice/4/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" brief="">
+ </member>
+ <member name="voice/4/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" brief="">
+ </member>
+ <member name="voice/4/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" brief="">
+ </member>
+ <member name="voice_count" type="int" setter="set_voice_count" getter="get_voice_count" brief="">
+ </member>
+ <member name="wet" type="float" setter="set_wet" getter="get_wet" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectCompressor" inherits="AudioEffect" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_attack_us" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_gain" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_mix" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ratio" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_release_ms" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_sidechain" qualifiers="const">
+ <return type="String">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_treshold" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_attack_us">
+ <argument index="0" name="attack_us" type="float">
</argument>
- <argument index="1" name="mix_rate" type="int">
+ <description>
+ </description>
+ </method>
+ <method name="set_gain">
+ <argument index="0" name="gain" type="float">
</argument>
<description>
- Change the default mix rate of a given sample.
</description>
</method>
- <method name="sample_set_signed_data">
- <argument index="0" name="sample" type="RID">
+ <method name="set_mix">
+ <argument index="0" name="mix" type="float">
</argument>
- <argument index="1" name="data" type="RealArray">
+ <description>
+ </description>
+ </method>
+ <method name="set_ratio">
+ <argument index="0" name="ratio" type="float">
</argument>
<description>
- Set the sample data for a given sample as an array of floats. The length must be equal to the sample length or an error will be produced.
- For this method, a stereo sample is made from two samples. Thus, in case of a stereo sample, the array length must be twice the length returned by [method sample_get_length].
- Trying to alter a SAMPLE_FORMAT_IMA_ADPCM sample is not supported. It will throw an error to the console, but will not alter the sample data.
</description>
</method>
- <method name="set_event_voice_global_volume_scale">
- <argument index="0" name="scale" type="float">
+ <method name="set_release_ms">
+ <argument index="0" name="release_ms" type="float">
</argument>
<description>
- Set global scale for event-based stream ([EventStream]) playback. Default is 1.0.
</description>
</method>
- <method name="set_fx_global_volume_scale">
- <argument index="0" name="scale" type="float">
+ <method name="set_sidechain">
+ <argument index="0" name="sidechain" type="String">
</argument>
<description>
- Set global scale for all voices (not including streams). Default is 1.0.
</description>
</method>
- <method name="set_stream_global_volume_scale">
- <argument index="0" name="scale" type="float">
+ <method name="set_treshold">
+ <argument index="0" name="treshold" type="float">
</argument>
<description>
- Set global scale for stream playback. Default is 1.0.
</description>
</method>
- <method name="voice_create">
- <return type="RID">
+ </methods>
+ <members>
+ <member name="attack_us" type="float" setter="set_attack_us" getter="get_attack_us" brief="">
+ </member>
+ <member name="gain" type="float" setter="set_gain" getter="get_gain" brief="">
+ </member>
+ <member name="mix" type="float" setter="set_mix" getter="get_mix" brief="">
+ </member>
+ <member name="ratio" type="float" setter="set_ratio" getter="get_ratio" brief="">
+ </member>
+ <member name="release_ms" type="float" setter="set_release_ms" getter="get_release_ms" brief="">
+ </member>
+ <member name="sidechain" type="float" setter="set_sidechain" getter="get_sidechain" brief="">
+ </member>
+ <member name="treshold" type="float" setter="set_treshold" getter="get_treshold" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectDelay" inherits="AudioEffect" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_dry">
+ <return type="float">
</return>
<description>
- 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_get_chorus" qualifiers="const">
+ <method name="get_feedback_delay_ms" qualifiers="const">
<return type="float">
</return>
- <argument index="0" name="voice" type="RID">
- </argument>
<description>
- Return the current chorus send for a given voice (0 to 1).
</description>
</method>
- <method name="voice_get_filter_cutoff" qualifiers="const">
+ <method name="get_feedback_level_db" 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 voice.
</description>
</method>
- <method name="voice_get_filter_resonance" qualifiers="const">
+ <method name="get_feedback_lowpass" qualifiers="const">
<return type="float">
</return>
- <argument index="0" name="voice" type="RID">
- </argument>
<description>
- Return the current filter resonance for a given voice.
</description>
</method>
- <method name="voice_get_filter_type" qualifiers="const">
- <return type="int">
+ <method name="get_tap1_delay_ms" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="voice" type="RID">
- </argument>
<description>
- Return the current selected filter type for a given voice, from the FILTER_* enum.
</description>
</method>
- <method name="voice_get_mix_rate" qualifiers="const">
- <return type="int">
+ <method name="get_tap1_level_db" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="voice" type="RID">
- </argument>
<description>
- Return the current mix rate for a given voice.
</description>
</method>
- <method name="voice_get_pan" qualifiers="const">
+ <method name="get_tap1_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 range).
</description>
</method>
- <method name="voice_get_pan_depth" qualifiers="const">
+ <method name="get_tap2_delay_ms" 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 range).
</description>
</method>
- <method name="voice_get_pan_height" qualifiers="const">
+ <method name="get_tap2_level_db" 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 range).
</description>
</method>
- <method name="voice_get_reverb" qualifiers="const">
+ <method name="get_tap2_pan" qualifiers="const">
<return type="float">
</return>
- <argument index="0" name="voice" type="RID">
- </argument>
<description>
- Return the current reverb send for a given voice (0 to 1).
</description>
</method>
- <method name="voice_get_reverb_type" qualifiers="const">
- <return type="int">
+ <method name="is_feedback_active" qualifiers="const">
+ <return type="bool">
</return>
- <argument index="0" name="voice" type="RID">
- </argument>
<description>
- Return the current reverb type for a given voice from the REVERB_* enum.
</description>
</method>
- <method name="voice_get_volume" qualifiers="const">
- <return type="float">
+ <method name="is_tap1_active" qualifiers="const">
+ <return type="bool">
</return>
- <argument index="0" name="voice" type="RID">
- </argument>
<description>
- Return the current volume for a given voice.
</description>
</method>
- <method name="voice_is_positional" qualifiers="const">
+ <method name="is_tap2_active" qualifiers="const">
<return type="bool">
</return>
- <argument index="0" name="voice" type="RID">
- </argument>
<description>
- Return whether the current voice is positional. See [method voice_set_positional].
</description>
</method>
- <method name="voice_play">
- <argument index="0" name="voice" type="RID">
- </argument>
- <argument index="1" name="sample" type="RID">
+ <method name="set_dry">
+ <argument index="0" name="amount" type="float">
</argument>
<description>
- 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_chorus">
- <argument index="0" name="voice" type="RID">
- </argument>
- <argument index="1" name="chorus" type="float">
+ <method name="set_feedback_active">
+ <argument index="0" name="amount" type="bool">
</argument>
<description>
- Set chorus send post processing for the voice (from 0 to 1).
</description>
</method>
- <method name="voice_set_filter">
- <argument index="0" name="voice" type="RID">
- </argument>
- <argument index="1" name="type" type="int">
- </argument>
- <argument index="2" name="cutoff" type="float">
- </argument>
- <argument index="3" name="resonance" type="float">
- </argument>
- <argument index="4" name="gain" type="float" default="0">
+ <method name="set_feedback_delay_ms">
+ <argument index="0" name="amount" type="float">
</argument>
<description>
- Set a resonant filter post processing for the voice. Filter type is a value from the FILTER_* enum.
</description>
</method>
- <method name="voice_set_mix_rate">
- <argument index="0" name="voice" type="RID">
- </argument>
- <argument index="1" name="rate" type="int">
+ <method name="set_feedback_level_db">
+ <argument index="0" name="amount" type="float">
</argument>
<description>
- Set a different playback mix rate for the given voice.
</description>
</method>
- <method name="voice_set_pan">
- <argument index="0" name="voice" type="RID">
- </argument>
- <argument index="1" name="pan" type="float">
- </argument>
- <argument index="2" name="depth" type="float" default="0">
- </argument>
- <argument index="3" name="height" type="float" default="0">
+ <method name="set_feedback_lowpass">
+ <argument index="0" name="amount" type="float">
</argument>
<description>
- 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_positional">
- <argument index="0" name="voice" type="RID">
+ <method name="set_tap1_active">
+ <argument index="0" name="amount" type="bool">
</argument>
- <argument index="1" name="enabled" type="bool">
+ <description>
+ </description>
+ </method>
+ <method name="set_tap1_delay_ms">
+ <argument index="0" name="amount" type="float">
</argument>
<description>
- Set whether 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_set_reverb">
- <argument index="0" name="voice" type="RID">
+ <method name="set_tap1_level_db">
+ <argument index="0" name="amount" type="float">
</argument>
- <argument index="1" name="room" type="int">
+ <description>
+ </description>
+ </method>
+ <method name="set_tap1_pan">
+ <argument index="0" name="amount" type="float">
</argument>
- <argument index="2" name="reverb" type="float">
+ <description>
+ </description>
+ </method>
+ <method name="set_tap2_active">
+ <argument index="0" name="amount" type="bool">
</argument>
<description>
- 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_volume">
- <argument index="0" name="voice" type="RID">
+ <method name="set_tap2_delay_ms">
+ <argument index="0" name="amount" type="float">
</argument>
- <argument index="1" name="volume" type="float">
+ <description>
+ </description>
+ </method>
+ <method name="set_tap2_level_db">
+ <argument index="0" name="amount" type="float">
</argument>
<description>
- 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_stop">
- <argument index="0" name="voice" type="RID">
+ <method name="set_tap2_pan">
+ <argument index="0" name="amount" type="float">
</argument>
<description>
- Stop a given voice.
</description>
</method>
</methods>
+ <members>
+ <member name="dry" type="float" setter="set_dry" getter="get_dry" brief="">
+ </member>
+ <member name="feedback/active" type="bool" setter="set_feedback_active" getter="is_feedback_active" brief="">
+ </member>
+ <member name="feedback/delay_ms" type="float" setter="set_feedback_delay_ms" getter="get_feedback_delay_ms" brief="">
+ </member>
+ <member name="feedback/level_db" type="float" setter="set_feedback_level_db" getter="get_feedback_level_db" brief="">
+ </member>
+ <member name="feedback/lowpass" type="float" setter="set_feedback_lowpass" getter="get_feedback_lowpass" brief="">
+ </member>
+ <member name="tap1/active" type="bool" setter="set_tap1_active" getter="is_tap1_active" brief="">
+ </member>
+ <member name="tap1/delay_ms" type="float" setter="set_tap1_delay_ms" getter="get_tap1_delay_ms" brief="">
+ </member>
+ <member name="tap1/level_db" type="float" setter="set_tap1_level_db" getter="get_tap1_level_db" brief="">
+ </member>
+ <member name="tap1/pan" type="float" setter="set_tap1_pan" getter="get_tap1_pan" brief="">
+ </member>
+ <member name="tap2/active" type="bool" setter="set_tap2_active" getter="is_tap2_active" brief="">
+ </member>
+ <member name="tap2/delay_ms" type="float" setter="set_tap2_delay_ms" getter="get_tap2_delay_ms" brief="">
+ </member>
+ <member name="tap2/level_db" type="float" setter="set_tap2_level_db" getter="get_tap2_level_db" brief="">
+ </member>
+ <member name="tap2/pan" type="float" setter="set_tap2_pan" getter="get_tap2_pan" brief="">
+ </member>
+ </members>
<constants>
- <constant name="SAMPLE_FORMAT_PCM8" value="0">
- Sample format is 8 bits, signed.
- </constant>
- <constant name="SAMPLE_FORMAT_PCM16" value="1">
- Sample format is 16 bits, little-endian, signed.
- </constant>
- <constant name="SAMPLE_FORMAT_IMA_ADPCM" value="2">
- Sample format is IMA-ADPCM compressed.
- </constant>
- <constant name="SAMPLE_LOOP_NONE" value="0">
- Sample does not loop.
- </constant>
- <constant name="SAMPLE_LOOP_FORWARD" value="1">
- Sample loops in forward mode.
- </constant>
- <constant name="SAMPLE_LOOP_PING_PONG" value="2">
- Sample loops in a bidirectional way.
- </constant>
- <constant name="FILTER_NONE" value="0">
- Filter is disabled.
- </constant>
- <constant name="FILTER_LOWPASS" value="1">
- Filter is a resonant lowpass.
- </constant>
- <constant name="FILTER_BANDPASS" value="2">
- Filter is a resonant bandpass.
- </constant>
- <constant name="FILTER_HIPASS" value="3">
- Filter is a resonant highpass.
- </constant>
- <constant name="FILTER_NOTCH" value="4">
- Filter is a notch (band reject).
- </constant>
- <constant name="FILTER_BANDLIMIT" value="6">
- Filter is a bandlimit (resonance used as highpass).
- </constant>
- <constant name="REVERB_SMALL" value="0">
- Small reverb room (closet, bathroom, etc).
- </constant>
- <constant name="REVERB_MEDIUM" value="1">
- Medium reverb room (living room)
- </constant>
- <constant name="REVERB_LARGE" value="2">
- Large reverb room (warehouse).
- </constant>
- <constant name="REVERB_HALL" value="3">
- Large reverb room with long decay.
- </constant>
</constants>
</class>
-<class name="AudioServerSW" inherits="AudioServer" category="Core">
+<class name="AudioEffectDistortion" inherits="AudioEffect" category="Core">
<brief_description>
- Software implementation of [AudioServer].
</brief_description>
<description>
- This is a software audio server. It does not use any kind of hardware acceleration.
- This class does not expose any new method.
</description>
<methods>
+ <method name="get_drive" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_keep_hf_hz" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_post_gain" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_pre_gain" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_drive">
+ <argument index="0" name="drive" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_keep_hf_hz">
+ <argument index="0" name="keep_hf_hz" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_post_gain">
+ <argument index="0" name="post_gain" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_pre_gain">
+ <argument index="0" name="pre_gain" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
</methods>
+ <members>
+ <member name="drive" type="float" setter="set_drive" getter="get_drive" brief="">
+ </member>
+ <member name="keep_hf_hz" type="float" setter="set_keep_hf_hz" getter="get_keep_hf_hz" brief="">
+ </member>
+ <member name="mode" type="int" setter="set_mode" getter="get_mode" brief="">
+ </member>
+ <member name="post_gain" type="float" setter="set_post_gain" getter="get_post_gain" brief="">
+ </member>
+ <member name="pre_gain" type="float" setter="set_pre_gain" getter="get_pre_gain" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
-<class name="AudioStream" inherits="Resource" category="Core">
+<class name="AudioEffectEQ" inherits="AudioEffect" category="Core">
<brief_description>
- Base class for audio streams.
</brief_description>
<description>
- Base class for audio streams. Audio streams are used for music playback, or other types of streamed sounds that don't fit or require more flexibility than a [Sample].
</description>
<methods>
+ <method name="get_band_count" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_band_gain_db" qualifiers="const">
+ <return type="float">
+ </return>
+ <argument index="0" name="band_idx" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_band_gain_db">
+ <argument index="0" name="band_idx" type="int">
+ </argument>
+ <argument index="1" name="volume_db" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
</methods>
<constants>
</constants>
</class>
-<class name="AudioStreamMPC" inherits="AudioStream" category="Core">
+<class name="AudioEffectEQ10" inherits="AudioEffectEQ" 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">
+<class name="AudioEffectEQ21" inherits="AudioEffectEQ" 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">
+<class name="AudioEffectEQ6" inherits="AudioEffectEQ" 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">
+<class name="AudioEffectFilter" inherits="AudioEffect" category="Core">
<brief_description>
</brief_description>
<description>
</description>
<methods>
- <method name="get_channels" qualifiers="const">
+ <method name="get_cutoff" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_db" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="get_length" qualifiers="const">
+ <method name="get_gain" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_loop_count" qualifiers="const">
- <return type="int">
+ <method name="get_resonance" qualifiers="const">
+ <return type="float">
</return>
<description>
</description>
</method>
- <method name="get_minimum_buffer_size" qualifiers="const">
- <return type="int">
- </return>
+ <method name="set_cutoff">
+ <argument index="0" name="freq" type="float">
+ </argument>
<description>
</description>
</method>
- <method name="get_mix_rate" qualifiers="const">
- <return type="int">
+ <method name="set_db">
+ <argument index="0" name="amount" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_gain">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_resonance">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="cutoff_hz" type="float" setter="set_cutoff" getter="get_cutoff" brief="">
+ </member>
+ <member name="dB" type="int" setter="set_db" getter="get_db" brief="">
+ </member>
+ <member name="gain" type="float" setter="set_gain" getter="get_gain" brief="">
+ </member>
+ <member name="resonance" type="float" setter="set_resonance" getter="get_resonance" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectHighPassFilter" inherits="AudioEffectFilter" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectHighShelfFilter" inherits="AudioEffectFilter" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectLimiter" inherits="AudioEffect" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_ceiling_db" qualifiers="const">
+ <return type="float">
</return>
<description>
</description>
</method>
- <method name="get_pos" qualifiers="const">
+ <method name="get_soft_clip_db" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="has_loop" qualifiers="const">
- <return type="bool">
+ <method name="get_soft_clip_ratio" qualifiers="const">
+ <return type="float">
</return>
<description>
</description>
</method>
- <method name="is_playing" qualifiers="const">
- <return type="bool">
+ <method name="get_treshold_db" qualifiers="const">
+ <return type="float">
</return>
<description>
</description>
</method>
- <method name="play">
- <argument index="0" name="from_pos_sec" type="float" default="0">
+ <method name="set_ceiling_db">
+ <argument index="0" name="ceiling" type="float">
</argument>
<description>
</description>
</method>
- <method name="seek_pos">
- <argument index="0" name="pos" type="float">
+ <method name="set_soft_clip_db">
+ <argument index="0" name="soft_clip" type="float">
</argument>
<description>
</description>
</method>
- <method name="set_loop">
- <argument index="0" name="enabled" type="bool">
+ <method name="set_soft_clip_ratio">
+ <argument index="0" name="soft_clip" type="float">
</argument>
<description>
</description>
</method>
- <method name="stop">
+ <method name="set_treshold_db">
+ <argument index="0" name="treshold" type="float">
+ </argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="ceiling_db" type="float" setter="set_ceiling_db" getter="get_ceiling_db" brief="">
+ </member>
+ <member name="soft_clip_db" type="float" setter="set_soft_clip_db" getter="get_soft_clip_db" brief="">
+ </member>
+ <member name="soft_clip_ratio" type="float" setter="set_soft_clip_ratio" getter="get_soft_clip_ratio" brief="">
+ </member>
+ <member name="treshold_db" type="float" setter="set_treshold_db" getter="get_treshold_db" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectLowPassFilter" inherits="AudioEffectFilter" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ </methods>
<constants>
</constants>
</class>
-<class name="BackBufferCopy" inherits="Node2D" category="Core">
+<class name="AudioEffectLowShelfFilter" inherits="AudioEffectFilter" category="Core">
<brief_description>
- Copies a region of the screen (or the whole screen) to a buffer so it can be accessed with the texscreen() shader instruction.
</brief_description>
<description>
- Node for back-buffering the currently displayed screen. The region defined in the BackBufferCopy node is bufferized with the content of the screen it covers, or the entire screen according to the copy mode set. Accessing this buffer is done with the texscreen() shader instruction.
</description>
<methods>
- <method name="get_copy_mode" qualifiers="const">
- <return type="int">
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectNotchFilter" inherits="AudioEffectFilter" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectPanner" inherits="AudioEffect" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_pan" qualifiers="const">
+ <return type="float">
</return>
<description>
- Return the copy mode currently applied to the BackBufferCopy (refer to constants section).
</description>
</method>
- <method name="get_rect" qualifiers="const">
- <return type="Rect2">
+ <method name="set_pan">
+ <argument index="0" name="cpanume" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="pan" type="float" setter="set_pan" getter="get_pan" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectPhaser" inherits="AudioEffect" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_depth" qualifiers="const">
+ <return type="float">
</return>
<description>
- Return the area covered by the BackBufferCopy.
</description>
</method>
- <method name="set_copy_mode">
- <argument index="0" name="copy_mode" type="int">
+ <method name="get_feedback" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_range_max_hz" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_range_min_hz" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_rate_hz" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_depth">
+ <argument index="0" name="depth" type="float">
</argument>
<description>
- Set the copy mode of the BackBufferCopy (refer to constants section).
</description>
</method>
- <method name="set_rect">
- <argument index="0" name="rect" type="Rect2">
+ <method name="set_feedback">
+ <argument index="0" name="fbk" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_range_max_hz">
+ <argument index="0" name="hz" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_range_min_hz">
+ <argument index="0" name="hz" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_rate_hz">
+ <argument index="0" name="hz" type="float">
</argument>
<description>
- Defines the area covered by the BackBufferCopy.
</description>
</method>
</methods>
+ <members>
+ <member name="depth" type="float" setter="set_depth" getter="get_depth" brief="">
+ </member>
+ <member name="feedback" type="float" setter="set_feedback" getter="get_feedback" brief="">
+ </member>
+ <member name="range_max_hz" type="float" setter="set_range_max_hz" getter="get_range_max_hz" brief="">
+ </member>
+ <member name="range_min_hz" type="float" setter="set_range_min_hz" getter="get_range_min_hz" brief="">
+ </member>
+ <member name="rate_hz" type="float" setter="set_rate_hz" getter="get_rate_hz" brief="">
+ </member>
+ </members>
<constants>
- <constant name="COPY_MODE_DISABLED" value="0">
- Disables the buffering mode. This means the BackBufferCopy node will directly use the portion of screen it covers.
- </constant>
- <constant name="COPY_MODE_RECT" value="1">
- Sets the copy mode to a region.
- </constant>
- <constant name="COPY_MODE_VIEWPORT" value="2">
- Sets the copy mode to the entire screen.
- </constant>
</constants>
</class>
-<class name="BakedLight" inherits="Resource" category="Core">
+<class name="AudioEffectPitchShift" inherits="AudioEffect" category="Core">
<brief_description>
</brief_description>
<description>
</description>
<methods>
- <method name="add_lightmap">
- <argument index="0" name="texture" type="Texture">
- </argument>
- <argument index="1" name="gen_size" type="Vector2">
- </argument>
+ <method name="get_pitch_scale" qualifiers="const">
+ <return type="float">
+ </return>
<description>
</description>
</method>
- <method name="clear_lightmaps">
+ <method name="set_pitch_scale">
+ <argument index="0" name="rate" type="float">
+ </argument>
<description>
</description>
</method>
- <method name="erase_lightmap">
- <argument index="0" name="id" type="int">
- </argument>
+ </methods>
+ <members>
+ <member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectReverb" inherits="AudioEffect" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_damping" qualifiers="const">
+ <return type="float">
+ </return>
<description>
</description>
</method>
- <method name="get_ao_radius" qualifiers="const">
+ <method name="get_dry" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_ao_strength" qualifiers="const">
+ <method name="get_hpf" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_bake_flag" qualifiers="const">
- <return type="bool">
+ <method name="get_predelay_feedback" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="flag" type="int">
- </argument>
<description>
</description>
</method>
- <method name="get_bounces" qualifiers="const">
- <return type="int">
+ <method name="get_predelay_msec" qualifiers="const">
+ <return type="float">
</return>
<description>
</description>
</method>
- <method name="get_cell_extra_margin" qualifiers="const">
+ <method name="get_room_size" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_cell_subdivision" qualifiers="const">
- <return type="int">
+ <method name="get_spread" qualifiers="const">
+ <return type="float">
</return>
<description>
</description>
</method>
- <method name="get_edge_damp" qualifiers="const">
+ <method name="get_wet" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_energy_multiplier" qualifiers="const">
+ <method name="set_damping">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_dry">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_hpf">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_predelay_feedback">
+ <argument index="0" name="feedback" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_predelay_msec">
+ <argument index="0" name="msec" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_room_size">
+ <argument index="0" name="size" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_spread">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_wet">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="damping" type="float" setter="set_damping" getter="get_damping" brief="">
+ </member>
+ <member name="dry" type="float" setter="set_dry" getter="get_dry" brief="">
+ </member>
+ <member name="hipass" type="float" setter="set_hpf" getter="get_hpf" brief="">
+ </member>
+ <member name="predelay_feedback" type="float" setter="set_predelay_msec" getter="get_predelay_msec" brief="">
+ </member>
+ <member name="predelay_msec" type="float" setter="set_predelay_msec" getter="get_predelay_msec" brief="">
+ </member>
+ <member name="room_size" type="float" setter="set_room_size" getter="get_room_size" brief="">
+ </member>
+ <member name="spread" type="float" setter="set_spread" getter="get_spread" brief="">
+ </member>
+ <member name="wet" type="float" setter="set_wet" getter="get_wet" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioEffectStereoEnhance" inherits="AudioEffect" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_pan_pullout" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_format" qualifiers="const">
- <return type="int">
+ <method name="get_surround" qualifiers="const">
+ <return type="float">
</return>
<description>
</description>
</method>
- <method name="get_gamma_adjust" qualifiers="const">
+ <method name="get_time_pullout" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_initial_lattice_subdiv" qualifiers="const">
- <return type="int">
- </return>
+ <method name="set_pan_pullout">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_surround">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_time_pullout">
+ <argument index="0" name="amount" type="float">
+ </argument>
<description>
</description>
</method>
- <method name="get_light" qualifiers="const">
- <return type="RawArray">
+ </methods>
+ <members>
+ <member name="pan_pullout" type="float" setter="set_pan_pullout" getter="get_pan_pullout" brief="">
+ </member>
+ <member name="surround" type="float" setter="set_surround" getter="get_surround" brief="">
+ </member>
+ <member name="time_pullout_ms" type="float" setter="set_time_pullout" getter="get_time_pullout" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioPlayer" inherits="Node" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_bus" qualifiers="const">
+ <return type="String">
</return>
<description>
</description>
</method>
- <method name="get_mode" qualifiers="const">
+ <method name="get_mix_target" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="get_normal_damp" qualifiers="const">
+ <method name="get_pos">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_octree" qualifiers="const">
- <return type="RawArray">
+ <method name="get_stream" qualifiers="const">
+ <return type="Object">
</return>
<description>
</description>
</method>
- <method name="get_plot_size" qualifiers="const">
+ <method name="get_volume_db" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_realtime_color" qualifiers="const">
- <return type="Color">
+ <method name="is_autoplay_enabled">
+ <return type="bool">
</return>
<description>
</description>
</method>
- <method name="get_realtime_color_enabled" qualifiers="const">
+ <method name="is_playing" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
- <method name="get_realtime_energy" qualifiers="const">
- <return type="float">
- </return>
+ <method name="play">
+ <argument index="0" name="from_pos" type="float" default="0">
+ </argument>
<description>
</description>
</method>
- <method name="get_sampler_octree" qualifiers="const">
- <return type="IntArray">
- </return>
+ <method name="seek">
+ <argument index="0" name="to_pos" type="float">
+ </argument>
<description>
</description>
</method>
- <method name="get_saturation" qualifiers="const">
- <return type="float">
+ <method name="set_autoplay">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_bus">
+ <argument index="0" name="bus" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_mix_target">
+ <argument index="0" name="mix_target" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_stream">
+ <argument index="0" name="stream" type="AudioStream">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_volume_db">
+ <argument index="0" name="volume_db" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="stop">
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="autoplay" type="bool" setter="set_autoplay" getter="is_autoplay_enabled" brief="">
+ </member>
+ <member name="bus" type="String" setter="set_bus" getter="get_bus" brief="">
+ </member>
+ <member name="mix_target" type="int" setter="set_mix_target" getter="get_mix_target" brief="">
+ </member>
+ <member name="playing" type="bool" setter="_set_playing" getter="_is_active" brief="">
+ </member>
+ <member name="stream" type="AudioStream" setter="set_stream" getter="get_stream" brief="">
+ </member>
+ <member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="AudioServer" inherits="Object" category="Core">
+ <brief_description>
+ Server interface for low level audio access.
+ </brief_description>
+ <description>
+ 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="add_bus">
+ <argument index="0" name="at_pos" type="int" default="-1">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="add_bus_effect">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="effect" type="AudioEffect">
+ </argument>
+ <argument index="2" name="arg2" type="int" default="-1">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="generate_bus_layout" qualifiers="const">
+ <return type="AudioBusLayout">
</return>
<description>
</description>
</method>
- <method name="get_tint" qualifiers="const">
- <return type="float">
+ <method name="get_bus_count" qualifiers="const">
+ <return type="int">
</return>
<description>
</description>
</method>
- <method name="get_transfer_lightmaps_only_to_uv2" qualifiers="const">
- <return type="bool">
+ <method name="get_bus_effect">
+ <return type="AudioEffect">
</return>
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="effect_idx" type="int">
+ </argument>
<description>
</description>
</method>
- <method name="set_ao_radius">
- <argument index="0" name="ao_radius" type="float">
+ <method name="get_bus_effect_count">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="arg1" type="Object">
+ </argument>
+ <argument index="2" name="arg2" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_ao_strength">
- <argument index="0" name="ao_strength" type="float">
+ <method name="get_bus_name" qualifiers="const">
+ <return type="String">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_bake_flag">
- <argument index="0" name="flag" type="int">
+ <method name="get_bus_peak_volume_left_db" qualifiers="const">
+ <return type="float">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
</argument>
- <argument index="1" name="enabled" type="bool">
+ <argument index="1" name="channel" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_bounces">
- <argument index="0" name="bounces" type="int">
+ <method name="get_bus_peak_volume_right_db" qualifiers="const">
+ <return type="float">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="channel" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_cell_extra_margin">
- <argument index="0" name="cell_extra_margin" type="float">
+ <method name="get_bus_send" qualifiers="const">
+ <return type="String">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_cell_subdivision">
- <argument index="0" name="cell_subdivision" type="int">
+ <method name="get_bus_volume_db" qualifiers="const">
+ <return type="float">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_edge_damp">
- <argument index="0" name="edge_damp" type="float">
+ <method name="get_mix_rate" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_speaker_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_bus_bypassing_effects" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_energy_multiplier">
- <argument index="0" name="energy_multiplier" type="float">
+ <method name="is_bus_effect_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="effect_idx" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_format">
- <argument index="0" name="format" type="int">
+ <method name="is_bus_mute" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_gamma_adjust">
- <argument index="0" name="gamma_adjust" type="float">
+ <method name="is_bus_solo" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="bus_idx" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_initial_lattice_subdiv">
- <argument index="0" name="cell_subdivision" type="int">
+ <method name="lock">
+ <description>
+ </description>
+ </method>
+ <method name="move_bus">
+ <argument index="0" name="index" type="int">
+ </argument>
+ <argument index="1" name="to_index" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_light">
- <argument index="0" name="light" type="RawArray">
+ <method name="remove_bus">
+ <argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_mode">
- <argument index="0" name="mode" type="int">
+ <method name="remove_bus_effect">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="effect_idx" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_normal_damp">
- <argument index="0" name="normal_damp" type="float">
+ <method name="set_bus_bypass_effects">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="enable" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_octree">
- <argument index="0" name="octree" type="RawArray">
+ <method name="set_bus_count">
+ <argument index="0" name="amount" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_plot_size">
- <argument index="0" name="plot_size" type="float">
+ <method name="set_bus_effect_enabled">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="effect_idx" type="int">
+ </argument>
+ <argument index="2" name="enabled" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_realtime_color">
- <argument index="0" name="tint" type="Color">
+ <method name="set_bus_layout">
+ <argument index="0" name="bus_layout" type="AudioBusLayout">
</argument>
<description>
</description>
</method>
- <method name="set_realtime_color_enabled">
- <argument index="0" name="enabled" type="bool">
+ <method name="set_bus_mute">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="enable" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_realtime_energy">
- <argument index="0" name="energy" type="float">
+ <method name="set_bus_name">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="name" type="String">
</argument>
<description>
</description>
</method>
- <method name="set_sampler_octree">
- <argument index="0" name="sampler_octree" type="IntArray">
+ <method name="set_bus_send">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="send" type="String">
</argument>
<description>
</description>
</method>
- <method name="set_saturation">
- <argument index="0" name="saturation" type="float">
+ <method name="set_bus_solo">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="enable" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_tint">
- <argument index="0" name="tint" type="float">
+ <method name="set_bus_volume_db">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="volume_db" type="float">
</argument>
<description>
</description>
</method>
- <method name="set_transfer_lightmaps_only_to_uv2">
- <argument index="0" name="enable" type="bool">
+ <method name="swap_bus_effects">
+ <argument index="0" name="bus_idx" type="int">
+ </argument>
+ <argument index="1" name="effect_idx" type="int">
</argument>
+ <argument index="2" name="by_effect_idx" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="unlock">
<description>
</description>
</method>
</methods>
+ <signals>
+ <signal name="bus_layout_changed">
+ <description>
+ </description>
+ </signal>
+ </signals>
<constants>
- <constant name="MODE_OCTREE" value="0">
- </constant>
- <constant name="MODE_LIGHTMAPS" value="1">
- </constant>
- <constant name="BAKE_DIFFUSE" value="0">
- </constant>
- <constant name="BAKE_SPECULAR" value="1">
- </constant>
- <constant name="BAKE_TRANSLUCENT" value="2">
- </constant>
- <constant name="BAKE_CONSERVE_ENERGY" value="3">
- </constant>
- <constant name="BAKE_MAX" value="5">
- </constant>
</constants>
</class>
-<class name="BakedLightInstance" inherits="VisualInstance" category="Core">
+<class name="AudioStream" inherits="Resource" category="Core">
<brief_description>
+ Base class for audio streams.
</brief_description>
<description>
+ Base class for audio streams. Audio streams are used for music playback, or other types of streamed sounds that don't fit or require more flexibility than a [Sample].
</description>
<methods>
- <method name="get_baked_light" qualifiers="const">
- <return type="Object">
+ </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>
+ <method name="get_data" qualifiers="const">
+ <return type="PoolByteArray">
</return>
<description>
</description>
</method>
- <method name="get_baked_light_instance" qualifiers="const">
- <return type="RID">
+ <method name="has_loop" qualifiers="const">
+ <return type="bool">
</return>
<description>
</description>
</method>
- <method name="set_baked_light">
- <argument index="0" name="baked_light" type="Object">
+ <method name="set_data">
+ <argument index="0" name="data" type="PoolByteArray">
</argument>
<description>
</description>
</method>
- </methods>
- <signals>
- <signal name="baked_light_changed">
+ <method name="set_loop">
+ <argument index="0" name="enable" type="bool">
+ </argument>
<description>
</description>
- </signal>
- </signals>
+ </method>
+ </methods>
+ <members>
+ <member name="data" type="PoolByteArray" setter="set_data" getter="get_data" brief="">
+ </member>
+ <member name="loop" type="bool" setter="set_loop" getter="has_loop" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
-<class name="BakedLightSampler" inherits="VisualInstance" category="Core">
+<class name="AudioStreamPlayback" inherits="Reference" category="Core">
<brief_description>
</brief_description>
<description>
</description>
<methods>
- <method name="get_param" qualifiers="const">
- <return type="float">
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="AudioStreamSample" inherits="AudioStream" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_data" qualifiers="const">
+ <return type="PoolByteArray">
</return>
- <argument index="0" name="param" type="int">
- </argument>
<description>
</description>
</method>
- <method name="get_resolution" qualifiers="const">
+ <method name="get_format" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="set_param">
- <argument index="0" name="param" type="int">
+ <method name="get_loop_begin" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_loop_end" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_loop_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_mix_rate" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_stereo" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_data">
+ <argument index="0" name="data" type="PoolByteArray">
</argument>
- <argument index="1" name="value" type="float">
+ <description>
+ </description>
+ </method>
+ <method name="set_format">
+ <argument index="0" name="format" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_loop_begin">
+ <argument index="0" name="loop_begin" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_loop_end">
+ <argument index="0" name="loop_end" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_resolution">
- <argument index="0" name="resolution" type="int">
+ <method name="set_loop_mode">
+ <argument index="0" name="loop_mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_mix_rate">
+ <argument index="0" name="mix_rate" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_stereo">
+ <argument index="0" name="stereo" type="bool">
</argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="data" type="PoolByteArray" setter="set_data" getter="get_data" brief="">
+ </member>
+ <member name="format" type="int" setter="set_format" getter="get_format" brief="">
+ </member>
+ <member name="loop_begin" type="int" setter="set_loop_begin" getter="get_loop_begin" brief="">
+ </member>
+ <member name="loop_end" type="int" setter="set_loop_end" getter="get_loop_end" brief="">
+ </member>
+ <member name="loop_mode" type="int" setter="set_loop_mode" getter="get_loop_mode" brief="">
+ </member>
+ <member name="mix_rate" type="int" setter="set_mix_rate" getter="get_mix_rate" brief="">
+ </member>
+ <member name="stereo" type="bool" setter="set_stereo" getter="is_stereo" brief="">
+ </member>
+ </members>
<constants>
- <constant name="PARAM_RADIUS" value="0">
- </constant>
- <constant name="PARAM_STRENGTH" value="1">
- </constant>
- <constant name="PARAM_ATTENUATION" value="2">
+ </constants>
+</class>
+<class name="BackBufferCopy" inherits="Node2D" category="Core">
+ <brief_description>
+ Copies a region of the screen (or the whole screen) to a buffer so it can be accessed with the texscreen() shader instruction.
+ </brief_description>
+ <description>
+ Node for back-buffering the currently displayed screen. The region defined in the BackBufferCopy node is bufferized with the content of the screen it covers, or the entire screen according to the copy mode set. Accessing this buffer is done with the texscreen() shader instruction.
+ </description>
+ <methods>
+ <method name="get_copy_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ Return the copy mode currently applied to the BackBufferCopy (refer to constants section).
+ </description>
+ </method>
+ <method name="get_rect" qualifiers="const">
+ <return type="Rect2">
+ </return>
+ <description>
+ Return the area covered by the BackBufferCopy.
+ </description>
+ </method>
+ <method name="set_copy_mode">
+ <argument index="0" name="copy_mode" type="int">
+ </argument>
+ <description>
+ Set the copy mode of the BackBufferCopy (refer to constants section).
+ </description>
+ </method>
+ <method name="set_rect">
+ <argument index="0" name="rect" type="Rect2">
+ </argument>
+ <description>
+ Defines the area covered by the BackBufferCopy.
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="copy_mode" type="int" setter="set_copy_mode" getter="get_copy_mode" brief="">
+ </member>
+ <member name="rect" type="Rect2" setter="set_rect" getter="get_rect" brief="">
+ </member>
+ </members>
+ <constants>
+ <constant name="COPY_MODE_DISABLED" value="0">
+ Disables the buffering mode. This means the BackBufferCopy node will directly use the portion of screen it covers.
</constant>
- <constant name="PARAM_DETAIL_RATIO" value="3">
+ <constant name="COPY_MODE_RECT" value="1">
+ Sets the copy mode to a region.
</constant>
- <constant name="PARAM_MAX" value="4">
+ <constant name="COPY_MODE_VIEWPORT" value="2">
+ Sets the copy mode to the entire screen.
</constant>
</constants>
</class>
+<class name="BakedLight" inherits="VisualInstance" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="bake">
+ <description>
+ </description>
+ </method>
+ <method name="bake_lights">
+ <description>
+ </description>
+ </method>
+ <method name="bake_radiance">
+ <description>
+ </description>
+ </method>
+ <method name="debug_mesh_albedo">
+ <description>
+ </description>
+ </method>
+ <method name="debug_mesh_light">
+ <description>
+ </description>
+ </method>
+ <method name="get_cell_subdiv" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_cell_subdiv">
+ <argument index="0" name="steps" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="cell_subdiv" type="int" setter="set_cell_subdiv" getter="get_cell_subdiv" brief="">
+ </member>
+ </members>
+ <signals>
+ <signal name="baked_light_changed">
+ <description>
+ </description>
+ </signal>
+ </signals>
+ <constants>
+ </constants>
+</class>
<class name="BaseButton" inherits="Control" category="Core">
<brief_description>
Provides a base class for different kinds of buttons.
@@ -5951,11 +6640,17 @@
Called when button is toggled (only if toggle_mode is active).
</description>
</method>
- <method name="get_click_on_press" qualifiers="const">
- <return type="bool">
+ <method name="get_action_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ Return the current mode of action (see [method set_action_mode]) (one of the ACTION_MODE_* constants).
+ </description>
+ </method>
+ <method name="get_button_group" qualifiers="const">
+ <return type="Object">
</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">
@@ -6006,11 +6701,17 @@
Return the toggle_mode property (see [method set_toggle_mode]).
</description>
</method>
- <method name="set_click_on_press">
- <argument index="0" name="enable" type="bool">
+ <method name="set_action_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ Set the current mode of action, determining when the button is considered clicked (see the ACTION_MODE_* constants).
+ </description>
+ </method>
+ <method name="set_button_group">
+ <argument index="0" name="button_group" type="Object">
</argument>
<description>
- Set the button click_on_press mode. This mode generates click events when a mouse button 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="set_disabled">
@@ -6048,6 +6749,22 @@
</description>
</method>
</methods>
+ <members>
+ <member name="action_mode" type="int" setter="set_action_mode" getter="get_action_mode" brief="">
+ </member>
+ <member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" brief="">
+ </member>
+ <member name="enabled_focus_mode" type="int" setter="set_enabled_focus_mode" getter="get_enabled_focus_mode" brief="">
+ </member>
+ <member name="group" type="ButtonGroup" setter="set_button_group" getter="get_button_group" brief="">
+ </member>
+ <member name="is_pressed" type="bool" setter="set_pressed" getter="is_pressed" brief="">
+ </member>
+ <member name="shortcut" type="ShortCut" setter="set_shortcut" getter="get_shortcut" brief="">
+ </member>
+ <member name="toggle_mode" type="bool" setter="set_toggle_mode" getter="is_toggle_mode" brief="">
+ </member>
+ </members>
<signals>
<signal name="button_down">
<description>
@@ -6064,11 +6781,6 @@
This signal is emitted every time the button is toggled or pressed (i.e. activated, so on [code]button_down[/code] if "Click on press" is active and on [code]button_up[/code] otherwise).
</description>
</signal>
- <signal name="released">
- <description>
- Emitted when the button was released. This is only emitted by non-toggle buttons and if "Click on press" is active.
- </description>
- </signal>
<signal name="toggled">
<argument index="0" name="pressed" type="bool">
</argument>
@@ -6090,6 +6802,181 @@
<constant name="DRAW_DISABLED" value="3">
The state of buttons are disabled.
</constant>
+ <constant name="ACTION_MODE_BUTTON_PRESS" value="0">
+ Require just a press to consider the button clicked.
+ </constant>
+ <constant name="ACTION_MODE_BUTTON_RELEASE" value="1">
+ Require a press and a subsequent release before considering the button clicked.
+ </constant>
+ </constants>
+</class>
+<class name="Basis" category="Built-In Types">
+ <brief_description>
+ 3x3 matrix datatype.
+ </brief_description>
+ <description>
+ 3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x,y and z as its columns, which can be interpreted as the local basis vectors of a transformation. Can also be accessed as array of 3D vectors. These vectors are orthogonal to each other, but are not necessarily normalized. Almost always used as orthogonal basis for a [Transform].
+ For such use, it is composed of a scaling and a rotation matrix, in that order (M = R.S).
+ </description>
+ <methods>
+ <method name="Basis">
+ <return type="Basis">
+ </return>
+ <argument index="0" name="from" type="Quat">
+ </argument>
+ <description>
+ Create a rotation matrix from the given quaternion.
+ </description>
+ </method>
+ <method name="Basis">
+ <return type="Basis">
+ </return>
+ <argument index="0" name="axis" type="Vector3">
+ </argument>
+ <argument index="1" name="phi" type="float">
+ </argument>
+ <description>
+ Create a rotation matrix which rotates around the given axis by the specified angle. The axis must be a normalized vector.
+ </description>
+ </method>
+ <method name="Basis">
+ <return type="Basis">
+ </return>
+ <argument index="0" name="x_axis" type="Vector3">
+ </argument>
+ <argument index="1" name="y_axis" type="Vector3">
+ </argument>
+ <argument index="2" name="z_axis" type="Vector3">
+ </argument>
+ <description>
+ Create a matrix from 3 axis vectors.
+ </description>
+ </method>
+ <method name="determinant">
+ <return type="float">
+ </return>
+ <description>
+ Return the determinant of the matrix.
+ </description>
+ </method>
+ <method name="get_euler">
+ <return type="Vector3">
+ </return>
+ <description>
+ Return Euler angles (in the XYZ convention: first Z, then Y, and X last) from the matrix. Returned vector contains the rotation angles in the format (third,second,first).
+ This function only works if the matrix represents a proper rotation.
+ </description>
+ </method>
+ <method name="get_orthogonal_index">
+ <return type="int">
+ </return>
+ <description>
+ This function considers a discretization of rotations into 24 points on unit sphere, lying along the vectors (x,y,z) with each component being either -1,0 or 1, and returns the index of the point best representing the orientation of the object. It is mainly used by the grid map editor. For further details, refer to Godot source code.
+ </description>
+ </method>
+ <method name="get_scale">
+ <return type="Vector3">
+ </return>
+ <description>
+ Assuming that the matrix is the combination of a rotation and scaling, return the absolute value of scaling factors along each axis.
+ </description>
+ </method>
+ <method name="inverse">
+ <return type="Basis">
+ </return>
+ <description>
+ Return the inverse of the matrix.
+ </description>
+ </method>
+ <method name="orthonormalized">
+ <return type="Basis">
+ </return>
+ <description>
+ Return the orthonormalized version of the matrix (useful to call from time to time to avoid rounding error for orthogonal matrices). This performs a Gram-Schmidt orthonormalization on the basis of the matrix.
+ </description>
+ </method>
+ <method name="rotated">
+ <return type="Basis">
+ </return>
+ <argument index="0" name="axis" type="Vector3">
+ </argument>
+ <argument index="1" name="phi" type="float">
+ </argument>
+ <description>
+ Introduce an additional rotation around the given axis by phi. Only relevant when the matrix is being used as a part of [Transform]. The axis must be a normalized vector.
+ </description>
+ </method>
+ <method name="scaled">
+ <return type="Basis">
+ </return>
+ <argument index="0" name="scale" type="Vector3">
+ </argument>
+ <description>
+ Introduce an additional scaling specified by the given 3D scaling factor. Only relevant when the matrix is being used as a part of [Transform].
+ </description>
+ </method>
+ <method name="tdotx">
+ <return type="float">
+ </return>
+ <argument index="0" name="with" type="Vector3">
+ </argument>
+ <description>
+ Transposed dot product with the x axis of the matrix.
+ </description>
+ </method>
+ <method name="tdoty">
+ <return type="float">
+ </return>
+ <argument index="0" name="with" type="Vector3">
+ </argument>
+ <description>
+ Transposed dot product with the y axis of the matrix.
+ </description>
+ </method>
+ <method name="tdotz">
+ <return type="float">
+ </return>
+ <argument index="0" name="with" type="Vector3">
+ </argument>
+ <description>
+ Transposed dot product with the z axis of the matrix.
+ </description>
+ </method>
+ <method name="transposed">
+ <return type="Basis">
+ </return>
+ <description>
+ Return the transposed version of the matrix.
+ </description>
+ </method>
+ <method name="xform">
+ <return type="Vector3">
+ </return>
+ <argument index="0" name="v" type="Vector3">
+ </argument>
+ <description>
+ Return a vector transformed (multiplied) by the matrix and return it.
+ </description>
+ </method>
+ <method name="xform_inv">
+ <return type="Vector3">
+ </return>
+ <argument index="0" name="v" type="Vector3">
+ </argument>
+ <description>
+ Return a vector transformed (multiplied) by the transposed matrix and return it. Note that this is a multiplication by inverse only when the matrix represents a rotation-reflection.
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="x" type="Vector3" setter="" getter="" brief="">
+ </member>
+ <member name="y" type="Vector3" setter="" getter="" brief="">
+ </member>
+ <member name="z" type="Vector3" setter="" getter="" brief="">
+ </member>
+ </members>
+ <constants>
</constants>
</class>
<class name="BitMap" inherits="Resource" category="Core">
@@ -6147,6 +7034,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="data" type="Dictionary" setter="_set_data" getter="_get_data" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -6271,6 +7162,22 @@
</description>
</method>
</methods>
+ <members>
+ <member name="ascent" type="float" setter="set_ascent" getter="get_ascent" brief="">
+ </member>
+ <member name="chars" type="PoolIntArray" setter="_set_chars" getter="_get_chars" brief="">
+ </member>
+ <member name="distance_field" type="bool" setter="set_distance_field_hint" getter="is_distance_field_hint" brief="">
+ </member>
+ <member name="fallback" type="BitmapFont" setter="set_fallback" getter="get_fallback" brief="">
+ </member>
+ <member name="height" type="float" setter="set_height" getter="get_height" brief="">
+ </member>
+ <member name="kernings" type="PoolIntArray" setter="_set_kernings" getter="_get_kernings" brief="">
+ </member>
+ <member name="textures" type="Array" setter="_set_textures" getter="_get_textures" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -6282,6 +7189,18 @@
This node must be the child of a [Skeleton] node. You can then select a bone for this node to attach to. The BoneAttachment node will copy the transform of the selected bone.
</description>
<methods>
+ <method name="get_bone_name" qualifiers="const">
+ <return type="String">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_bone_name">
+ <argument index="0" name="bone_name" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
</methods>
<constants>
</constants>
@@ -6317,6 +7236,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="alignment" type="int" setter="set_alignment" getter="get_alignment" brief="">
+ </member>
+ </members>
<constants>
<constant name="ALIGN_BEGIN" value="0">
Align children with beginning of the container.
@@ -6352,6 +7275,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="extents" type="Vector3" setter="set_extents" getter="get_extents" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -6434,6 +7361,18 @@
</description>
</method>
</methods>
+ <members>
+ <member name="align" type="int" setter="set_text_align" getter="get_text_align" brief="">
+ </member>
+ <member name="clip_text" type="bool" setter="set_clip_text" getter="get_clip_text" brief="">
+ </member>
+ <member name="flat" type="bool" setter="set_flat" getter="is_flat" brief="">
+ </member>
+ <member name="icon" type="Texture" setter="set_button_icon" getter="get_button_icon" brief="">
+ </member>
+ <member name="text" type="String" setter="set_text" getter="get_text" brief="">
+ </member>
+ </members>
<constants>
<constant name="ALIGN_LEFT" value="0">
Align the text to the left.
@@ -6482,8 +7421,10 @@
<method name="add_button">
<argument index="0" name="text" type="String">
</argument>
+ <argument index="1" name="tooltip" type="String" default="&quot;&quot;">
+ </argument>
<description>
- Append a new button to the array, with the specified text.
+ Append a new button to the array, with the specified text and tooltip.
</description>
</method>
<method name="add_icon_button">
@@ -6491,8 +7432,10 @@
</argument>
<argument index="1" name="text" type="String" default="&quot;&quot;">
</argument>
+ <argument index="2" name="tooltip" type="String" default="&quot;&quot;">
+ </argument>
<description>
- Append a new button to the array, with the specified icon and text.
+ Append a new button to the array, with the specified icon, text and tooltip.
</description>
</method>
<method name="clear">
@@ -6532,6 +7475,15 @@
Return the text of the specified button.
</description>
</method>
+ <method name="get_button_tooltip" qualifiers="const">
+ <return type="String">
+ </return>
+ <argument index="0" name="button_idx" type="int">
+ </argument>
+ <description>
+ Return the tooltip of the specified button.
+ </description>
+ </method>
<method name="get_hovered" qualifiers="const">
<return type="int">
</return>
@@ -6546,6 +7498,12 @@
Return the index of the currently selected button in the array.
</description>
</method>
+ <method name="is_flat" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="set_button_icon">
<argument index="0" name="button_idx" type="int">
</argument>
@@ -6564,6 +7522,21 @@
Define the text of the specified button.
</description>
</method>
+ <method name="set_button_tooltip">
+ <argument index="0" name="button_idx" type="int">
+ </argument>
+ <argument index="1" name="text" type="String">
+ </argument>
+ <description>
+ Define the tooltip of the specified button.
+ </description>
+ </method>
+ <method name="set_flat">
+ <argument index="0" name="enabled" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_selected">
<argument index="0" name="button_idx" type="int">
</argument>
@@ -6572,6 +7545,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="flat" type="bool" setter="set_flat" getter="is_flat" brief="">
+ </member>
+ </members>
<signals>
<signal name="button_selected">
<argument index="0" name="button_idx" type="int">
@@ -6599,7 +7576,7 @@
</constant>
</constants>
</class>
-<class name="ButtonGroup" inherits="BoxContainer" category="Core">
+<class name="ButtonGroup" inherits="Resource" category="Core">
<brief_description>
Group of Buttons.
</brief_description>
@@ -6607,41 +7584,13 @@
Group of [Button]. All direct and indirect children buttons become radios. Only one allows being pressed.
</description>
<methods>
- <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="get_focused_button" qualifiers="const">
- <return type="BaseButton">
- </return>
- <description>
- Return the focused button.
- </description>
- </method>
- <method name="get_pressed_button" qualifiers="const">
+ <method name="get_pressed_button">
<return type="BaseButton">
</return>
<description>
Return the pressed button.
</description>
</method>
- <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="set_pressed_button">
- <argument index="0" name="button" type="BaseButton">
- </argument>
- <description>
- Set the button to be pressed.
- </description>
- </method>
</methods>
<constants>
</constants>
@@ -6669,6 +7618,12 @@
Get the camera transform. Subclassed cameras (such as CharacterCamera) may provide different transforms than the [Node] transform.
</description>
</method>
+ <method name="get_cull_mask" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_environment" qualifiers="const">
<return type="Environment">
</return>
@@ -6681,6 +7636,12 @@
<description>
</description>
</method>
+ <method name="get_h_offset" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_keep_aspect_mode" qualifiers="const">
<return type="int">
</return>
@@ -6699,8 +7660,8 @@
<description>
</description>
</method>
- <method name="get_visible_layers" qualifiers="const">
- <return type="int">
+ <method name="get_v_offset" qualifiers="const">
+ <return type="float">
</return>
<description>
</description>
@@ -6771,12 +7732,24 @@
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="set_cull_mask">
+ <argument index="0" name="mask" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_environment">
<argument index="0" name="env" type="Environment">
</argument>
<description>
</description>
</method>
+ <method name="set_h_offset">
+ <argument index="0" name="ofs" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_keep_aspect_mode">
<argument index="0" name="mode" type="int">
</argument>
@@ -6805,8 +7778,8 @@
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_visible_layers">
- <argument index="0" name="mask" type="int">
+ <method name="set_v_offset">
+ <argument index="0" name="ofs" type="float">
</argument>
<description>
</description>
@@ -7073,6 +8046,44 @@
</description>
</method>
</methods>
+ <members>
+ <member name="anchor_mode" type="int" setter="set_anchor_mode" getter="get_anchor_mode" brief="">
+ </member>
+ <member name="current" type="bool" setter="_set_current" getter="is_current" brief="">
+ </member>
+ <member name="drag_margin_bottom" type="float" setter="set_drag_margin" getter="get_drag_margin" brief="">
+ </member>
+ <member name="drag_margin_h_enabled" type="bool" setter="set_h_drag_enabled" getter="is_h_drag_enabled" brief="">
+ </member>
+ <member name="drag_margin_left" type="float" setter="set_drag_margin" getter="get_drag_margin" brief="">
+ </member>
+ <member name="drag_margin_right" type="float" setter="set_drag_margin" getter="get_drag_margin" brief="">
+ </member>
+ <member name="drag_margin_top" type="float" setter="set_drag_margin" getter="get_drag_margin" brief="">
+ </member>
+ <member name="drag_margin_v_enabled" type="bool" setter="set_v_drag_enabled" getter="is_v_drag_enabled" brief="">
+ </member>
+ <member name="limit_bottom" type="int" setter="set_limit" getter="get_limit" brief="">
+ </member>
+ <member name="limit_left" type="int" setter="set_limit" getter="get_limit" brief="">
+ </member>
+ <member name="limit_right" type="int" setter="set_limit" getter="get_limit" brief="">
+ </member>
+ <member name="limit_smoothed" type="bool" setter="set_limit_smoothing_enabled" getter="is_limit_smoothing_enabled" brief="">
+ </member>
+ <member name="limit_top" type="int" setter="set_limit" getter="get_limit" brief="">
+ </member>
+ <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" brief="">
+ </member>
+ <member name="rotating" type="bool" setter="set_rotating" getter="is_rotating" brief="">
+ </member>
+ <member name="smoothing_enabled" type="bool" setter="set_enable_follow_smoothing" getter="is_follow_smoothing_enabled" brief="">
+ </member>
+ <member name="smoothing_speed" type="float" setter="set_follow_smoothing" getter="get_follow_smoothing" brief="">
+ </member>
+ <member name="zoom" type="Vector2" setter="set_zoom" getter="get_zoom" brief="">
+ </member>
+ </members>
<constants>
<constant name="ANCHOR_MODE_DRAG_CENTER" value="1">
</constant>
@@ -7126,11 +8137,11 @@
</description>
</method>
<method name="draw_colored_polygon">
- <argument index="0" name="points" type="Vector2Array">
+ <argument index="0" name="points" type="PoolVector2Array">
</argument>
<argument index="1" name="color" type="Color">
</argument>
- <argument index="2" name="uvs" type="Vector2Array" default="Vector2Array([])">
+ <argument index="2" name="uvs" type="PoolVector2Array" default="PoolVector2Array([])">
</argument>
<argument index="3" name="texture" type="Texture" default="NULL">
</argument>
@@ -7154,11 +8165,11 @@
</description>
</method>
<method name="draw_polygon">
- <argument index="0" name="points" type="Vector2Array">
+ <argument index="0" name="points" type="PoolVector2Array">
</argument>
- <argument index="1" name="colors" type="ColorArray">
+ <argument index="1" name="colors" type="PoolColorArray">
</argument>
- <argument index="2" name="uvs" type="Vector2Array" default="Vector2Array([])">
+ <argument index="2" name="uvs" type="PoolVector2Array" default="PoolVector2Array([])">
</argument>
<argument index="3" name="texture" type="Texture" default="NULL">
</argument>
@@ -7167,11 +8178,11 @@
</description>
</method>
<method name="draw_primitive">
- <argument index="0" name="points" type="Vector2Array">
+ <argument index="0" name="points" type="PoolVector2Array">
</argument>
- <argument index="1" name="colors" type="ColorArray">
+ <argument index="1" name="colors" type="PoolColorArray">
</argument>
- <argument index="2" name="uvs" type="Vector2Array">
+ <argument index="2" name="uvs" type="PoolVector2Array">
</argument>
<argument index="3" name="texture" type="Texture" default="NULL">
</argument>
@@ -7202,7 +8213,7 @@
</description>
</method>
<method name="draw_set_transform_matrix">
- <argument index="0" name="xform" type="Matrix32">
+ <argument index="0" name="xform" type="Transform2D">
</argument>
<description>
</description>
@@ -7299,13 +8310,6 @@
Set the transform state of this CanvasItem. For [Node2D], this is an [Array] with (in order) a [Vector2] for position, a float for rotation and another [Vector2] for scale. For [Control] this is a [Rect2] with the position and size.
</description>
</method>
- <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="get_canvas" qualifiers="const">
<return type="RID">
</return>
@@ -7321,7 +8325,7 @@
</description>
</method>
<method name="get_canvas_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Get the transform matrix of this item's canvas.
@@ -7335,14 +8339,14 @@
</description>
</method>
<method name="get_global_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Get the global transform matrix of this item.
</description>
</method>
<method name="get_global_transform_with_canvas" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Get the global transform matrix of this item in relation to the canvas.
@@ -7383,22 +8387,22 @@
Get the material of this item.
</description>
</method>
- <method name="get_opacity" qualifiers="const">
- <return type="float">
+ <method name="get_modulate" qualifiers="const">
+ <return type="Color">
</return>
<description>
- Return the canvas item opacity. This affects the canvas item and all the children.
+ Get the modulate of the CanvasItem, which affects children items too.
</description>
</method>
- <method name="get_self_opacity" qualifiers="const">
- <return type="float">
+ <method name="get_self_modulate" qualifiers="const">
+ <return type="Color">
</return>
<description>
- Return the canvas item self-opacity.
+ Get the self-modulate of the CanvasItem.
</description>
</method>
<method name="get_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Get the transform matrix of this item.
@@ -7419,7 +8423,7 @@
</description>
</method>
<method name="get_viewport_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Get this item's transform in relation to the viewport.
@@ -7444,11 +8448,10 @@
Return whether the item is drawn behind its parent.
</description>
</method>
- <method name="is_hidden" qualifiers="const">
+ <method name="is_local_transform_notification_enabled" 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="is_set_as_toplevel" qualifiers="const">
@@ -7458,6 +8461,12 @@
Return if set as toplevel. See [method set_as_toplevel].
</description>
</method>
+ <method name="is_transform_notification_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="is_visible" qualifiers="const">
<return type="bool">
</return>
@@ -7465,6 +8474,12 @@
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_visible_in_tree" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="make_canvas_pos_local" qualifiers="const">
<return type="Vector2">
</return>
@@ -7489,13 +8504,6 @@
Set as top level. This means that it will not inherit transform from parent canvas items.
</description>
</method>
- <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="set_draw_behind_parent">
<argument index="0" name="enable" type="bool">
</argument>
@@ -7503,13 +8511,6 @@
Set whether the canvas item is drawn behind its parent.
</description>
</method>
- <method name="set_hidden">
- <argument index="0" name="hidden" type="bool">
- </argument>
- <description>
- Set whether this item should be hidden or not. Note that no matter what is set here this item won't be shown if its parent or grandparents nodes are also hidden. A hidden CanvasItem make all children hidden too.
- </description>
- </method>
<method name="set_light_mask">
<argument index="0" name="light_mask" type="int">
</argument>
@@ -7524,18 +8525,30 @@
Set the material of this item.
</description>
</method>
- <method name="set_opacity">
- <argument index="0" name="opacity" type="float">
+ <method name="set_modulate">
+ <argument index="0" name="modulate" type="Color">
</argument>
<description>
- Set canvas item opacity. This will affect the canvas item and all the children.
+ Set the modulate of the CanvasItem. This [i]affects[/i] the modulation of children items.
</description>
</method>
- <method name="set_self_opacity">
- <argument index="0" name="self_opacity" type="float">
+ <method name="set_notify_local_transform">
+ <argument index="0" name="enable" type="bool">
</argument>
<description>
- Set canvas item self-opacity. This does not affect the opacity of children items.
+ </description>
+ </method>
+ <method name="set_notify_transform">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_self_modulate">
+ <argument index="0" name="self_modulate" type="Color">
+ </argument>
+ <description>
+ Set the self-modulate of the CanvasItem. This does not affect the modulation of children items.
</description>
</method>
<method name="set_use_parent_material">
@@ -7545,6 +8558,14 @@
Set whether or not this item should use its parent's material.
</description>
</method>
+ <method name="set_visible">
+ <argument index="0" name="arg0" type="bool">
+ </argument>
+ <description>
+ Set whether this item should be visible or not.
+ Note that a hidden CanvasItem will make all children hidden too, so no matter what is set here this item won't be shown if its parent or grandparents nodes are hidden.
+ </description>
+ </method>
<method name="show">
<description>
Show the CanvasItem currently hidden.
@@ -7556,6 +8577,24 @@
</description>
</method>
</methods>
+ <members>
+ <member name="light_mask" type="int" setter="set_light_mask" getter="get_light_mask" brief="">
+ </member>
+ <member name="material" type="CanvasItemMaterial" setter="set_material" getter="get_material" brief="">
+ </member>
+ <member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" brief="">
+ </member>
+ <member name="self_modulate" type="Color" setter="set_self_modulate" getter="get_self_modulate" brief="">
+ </member>
+ <member name="show_behind_parent" type="bool" setter="set_draw_behind_parent" getter="is_draw_behind_parent_enabled" brief="">
+ </member>
+ <member name="show_on_top" type="bool" setter="_set_on_top" getter="_is_on_top" brief="">
+ </member>
+ <member name="use_parent_material" type="bool" setter="set_use_parent_material" getter="get_use_parent_material" brief="">
+ </member>
+ <member name="visible" type="bool" setter="set_visible" getter="is_visible" brief="">
+ </member>
+ </members>
<signals>
<signal name="draw">
<description>
@@ -7611,7 +8650,7 @@
</constant>
</constants>
</class>
-<class name="CanvasItemMaterial" inherits="Resource" category="Core">
+<class name="CanvasItemMaterial" inherits="Material" category="Core">
<brief_description>
</brief_description>
<description>
@@ -7629,12 +8668,6 @@
<description>
</description>
</method>
- <method name="get_shading_mode" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
<method name="set_shader">
<argument index="0" name="shader" type="Shader">
</argument>
@@ -7649,20 +8682,8 @@
<description>
</description>
</method>
- <method name="set_shading_mode">
- <argument index="0" name="mode" type="int">
- </argument>
- <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">
@@ -7675,16 +8696,6 @@
<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.
@@ -7735,7 +8746,7 @@
</description>
</method>
<method name="get_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Return the base transform for this layer.
@@ -7790,13 +8801,23 @@
</description>
</method>
<method name="set_transform">
- <argument index="0" name="transform" type="Matrix32">
+ <argument index="0" name="transform" type="Transform2D">
</argument>
<description>
Set the base transform for this layer.
</description>
</method>
</methods>
+ <members>
+ <member name="layer" type="int" setter="set_layer" getter="get_layer" brief="">
+ </member>
+ <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" brief="">
+ </member>
+ <member name="rotation" type="float" setter="set_rotationd" getter="get_rotationd" brief="">
+ </member>
+ <member name="scale" type="Vector2" setter="set_scale" getter="get_scale" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -7823,6 +8844,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="color" type="Color" setter="set_color" getter="get_color" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -7863,6 +8888,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="height" type="float" setter="set_height" getter="get_height" brief="">
+ </member>
+ <member name="radius" type="float" setter="set_radius" getter="get_radius" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -7903,6 +8934,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="height" type="float" setter="set_height" getter="get_height" brief="">
+ </member>
+ <member name="radius" type="float" setter="set_radius" getter="get_radius" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -7929,6 +8966,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="use_top_left" type="bool" setter="set_use_top_left" getter="is_using_top_left" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -8043,6 +9084,184 @@
</description>
</method>
</methods>
+ <members>
+ <member name="radius" type="float" setter="set_radius" getter="get_radius" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="ClassDB" inherits="Object" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="can_instance" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_exists" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_get_category" qualifiers="const">
+ <return type="String">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_get_integer_constant" qualifiers="const">
+ <return type="int">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="name" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_get_integer_constant_list" qualifiers="const">
+ <return type="PoolStringArray">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="no_inheritance" type="bool" default="false">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_get_method_list" qualifiers="const">
+ <return type="Array">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="no_inheritance" type="bool" default="false">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_get_property_list" qualifiers="const">
+ <return type="Array">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="no_inheritance" type="bool" default="false">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_get_signal" qualifiers="const">
+ <return type="Dictionary">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="signal" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_get_signal_list" qualifiers="const">
+ <return type="Array">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="no_inheritance" type="bool" default="false">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_has_integer_constant" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="name" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_has_method" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="method" type="String">
+ </argument>
+ <argument index="2" name="no_inheritance" type="bool" default="false">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="class_has_signal" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="signal" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_class_list" qualifiers="const">
+ <return type="PoolStringArray">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_inheriters_from_class" qualifiers="const">
+ <return type="PoolStringArray">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_parent_class" qualifiers="const">
+ <return type="String">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="instance" qualifiers="const">
+ <return type="Variant">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="is_class_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="is_parent_class" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="class" type="String">
+ </argument>
+ <argument index="1" name="inherits" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
<constants>
</constants>
</class>
@@ -8169,6 +9388,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="input_capture_on_drag" type="bool" setter="set_capture_input_on_drag" getter="get_capture_input_on_drag" brief="">
+ </member>
+ <member name="input_ray_pickable" type="bool" setter="set_ray_pickable" getter="is_ray_pickable" brief="">
+ </member>
+ </members>
<signals>
<signal name="input_event">
<argument index="0" name="camera" type="Object">
@@ -8184,11 +9409,11 @@
<description>
</description>
</signal>
- <signal name="mouse_enter">
+ <signal name="mouse_entered">
<description>
</description>
</signal>
- <signal name="mouse_exit">
+ <signal name="mouse_exited">
<description>
</description>
</signal>
@@ -8218,7 +9443,7 @@
<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))">
+ <argument index="1" name="transform" type="Transform2D" default="((1, 0), (0, 1), (0, 0))">
</argument>
<description>
Add a [Shape2D] to the collision body, with a given custom transform.
@@ -8253,7 +9478,7 @@
</description>
</method>
<method name="get_shape_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<argument index="0" name="shape_idx" type="int">
</argument>
@@ -8312,13 +9537,17 @@
<method name="set_shape_transform">
<argument index="0" name="shape_idx" type="int">
</argument>
- <argument index="1" name="transform" type="Matrix32">
+ <argument index="1" name="transform" type="Transform2D">
</argument>
<description>
Change the shape transform in the collision body.
</description>
</method>
</methods>
+ <members>
+ <member name="input_pickable" type="bool" setter="set_pickable" getter="is_pickable" brief="">
+ </member>
+ </members>
<signals>
<signal name="input_event">
<argument index="0" name="viewport" type="Object">
@@ -8331,12 +9560,12 @@
This signal triggers when an input event fires over a shape. The first parameter is the viewport where the event took place. The second holds the input event received, and the third the shape of this object where it happened.
</description>
</signal>
- <signal name="mouse_enter">
+ <signal name="mouse_entered">
<description>
This event fires only once when the mouse pointer enters any shape of this object.
</description>
</signal>
- <signal name="mouse_exit">
+ <signal name="mouse_exited">
<description>
This event fires only once when the mouse pointer exits all shapes of this object.
</description>
@@ -8376,7 +9605,7 @@
</description>
</method>
<method name="get_polygon" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
</description>
@@ -8394,12 +9623,22 @@
</description>
</method>
<method name="set_polygon">
- <argument index="0" name="polygon" type="Vector2Array">
+ <argument index="0" name="polygon" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="build_mode" type="int" setter="set_build_mode" getter="get_build_mode" brief="">
+ </member>
+ <member name="depth" type="float" setter="set_depth" getter="get_depth" brief="">
+ </member>
+ <member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon" brief="">
+ </member>
+ <member name="shape_range" type="Vector2" setter="_set_shape_range" getter="_get_shape_range" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -8435,7 +9674,7 @@
</description>
</method>
<method name="get_polygon" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
Return the list of points that define the polygon.
@@ -8456,7 +9695,7 @@
</description>
</method>
<method name="set_polygon">
- <argument index="0" name="polygon" type="Vector2Array">
+ <argument index="0" name="polygon" type="PoolVector2Array">
</argument>
<description>
Set the array of points forming the polygon.
@@ -8471,6 +9710,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="build_mode" type="int" setter="set_build_mode" getter="get_build_mode" brief="">
+ </member>
+ <member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon" brief="">
+ </member>
+ <member name="shape_range" type="Vector2" setter="_set_shape_range" getter="_get_shape_range" brief="">
+ </member>
+ <member name="trigger" type="bool" setter="set_trigger" getter="is_trigger" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -8521,6 +9770,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="_update_shape_index" type="int" setter="_set_update_shape_index" getter="_get_update_shape_index" brief="">
+ </member>
+ <member name="shape" type="Shape" setter="set_shape" getter="get_shape" brief="">
+ </member>
+ <member name="trigger" type="bool" setter="set_trigger" getter="is_trigger" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -8568,6 +9825,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="_update_shape_index" type="int" setter="_set_update_shape_index" getter="_get_update_shape_index" brief="">
+ </member>
+ <member name="shape" type="Shape2D" setter="set_shape" getter="get_shape" brief="">
+ </member>
+ <member name="trigger" type="bool" setter="set_trigger" getter="is_trigger" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -8691,153 +9956,43 @@
</method>
</methods>
<members>
- <member name="a" type="float">
+ <member name="a" type="float" setter="" getter="" brief="">
Alpha (0 to 1)
</member>
- <member name="a8" type="int">
+ <member name="a8" type="int" setter="" getter="" brief="">
Alpha (0 to 255)
</member>
- <member name="b" type="float">
+ <member name="b" type="float" setter="" getter="" brief="">
Blue (0 to 1)
</member>
- <member name="b8" type="int">
+ <member name="b8" type="int" setter="" getter="" brief="">
Blue (0 to 255)
</member>
- <member name="g" type="float">
+ <member name="g" type="float" setter="" getter="" brief="">
Green (0 to 1)
</member>
- <member name="g8" type="int">
+ <member name="g8" type="int" setter="" getter="" brief="">
Green (0 to 255)
</member>
- <member name="h" type="float">
+ <member name="h" type="float" setter="" getter="" brief="">
Hue (0 to 1)
</member>
- <member name="r" type="float">
+ <member name="r" type="float" setter="" getter="" brief="">
Red (0 to 1)
</member>
- <member name="r8" type="int">
+ <member name="r8" type="int" setter="" getter="" brief="">
Red (0 to 255)
</member>
- <member name="s" type="float">
+ <member name="s" type="float" setter="" getter="" brief="">
Saturation (0 to 1)
</member>
- <member name="v" type="float">
+ <member name="v" type="float" setter="" getter="" brief="">
Value (0 to 1)
</member>
</members>
<constants>
</constants>
</class>
-<class name="ColorArray" category="Built-In Types">
- <brief_description>
- Array of Colors
- </brief_description>
- <description>
- Array of Color, can only contains colors. Optimized for memory usage, can't fragment the memory.
- </description>
- <methods>
- <method name="ColorArray">
- <return type="ColorArray">
- </return>
- <argument index="0" name="from" type="Array">
- </argument>
- <description>
- Create from a generic array.
- </description>
- </method>
- <method name="append">
- <argument index="0" name="color" type="Color">
- </argument>
- <description>
- Append an element at the end of the array (alias of [method push_back]).
- </description>
- </method>
- <method name="append_array">
- <argument index="0" name="array" type="ColorArray">
- </argument>
- <description>
- Append an [ColorArray] at the end of this array.
- </description>
- </method>
- <method name="insert">
- <return type="int">
- </return>
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="color" type="Color">
- </argument>
- <description>
- 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">
- <description>
- Reverse the order of the elements in the array (so first element will now be the last).
- </description>
- </method>
- <method name="push_back">
- <argument index="0" name="color" type="Color">
- </argument>
- <description>
- Append a value to the array.
- </description>
- </method>
- <method name="remove">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Remove an element from the array by index.
- </description>
- </method>
- <method name="resize">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Set the size of the [ColorArray]. 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">
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="color" type="Color">
- </argument>
- <description>
- Change the [Color] at the given index.
- </description>
- </method>
- <method name="size">
- <return type="int">
- </return>
- <description>
- Return the array size.
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="ColorRect" inherits="Control" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- <method name="get_frame_color" qualifiers="const">
- <return type="Color">
- </return>
- <description>
- </description>
- </method>
- <method name="set_frame_color">
- <argument index="0" name="color" type="Color">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="ColorPicker" inherits="BoxContainer" category="Core">
<brief_description>
Color picker control.
@@ -8853,11 +10008,11 @@
Adds the current selected to color to a list of colors (presets), the presets will be displayed in the color picker and the user will be able to select them, notice that the presets list is only for this color picker.
</description>
</method>
- <method name="get_color" qualifiers="const">
+ <method name="get_pick_color" qualifiers="const">
<return type="Color">
</return>
<description>
- Return the current (edited) color.
+ Gets the current color.
</description>
</method>
<method name="is_editing_alpha" qualifiers="const">
@@ -8874,18 +10029,18 @@
Returns whether this color picker is in raw mode or not, raw mode will allow the color R, G, B component values to go beyond 1, you have to consider that the max value for color components is 1, going beyond that value will not have effect in the color, but can be used for special operations that require it (like tinting without darkening or rendering sprites in HDR).
</description>
</method>
- <method name="set_color">
- <argument index="0" name="color" type="Color">
+ <method name="set_edit_alpha">
+ <argument index="0" name="show" type="bool">
</argument>
<description>
- Select the current color.
+ Set true if you want the color to have an alpha channel (transparency), or false if you want a solid color.
</description>
</method>
- <method name="set_edit_alpha">
- <argument index="0" name="show" type="bool">
+ <method name="set_pick_color">
+ <argument index="0" name="color" type="Color">
</argument>
<description>
- Set true if you want the color to have an alpha channel (transparency), or false if you want a solid color.
+ Select the current color.
</description>
</method>
<method name="set_raw_mode">
@@ -8910,6 +10065,10 @@
<theme_items>
<theme_item name="add_preset" type="Texture">
</theme_item>
+ <theme_item name="color_hue" type="Texture">
+ </theme_item>
+ <theme_item name="color_sample" type="Texture">
+ </theme_item>
<theme_item name="color_width" type="int">
</theme_item>
<theme_item name="hseparator" type="int">
@@ -8932,11 +10091,10 @@
Encapsulates a [ColorPicker] making it accesible by pressing a button, pressing the button will toggle the [ColorPicker] visibility
</description>
<methods>
- <method name="get_color" qualifiers="const">
+ <method name="get_pick_color" qualifiers="const">
<return type="Color">
</return>
<description>
- Gets the current color
</description>
</method>
<method name="get_picker">
@@ -8952,21 +10110,26 @@
See [method ColorPicker.is_edit_alpha]
</description>
</method>
- <method name="set_color">
- <argument index="0" name="color" type="Color">
+ <method name="set_edit_alpha">
+ <argument index="0" name="show" type="bool">
</argument>
<description>
- Sets the current color
+ See [method ColorPicker.set_edit_alpha]
</description>
</method>
- <method name="set_edit_alpha">
- <argument index="0" name="show" type="bool">
+ <method name="set_pick_color">
+ <argument index="0" name="color" type="Color">
</argument>
<description>
- See [method ColorPicker.set_edit_alpha]
</description>
</method>
</methods>
+ <members>
+ <member name="color" type="Color" setter="set_pick_color" getter="get_pick_color" brief="">
+ </member>
+ <member name="edit_alpha" type="bool" setter="set_edit_alpha" getter="is_editing_alpha" brief="">
+ </member>
+ </members>
<signals>
<signal name="color_changed">
<argument index="0" name="color" type="Color">
@@ -9030,7 +10193,7 @@
</description>
</method>
<method name="get_colors" qualifiers="const">
- <return type="ColorArray">
+ <return type="PoolColorArray">
</return>
<description>
Returns the colors in the ramp
@@ -9046,7 +10209,7 @@
</description>
</method>
<method name="get_offsets" qualifiers="const">
- <return type="RealArray">
+ <return type="PoolRealArray">
</return>
<description>
Returns the offsets for the colors in this ramp
@@ -9085,7 +10248,7 @@
</description>
</method>
<method name="set_colors">
- <argument index="0" name="colors" type="ColorArray">
+ <argument index="0" name="colors" type="PoolColorArray">
</argument>
<description>
Sets the colors for the specified amount of elements. Calling this function with a different number of elements than previously defined causes the ramp to resize its colors and offsets array to accommodate the new elements.
@@ -9101,13 +10264,45 @@
</description>
</method>
<method name="set_offsets">
- <argument index="0" name="offsets" type="RealArray">
+ <argument index="0" name="offsets" type="PoolRealArray">
</argument>
<description>
Sets the offset for the specified amount of elements. Calling this function with a different number of elements than previously defined causes the ramp to resize its colors and offsets array to accommodate the new elements, all new colors will be black by default.
</description>
</method>
</methods>
+ <members>
+ <member name="colors" type="float" setter="set_colors" getter="get_colors" brief="">
+ </member>
+ <member name="offsets" type="float" setter="set_offsets" getter="get_offsets" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="ColorRect" inherits="Control" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_frame_color" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_frame_color">
+ <argument index="0" name="color" type="Color">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="color" type="Color" setter="set_frame_color" getter="get_frame_color" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -9120,14 +10315,14 @@
</description>
<methods>
<method name="get_faces" qualifiers="const">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<description>
Return the faces (an array of triangles).
</description>
</method>
<method name="set_faces">
- <argument index="0" name="faces" type="Vector3Array">
+ <argument index="0" name="faces" type="PoolVector3Array">
</argument>
<description>
Set the faces (an array of triangles).
@@ -9147,20 +10342,24 @@
</description>
<methods>
<method name="get_segments" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
Return the array of segments.
</description>
</method>
<method name="set_segments">
- <argument index="0" name="segments" type="Vector2Array">
+ <argument index="0" name="segments" type="PoolVector2Array">
</argument>
<description>
Set the array of segments.
</description>
</method>
</methods>
+ <members>
+ <member name="segments" type="PoolVector2Array" setter="set_segments" getter="get_segments" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -9187,6 +10386,18 @@
</description>
</method>
</methods>
+ <members>
+ <member name="bias" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="relaxation" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="softness" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="swing_span" type="float" setter="_set_swing_span" getter="_get_swing_span" brief="">
+ </member>
+ <member name="twist_span" type="float" setter="_set_twist_span" getter="_get_twist_span" brief="">
+ </member>
+ </members>
<constants>
<constant name="PARAM_SWING_SPAN" value="0">
</constant>
@@ -9223,8 +10434,14 @@
[/codeblock]
</description>
<methods>
+ <method name="erase_section">
+ <argument index="0" name="section" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_section_keys" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="section" type="String">
</argument>
@@ -9233,7 +10450,7 @@
</description>
</method>
<method name="get_sections" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Return an array of all defined section identifiers.
@@ -9376,7 +10593,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 overridden per each control by calling the add_*_override functions, or from the editor.
</description>
<methods>
- <method name="_input_event" 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="_gui_input" qualifiers="virtual">
<argument index="0" name="event" type="InputEvent">
</argument>
<description>
@@ -9624,11 +10848,11 @@
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_minimum_size" qualifiers="virtual">
- <return type="Vector2">
+ <method name="get_mouse_filter" qualifiers="const">
+ <return type="int">
</return>
<description>
- Return the minimum size this Control can shrink to. A control will never be displayed or resized smaller than its minimum size.
+ Return when the control is ignoring mouse events (even touchpad events send mouse events).
</description>
</method>
<method name="get_parent_area_size" qualifiers="const">
@@ -9811,8 +11035,6 @@
</description>
</method>
<method name="has_point" qualifiers="virtual">
- <return type="bool">
- </return>
<argument index="0" name="point" type="Vector2">
</argument>
<description>
@@ -9836,14 +11058,7 @@
<description>
</description>
</method>
- <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="is_stopping_mouse" qualifiers="const">
+ <method name="is_clipping_contents">
<return type="bool">
</return>
<description>
@@ -9895,6 +11110,12 @@
Sets MARGIN_LEFT and MARGIN_TOP at the same time. This is a helper (see [method set_margin]).
</description>
</method>
+ <method name="set_clip_contents">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_custom_minimum_size">
<argument index="0" name="size" type="Vector2">
</argument>
@@ -9957,13 +11178,6 @@
Hint for containers, set horizontal positioning flags.
</description>
</method>
- <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="set_margin">
<argument index="0" name="margin" type="int">
</argument>
@@ -9973,6 +11187,13 @@
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_mouse_filter">
+ <argument index="0" name="filter" type="int">
+ </argument>
+ <description>
+ Set when the control is ignoring mouse events (even touchpad events send mouse events). (see the MOUSE_FILTER_* constants)
+ </description>
+ </method>
<method name="set_pos">
<argument index="0" name="pos" type="Vector2">
</argument>
@@ -10005,12 +11226,6 @@
Changes MARGIN_RIGHT and MARGIN_BOTTOM to fit a given size. This is a helper (see [method set_margin]).
</description>
</method>
- <method name="set_stop_mouse">
- <argument index="0" name="stop" type="bool">
- </argument>
- <description>
- </description>
- </method>
<method name="set_stretch_ratio">
<argument index="0" name="ratio" type="float">
</argument>
@@ -10053,18 +11268,68 @@
</description>
</method>
</methods>
+ <members>
+ <member name="anchor_bottom" type="int" setter="_set_anchor" getter="get_anchor" brief="">
+ </member>
+ <member name="anchor_left" type="int" setter="_set_anchor" getter="get_anchor" brief="">
+ </member>
+ <member name="anchor_right" type="int" setter="_set_anchor" getter="get_anchor" brief="">
+ </member>
+ <member name="anchor_top" type="int" setter="_set_anchor" getter="get_anchor" brief="">
+ </member>
+ <member name="focus_neighbour_bottom" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour" brief="">
+ </member>
+ <member name="focus_neighbour_left" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour" brief="">
+ </member>
+ <member name="focus_neighbour_right" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour" brief="">
+ </member>
+ <member name="focus_neighbour_top" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour" brief="">
+ </member>
+ <member name="hint_tooltip" type="String" setter="set_tooltip" getter="_get_tooltip" brief="">
+ </member>
+ <member name="margin_bottom" type="int" setter="set_margin" getter="get_margin" brief="">
+ </member>
+ <member name="margin_left" type="int" setter="set_margin" getter="get_margin" brief="">
+ </member>
+ <member name="margin_right" type="int" setter="set_margin" getter="get_margin" brief="">
+ </member>
+ <member name="margin_top" type="int" setter="set_margin" getter="get_margin" brief="">
+ </member>
+ <member name="mouse_filter" type="int" setter="set_mouse_filter" getter="get_mouse_filter" brief="">
+ </member>
+ <member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents" brief="">
+ </member>
+ <member name="rect_min_size" type="Vector2" setter="set_custom_minimum_size" getter="get_custom_minimum_size" brief="">
+ </member>
+ <member name="rect_pos" type="Vector2" setter="set_pos" getter="get_pos" brief="">
+ </member>
+ <member name="rect_rotation" type="float" setter="set_rotation_deg" getter="get_rotation_deg" brief="">
+ </member>
+ <member name="rect_scale" type="Vector2" setter="set_scale" getter="get_scale" brief="">
+ </member>
+ <member name="rect_size" type="Vector2" setter="set_size" getter="get_size" brief="">
+ </member>
+ <member name="size_flags_horizontal" type="int" setter="set_h_size_flags" getter="get_h_size_flags" brief="">
+ </member>
+ <member name="size_flags_stretch_ratio" type="int" setter="set_stretch_ratio" getter="get_stretch_ratio" brief="">
+ </member>
+ <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" brief="">
+ </member>
+ <member name="theme" type="Theme" setter="set_theme" getter="get_theme" brief="">
+ </member>
+ </members>
<signals>
- <signal name="focus_enter">
+ <signal name="focus_entered">
<description>
Emitted when keyboard focus is gained.
</description>
</signal>
- <signal name="focus_exit">
+ <signal name="focus_exited">
<description>
Emitted when the keyboard focus is lost.
</description>
</signal>
- <signal name="input_event">
+ <signal name="gui_input">
<argument index="0" name="ev" type="InputEvent">
</argument>
<description>
@@ -10076,16 +11341,16 @@
Emitted when the minimum size of the control changed.
</description>
</signal>
- <signal name="modal_close">
+ <signal name="modal_closed">
<description>
</description>
</signal>
- <signal name="mouse_enter">
+ <signal name="mouse_entered">
<description>
Emitted when the mouse enters the control area.
</description>
</signal>
- <signal name="mouse_exit">
+ <signal name="mouse_exited">
<description>
Emitted when the mouse left the control area.
</description>
@@ -10108,10 +11373,7 @@
<constant name="ANCHOR_END" value="1">
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.
- </constant>
- <constant name="ANCHOR_CENTER" value="3">
+ <constant name="ANCHOR_CENTER" value="2">
</constant>
<constant name="FOCUS_NONE" value="0">
Control can't acquire focus.
@@ -10177,12 +11439,18 @@
</constant>
<constant name="CURSOR_HELP" value="16">
</constant>
- <constant name="SIZE_EXPAND" value="1">
+ <constant name="SIZE_EXPAND" value="2">
</constant>
- <constant name="SIZE_FILL" value="2">
+ <constant name="SIZE_FILL" value="1">
</constant>
<constant name="SIZE_EXPAND_FILL" value="3">
</constant>
+ <constant name="MOUSE_FILTER_STOP" value="0">
+ </constant>
+ <constant name="MOUSE_FILTER_PASS" value="1">
+ </constant>
+ <constant name="MOUSE_FILTER_IGNORE" value="2">
+ </constant>
</constants>
</class>
<class name="ConvexPolygonShape" inherits="Shape" category="Core">
@@ -10194,18 +11462,22 @@
</description>
<methods>
<method name="get_points" qualifiers="const">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<description>
</description>
</method>
<method name="set_points">
- <argument index="0" name="points" type="Vector3Array">
+ <argument index="0" name="points" type="PoolVector3Array">
</argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="points" type="Array" setter="set_points" getter="get_points" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -10219,27 +11491,31 @@
</description>
<methods>
<method name="get_points" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
Return a list of points in either clockwise or counter clockwise order, forming a convex polygon.
</description>
</method>
<method name="set_point_cloud">
- <argument index="0" name="point_cloud" type="Vector2Array">
+ <argument index="0" name="point_cloud" type="PoolVector2Array">
</argument>
<description>
Currently, this method does nothing.
</description>
</method>
<method name="set_points">
- <argument index="0" name="points" type="Vector2Array">
+ <argument index="0" name="points" type="PoolVector2Array">
</argument>
<description>
Set a list of points in either clockwise or counter clockwise order, forming a convex polygon.
</description>
</method>
</methods>
+ <members>
+ <member name="points" type="PoolVector2Array" setter="set_points" getter="get_points" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -10267,12 +11543,6 @@
<description>
</description>
</method>
- <method name="get_rid" qualifiers="const">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
<method name="get_side" qualifiers="const">
<return type="Image">
</return>
@@ -10372,6 +11642,10 @@
If "atpos" is given, the point is inserted before the point number "atpos", moving that point (and every point after) after the inserted point. If "atpos" is not given, or is an illegal value (atpos &lt;0 or atpos &gt;= [method get_point_count]), the point will be appended at the end of the point list.
</description>
</method>
+ <method name="clear_points">
+ <description>
+ </description>
+ </method>
<method name="get_bake_interval" qualifiers="const">
<return type="float">
</return>
@@ -10387,10 +11661,10 @@
</description>
</method>
<method name="get_baked_points" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
- Returns the cache of points as a [Vector2Array].
+ Returns the cache of points as a [PoolVector2Array].
</description>
</method>
<method name="get_point_count" qualifiers="const">
@@ -10503,7 +11777,7 @@
</description>
</method>
<method name="tesselate" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<argument index="0" name="max_stages" type="int" default="5">
</argument>
@@ -10517,6 +11791,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="_data" type="int" setter="_set_data" getter="_get_data" brief="">
+ </member>
+ <member name="bake_interval" type="float" setter="set_bake_interval" getter="get_bake_interval" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -10543,6 +11823,10 @@
If "atpos" is given, the point is inserted before the point number "atpos", moving that point (and every point after) after the inserted point. If "atpos" is not given, or is an illegal value (atpos &lt;0 or atpos &gt;= [method get_point_count]), the point will be appended at the end of the point list.
</description>
</method>
+ <method name="clear_points">
+ <description>
+ </description>
+ </method>
<method name="get_bake_interval" qualifiers="const">
<return type="float">
</return>
@@ -10558,14 +11842,14 @@
</description>
</method>
<method name="get_baked_points" qualifiers="const">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<description>
- Returns the cache of points as a [Vector3Array].
+ Returns the cache of points as a [PoolVector3Array].
</description>
</method>
<method name="get_baked_tilts" qualifiers="const">
- <return type="RealArray">
+ <return type="PoolRealArray">
</return>
<description>
Returns the cache of tilts as a [RealArray].
@@ -10700,7 +11984,7 @@
</description>
</method>
<method name="tesselate" qualifiers="const">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<argument index="0" name="max_stages" type="int" default="5">
</argument>
@@ -10714,6 +11998,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="_data" type="int" setter="_set_data" getter="_get_data" brief="">
+ </member>
+ <member name="bake_interval" type="float" setter="set_bake_interval" getter="get_bake_interval" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -10782,6 +12072,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="damping" type="float" setter="set_damping" getter="get_damping" brief="">
+ </member>
+ <member name="length" type="float" setter="set_length" getter="get_length" brief="">
+ </member>
+ <member name="rest_length" type="float" setter="set_rest_length" getter="get_rest_length" brief="">
+ </member>
+ <member name="stiffness" type="float" setter="set_stiffness" getter="get_stiffness" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -10844,15 +12144,6 @@
Return the list of keys in the [Dictionary].
</description>
</method>
- <method name="parse_json">
- <return type="int">
- </return>
- <argument index="0" name="json" type="String">
- </argument>
- <description>
- Parse json text to the dictionary. Return OK when successed or the error code when failed.
- </description>
- </method>
<method name="size">
<return type="int">
</return>
@@ -10860,13 +12151,6 @@
Return the size of the dictionary (in pairs).
</description>
</method>
- <method name="to_json">
- <return type="String">
- </return>
- <description>
- Return the dictionary as json text.
- </description>
- </method>
<method name="values">
<return type="Array">
</return>
@@ -10892,43 +12176,47 @@
<description>
</description>
</method>
- <method name="get_shadow_param" qualifiers="const">
- <return type="float">
+ <method name="is_blend_splits_enabled" qualifiers="const">
+ <return type="bool">
</return>
- <argument index="0" name="param" type="int">
- </argument>
<description>
</description>
</method>
- <method name="set_shadow_mode">
- <argument index="0" name="mode" type="int">
+ <method name="set_blend_splits">
+ <argument index="0" name="enabled" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_shadow_param">
- <argument index="0" name="param" type="int">
- </argument>
- <argument index="1" name="value" type="float">
+ <method name="set_shadow_mode">
+ <argument index="0" name="mode" type="int">
</argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="directional_shadow_bias_split_scale" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="directional_shadow_blend_splits" type="bool" setter="set_blend_splits" getter="is_blend_splits_enabled" brief="">
+ </member>
+ <member name="directional_shadow_mode" type="int" setter="set_shadow_mode" getter="get_shadow_mode" brief="">
+ </member>
+ <member name="directional_shadow_normal_bias" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="directional_shadow_split_1" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="directional_shadow_split_2" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="directional_shadow_split_3" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ </members>
<constants>
<constant name="SHADOW_ORTHOGONAL" value="0">
</constant>
- <constant name="SHADOW_PERSPECTIVE" value="1">
- </constant>
- <constant name="SHADOW_PARALLEL_2_SPLITS" value="2">
- </constant>
- <constant name="SHADOW_PARALLEL_4_SPLITS" value="3">
+ <constant name="SHADOW_PARALLEL_2_SPLITS" value="1">
</constant>
- <constant name="SHADOW_PARAM_MAX_DISTANCE" value="0">
- </constant>
- <constant name="SHADOW_PARAM_PSSM_SPLIT_WEIGHT" value="1">
- </constant>
- <constant name="SHADOW_PARAM_PSSM_ZOFFSET_SCALE" value="2">
+ <constant name="SHADOW_PARALLEL_4_SPLITS" value="2">
</constant>
</constants>
</class>
@@ -11010,6 +12298,12 @@
Return the absolute path to the currently opened directory (e.g. [code]res://folder[/code] or [code]C:\tmp\folder[/code]).
</description>
</method>
+ <method name="get_current_drive">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_drive">
<return type="String">
</return>
@@ -11030,7 +12324,8 @@
<return type="String">
</return>
<description>
- Return the next element (file or directory) in the current directory (including [code].[/code] and [code]..[/code]). The name of the file or directory is returned (and not its full path). Once the stream has been fully processed, the method returns an empty String and closes the stream automatically (i.e. [method list_dir_end] would not be mandatory in such a case).
+ Return the next element (file or directory) in the current directory (including [code].[/code] and [code]..[/code], unless [code]skip_navigational[/code] was given to [method list_dir_begin]).
+ The name of the file or directory is returned (and not its full path). Once the stream has been fully processed, the method returns an empty String and closes the stream automatically (i.e. [method list_dir_end] would not be mandatory in such a case).
</description>
</method>
<method name="get_space_left">
@@ -11041,11 +12336,16 @@
</description>
</method>
<method name="list_dir_begin">
- <return type="bool">
+ <return type="int">
</return>
+ <argument index="0" name="skip_navigational" type="bool" default="false">
+ </argument>
+ <argument index="1" name="skip_hidden" type="bool" default="false">
+ </argument>
<description>
Initialise the stream used to list all files and directories using the [method get_next] function, closing the current opened stream if needed. Once the stream has been processed, it should typically be closed with [method list_dir_end].
- Return true if the stream could not be initialised.
+ If you pass [code]skip_navigational[/code], then [code].[/code] and [code]..[/code] would be filtered out.
+ If you pass [code]skip_hidden[/code], then hidden files would be filtered out.
</description>
</method>
<method name="list_dir_end">
@@ -11214,6 +12514,24 @@
</description>
</method>
</methods>
+ <members>
+ <member name="extra_spacing_bottom" type="int" setter="set_spacing" getter="get_spacing" brief="">
+ </member>
+ <member name="extra_spacing_char" type="int" setter="set_spacing" getter="get_spacing" brief="">
+ </member>
+ <member name="extra_spacing_space" type="int" setter="set_spacing" getter="get_spacing" brief="">
+ </member>
+ <member name="extra_spacing_top" type="int" setter="set_spacing" getter="get_spacing" brief="">
+ </member>
+ <member name="font_data" type="DynamicFontData" setter="set_font_data" getter="get_font_data" brief="">
+ </member>
+ <member name="size" type="int" setter="set_size" getter="get_size" brief="">
+ </member>
+ <member name="use_filter" type="bool" setter="set_use_filter" getter="get_use_filter" brief="">
+ </member>
+ <member name="use_mipmaps" type="bool" setter="set_use_mipmaps" getter="get_use_mipmaps" brief="">
+ </member>
+ </members>
<constants>
<constant name="SPACING_TOP" value="0">
</constant>
@@ -11244,32 +12562,10 @@
</description>
</method>
</methods>
- <constants>
- </constants>
-</class>
-<class name="EditorExportPlugin" inherits="Reference" category="Core">
- <brief_description>
- Editor plugin to control the export process.
- </brief_description>
- <description>
- This plugin is added into EditorImportExport and allows to modify the behavior of the export process for individual files.
- </description>
- <methods>
- <method name="custom_export" qualifiers="virtual">
- <return type="Variant">
- </return>
- <argument index="0" name="name" type="String">
- </argument>
- <argument index="1" name="platform" type="EditorExportPlatform">
- </argument>
- <description>
- This function is called for each file exported and depending from the return value one of many things might happen.
- 1) If returned value is null, the file is exported as is.
- 2) If the returned value is a RawAray (array of bytes), the content of that array becomes the new file being exported.
- 3) If the file must also change its name when exported, then a [Dictionary] must be returned with two fields: 'name' with the new filename and 'data' with a [RawArray] containing the raw contents of the file. Even if the name is changed, the run-time will redirect the old file to the new file automatically when accessed.
- </description>
- </method>
- </methods>
+ <members>
+ <member name="font_path" type="String" setter="set_font_path" getter="get_font_path" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -11410,7 +12706,7 @@
</description>
</signal>
<signal name="files_selected">
- <argument index="0" name="paths" type="StringArray">
+ <argument index="0" name="paths" type="PoolStringArray">
</argument>
<description>
</description>
@@ -11459,7 +12755,7 @@
Get the root directory object.
</description>
</method>
- <method name="get_path">
+ <method name="get_filesystem_path">
<return type="EditorFileSystemDirectory">
</return>
<argument index="0" name="path" type="String">
@@ -11601,113 +12897,6 @@
<description>
</description>
</method>
- <method name="is_missing_sources" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="EditorImportPlugin" inherits="Reference" category="Core">
- <brief_description>
- Import plugin for editor
- </brief_description>
- <description>
- Import plugins make it easy to handle importing of external assets into a project. They way they work is not that obvious though, so please make sure to read the documentation, tutorials and examples.
- </description>
- <methods>
- <method name="can_reimport_multiple_files" qualifiers="virtual">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="custom_export" qualifiers="virtual">
- <return type="RawArray">
- </return>
- <argument index="0" name="path" type="String">
- </argument>
- <argument index="1" name="platform" type="EditorExportPlatform">
- </argument>
- <description>
- Generally, files that are imported stay the same when exported. The only exception is in some cases when the file must be re-imported for different platforms (ie. texture compression).
- If you want to customize the export process, it's recommended to use [method EditorExportPlugin.custom_export] instead.
- </description>
- </method>
- <method name="expand_source_path">
- <return type="String">
- </return>
- <argument index="0" name="path" type="String">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_name" qualifiers="virtual">
- <return type="String">
- </return>
- <description>
- Get the name of the import plugin, which will be used to identify content imported by this plugin. Try to use lowercase and underscores if possible.
- </description>
- </method>
- <method name="get_visible_name" qualifiers="virtual">
- <return type="String">
- </return>
- <description>
- Visible name for this plugin, which will be shown on the import menu.
- </description>
- </method>
- <method name="import" qualifiers="virtual">
- <return type="int">
- </return>
- <argument index="0" name="path" type="String">
- </argument>
- <argument index="1" name="from" type="ResourceImportMetadata">
- </argument>
- <description>
- Perform an import of an external resources into the project. This function is both called on import (from the dialog) or re-import (manual or automatic when external source files changed).
- An import process generally works like this:
- 1) Check the metadata for source files and options. Metadata is either generated in the import dialog or taken from an existing resource upon reimport.
- 2) Perform the import process into a new resource. Some times the resource being re-imported may be already loaded and in use, so checking for this by using [method ResourceLoader.has] is recommended. Otherwise create a new resource.
- 3) Set the metadata from the argument into the existing or new resource being created using [method Resource.set_import_metadata].
- 4) Save the resource into 'path' (function argument)
- </description>
- </method>
- <method name="import_dialog" qualifiers="virtual">
- <argument index="0" name="from" type="String">
- </argument>
- <description>
- This function is called when either the user chooses to import a resource of this type (Import menu), or when the user chooses to re-import the resource (from filesystem). In the later case, the path for the existing file is supplied in the argument.
- If the path is supplied, it is recommended to read the import metadata with [method ResourceLoader.load_import_metadata] and fill in the fields with the values contained there.
- The dialog can be shown in any way (just use a ConfirmationDialog and pop it up). Upon confirmation, fill up a ResourceImportMetadata and call the [method EditorImportPlugin.import] function with this information.
- </description>
- </method>
- <method name="import_from_drop" qualifiers="virtual">
- <argument index="0" name="files" type="StringArray">
- </argument>
- <argument index="1" name="dest_path" type="String">
- </argument>
- <description>
- </description>
- </method>
- <method name="reimport_multiple_files" qualifiers="virtual">
- <argument index="0" name="files" type="StringArray">
- </argument>
- <description>
- </description>
- </method>
- <method name="validate_source_path">
- <return type="String">
- </return>
- <argument index="0" name="path" type="String">
- </argument>
- <description>
- </description>
- </method>
</methods>
<constants>
</constants>
@@ -11769,19 +12958,12 @@
During run-time, this will be a simple object with a script so this function does not need to be called then.
</description>
</method>
- <method name="add_export_plugin">
- <argument index="0" name="plugin" type="EditorExportPlugin">
+ <method name="add_tool_submenu_item">
+ <argument index="0" name="name" type="String">
</argument>
- <description>
- Add an export plugin. Plugins of this kind can change files being exported. On exit don't forget to call [method remove_export_plugin].
- </description>
- </method>
- <method name="add_import_plugin">
- <argument index="0" name="plugin" type="EditorImportPlugin">
+ <argument index="1" name="submenu" type="PopupMenu">
</argument>
<description>
- Add an import plugin. These plugins manage importing external content (from outside the project) into formats the engine can understand.
- On exit, don't forget to remove the plugin by calling [method remove_import_plugin]
</description>
</method>
<method name="apply_changes" qualifiers="virtual">
@@ -11811,10 +12993,16 @@
This function is used for plugins that edit specific object types (nodes or resources). It requests the editor to edit the given object.
</description>
</method>
- <method name="forward_canvas_input_event" qualifiers="virtual">
+ <method name="edit_resource">
+ <argument index="0" name="arg0" type="Object">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="forward_canvas_gui_input" qualifiers="virtual">
<return type="bool">
</return>
- <argument index="0" name="canvas_xform" type="Matrix32">
+ <argument index="0" name="canvas_xform" type="Transform2D">
</argument>
<argument index="1" name="event" type="InputEvent">
</argument>
@@ -11823,7 +13011,7 @@
</description>
</method>
<method name="forward_draw_over_canvas" qualifiers="virtual">
- <argument index="0" name="canvas_xform" type="Matrix32">
+ <argument index="0" name="canvas_xform" type="Transform2D">
</argument>
<argument index="1" name="canvas" type="Control">
</argument>
@@ -11831,7 +13019,7 @@
This function is called every time the 2D canvas editor draws (which overlays over the edited scene). Drawing over the supplied control will draw over the edited scene. To convert from control coordinates to edited scene coordinates (including zoom and offset), a transform is also provided. If you require this control to be redraw, call [method update_canvas].
</description>
</method>
- <method name="forward_spatial_input_event" qualifiers="virtual">
+ <method name="forward_spatial_gui_input" qualifiers="virtual">
<return type="bool">
</return>
<argument index="0" name="camera" type="Camera">
@@ -11852,7 +13040,7 @@
</description>
</method>
<method name="get_breakpoints" qualifiers="virtual">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
This is for editors that edit script based objects. You can return a list of breakpoints in the format (script:line), for example: res://path_to_script.gd:25
@@ -11872,13 +13060,6 @@
Get the main editor control. Use this as a parent for main screens.
</description>
</method>
- <method name="edit_resource">
- <argument index="0" name="p_resource" type="Resource">
- </argument>
- <description>
- Tells the editor to handle the edit of the given resource. Ex: If you pass a Script as a argument, the editor will open the scriptEditor.
- </description>
- </method>
<method name="get_name" qualifiers="virtual">
<return type="String">
</return>
@@ -11997,20 +13178,6 @@
Remove a custom type added by [method EditorPlugin.add_custom_type]
</description>
</method>
- <method name="remove_export_plugin">
- <argument index="0" name="plugin" type="EditorExportPlugin">
- </argument>
- <description>
- Remove the export plugin, don't forget to call this on exit.
- </description>
- </method>
- <method name="remove_import_plugin">
- <argument index="0" name="plugin" type="EditorImportPlugin">
- </argument>
- <description>
- Remove the import plugin, don't forget to call this on exit.
- </description>
- </method>
<method name="save_external_data" qualifiers="virtual">
<description>
This method is called after the editor saves the project or when it's closed. It asks the plugin to save edited external scenes/resources.
@@ -12182,26 +13349,6 @@
<constants>
</constants>
</class>
-<class name="EditorScenePostImport" inherits="Reference" category="Core">
- <brief_description>
- Base script for post-processing scenes being imported.
- </brief_description>
- <description>
- These scripts can modify scenes after being imported by the 3D Scene import option of the Import menu.
- </description>
- <methods>
- <method name="post_import" qualifiers="virtual">
- <argument index="0" name="scene" type="Object">
- </argument>
- <description>
- This function is called upon import with the imported scene.
- Just do any changes desired to the scene and return it. If null is returned, import will fail and throw an error to the user.
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="EditorScript" inherits="Reference" category="Core">
<brief_description>
Simple script to perform changes in the currently edited scene.
@@ -12324,7 +13471,7 @@
</description>
</method>
<method name="get_favorite_dirs" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Get the list of favorite directories for this project.
@@ -12338,7 +13485,7 @@
</description>
</method>
<method name="get_recent_dirs" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Get the list of recently visited folders in the file dialog for this project.
@@ -12354,14 +13501,14 @@
</description>
</method>
<method name="set_favorite_dirs">
- <argument index="0" name="dirs" type="StringArray">
+ <argument index="0" name="dirs" type="PoolStringArray">
</argument>
<description>
Set the list of favorite directories for this project.
</description>
</method>
<method name="set_recent_dirs">
- <argument index="0" name="dirs" type="StringArray">
+ <argument index="0" name="dirs" type="PoolStringArray">
</argument>
<description>
Set the list of recently visited folders in the file dialog for this project.
@@ -12386,7 +13533,7 @@
</description>
<methods>
<method name="add_collision_segments">
- <argument index="0" name="segments" type="Vector3Array">
+ <argument index="0" name="segments" type="PoolVector3Array">
</argument>
<description>
</description>
@@ -12399,7 +13546,7 @@
</description>
</method>
<method name="add_handles">
- <argument index="0" name="handles" type="Vector3Array">
+ <argument index="0" name="handles" type="PoolVector3Array">
</argument>
<argument index="1" name="billboard" type="bool" default="false">
</argument>
@@ -12411,7 +13558,7 @@
</description>
</method>
<method name="add_lines">
- <argument index="0" name="lines" type="Vector3Array">
+ <argument index="0" name="lines" type="PoolVector3Array">
</argument>
<argument index="1" name="material" type="Material">
</argument>
@@ -12504,422 +13651,954 @@
<constants>
</constants>
</class>
-<class name="Environment" inherits="Resource" category="Core">
+<class name="Engine" inherits="Object" category="Core">
<brief_description>
</brief_description>
<description>
</description>
<methods>
- <method name="fx_get_param" qualifiers="const">
- <argument index="0" name="param" type="int">
- </argument>
+ <method name="get_custom_level" qualifiers="const">
+ <return type="String">
+ </return>
+ <description>
+ Returns the value of the commandline argument "-level".
+ </description>
+ </method>
+ <method name="get_frames_drawn">
+ <return type="int">
+ </return>
<description>
+ Return the total amount of frames drawn.
</description>
</method>
- <method name="fx_set_param">
- <argument index="0" name="param" type="int">
- </argument>
- <argument index="1" name="value" type="Variant">
- </argument>
+ <method name="get_frames_per_second" qualifiers="const">
+ <return type="float">
+ </return>
<description>
+ Returns the frames per second of the running game.
</description>
</method>
- <method name="get_background" 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="get_background_param" qualifiers="const">
- <argument index="0" name="param" type="int">
- </argument>
+ <method name="get_main_loop" qualifiers="const">
+ <return type="MainLoop">
+ </return>
<description>
+ Return the main loop object (see [MainLoop] and [SceneTree]).
</description>
</method>
- <method name="is_fx_enabled" qualifiers="const">
- <return type="bool">
+ <method name="get_target_fps" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="effect" type="int">
- </argument>
<description>
</description>
</method>
- <method name="set_background">
- <argument index="0" name="bgmode" type="int">
- </argument>
+ <method name="get_time_scale">
+ <return type="float">
+ </return>
<description>
</description>
</method>
- <method name="set_background_param">
- <argument index="0" name="param" type="int">
- </argument>
- <argument index="1" name="value" type="Variant">
+ <method name="get_version_info" qualifiers="const">
+ <return type="Dictionary">
+ </return>
+ <description>
+ Returns the current engine version information in a Dictionary.
+
+ "major" - Holds the major version number as a String
+ "minor" - Holds the minor version number as a String
+ "patch" - Holds the patch version number as a String
+ "status" - Holds the status (e.g. "beta", "rc1", "rc2", ... "stable") as a String
+ "revision" - Holds the revision (e.g. "custom-build") as a String
+ "string" - major + minor + patch + status + revision in a single String
+ </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="set_enable_fx">
- <argument index="0" name="effect" type="int">
+ <method name="set_target_fps">
+ <argument index="0" name="target_fps" type="int">
</argument>
- <argument index="1" name="enabled" type="bool">
+ <description>
+ </description>
+ </method>
+ <method name="set_time_scale">
+ <argument index="0" name="time_scale" type="float">
</argument>
<description>
</description>
</method>
</methods>
<constants>
- <constant name="BG_KEEP" value="0">
- </constant>
- <constant name="BG_DEFAULT_COLOR" value="1">
- </constant>
- <constant name="BG_COLOR" value="2">
- </constant>
- <constant name="BG_TEXTURE" value="3">
- </constant>
- <constant name="BG_CUBEMAP" value="4">
- </constant>
- <constant name="BG_CANVAS" value="5">
- </constant>
- <constant name="BG_MAX" value="6">
- </constant>
- <constant name="BG_PARAM_CANVAS_MAX_LAYER" value="0">
- </constant>
- <constant name="BG_PARAM_COLOR" value="1">
- </constant>
- <constant name="BG_PARAM_TEXTURE" value="2">
- </constant>
- <constant name="BG_PARAM_CUBEMAP" value="3">
- </constant>
- <constant name="BG_PARAM_ENERGY" value="4">
- </constant>
- <constant name="BG_PARAM_GLOW" value="6">
- </constant>
- <constant name="BG_PARAM_MAX" value="7">
- </constant>
- <constant name="FX_AMBIENT_LIGHT" value="0">
- </constant>
- <constant name="FX_FXAA" value="1">
- </constant>
- <constant name="FX_GLOW" value="2">
- </constant>
- <constant name="FX_DOF_BLUR" value="3">
- </constant>
- <constant name="FX_HDR" value="4">
- </constant>
- <constant name="FX_FOG" value="5">
- </constant>
- <constant name="FX_BCS" value="6">
- </constant>
- <constant name="FX_SRGB" value="7">
- </constant>
- <constant name="FX_MAX" value="8">
- </constant>
- <constant name="FX_BLUR_BLEND_MODE_ADDITIVE" value="0">
- </constant>
- <constant name="FX_BLUR_BLEND_MODE_SCREEN" value="1">
- </constant>
- <constant name="FX_BLUR_BLEND_MODE_SOFTLIGHT" value="2">
- </constant>
- <constant name="FX_HDR_TONE_MAPPER_LINEAR" value="0">
- </constant>
- <constant name="FX_HDR_TONE_MAPPER_LOG" value="1">
- </constant>
- <constant name="FX_HDR_TONE_MAPPER_REINHARDT" value="2">
- </constant>
- <constant name="FX_HDR_TONE_MAPPER_REINHARDT_AUTOWHITE" value="3">
- </constant>
- <constant name="FX_PARAM_AMBIENT_LIGHT_COLOR" value="0">
- </constant>
- <constant name="FX_PARAM_AMBIENT_LIGHT_ENERGY" value="1">
- </constant>
- <constant name="FX_PARAM_GLOW_BLUR_PASSES" value="2">
- </constant>
- <constant name="FX_PARAM_GLOW_BLUR_SCALE" value="3">
- </constant>
- <constant name="FX_PARAM_GLOW_BLUR_STRENGTH" value="4">
- </constant>
- <constant name="FX_PARAM_GLOW_BLUR_BLEND_MODE" value="5">
- </constant>
- <constant name="FX_PARAM_GLOW_BLOOM" value="6">
- </constant>
- <constant name="FX_PARAM_GLOW_BLOOM_TRESHOLD" value="7">
- </constant>
- <constant name="FX_PARAM_DOF_BLUR_PASSES" value="8">
- </constant>
- <constant name="FX_PARAM_DOF_BLUR_BEGIN" value="9">
- </constant>
- <constant name="FX_PARAM_DOF_BLUR_RANGE" value="10">
- </constant>
- <constant name="FX_PARAM_HDR_TONEMAPPER" value="11">
- </constant>
- <constant name="FX_PARAM_HDR_EXPOSURE" value="12">
- </constant>
- <constant name="FX_PARAM_HDR_WHITE" value="13">
- </constant>
- <constant name="FX_PARAM_HDR_GLOW_TRESHOLD" value="14">
- </constant>
- <constant name="FX_PARAM_HDR_GLOW_SCALE" value="15">
- </constant>
- <constant name="FX_PARAM_HDR_MIN_LUMINANCE" value="16">
- </constant>
- <constant name="FX_PARAM_HDR_MAX_LUMINANCE" value="17">
- </constant>
- <constant name="FX_PARAM_HDR_EXPOSURE_ADJUST_SPEED" value="18">
- </constant>
- <constant name="FX_PARAM_FOG_BEGIN" value="19">
- </constant>
- <constant name="FX_PARAM_FOG_ATTENUATION" value="22">
- </constant>
- <constant name="FX_PARAM_FOG_BEGIN_COLOR" value="20">
- </constant>
- <constant name="FX_PARAM_FOG_END_COLOR" value="21">
- </constant>
- <constant name="FX_PARAM_FOG_BG" value="23">
- </constant>
- <constant name="FX_PARAM_BCS_BRIGHTNESS" value="24">
- </constant>
- <constant name="FX_PARAM_BCS_CONTRAST" value="25">
- </constant>
- <constant name="FX_PARAM_BCS_SATURATION" value="26">
- </constant>
- <constant name="FX_PARAM_MAX" value="27">
- </constant>
</constants>
</class>
-<class name="EventPlayer" inherits="Node" category="Core">
+<class name="Environment" inherits="Resource" category="Core">
<brief_description>
- Class for event stream playback.
</brief_description>
<description>
- Class for event stream playback. Event streams are music expressed as a series of events (note on, note off, instrument change...), as opposed to audio streams, which are just audio data. Examples of event-based streams are MIDI files, or MOD music.
- Currently, only MOD, S3M, IT, and XM music is supported.
</description>
<methods>
- <method name="get_channel_last_note_time" qualifiers="const">
+ <method name="get_adjustment_brightness" qualifiers="const">
<return type="float">
</return>
- <argument index="0" name="channel" type="int">
- </argument>
<description>
- Return the time at which the last note of a given channel in the stream plays.
</description>
</method>
- <method name="get_channel_volume" qualifiers="const">
+ <method name="get_adjustment_color_correction" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_adjustment_contrast" qualifiers="const">
<return type="float">
</return>
- <argument index="0" name="channel" type="int">
- </argument>
<description>
- Return the volume scale for an individual channel of the stream.
</description>
</method>
- <method name="get_length" qualifiers="const">
+ <method name="get_adjustment_saturation" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ambient_light_color" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ambient_light_energy" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ambient_light_skybox_contribution" qualifiers="const">
<return type="float">
</return>
<description>
- Return the song length. May be in seconds, but depends on the stream type.
</description>
</method>
- <method name="get_loop_count" qualifiers="const">
+ <method name="get_background" qualifiers="const">
<return type="int">
</return>
<description>
- Return the number of times the playback has looped.
</description>
</method>
- <method name="get_pitch_scale" qualifiers="const">
+ <method name="get_bg_color" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_bg_energy" qualifiers="const">
<return type="float">
</return>
<description>
- Return the pitch scale factor for this player.
</description>
</method>
- <method name="get_pos" qualifiers="const">
+ <method name="get_canvas_max_layer" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_dof_blur_far_amount" qualifiers="const">
<return type="float">
</return>
<description>
- Return the playback position. May be in seconds, but depends on the stream type.
</description>
</method>
- <method name="get_stream" qualifiers="const">
- <return type="EventStream">
+ <method name="get_dof_blur_far_distance" qualifiers="const">
+ <return type="float">
</return>
<description>
- Return the currently assigned stream.
</description>
</method>
- <method name="get_stream_name" qualifiers="const">
- <return type="String">
+ <method name="get_dof_blur_far_quality" qualifiers="const">
+ <return type="int">
</return>
<description>
- Return the name of the currently assigned stream. This is not the file name, but a field inside the file. If no stream is assigned, if returns "&lt;No Stream&gt;".
</description>
</method>
- <method name="get_tempo_scale" qualifiers="const">
+ <method name="get_dof_blur_far_transition" qualifiers="const">
<return type="float">
</return>
<description>
- Return the tempo multiplier.
</description>
</method>
- <method name="get_volume" qualifiers="const">
+ <method name="get_dof_blur_near_amount" qualifiers="const">
<return type="float">
</return>
<description>
- Return the playback volume for this player.
</description>
</method>
- <method name="get_volume_db" qualifiers="const">
+ <method name="get_dof_blur_near_distance" qualifiers="const">
<return type="float">
</return>
<description>
- Return the playback volume for this player, in decibels.
</description>
</method>
- <method name="has_autoplay" qualifiers="const">
+ <method name="get_dof_blur_near_quality" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_dof_blur_near_transition" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_glow_blend_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_glow_bloom" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_glow_hdr_bleed_scale" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_glow_hdr_bleed_treshold" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_glow_intensity" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_glow_strength" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_skybox" qualifiers="const">
+ <return type="CubeMap">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_skybox_scale" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssao_bias" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssao_color" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssao_direct_light_affect" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssao_intensity" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssao_intensity2" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssao_radius" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssao_radius2" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssr_accel" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssr_depth_tolerance" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssr_fade" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_ssr_max_steps" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_tonemap_auto_exposure" qualifiers="const">
<return type="bool">
</return>
<description>
- Return whether this player will start playing as soon as it enters the scene tree.
</description>
</method>
- <method name="has_loop" qualifiers="const">
+ <method name="get_tonemap_auto_exposure_grey" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_tonemap_auto_exposure_max" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_tonemap_auto_exposure_min" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_tonemap_auto_exposure_speed" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_tonemap_exposure" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_tonemap_white" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_tonemapper" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_adjustment_enabled" qualifiers="const">
<return type="bool">
</return>
<description>
- Return whether this player will be restart the playback at the end.
</description>
</method>
- <method name="is_paused" qualifiers="const">
+ <method name="is_dof_blur_far_enabled" qualifiers="const">
<return type="bool">
</return>
<description>
- Return whether the playback is currently paused.
</description>
</method>
- <method name="is_playing" qualifiers="const">
+ <method name="is_dof_blur_near_enabled" qualifiers="const">
<return type="bool">
</return>
<description>
- Return whether this player is playing.
</description>
</method>
- <method name="play">
+ <method name="is_glow_bicubic_upscale_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
<description>
- Play the currently assigned stream.
</description>
</method>
- <method name="seek_pos">
- <argument index="0" name="time" type="float">
+ <method name="is_glow_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_glow_level_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="idx" type="int">
</argument>
<description>
- Set the playback position. May be in seconds, but depends on the stream type.
</description>
</method>
- <method name="set_autoplay">
+ <method name="is_ssao_blur_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_ssao_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_ssr_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_ssr_rough" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_ssr_smooth" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_adjustment_brightness">
+ <argument index="0" name="brightness" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_adjustment_color_correction">
+ <argument index="0" name="color_correction" type="Object">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_adjustment_contrast">
+ <argument index="0" name="contrast" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_adjustment_enable">
<argument index="0" name="enabled" type="bool">
</argument>
<description>
- Set whether this player will start playing as soon as it enters the scene tree.
</description>
</method>
- <method name="set_channel_volume">
- <argument index="0" name="channel" type="int">
+ <method name="set_adjustment_saturation">
+ <argument index="0" name="saturation" type="float">
</argument>
- <argument index="1" name="channel_volume" type="float">
+ <description>
+ </description>
+ </method>
+ <method name="set_ambient_light_color">
+ <argument index="0" name="color" type="Color">
</argument>
<description>
- Set the volume scale for an individual channel of the stream, with the same value range as [method set_volume]. The channel number depends on the stream format. For example, MIDIs range from 0 to 15, and MODs from 0 to 63.
- Many stream formats are multichannel, so this allows to affect only a part of the music.
</description>
</method>
- <method name="set_loop">
+ <method name="set_ambient_light_energy">
+ <argument index="0" name="energy" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ambient_light_skybox_contribution">
+ <argument index="0" name="energy" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_background">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_bg_color">
+ <argument index="0" name="color" type="Color">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_bg_energy">
+ <argument index="0" name="energy" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_canvas_max_layer">
+ <argument index="0" name="layer" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_dof_blur_far_amount">
+ <argument index="0" name="intensity" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_dof_blur_far_distance">
+ <argument index="0" name="intensity" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_dof_blur_far_enabled">
<argument index="0" name="enabled" type="bool">
</argument>
<description>
- Set whether the stream will be restarted at the end.
</description>
</method>
- <method name="set_paused">
- <argument index="0" name="paused" type="bool">
+ <method name="set_dof_blur_far_quality">
+ <argument index="0" name="intensity" type="int">
</argument>
<description>
- Pause stream playback.
</description>
</method>
- <method name="set_pitch_scale">
- <argument index="0" name="pitch_scale" type="float">
+ <method name="set_dof_blur_far_transition">
+ <argument index="0" name="intensity" type="float">
</argument>
<description>
- Set the pitch multiplier for all sounds coming from this stream. A value of 2.0 shifts all pitches one octave up, and a value of 0.5 shifts pitches one octave down.
</description>
</method>
- <method name="set_stream">
- <argument index="0" name="stream" type="EventStream">
+ <method name="set_dof_blur_near_amount">
+ <argument index="0" name="intensity" type="float">
</argument>
<description>
- Set the [EventStream] this player will play.
</description>
</method>
- <method name="set_tempo_scale">
- <argument index="0" name="tempo_scale" type="float">
+ <method name="set_dof_blur_near_distance">
+ <argument index="0" name="intensity" type="float">
</argument>
<description>
- Set the tempo multiplier. This allows to slow down or speed up the music, without affecting its pitch.
</description>
</method>
- <method name="set_volume">
- <argument index="0" name="volume" type="float">
+ <method name="set_dof_blur_near_enabled">
+ <argument index="0" name="enabled" type="bool">
</argument>
<description>
- Set the playback volume for this player. This is a float between 0.0 (silent) and 1.0 (full volume). Values over 1.0 may amplify sound even more, but may introduce distortion. Negative values may just invert the output waveform, which produces no audible difference.
- The effect of these special values ultimately depends on the low-level implementation of the file format being played.
</description>
</method>
- <method name="set_volume_db">
- <argument index="0" name="db" type="float">
+ <method name="set_dof_blur_near_quality">
+ <argument index="0" name="level" type="int">
</argument>
<description>
- Set the playback volume for this player, in decibels. This is a float between -80.0 (silent) and 0.0 (full volume). Values under -79.0 get truncated to -80, but values over 0.0 do not, so the warnings for over amplifying (see [method set_volume]) still apply.
</description>
</method>
- <method name="stop">
+ <method name="set_dof_blur_near_transition">
+ <argument index="0" name="intensity" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_glow_bicubic_upscale">
+ <argument index="0" name="enabled" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_glow_blend_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_glow_bloom">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_glow_enabled">
+ <argument index="0" name="enabled" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_glow_hdr_bleed_scale">
+ <argument index="0" name="scale" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_glow_hdr_bleed_treshold">
+ <argument index="0" name="treshold" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_glow_intensity">
+ <argument index="0" name="intensity" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_glow_level">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="enabled" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_glow_strength">
+ <argument index="0" name="strength" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_skybox">
+ <argument index="0" name="skybox" type="CubeMap">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_skybox_scale">
+ <argument index="0" name="scale" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssao_bias">
+ <argument index="0" name="bias" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssao_blur">
+ <argument index="0" name="enabled" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssao_color">
+ <argument index="0" name="color" type="Color">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssao_direct_light_affect">
+ <argument index="0" name="amount" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssao_enabled">
+ <argument index="0" name="enabled" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssao_intensity">
+ <argument index="0" name="intensity" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssao_intensity2">
+ <argument index="0" name="intensity" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssao_radius">
+ <argument index="0" name="radius" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssao_radius2">
+ <argument index="0" name="radius" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssr_accel">
+ <argument index="0" name="accel" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssr_depth_tolerance">
+ <argument index="0" name="depth_tolerance" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssr_enabled">
+ <argument index="0" name="enabled" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssr_fade">
+ <argument index="0" name="fade" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssr_max_steps">
+ <argument index="0" name="max_steps" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssr_rough">
+ <argument index="0" name="rough" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_ssr_smooth">
+ <argument index="0" name="smooth" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_tonemap_auto_exposure">
+ <argument index="0" name="auto_exposure" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_tonemap_auto_exposure_grey">
+ <argument index="0" name="exposure_grey" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_tonemap_auto_exposure_max">
+ <argument index="0" name="exposure_max" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_tonemap_auto_exposure_min">
+ <argument index="0" name="exposure_min" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_tonemap_auto_exposure_speed">
+ <argument index="0" name="exposure_speed" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_tonemap_exposure">
+ <argument index="0" name="exposure" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_tonemap_white">
+ <argument index="0" name="white" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_tonemapper">
+ <argument index="0" name="mode" type="int">
+ </argument>
<description>
- Stop playing.
</description>
</method>
</methods>
+ <members>
+ <member name="adjustment_brightness" type="float" setter="set_adjustment_brightness" getter="get_adjustment_brightness" brief="">
+ </member>
+ <member name="adjustment_color_correction" type="Texture" setter="set_adjustment_color_correction" getter="get_adjustment_color_correction" brief="">
+ </member>
+ <member name="adjustment_contrast" type="float" setter="set_adjustment_contrast" getter="get_adjustment_contrast" brief="">
+ </member>
+ <member name="adjustment_enabled" type="bool" setter="set_adjustment_enable" getter="is_adjustment_enabled" brief="">
+ </member>
+ <member name="adjustment_saturation" type="float" setter="set_adjustment_saturation" getter="get_adjustment_saturation" brief="">
+ </member>
+ <member name="ambient_light_color" type="Color" setter="set_ambient_light_color" getter="get_ambient_light_color" brief="">
+ </member>
+ <member name="ambient_light_energy" type="float" setter="set_ambient_light_energy" getter="get_ambient_light_energy" brief="">
+ </member>
+ <member name="ambient_light_skybox_contribution" type="float" setter="set_ambient_light_skybox_contribution" getter="get_ambient_light_skybox_contribution" brief="">
+ </member>
+ <member name="auto_expoure_enabled" type="bool" setter="set_tonemap_auto_exposure" getter="get_tonemap_auto_exposure" brief="">
+ </member>
+ <member name="auto_expoure_max_luma" type="float" setter="set_tonemap_auto_exposure_max" getter="get_tonemap_auto_exposure_max" brief="">
+ </member>
+ <member name="auto_expoure_min_luma" type="float" setter="set_tonemap_auto_exposure_min" getter="get_tonemap_auto_exposure_min" brief="">
+ </member>
+ <member name="auto_expoure_scale" type="float" setter="set_tonemap_auto_exposure_grey" getter="get_tonemap_auto_exposure_grey" brief="">
+ </member>
+ <member name="auto_expoure_speed" type="float" setter="set_tonemap_auto_exposure_speed" getter="get_tonemap_auto_exposure_speed" brief="">
+ </member>
+ <member name="background_canvas_max_layer" type="int" setter="set_canvas_max_layer" getter="get_canvas_max_layer" brief="">
+ </member>
+ <member name="background_color" type="Color" setter="set_bg_color" getter="get_bg_color" brief="">
+ </member>
+ <member name="background_energy" type="float" setter="set_bg_energy" getter="get_bg_energy" brief="">
+ </member>
+ <member name="background_mode" type="int" setter="set_background" getter="get_background" brief="">
+ </member>
+ <member name="background_skybox" type="SkyBox" setter="set_skybox" getter="get_skybox" brief="">
+ </member>
+ <member name="background_skybox_scale" type="float" setter="set_skybox_scale" getter="get_skybox_scale" brief="">
+ </member>
+ <member name="dof_blur_far_amount" type="float" setter="set_dof_blur_far_amount" getter="get_dof_blur_far_amount" brief="">
+ </member>
+ <member name="dof_blur_far_distance" type="float" setter="set_dof_blur_far_distance" getter="get_dof_blur_far_distance" brief="">
+ </member>
+ <member name="dof_blur_far_enabled" type="bool" setter="set_dof_blur_far_enabled" getter="is_dof_blur_far_enabled" brief="">
+ </member>
+ <member name="dof_blur_far_quality" type="int" setter="set_dof_blur_far_quality" getter="get_dof_blur_far_quality" brief="">
+ </member>
+ <member name="dof_blur_far_transition" type="float" setter="set_dof_blur_far_transition" getter="get_dof_blur_far_transition" brief="">
+ </member>
+ <member name="dof_blur_near_amount" type="float" setter="set_dof_blur_near_amount" getter="get_dof_blur_near_amount" brief="">
+ </member>
+ <member name="dof_blur_near_distance" type="float" setter="set_dof_blur_near_distance" getter="get_dof_blur_near_distance" brief="">
+ </member>
+ <member name="dof_blur_near_enabled" type="bool" setter="set_dof_blur_near_enabled" getter="is_dof_blur_near_enabled" brief="">
+ </member>
+ <member name="dof_blur_near_quality" type="int" setter="set_dof_blur_near_quality" getter="get_dof_blur_near_quality" brief="">
+ </member>
+ <member name="dof_blur_near_transition" type="float" setter="set_dof_blur_near_transition" getter="get_dof_blur_near_transition" brief="">
+ </member>
+ <member name="glow_bicubic_upscale" type="bool" setter="set_glow_bicubic_upscale" getter="is_glow_bicubic_upscale_enabled" brief="">
+ </member>
+ <member name="glow_blend_mode" type="int" setter="set_glow_blend_mode" getter="get_glow_blend_mode" brief="">
+ </member>
+ <member name="glow_bloom" type="float" setter="set_glow_bloom" getter="get_glow_bloom" brief="">
+ </member>
+ <member name="glow_enabled" type="bool" setter="set_glow_enabled" getter="is_glow_enabled" brief="">
+ </member>
+ <member name="glow_hdr_scale" type="float" setter="set_glow_hdr_bleed_scale" getter="get_glow_hdr_bleed_scale" brief="">
+ </member>
+ <member name="glow_hdr_treshold" type="float" setter="set_glow_hdr_bleed_treshold" getter="get_glow_hdr_bleed_treshold" brief="">
+ </member>
+ <member name="glow_intensity" type="float" setter="set_glow_intensity" getter="get_glow_intensity" brief="">
+ </member>
+ <member name="glow_levels/1" type="bool" setter="set_glow_level" getter="is_glow_level_enabled" brief="">
+ </member>
+ <member name="glow_levels/2" type="bool" setter="set_glow_level" getter="is_glow_level_enabled" brief="">
+ </member>
+ <member name="glow_levels/3" type="bool" setter="set_glow_level" getter="is_glow_level_enabled" brief="">
+ </member>
+ <member name="glow_levels/4" type="bool" setter="set_glow_level" getter="is_glow_level_enabled" brief="">
+ </member>
+ <member name="glow_levels/5" type="bool" setter="set_glow_level" getter="is_glow_level_enabled" brief="">
+ </member>
+ <member name="glow_levels/6" type="bool" setter="set_glow_level" getter="is_glow_level_enabled" brief="">
+ </member>
+ <member name="glow_levels/7" type="bool" setter="set_glow_level" getter="is_glow_level_enabled" brief="">
+ </member>
+ <member name="glow_strength" type="float" setter="set_glow_strength" getter="get_glow_strength" brief="">
+ </member>
+ <member name="ss_reflections_accel" type="float" setter="set_ssr_accel" getter="get_ssr_accel" brief="">
+ </member>
+ <member name="ss_reflections_accel_smooth" type="bool" setter="set_ssr_smooth" getter="is_ssr_smooth" brief="">
+ </member>
+ <member name="ss_reflections_depth_tolerance" type="float" setter="set_ssr_depth_tolerance" getter="get_ssr_depth_tolerance" brief="">
+ </member>
+ <member name="ss_reflections_enabled" type="bool" setter="set_ssr_enabled" getter="is_ssr_enabled" brief="">
+ </member>
+ <member name="ss_reflections_fade" type="float" setter="set_ssr_fade" getter="get_ssr_fade" brief="">
+ </member>
+ <member name="ss_reflections_max_steps" type="int" setter="set_ssr_max_steps" getter="get_ssr_max_steps" brief="">
+ </member>
+ <member name="ss_reflections_roughness" type="bool" setter="set_ssr_rough" getter="is_ssr_rough" brief="">
+ </member>
+ <member name="ssao_bias" type="float" setter="set_ssao_bias" getter="get_ssao_bias" brief="">
+ </member>
+ <member name="ssao_blur" type="bool" setter="set_ssao_blur" getter="is_ssao_blur_enabled" brief="">
+ </member>
+ <member name="ssao_color" type="Color" setter="set_ssao_color" getter="get_ssao_color" brief="">
+ </member>
+ <member name="ssao_enabled" type="bool" setter="set_ssao_enabled" getter="is_ssao_enabled" brief="">
+ </member>
+ <member name="ssao_intensity" type="float" setter="set_ssao_intensity" getter="get_ssao_intensity" brief="">
+ </member>
+ <member name="ssao_intensity2" type="float" setter="set_ssao_intensity2" getter="get_ssao_intensity2" brief="">
+ </member>
+ <member name="ssao_light_affect" type="float" setter="set_ssao_direct_light_affect" getter="get_ssao_direct_light_affect" brief="">
+ </member>
+ <member name="ssao_radius" type="float" setter="set_ssao_radius" getter="get_ssao_radius" brief="">
+ </member>
+ <member name="ssao_radius2" type="float" setter="set_ssao_radius2" getter="get_ssao_radius2" brief="">
+ </member>
+ <member name="tonemap_exposure" type="float" setter="set_tonemap_exposure" getter="get_tonemap_exposure" brief="">
+ </member>
+ <member name="tonemap_mode" type="int" setter="set_tonemapper" getter="get_tonemapper" brief="">
+ </member>
+ <member name="tonemap_white" type="float" setter="set_tonemap_white" getter="get_tonemap_white" brief="">
+ </member>
+ </members>
<constants>
- </constants>
-</class>
-<class name="EventStream" inherits="Resource" category="Core">
- <brief_description>
- Base class for all event-based stream drivers.
- </brief_description>
- <description>
- Base class for all event-based stream drivers. Event streams are music expressed as a series of events (note on, note off, instrument change...), as opposed to audio streams, which are just audio data. Examples of event-based streams are MIDI files, of MOD music.
- This class exposes no methods.
- </description>
- <methods>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="EventStreamChibi" inherits="EventStream" category="Core">
- <brief_description>
- Driver for MOD playback.
- </brief_description>
- <description>
- This driver plays MOD music. MOD music, as all event-based streams, is a music format defined by note events occurring at defined moments, instead of a stream of audio samples.
- Currently, this driver supports the MOD, S3M, IT, and XM formats.
- This class exposes no methods.
- This class can return its playback position in seconds, but does not allow to set it, failing with only a console warning.
- This class can not return its song length, returning 1.0 when queried.
- This class does not limit its volume settings, allowing for overflow/distortion and wave inversion.
- </description>
- <methods>
- </methods>
- <constants>
+ <constant name="BG_KEEP" value="4">
+ </constant>
+ <constant name="BG_CLEAR_COLOR" value="0">
+ </constant>
+ <constant name="BG_COLOR" value="1">
+ </constant>
+ <constant name="BG_SKYBOX" value="2">
+ </constant>
+ <constant name="BG_CANVAS" value="3">
+ </constant>
+ <constant name="BG_MAX" value="5">
+ </constant>
+ <constant name="GLOW_BLEND_MODE_ADDITIVE" value="0">
+ </constant>
+ <constant name="GLOW_BLEND_MODE_SCREEN" value="1">
+ </constant>
+ <constant name="GLOW_BLEND_MODE_SOFTLIGHT" value="2">
+ </constant>
+ <constant name="GLOW_BLEND_MODE_REPLACE" value="3">
+ </constant>
+ <constant name="TONE_MAPPER_LINEAR" value="0">
+ </constant>
+ <constant name="TONE_MAPPER_REINHARDT" value="1">
+ </constant>
+ <constant name="TONE_MAPPER_FILMIC" value="2">
+ </constant>
+ <constant name="TONE_MAPPER_ACES" value="3">
+ </constant>
+ <constant name="DOF_BLUR_QUALITY_LOW" value="0">
+ </constant>
+ <constant name="DOF_BLUR_QUALITY_MEDIUM" value="1">
+ </constant>
+ <constant name="DOF_BLUR_QUALITY_HIGH" value="2">
+ </constant>
</constants>
</class>
<class name="File" inherits="Reference" category="Core">
@@ -13002,16 +14681,16 @@
</description>
</method>
<method name="get_buffer" qualifiers="const">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<argument index="0" name="len" type="int">
</argument>
<description>
- Get next len bytes of the file as a [RawArray].
+ Get next len bytes of the file as a [PoolByteArray].
</description>
</method>
<method name="get_csv_line" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="delim" type="String" default="&quot;,&quot;">
</argument>
@@ -13070,6 +14749,14 @@
Return a md5 String representing the file at the given path or an empty [String] on failure.
</description>
</method>
+ <method name="get_modified_time" qualifiers="const">
+ <return type="int">
+ </return>
+ <argument index="0" name="file" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_pascal_string">
<return type="String">
</return>
@@ -13130,7 +14817,7 @@
</argument>
<argument index="1" name="mode_flags" type="int">
</argument>
- <argument index="2" name="key" type="RawArray">
+ <argument index="2" name="key" type="PoolByteArray">
</argument>
<description>
Open an encrypted file in write or read mode. You need to pass a binary key to encrypt/decrypt it.
@@ -13200,7 +14887,7 @@
</description>
</method>
<method name="store_buffer">
- <argument index="0" name="buffer" type="RawArray">
+ <argument index="0" name="buffer" type="PoolByteArray">
</argument>
<description>
Store the given array of bytes in the file.
@@ -13320,7 +15007,7 @@
</description>
</method>
<method name="get_filters" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
</description>
@@ -13380,7 +15067,7 @@
</description>
</method>
<method name="set_filters">
- <argument index="0" name="filters" type="StringArray">
+ <argument index="0" name="filters" type="PoolStringArray">
</argument>
<description>
</description>
@@ -13400,6 +15087,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="access" type="int" setter="set_access" getter="get_access" brief="">
+ </member>
+ <member name="filters" type="PoolStringArray" setter="set_filters" getter="get_filters" brief="">
+ </member>
+ <member name="mode" type="int" setter="set_mode" getter="get_mode" brief="">
+ </member>
+ <member name="show_hidden_files" type="bool" setter="set_show_hidden_files" getter="is_showing_hidden_files" brief="">
+ </member>
+ </members>
<signals>
<signal name="dir_selected">
<argument index="0" name="dir" type="String">
@@ -13416,7 +15113,7 @@
</description>
</signal>
<signal name="files_selected">
- <argument index="0" name="paths" type="StringArray">
+ <argument index="0" name="paths" type="PoolStringArray">
</argument>
<description>
Event emitted when the user selects multiple files.
@@ -13466,25 +15163,116 @@
FixedSpatialMaterial is a simple type of material [Resource], which contains a fixed amount of parameters. 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="get_fixed_flag" qualifiers="const">
- <return type="bool">
+ <method name="get_albedo" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_anisotropy" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_blend_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_clearcoat" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="flag" type="int">
- </argument>
<description>
</description>
</method>
- <method name="get_light_shader" qualifiers="const">
+ <method name="get_clearcoat_gloss" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_cull_mode" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="get_parameter" qualifiers="const">
- <argument index="0" name="param" type="int">
+ <method name="get_depth_draw_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_detail_blend_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_detail_uv" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_diffuse_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_emission" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_emission_energy" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_feature" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="feature" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_flag" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="arg0" type="int">
</argument>
<description>
- 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="get_height_scale" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_line_width" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_metalness" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_normal_scale" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
</description>
</method>
<method name="get_point_size" qualifiers="const">
@@ -13493,139 +15281,511 @@
<description>
</description>
</method>
- <method name="get_texcoord_mode" qualifiers="const">
+ <method name="get_refraction" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_refraction_roughness" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_rim" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_rim_tint" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_roughness" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_specular" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_specular_mode" qualifiers="const">
<return type="int">
</return>
- <argument index="0" name="param" type="int">
- </argument>
<description>
- 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="get_subsurface_scattering_strength" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
</description>
</method>
<method name="get_texture" qualifiers="const">
<return type="Texture">
</return>
- <argument index="0" name="param" type="int">
+ <argument index="0" name="param" type="Texture">
</argument>
<description>
- 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="get_uv_transform" qualifiers="const">
- <return type="Transform">
+ <method name="get_uv1_offset" qualifiers="const">
+ <return type="Vector2">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_uv1_scale" qualifiers="const">
+ <return type="Vector2">
</return>
<description>
- Returns the special transform used to post-transform UV coordinates of the uv_xform texcoord mode: TEXCOORD_UV_TRANSFORM.
</description>
</method>
- <method name="set_fixed_flag">
+ <method name="get_uv2_offset" qualifiers="const">
+ <return type="Vector2">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_uv2_scale" qualifiers="const">
+ <return type="Vector2">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_albedo">
+ <argument index="0" name="albedo" type="Color">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_anisotropy">
+ <argument index="0" name="anisotropy" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_blend_mode">
+ <argument index="0" name="blend_mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_clearcoat">
+ <argument index="0" name="clearcoat" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_clearcoat_gloss">
+ <argument index="0" name="clearcoat_gloss" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_cull_mode">
+ <argument index="0" name="cull_mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_depth_draw_mode">
+ <argument index="0" name="depth_draw_mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_detail_blend_mode">
+ <argument index="0" name="detail_blend_mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_detail_uv">
+ <argument index="0" name="detail_uv" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_diffuse_mode">
+ <argument index="0" name="diffuse_mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_emission">
+ <argument index="0" name="emission" type="Color">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_emission_energy">
+ <argument index="0" name="emission_energy" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_feature">
+ <argument index="0" name="feature" type="int">
+ </argument>
+ <argument index="1" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_flag">
<argument index="0" name="flag" type="int">
</argument>
- <argument index="1" name="value" type="bool">
+ <argument index="1" name="enable" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_light_shader">
- <argument index="0" name="shader" type="int">
+ <method name="set_height_scale">
+ <argument index="0" name="height_scale" type="float">
</argument>
<description>
</description>
</method>
- <method name="set_parameter">
- <argument index="0" name="param" type="int">
+ <method name="set_line_width">
+ <argument index="0" name="line_width" type="float">
</argument>
- <argument index="1" name="value" type="Variant">
+ <description>
+ </description>
+ </method>
+ <method name="set_metalness">
+ <argument index="0" name="metalness" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_normal_scale">
+ <argument index="0" name="normal_scale" type="float">
</argument>
<description>
- 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="set_point_size">
- <argument index="0" name="size" type="float">
+ <argument index="0" name="point_size" type="float">
</argument>
<description>
</description>
</method>
- <method name="set_texcoord_mode">
- <argument index="0" name="param" type="int">
+ <method name="set_refraction">
+ <argument index="0" name="refraction" type="float">
</argument>
- <argument index="1" name="mode" type="int">
+ <description>
+ </description>
+ </method>
+ <method name="set_refraction_roughness">
+ <argument index="0" name="refraction_roughness" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_rim">
+ <argument index="0" name="rim" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_rim_tint">
+ <argument index="0" name="rim_tint" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_roughness">
+ <argument index="0" name="roughness" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_specular">
+ <argument index="0" name="specular" type="Color">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_specular_mode">
+ <argument index="0" name="specular_mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_subsurface_scattering_strength">
+ <argument index="0" name="strength" type="float">
</argument>
<description>
- 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="set_texture">
- <argument index="0" name="param" type="int">
+ <argument index="0" name="param" type="Texture">
</argument>
- <argument index="1" name="texture" type="Texture">
+ <argument index="1" name="texture" type="Object">
</argument>
<description>
- 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="set_uv_transform">
- <argument index="0" name="transform" type="Transform">
+ <method name="set_uv1_offset">
+ <argument index="0" name="offset" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_uv1_scale">
+ <argument index="0" name="scale" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_uv2_offset">
+ <argument index="0" name="offset" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_uv2_scale">
+ <argument index="0" name="scale" type="Vector2">
</argument>
<description>
- Sets a special transform used to post-transform UV coordinates of the uv_xform texcoord mode: TEXCOORD_UV_TRANSFORM.
</description>
</method>
</methods>
+ <members>
+ <member name="albedo_color" type="Color" setter="set_albedo" getter="get_albedo" brief="">
+ </member>
+ <member name="albedo_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="anisotropy_anisotropy" type="float" setter="set_anisotropy" getter="get_anisotropy" brief="">
+ </member>
+ <member name="anisotropy_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="anisotropy_flowmap" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="ao_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="ao_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="clearcoat_amount" type="float" setter="set_clearcoat" getter="get_clearcoat" brief="">
+ </member>
+ <member name="clearcoat_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="clearcoat_gloss" type="float" setter="set_clearcoat_gloss" getter="get_clearcoat_gloss" brief="">
+ </member>
+ <member name="clearcoat_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="detail_albedo" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="detail_blend_mode" type="int" setter="set_detail_blend_mode" getter="get_detail_blend_mode" brief="">
+ </member>
+ <member name="detail_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="detail_mask" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="detail_normal" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="detail_uv_layer" type="int" setter="set_detail_uv" getter="get_detail_uv" brief="">
+ </member>
+ <member name="emission_color" type="Color" setter="set_emission" getter="get_emission" brief="">
+ </member>
+ <member name="emission_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="emission_energy" type="float" setter="set_emission_energy" getter="get_emission_energy" brief="">
+ </member>
+ <member name="emission_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="flags_on_top" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="flags_transparent" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="flags_unshaded" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="flags_use_point_size" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="height_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="height_scale" type="float" setter="set_height_scale" getter="get_height_scale" brief="">
+ </member>
+ <member name="height_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="normal_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="normal_scale" type="float" setter="set_normal_scale" getter="get_normal_scale" brief="">
+ </member>
+ <member name="normal_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="params_blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" brief="">
+ </member>
+ <member name="params_cull_mode" type="int" setter="set_cull_mode" getter="get_cull_mode" brief="">
+ </member>
+ <member name="params_depth_draw_mode" type="int" setter="set_depth_draw_mode" getter="get_depth_draw_mode" brief="">
+ </member>
+ <member name="params_diffuse_mode" type="int" setter="set_diffuse_mode" getter="get_diffuse_mode" brief="">
+ </member>
+ <member name="params_line_width" type="float" setter="set_line_width" getter="get_line_width" brief="">
+ </member>
+ <member name="params_point_size" type="float" setter="set_point_size" getter="get_point_size" brief="">
+ </member>
+ <member name="refraction_displacement" type="float" setter="set_refraction" getter="get_refraction" brief="">
+ </member>
+ <member name="refraction_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="refraction_roughness" type="float" setter="set_refraction_roughness" getter="get_refraction_roughness" brief="">
+ </member>
+ <member name="refraction_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="rim_amount" type="float" setter="set_rim" getter="get_rim" brief="">
+ </member>
+ <member name="rim_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="rim_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="rim_tint" type="float" setter="set_rim_tint" getter="get_rim_tint" brief="">
+ </member>
+ <member name="specular_color" type="Color" setter="set_specular" getter="get_specular" brief="">
+ </member>
+ <member name="specular_metalness" type="float" setter="set_metalness" getter="get_metalness" brief="">
+ </member>
+ <member name="specular_mode" type="int" setter="set_specular_mode" getter="get_specular_mode" brief="">
+ </member>
+ <member name="specular_roughness" type="float" setter="set_roughness" getter="get_roughness" brief="">
+ </member>
+ <member name="specular_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="subsurf_scatter_enabled" type="bool" setter="set_feature" getter="get_feature" brief="">
+ </member>
+ <member name="subsurf_scatter_strength" type="float" setter="set_subsurface_scattering_strength" getter="get_subsurface_scattering_strength" brief="">
+ </member>
+ <member name="subsurf_scatter_texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="uv1_offset" type="Vector2" setter="set_uv1_offset" getter="get_uv1_offset" brief="">
+ </member>
+ <member name="uv1_scale" type="Vector2" setter="set_uv1_scale" getter="get_uv1_scale" brief="">
+ </member>
+ <member name="uv2_offset" type="Vector2" setter="set_uv2_offset" getter="get_uv2_offset" brief="">
+ </member>
+ <member name="uv2_scale" type="Vector2" setter="set_uv2_scale" getter="get_uv2_scale" brief="">
+ </member>
+ <member name="vertex_color_is_srgb" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="vertex_color_use_as_albedo" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ </members>
<constants>
- <constant name="PARAM_DIFFUSE" value="0">
- Diffuse Lighting (light scattered from surface).
+ <constant name="TEXTURE_ALBEDO" value="0">
</constant>
- <constant name="PARAM_DETAIL" value="1">
- Detail Layer for diffuse lighting.
+ <constant name="TEXTURE_SPECULAR" value="1">
</constant>
- <constant name="PARAM_SPECULAR" value="2">
- Specular Lighting (light reflected from the surface).
+ <constant name="TEXTURE_EMISSION" value="2">
</constant>
- <constant name="PARAM_EMISSION" value="3">
- Emission Lighting (light emitted from the surface).
+ <constant name="TEXTURE_NORMAL" value="3">
</constant>
- <constant name="PARAM_SPECULAR_EXP" value="4">
- Specular Exponent (size of the specular dot).
+ <constant name="TEXTURE_RIM" value="4">
</constant>
- <constant name="PARAM_GLOW" value="5">
- Glow (Visible emitted scattered light).
+ <constant name="TEXTURE_CLEARCOAT" value="5">
</constant>
- <constant name="PARAM_NORMAL" value="6">
- Normal Map (irregularity map).
+ <constant name="TEXTURE_FLOWMAP" value="6">
</constant>
- <constant name="PARAM_SHADE_PARAM" value="7">
+ <constant name="TEXTURE_AMBIENT_OCCLUSION" value="7">
</constant>
- <constant name="PARAM_MAX" value="8">
- Maximum amount of parameters.
+ <constant name="TEXTURE_HEIGHT" value="8">
+ </constant>
+ <constant name="TEXTURE_SUBSURFACE_SCATTERING" value="9">
+ </constant>
+ <constant name="TEXTURE_REFRACTION" value="10">
+ </constant>
+ <constant name="TEXTURE_REFRACTION_ROUGHNESS" value="11">
+ </constant>
+ <constant name="TEXTURE_DETAIL_MASK" value="12">
+ </constant>
+ <constant name="TEXTURE_DETAIL_ALBEDO" value="13">
+ </constant>
+ <constant name="TEXTURE_DETAIL_NORMAL" value="14">
+ </constant>
+ <constant name="TEXTURE_MAX" value="15">
+ </constant>
+ <constant name="DETAIL_UV_1" value="0">
+ </constant>
+ <constant name="DETAIL_UV_2" value="1">
+ </constant>
+ <constant name="FEATURE_TRANSPARENT" value="0">
+ </constant>
+ <constant name="FEATURE_EMISSION" value="1">
+ </constant>
+ <constant name="FEATURE_NORMAL_MAPPING" value="2">
+ </constant>
+ <constant name="FEATURE_RIM" value="3">
+ </constant>
+ <constant name="FEATURE_CLEARCOAT" value="4">
+ </constant>
+ <constant name="FEATURE_ANISOTROPY" value="5">
+ </constant>
+ <constant name="FEATURE_AMBIENT_OCCLUSION" value="6">
+ </constant>
+ <constant name="FEATURE_HEIGHT_MAPPING" value="7">
+ </constant>
+ <constant name="FEATURE_SUBSURACE_SCATTERING" value="8">
+ </constant>
+ <constant name="FEATURE_REFRACTION" value="9">
+ </constant>
+ <constant name="FEATURE_DETAIL" value="10">
+ </constant>
+ <constant name="FEATURE_MAX" value="11">
+ </constant>
+ <constant name="BLEND_MODE_MIX" value="0">
+ </constant>
+ <constant name="BLEND_MODE_ADD" value="1">
+ </constant>
+ <constant name="BLEND_MODE_SUB" value="2">
+ </constant>
+ <constant name="BLEND_MODE_MUL" value="3">
+ </constant>
+ <constant name="DEPTH_DRAW_OPAQUE_ONLY" value="0">
+ </constant>
+ <constant name="DEPTH_DRAW_ALWAYS" value="1">
</constant>
- <constant name="TEXCOORD_UV" value="0">
- Read texture coordinates from the UV array.
+ <constant name="DEPTH_DRAW_DISABLED" value="2">
</constant>
- <constant name="TEXCOORD_UV_TRANSFORM" value="1">
- Read texture coordinates from the UV array and transform them by uv_xform.
+ <constant name="DEPTH_DRAW_ALPHA_OPAQUE_PREPASS" value="3">
</constant>
- <constant name="TEXCOORD_UV2" value="2">
- Read texture coordinates from the UV2 array.
+ <constant name="CULL_BACK" value="0">
</constant>
- <constant name="TEXCOORD_SPHERE" value="3">
+ <constant name="CULL_FRONT" value="1">
</constant>
- <constant name="FLAG_USE_ALPHA" value="0">
+ <constant name="CULL_DISABLED" value="2">
</constant>
- <constant name="FLAG_USE_COLOR_ARRAY" value="1">
+ <constant name="FLAG_UNSHADED" value="0">
</constant>
- <constant name="FLAG_USE_POINT_SIZE" value="2">
+ <constant name="FLAG_ONTOP" value="1">
</constant>
- <constant name="FLAG_DISCARD_ALPHA" value="3">
+ <constant name="FLAG_ALBEDO_FROM_VERTEX_COLOR" value="2">
</constant>
- <constant name="LIGHT_SHADER_LAMBERT" value="0">
+ <constant name="FLAG_SRGB_VERTEX_COLOR" value="3">
</constant>
- <constant name="LIGHT_SHADER_WRAP" value="1">
+ <constant name="FLAG_USE_POINT_SIZE" value="4">
</constant>
- <constant name="LIGHT_SHADER_VELVET" value="2">
+ <constant name="FLAG_MAX" value="5">
</constant>
- <constant name="LIGHT_SHADER_TOON" value="3">
+ <constant name="DIFFUSE_LAMBERT" value="0">
+ </constant>
+ <constant name="DIFFUSE_LAMBERT_WRAP" value="1">
+ </constant>
+ <constant name="DIFFUSE_OREN_NAYAR" value="2">
+ </constant>
+ <constant name="DIFFUSE_BURLEY" value="3">
+ </constant>
+ <constant name="SPECULAR_MODE_METALLIC" value="0">
+ </constant>
+ <constant name="SPECULAR_MODE_SPECULAR" value="1">
</constant>
</constants>
</class>
@@ -13798,7 +15958,7 @@
</description>
<methods>
<method name="get_as_byte_code" qualifiers="const">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<description>
</description>
@@ -13813,6 +15973,316 @@
<constants>
</constants>
</class>
+<class name="GIProbe" inherits="VisualInstance" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="bake">
+ <argument index="0" name="from_node" type="Object" default="NULL">
+ </argument>
+ <argument index="1" name="create_visual_debug" type="bool" default="false">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="debug_bake">
+ <description>
+ </description>
+ </method>
+ <method name="get_bias" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_dynamic_range" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_energy" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_extents" qualifiers="const">
+ <return type="Vector3">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_probe_data" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_propagation" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_subdiv" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_compressed" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_interior" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_bias">
+ <argument index="0" name="max" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_compress">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_dynamic_range">
+ <argument index="0" name="max" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_energy">
+ <argument index="0" name="max" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_extents">
+ <argument index="0" name="extents" type="Vector3">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_interior">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_probe_data">
+ <argument index="0" name="data" type="Object">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_propagation">
+ <argument index="0" name="max" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_subdiv">
+ <argument index="0" name="subdiv" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="bias" type="float" setter="set_bias" getter="get_bias" brief="">
+ </member>
+ <member name="compress" type="bool" setter="set_compress" getter="is_compressed" brief="">
+ </member>
+ <member name="data" type="GIProbeData" setter="set_probe_data" getter="get_probe_data" brief="">
+ </member>
+ <member name="dynamic_range" type="int" setter="set_dynamic_range" getter="get_dynamic_range" brief="">
+ </member>
+ <member name="energy" type="float" setter="set_energy" getter="get_energy" brief="">
+ </member>
+ <member name="extents" type="Vector3" setter="set_extents" getter="get_extents" brief="">
+ </member>
+ <member name="interior" type="bool" setter="set_interior" getter="is_interior" brief="">
+ </member>
+ <member name="propagation" type="float" setter="set_propagation" getter="get_propagation" brief="">
+ </member>
+ <member name="subdiv" type="int" setter="set_subdiv" getter="get_subdiv" brief="">
+ </member>
+ </members>
+ <constants>
+ <constant name="SUBDIV_64" value="0">
+ </constant>
+ <constant name="SUBDIV_128" value="1">
+ </constant>
+ <constant name="SUBDIV_256" value="2">
+ </constant>
+ <constant name="SUBDIV_MAX" value="4">
+ </constant>
+ </constants>
+</class>
+<class name="GIProbeData" inherits="Resource" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_bias" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_bounds" qualifiers="const">
+ <return type="Rect3">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_cell_size" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_dynamic_data" qualifiers="const">
+ <return type="PoolIntArray">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_dynamic_range" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_energy" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_propagation" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_to_cell_xform" qualifiers="const">
+ <return type="Transform">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_compressed" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_interior" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_bias">
+ <argument index="0" name="bias" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_bounds">
+ <argument index="0" name="bounds" type="Rect3">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_cell_size">
+ <argument index="0" name="cell_size" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_compress">
+ <argument index="0" name="compress" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_dynamic_data">
+ <argument index="0" name="dynamic_data" type="PoolIntArray">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_dynamic_range">
+ <argument index="0" name="dynamic_range" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_energy">
+ <argument index="0" name="energy" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_interior">
+ <argument index="0" name="interior" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_propagation">
+ <argument index="0" name="propagation" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_to_cell_xform">
+ <argument index="0" name="to_cell_xform" type="Transform">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="bias" type="float" setter="set_bias" getter="get_bias" brief="">
+ </member>
+ <member name="bounds" type="Rect3" setter="set_bounds" getter="get_bounds" brief="">
+ </member>
+ <member name="cell_size" type="float" setter="set_cell_size" getter="get_cell_size" brief="">
+ </member>
+ <member name="compress" type="bool" setter="set_compress" getter="is_compressed" brief="">
+ </member>
+ <member name="dynamic_data" type="PoolIntArray" setter="set_dynamic_data" getter="get_dynamic_data" brief="">
+ </member>
+ <member name="dynamic_range" type="int" setter="set_dynamic_range" getter="get_dynamic_range" brief="">
+ </member>
+ <member name="energy" type="float" setter="set_energy" getter="get_energy" brief="">
+ </member>
+ <member name="interior" type="bool" setter="set_interior" getter="is_interior" brief="">
+ </member>
+ <member name="propagation" type="float" setter="set_propagation" getter="get_propagation" brief="">
+ </member>
+ <member name="to_cell_xform" type="Transform" setter="set_to_cell_xform" getter="get_to_cell_xform" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
<class name="Generic6DOFJoint" inherits="Joint" category="Core">
<brief_description>
</brief_description>
@@ -13916,6 +16386,110 @@
</description>
</method>
</methods>
+ <members>
+ <member name="angular_limit_x/damping" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="angular_limit_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x" brief="">
+ </member>
+ <member name="angular_limit_x/erp" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="angular_limit_x/force_limit" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="angular_limit_x/lower_angle" type="float" setter="_set_angular_lo_limit_x" getter="_get_angular_lo_limit_x" brief="">
+ </member>
+ <member name="angular_limit_x/restitution" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="angular_limit_x/softness" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="angular_limit_x/upper_angle" type="float" setter="_set_angular_hi_limit_x" getter="_get_angular_hi_limit_x" brief="">
+ </member>
+ <member name="angular_limit_y/damping" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="angular_limit_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y" brief="">
+ </member>
+ <member name="angular_limit_y/erp" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="angular_limit_y/force_limit" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="angular_limit_y/lower_angle" type="float" setter="_set_angular_lo_limit_y" getter="_get_angular_lo_limit_y" brief="">
+ </member>
+ <member name="angular_limit_y/restitution" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="angular_limit_y/softness" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="angular_limit_y/upper_angle" type="float" setter="_set_angular_hi_limit_y" getter="_get_angular_hi_limit_y" brief="">
+ </member>
+ <member name="angular_limit_z/damping" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="angular_limit_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z" brief="">
+ </member>
+ <member name="angular_limit_z/erp" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="angular_limit_z/force_limit" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="angular_limit_z/lower_angle" type="float" setter="_set_angular_lo_limit_z" getter="_get_angular_lo_limit_z" brief="">
+ </member>
+ <member name="angular_limit_z/restitution" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="angular_limit_z/softness" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="angular_limit_z/upper_angle" type="float" setter="_set_angular_hi_limit_z" getter="_get_angular_hi_limit_z" brief="">
+ </member>
+ <member name="angular_motor_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x" brief="">
+ </member>
+ <member name="angular_motor_x/force_limit" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="angular_motor_x/target_velocity" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="angular_motor_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y" brief="">
+ </member>
+ <member name="angular_motor_y/force_limit" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="angular_motor_y/target_velocity" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="angular_motor_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z" brief="">
+ </member>
+ <member name="angular_motor_z/force_limit" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="angular_motor_z/target_velocity" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="linear_limit_x/damping" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="linear_limit_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x" brief="">
+ </member>
+ <member name="linear_limit_x/lower_distance" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="linear_limit_x/restitution" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="linear_limit_x/softness" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="linear_limit_x/upper_distance" type="float" setter="set_param_x" getter="get_param_x" brief="">
+ </member>
+ <member name="linear_limit_y/damping" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="linear_limit_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y" brief="">
+ </member>
+ <member name="linear_limit_y/lower_distance" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="linear_limit_y/restitution" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="linear_limit_y/softness" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="linear_limit_y/upper_distance" type="float" setter="set_param_y" getter="get_param_y" brief="">
+ </member>
+ <member name="linear_limit_z/damping" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="linear_limit_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z" brief="">
+ </member>
+ <member name="linear_limit_z/lower_distance" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="linear_limit_z/restitution" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="linear_limit_z/softness" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ <member name="linear_limit_z/upper_distance" type="float" setter="set_param_z" getter="get_param_z" brief="">
+ </member>
+ </members>
<constants>
<constant name="PARAM_LINEAR_LOWER_LIMIT" value="0">
</constant>
@@ -14013,8 +16587,44 @@
<description>
</description>
</method>
+ <method name="get_closest_point_to_segment_2d">
+ <return type="Vector2">
+ </return>
+ <argument index="0" name="point" type="Vector2">
+ </argument>
+ <argument index="1" name="s1" type="Vector2">
+ </argument>
+ <argument index="2" name="s2" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_closest_point_to_segment_uncapped">
+ <return type="Vector3">
+ </return>
+ <argument index="0" name="point" type="Vector3">
+ </argument>
+ <argument index="1" name="s1" type="Vector3">
+ </argument>
+ <argument index="2" name="s2" type="Vector3">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_closest_point_to_segment_uncapped_2d">
+ <return type="Vector2">
+ </return>
+ <argument index="0" name="point" type="Vector2">
+ </argument>
+ <argument index="1" name="s1" type="Vector2">
+ </argument>
+ <argument index="2" name="s2" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_closest_points_between_segments">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<argument index="0" name="p1" type="Vector3">
</argument>
@@ -14028,7 +16638,7 @@
</description>
</method>
<method name="get_closest_points_between_segments_2d">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<argument index="0" name="p1" type="Vector2">
</argument>
@@ -14052,7 +16662,7 @@
<method name="make_atlas">
<return type="Dictionary">
</return>
- <argument index="0" name="sizes" type="Vector2Array">
+ <argument index="0" name="sizes" type="PoolVector2Array">
</argument>
<description>
</description>
@@ -14100,7 +16710,7 @@
</description>
</method>
<method name="segment_intersects_convex">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<argument index="0" name="from" type="Vector3">
</argument>
@@ -14112,7 +16722,7 @@
</description>
</method>
<method name="segment_intersects_cylinder">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<argument index="0" name="from" type="Vector3">
</argument>
@@ -14138,7 +16748,7 @@
</description>
</method>
<method name="segment_intersects_sphere">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<argument index="0" name="from" type="Vector3">
</argument>
@@ -14166,9 +16776,9 @@
</description>
</method>
<method name="triangulate_polygon">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
- <argument index="0" name="polygon" type="Vector2Array">
+ <argument index="0" name="polygon" type="PoolVector2Array">
</argument>
<description>
</description>
@@ -14185,41 +16795,47 @@
Base node for geometry based visual instances. Shares some common functionality like visibility and custom materials.
</description>
<methods>
- <method name="get_baked_light_texture_id" qualifiers="const">
+ <method name="get_cast_shadows_setting" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="get_cast_shadows_setting" qualifiers="const">
- <return type="int">
+ <method name="get_extra_cull_margin" qualifiers="const">
+ <return type="float">
</return>
<description>
</description>
</method>
- <method name="get_draw_range_begin" qualifiers="const">
+ <method name="get_flag" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="flag" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_lod_max_distance" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_draw_range_end" qualifiers="const">
+ <method name="get_lod_max_hysteresis" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_extra_cull_margin" qualifiers="const">
+ <method name="get_lod_min_distance" qualifiers="const">
<return type="float">
</return>
<description>
</description>
</method>
- <method name="get_flag" qualifiers="const">
- <return type="bool">
+ <method name="get_lod_min_hysteresis" qualifiers="const">
+ <return type="float">
</return>
- <argument index="0" name="flag" type="int">
- </argument>
<description>
</description>
</method>
@@ -14230,40 +16846,46 @@
Return the material override for the whole geometry.
</description>
</method>
- <method name="set_baked_light_texture_id">
- <argument index="0" name="id" type="int">
+ <method name="set_cast_shadows_setting">
+ <argument index="0" name="shadow_casting_setting" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_cast_shadows_setting">
- <argument index="0" name="shadow_casting_setting" type="int">
+ <method name="set_extra_cull_margin">
+ <argument index="0" name="margin" type="float">
</argument>
<description>
</description>
</method>
- <method name="set_draw_range_begin">
- <argument index="0" name="mode" type="float">
+ <method name="set_flag">
+ <argument index="0" name="flag" type="int">
+ </argument>
+ <argument index="1" name="value" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_draw_range_end">
+ <method name="set_lod_max_distance">
<argument index="0" name="mode" type="float">
</argument>
<description>
</description>
</method>
- <method name="set_extra_cull_margin">
- <argument index="0" name="margin" type="float">
+ <method name="set_lod_max_hysteresis">
+ <argument index="0" name="mode" type="float">
</argument>
<description>
</description>
</method>
- <method name="set_flag">
- <argument index="0" name="flag" type="int">
+ <method name="set_lod_min_distance">
+ <argument index="0" name="mode" type="float">
</argument>
- <argument index="1" name="value" type="bool">
+ <description>
+ </description>
+ </method>
+ <method name="set_lod_min_hysteresis">
+ <argument index="0" name="mode" type="float">
</argument>
<description>
</description>
@@ -14276,22 +16898,44 @@
</description>
</method>
</methods>
+ <members>
+ <member name="cast_shadow" type="int" setter="set_cast_shadows_setting" getter="get_cast_shadows_setting" brief="">
+ </member>
+ <member name="extra_cull_margin" type="float" setter="set_extra_cull_margin" getter="get_extra_cull_margin" brief="">
+ </member>
+ <member name="lod_max_distance" type="int" setter="set_lod_max_distance" getter="get_lod_max_distance" brief="">
+ </member>
+ <member name="lod_max_hysteresis" type="int" setter="set_lod_max_hysteresis" getter="get_lod_max_hysteresis" brief="">
+ </member>
+ <member name="lod_min_distance" type="int" setter="set_lod_min_distance" getter="get_lod_min_distance" brief="">
+ </member>
+ <member name="lod_min_hysteresis" type="int" setter="set_lod_min_hysteresis" getter="get_lod_min_hysteresis" brief="">
+ </member>
+ <member name="material_override" type="Material" setter="set_material_override" getter="get_material_override" brief="">
+ </member>
+ <member name="use_as_billboard" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="use_as_y_billboard" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="use_depth_scale" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="use_in_baked_light" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="visible_in_all_rooms" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ </members>
<constants>
- <constant name="FLAG_VISIBLE" value="0">
- </constant>
- <constant name="FLAG_CAST_SHADOW" value="3">
- </constant>
- <constant name="FLAG_RECEIVE_SHADOWS" value="4">
+ <constant name="FLAG_CAST_SHADOW" value="2">
</constant>
- <constant name="FLAG_BILLBOARD" value="1">
+ <constant name="FLAG_BILLBOARD" value="0">
</constant>
- <constant name="FLAG_BILLBOARD_FIX_Y" value="2">
+ <constant name="FLAG_BILLBOARD_FIX_Y" value="1">
</constant>
- <constant name="FLAG_DEPH_SCALE" value="5">
+ <constant name="FLAG_DEPH_SCALE" value="3">
</constant>
- <constant name="FLAG_VISIBLE_IN_ALL_ROOMS" value="6">
+ <constant name="FLAG_VISIBLE_IN_ALL_ROOMS" value="4">
</constant>
- <constant name="FLAG_MAX" value="8">
+ <constant name="FLAG_MAX" value="6">
</constant>
<constant name="SHADOW_CASTING_SETTING_OFF" value="0">
</constant>
@@ -14303,7 +16947,7 @@
</constant>
</constants>
</class>
-<class name="Globals" inherits="Object" category="Core">
+<class name="GlobalConfig" inherits="Object" category="Core">
<brief_description>
Contains global variables accessible from everywhere.
</brief_description>
@@ -14316,19 +16960,19 @@
</argument>
<description>
Add a custom property info to a property. The dictionary must contain: name:[String](the name of the property) and type:[int](see TYPE_* in [@Global Scope]), and optionally hint:[int](see PROPERTY_HINT_* in [@Global Scope]), hint_string:[String].
- Example:
- [codeblock]
- Globals.set("category/property_name", 0)
+ Example:
+ [codeblock]
+ Globals.set("category/property_name", 0)
- var property_info = {
- "name": "category/property_name",
- "type": TYPE_INT,
- "hint": PROPERTY_HINT_ENUM,
- "hint_string": "one,two,three"
- }
+ var property_info = {
+ "name": "category/property_name",
+ "type": TYPE_INT,
+ "hint": PROPERTY_HINT_ENUM,
+ "hint_string": "one,two,three"
+ }
- Globals.add_property_info(property_info)
- [/codeblock]
+ Globals.add_property_info(property_info)
+ [/codeblock]
</description>
</method>
<method name="clear">
@@ -14381,15 +17025,6 @@
<description>
</description>
</method>
- <method name="is_persisting" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="name" type="String">
- </argument>
- <description>
- If returns true, this value can be saved to the configuration file. This is useful for editors.
- </description>
- </method>
<method name="load_resource_pack">
<return type="bool">
</return>
@@ -14407,6 +17042,20 @@
Convert a path to a localized path (res:// path).
</description>
</method>
+ <method name="property_can_revert">
+ <return type="bool">
+ </return>
+ <argument index="0" name="name" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="property_get_revert">
+ <argument index="0" name="name" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="save">
<return type="int">
</return>
@@ -14421,22 +17070,21 @@
<description>
</description>
</method>
- <method name="set_order">
+ <method name="set_initial_value">
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="pos" type="int">
+ <argument index="1" name="value" type="Variant">
</argument>
<description>
- Set the order of a configuration value (influences when saved to the config file).
</description>
</method>
- <method name="set_persisting">
+ <method name="set_order">
<argument index="0" name="name" type="String">
</argument>
- <argument index="1" name="enable" type="bool">
+ <argument index="1" name="pos" type="int">
</argument>
<description>
- If set to true, this value can be saved to the configuration file. This is useful for editors.
+ Set the order of a configuration value (influences when saved to the config file).
</description>
</method>
</methods>
@@ -14762,12 +17410,6 @@
Return the type of the output connection 'idx'.
</description>
</method>
- <method name="get_modulate" qualifiers="const">
- <return type="Color">
- </return>
- <description>
- </description>
- </method>
<method name="get_offset" qualifiers="const">
<return type="Vector2">
</return>
@@ -14843,6 +17485,12 @@
<description>
</description>
</method>
+ <method name="is_selected">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="is_slot_enabled_left" qualifiers="const">
<return type="bool">
</return>
@@ -14867,12 +17515,6 @@
<description>
</description>
</method>
- <method name="set_modulate">
- <argument index="0" name="color" type="Color">
- </argument>
- <description>
- </description>
- </method>
<method name="set_offset">
<argument index="0" name="offset" type="Vector2">
</argument>
@@ -14892,6 +17534,12 @@
<description>
</description>
</method>
+ <method name="set_selected">
+ <argument index="0" name="selected" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_show_close_button">
<argument index="0" name="show" type="bool">
</argument>
@@ -14929,6 +17577,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="resizeable" type="bool" setter="set_resizeable" getter="is_resizeable" brief="">
+ </member>
+ <member name="show_close" type="bool" setter="set_show_close_button" getter="is_close_button_visible" brief="">
+ </member>
+ <member name="title" type="String" setter="set_title" getter="get_title" brief="">
+ </member>
+ </members>
<signals>
<signal name="close_request">
<description>
@@ -15029,6 +17685,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="columns" type="int" setter="set_columns" getter="get_columns" brief="">
+ </member>
+ </members>
<constants>
</constants>
<theme_items>
@@ -15045,7 +17705,7 @@
</description>
<methods>
<method name="area_get_bounds" qualifiers="const">
- <return type="AABB">
+ <return type="Rect3">
</return>
<argument index="0" name="area" type="int">
</argument>
@@ -15116,10 +17776,6 @@
<description>
</description>
</method>
- <method name="bake_geometry">
- <description>
- </description>
- </method>
<method name="clear">
<description>
</description>
@@ -15129,7 +17785,7 @@
</return>
<argument index="0" name="id" type="int">
</argument>
- <argument index="1" name="area" type="AABB">
+ <argument index="1" name="area" type="Rect3">
</argument>
<description>
</description>
@@ -15188,6 +17844,12 @@
<description>
</description>
</method>
+ <method name="get_meshes">
+ <return type="Array">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_octant_size" qualifiers="const">
<return type="int">
</return>
@@ -15206,30 +17868,12 @@
<description>
</description>
</method>
- <method name="is_baking_enabled" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="is_using_baked_light" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
<method name="resource_changed">
<argument index="0" name="resource" type="Object">
</argument>
<description>
</description>
</method>
- <method name="set_bake">
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
<method name="set_cell_item">
<argument index="0" name="x" type="int">
</argument>
@@ -15292,12 +17936,6 @@
<description>
</description>
</method>
- <method name="set_use_baked_light">
- <argument index="0" name="use" type="bool">
- </argument>
- <description>
- </description>
- </method>
</methods>
<constants>
<constant name="INVALID_CELL_ITEM" value="-1">
@@ -15341,6 +17979,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="initial_offset" type="float" setter="set_initial_offset" getter="get_initial_offset" brief="">
+ </member>
+ <member name="length" type="float" setter="set_length" getter="get_length" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -15504,7 +18148,7 @@
Cloces the current connection, allows for reusal of [HTTPClient].
</description>
</method>
- <method name="connect">
+ <method name="connect_to_host">
<return type="Error">
</return>
<argument index="0" name="host" type="String">
@@ -15543,7 +18187,7 @@
</description>
</method>
<method name="get_response_headers">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Return the response headers.
@@ -15608,7 +18252,7 @@
</description>
</method>
<method name="read_response_body_chunk">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<description>
Reads one chunk from the response.
@@ -15621,7 +18265,7 @@
</argument>
<argument index="1" name="url" type="String">
</argument>
- <argument index="2" name="headers" type="StringArray">
+ <argument index="2" name="headers" type="PoolStringArray">
</argument>
<argument index="3" name="body" type="String" default="&quot;&quot;">
</argument>
@@ -15644,9 +18288,9 @@
</argument>
<argument index="1" name="url" type="String">
</argument>
- <argument index="2" name="headers" type="StringArray">
+ <argument index="2" name="headers" type="PoolStringArray">
</argument>
- <argument index="3" name="body" type="RawArray">
+ <argument index="3" name="body" type="PoolByteArray">
</argument>
<description>
Sends a raw request to the connected host. The url is what is normally behind the hostname, i.e. in [code]http://somehost.com/index.php[/code], url would be "index.php".
@@ -15657,7 +18301,7 @@
<method name="send_body_data">
<return type="int">
</return>
- <argument index="0" name="body" type="RawArray">
+ <argument index="0" name="body" type="PoolByteArray">
</argument>
<description>
Stub function
@@ -15901,7 +18545,7 @@
</return>
<argument index="0" name="url" type="String">
</argument>
- <argument index="1" name="custom_headers" type="StringArray" default="StringArray([])">
+ <argument index="1" name="custom_headers" type="PoolStringArray" default="PoolStringArray([])">
</argument>
<argument index="2" name="ssl_validate_domain" type="bool" default="true">
</argument>
@@ -15941,15 +18585,23 @@
</description>
</method>
</methods>
+ <members>
+ <member name="body_size_limit" type="int" setter="set_body_size_limit" getter="get_body_size_limit" brief="">
+ </member>
+ <member name="max_redirects" type="int" setter="set_max_redirects" getter="get_max_redirects" brief="">
+ </member>
+ <member name="use_threads" type="bool" setter="set_use_threads" getter="is_using_threads" brief="">
+ </member>
+ </members>
<signals>
<signal name="request_completed">
<argument index="0" name="result" type="int">
</argument>
<argument index="1" name="response_code" type="int">
</argument>
- <argument index="2" name="headers" type="StringArray">
+ <argument index="2" name="headers" type="PoolStringArray">
</argument>
- <argument index="3" name="body" type="RawArray">
+ <argument index="3" name="body" type="PoolByteArray">
</argument>
<description>
This signal is emitted upon request completion.
@@ -16033,6 +18685,28 @@
</description>
</method>
</methods>
+ <members>
+ <member name="angular_limit/bias" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_limit/enable" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="angular_limit/lower" type="float" setter="_set_lower_limit" getter="_get_lower_limit" brief="">
+ </member>
+ <member name="angular_limit/relaxation" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_limit/softness" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_limit/upper" type="float" setter="_set_upper_limit" getter="_get_upper_limit" brief="">
+ </member>
+ <member name="motor/enable" type="bool" setter="set_flag" getter="get_flag" brief="">
+ </member>
+ <member name="motor/max_impulse" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="motor/target_velocity" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/bias" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ </members>
<constants>
<constant name="PARAM_BIAS" value="0">
</constant>
@@ -16068,6 +18742,12 @@
IP contains some support functions for the IPv4 protocol. TCP/IP support is in different classes (see [StreamPeerTCP] and [TCP_Server]). IP provides hostname resolution support, both blocking and threaded.
</description>
<methods>
+ <method name="clear_cache">
+ <argument index="0" name="arg0" type="String" default="&quot;&quot;">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="erase_resolve_item">
<argument index="0" name="id" type="int">
</argument>
@@ -16104,7 +18784,7 @@
</return>
<argument index="0" name="host" type="String">
</argument>
- <argument index="1" name="ip_type" type="int" default="IP.TYPE_ANY">
+ <argument index="1" name="ip_type" type="int" default="3">
</argument>
<description>
Resolve a given hostname, blocking. Resolved hostname is returned as an IPv4 or IPv6 depending on "ip_type".
@@ -16115,7 +18795,7 @@
</return>
<argument index="0" name="host" type="String">
</argument>
- <argument index="1" name="ip_type" type="int" default="IP.TYPE_ANY">
+ <argument index="1" name="ip_type" type="int" default="3">
</argument>
<description>
Create a queue item for resolving a given hostname to an IPv4 or IPv6 depending on "ip_type". The queue ID is returned, or RESOLVER_INVALID_ID on error.
@@ -16135,6 +18815,14 @@
</constant>
<constant name="RESOLVER_INVALID_ID" value="-1">
</constant>
+ <constant name="TYPE_NONE" value="0">
+ </constant>
+ <constant name="TYPE_IPV4" value="1">
+ </constant>
+ <constant name="TYPE_IPV6" value="2">
+ </constant>
+ <constant name="TYPE_ANY" value="3">
+ </constant>
</constants>
</class>
<class name="IP_Unix" inherits="IP" category="Core">
@@ -16181,30 +18869,6 @@
Copy a "src_rect" [Rect2] from "src" [Image] to this [Image] on coordinates "dest".
</description>
</method>
- <method name="brush_transfer">
- <argument index="0" name="src" type="Image">
- </argument>
- <argument index="1" name="brush" type="Image">
- </argument>
- <argument index="2" name="pos" type="Vector2" default="0">
- </argument>
- <description>
- Transfer data from "src" to this [Image] using a "brush" as a mask/brush on coordinates "pos".
- </description>
- </method>
- <method name="brushed">
- <return type="Image">
- </return>
- <argument index="0" name="src" type="Image">
- </argument>
- <argument index="1" name="brush" type="Image">
- </argument>
- <argument index="2" name="pos" type="Vector2" default="0">
- </argument>
- <description>
- Return a new [Image] from this [Image] that is created by brushhing see [method brush_transfer].
- </description>
- </method>
<method name="compressed">
<return type="Image">
</return>
@@ -16242,7 +18906,7 @@
</description>
</method>
<method name="get_data">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<description>
Return the raw data of the [Image].
@@ -16262,19 +18926,6 @@
Return the height of the [Image].
</description>
</method>
- <method name="get_pixel">
- <return type="Color">
- </return>
- <argument index="0" name="x" type="int">
- </argument>
- <argument index="1" name="y" type="int">
- </argument>
- <argument index="2" name="mipmap_level" type="int" default="0">
- </argument>
- <description>
- Return the color of the pixel in the [Image] on coordinates "x,y" on mipmap level "mipmap_level".
- </description>
- </method>
<method name="get_rect">
<return type="Image">
</return>
@@ -16307,19 +18958,6 @@
Load an [Image].
</description>
</method>
- <method name="put_pixel">
- <argument index="0" name="x" type="int">
- </argument>
- <argument index="1" name="y" type="int">
- </argument>
- <argument index="2" name="color" type="Color">
- </argument>
- <argument index="3" name="mipmap_level" type="int" default="0">
- </argument>
- <description>
- Put a pixel of "color" on coordinates "x,y" on mipmap level "mipmap_level".
- </description>
- </method>
<method name="resized">
<return type="Image">
</return>
@@ -16344,59 +18982,93 @@
</method>
</methods>
<constants>
- <constant name="COMPRESS_BC" value="0">
+ <constant name="COMPRESS_16BIT" value="0">
+ </constant>
+ <constant name="COMPRESS_S3TC" value="1">
+ </constant>
+ <constant name="COMPRESS_PVRTC2" value="2">
</constant>
- <constant name="COMPRESS_PVRTC2" value="1">
+ <constant name="COMPRESS_PVRTC4" value="3">
</constant>
- <constant name="COMPRESS_PVRTC4" value="2">
+ <constant name="COMPRESS_ETC" value="4">
</constant>
- <constant name="COMPRESS_ETC" value="3">
+ <constant name="COMPRESS_ETC2" value="5">
</constant>
<constant name="FORMAT_L8" value="0">
</constant>
- <constant name="FORMAT_INTENSITY" value="1">
+ <constant name="FORMAT_LA8" value="1">
+ </constant>
+ <constant name="FORMAT_R8" value="2">
+ </constant>
+ <constant name="FORMAT_RG8" value="3">
+ </constant>
+ <constant name="FORMAT_RGB8" value="4">
+ </constant>
+ <constant name="FORMAT_RGBA8" value="5">
+ </constant>
+ <constant name="FORMAT_RGB565" value="6">
+ </constant>
+ <constant name="FORMAT_RGBA4444" value="7">
+ </constant>
+ <constant name="FORMAT_RGBA5551" value="17">
+ </constant>
+ <constant name="FORMAT_RF" value="9">
</constant>
- <constant name="FORMAT_LA8" value="2">
+ <constant name="FORMAT_RGF" value="10">
</constant>
- <constant name="FORMAT_RGB8" value="3">
+ <constant name="FORMAT_RGBF" value="11">
</constant>
- <constant name="FORMAT_RGBA8" value="4">
+ <constant name="FORMAT_RGBAF" value="12">
</constant>
- <constant name="FORMAT_INDEXED" value="5">
+ <constant name="FORMAT_RH" value="13">
</constant>
- <constant name="FORMAT_INDEXED_ALPHA" value="6">
+ <constant name="FORMAT_RGH" value="14">
</constant>
- <constant name="FORMAT_YUV_422" value="7">
+ <constant name="FORMAT_RGBH" value="15">
</constant>
- <constant name="FORMAT_YUV_444" value="8">
+ <constant name="FORMAT_RGBAH" value="16">
</constant>
- <constant name="FORMAT_DXT1" value="9">
+ <constant name="FORMAT_DXT1" value="17">
</constant>
- <constant name="FORMAT_DXT3" value="10">
+ <constant name="FORMAT_DXT3" value="18">
</constant>
- <constant name="FORMAT_DXT5" value="11">
+ <constant name="FORMAT_DXT5" value="19">
</constant>
- <constant name="FORMAT_ATI1" value="12">
+ <constant name="FORMAT_ATI1" value="20">
</constant>
- <constant name="FORMAT_ATI2" value="13">
+ <constant name="FORMAT_ATI2" value="21">
</constant>
- <constant name="FORMAT_PVRTC2" value="14">
+ <constant name="FORMAT_BPTC_RGBA" value="22">
</constant>
- <constant name="FORMAT_PVRTC2A" value="15">
+ <constant name="FORMAT_BPTC_RGBF" value="23">
</constant>
- <constant name="FORMAT_PVRTC4" value="16">
+ <constant name="FORMAT_BPTC_RGBFU" value="24">
</constant>
- <constant name="FORMAT_PVRTC4A" value="17">
+ <constant name="FORMAT_PVRTC2" value="25">
</constant>
- <constant name="FORMAT_ETC" value="18">
+ <constant name="FORMAT_PVRTC2A" value="26">
</constant>
- <constant name="FORMAT_ATC" value="19">
+ <constant name="FORMAT_PVRTC4" value="27">
</constant>
- <constant name="FORMAT_ATC_ALPHA_EXPLICIT" value="20">
+ <constant name="FORMAT_PVRTC4A" value="28">
</constant>
- <constant name="FORMAT_ATC_ALPHA_INTERPOLATED" value="21">
+ <constant name="FORMAT_ETC" value="29">
</constant>
- <constant name="FORMAT_CUSTOM" value="22">
+ <constant name="FORMAT_ETC2_R11" value="30">
+ </constant>
+ <constant name="FORMAT_ETC2_R11S" value="31">
+ </constant>
+ <constant name="FORMAT_ETC2_RG11" value="32">
+ </constant>
+ <constant name="FORMAT_ETC2_RG11S" value="33">
+ </constant>
+ <constant name="FORMAT_ETC2_RGB8" value="34">
+ </constant>
+ <constant name="FORMAT_ETC2_RGBA8" value="35">
+ </constant>
+ <constant name="FORMAT_ETC2_RGB8A1" value="36">
+ </constant>
+ <constant name="FORMAT_MAX" value="37">
</constant>
<constant name="INTERPOLATE_NEAREST" value="0">
</constant>
@@ -16406,6 +19078,60 @@
</constant>
</constants>
</class>
+<class name="ImageSkyBox" inherits="SkyBox" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_image_path" qualifiers="const">
+ <return type="String">
+ </return>
+ <argument index="0" name="image" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_image_path">
+ <argument index="0" name="image" type="int">
+ </argument>
+ <argument index="1" name="path" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="image_path_negative_x" type="String" setter="set_image_path" getter="get_image_path" brief="">
+ </member>
+ <member name="image_path_negative_y" type="String" setter="set_image_path" getter="get_image_path" brief="">
+ </member>
+ <member name="image_path_negative_z" type="String" setter="set_image_path" getter="get_image_path" brief="">
+ </member>
+ <member name="image_path_positive_x" type="String" setter="set_image_path" getter="get_image_path" brief="">
+ </member>
+ <member name="image_path_positive_y" type="String" setter="set_image_path" getter="get_image_path" brief="">
+ </member>
+ <member name="image_path_positive_z" type="String" setter="set_image_path" getter="get_image_path" brief="">
+ </member>
+ </members>
+ <constants>
+ <constant name="IMAGE_PATH_NEGATIVE_X" value="0">
+ </constant>
+ <constant name="IMAGE_PATH_POSITIVE_X" value="1">
+ </constant>
+ <constant name="IMAGE_PATH_NEGATIVE_Y" value="2">
+ </constant>
+ <constant name="IMAGE_PATH_POSITIVE_Y" value="3">
+ </constant>
+ <constant name="IMAGE_PATH_NEGATIVE_Z" value="4">
+ </constant>
+ <constant name="IMAGE_PATH_POSITIVE_Z" value="5">
+ </constant>
+ <constant name="IMAGE_PATH_MAX" value="6">
+ </constant>
+ </constants>
+</class>
<class name="ImageTexture" inherits="Texture" category="Core">
<brief_description>
A [Texture] based on an [Image].
@@ -16620,7 +19346,7 @@
A Singleton that deals with inputs.
</brief_description>
<description>
- A Singleton that deals with inputs. This includes key presses, mouse buttons and movement, joysticks, and input actions.
+ A Singleton that deals with inputs. This includes key presses, mouse buttons and movement, joypads, and input actions.
</description>
<methods>
<method name="action_press">
@@ -16653,11 +19379,17 @@
If the device has an accelerometer, this will return the movement.
</description>
</method>
- <method name="get_connected_joysticks">
+ <method name="get_connected_joypads">
<return type="Array">
</return>
<description>
- Returns an [Array] containing the device IDs of all currently connected joysticks.
+ Returns an [Array] containing the device IDs of all currently connected joypads.
+ </description>
+ </method>
+ <method name="get_gravity" qualifiers="const">
+ <return type="Vector3">
+ </return>
+ <description>
</description>
</method>
<method name="get_gyroscope" qualifiers="const">
@@ -16675,7 +19407,7 @@
<argument index="1" name="axis" type="int">
</argument>
<description>
- Returns the current value of the joystick axis at given index (see JOY_* constants in [@Global Scope])
+ Returns the current value of the joypad axis at given index (see JOY_* constants in [@Global Scope])
</description>
</method>
<method name="get_joy_axis_index_from_string">
@@ -16725,7 +19457,7 @@
<argument index="0" name="device" type="int">
</argument>
<description>
- Returns the name of the joystick at the specified device index
+ Returns the name of the joypad at the specified device index
</description>
</method>
<method name="get_joy_vibration_duration">
@@ -16743,7 +19475,14 @@
<argument index="0" name="device" type="int">
</argument>
<description>
- Returns the strength of the joystick vibration: x is the strength of the weak motor, and y is the strength of the strong motor.
+ Returns the strength of the joypad vibration: x is the strength of the weak motor, and y is the strength of the strong motor.
+ </description>
+ </method>
+ <method name="get_last_mouse_speed" qualifiers="const">
+ <return type="Vector2">
+ </return>
+ <description>
+ Returns the mouse speed for the last time the cursor was moved, and this until the next frame where the mouse moves. This means that even if the mouse is not moving, this function will still return the value of the last motion.
</description>
</method>
<method name="get_magnetometer" qualifiers="const">
@@ -16767,13 +19506,6 @@
Return the mouse mode. See the constants for more information.
</description>
</method>
- <method name="get_mouse_speed" qualifiers="const">
- <return type="Vector2">
- </return>
- <description>
- Returns the mouse speed for the last time the cursor was moved, and this until the next frame where the mouse moves. This means that even if the mouse is not moving, this function will still return the value of the last motion.
- </description>
- </method>
<method name="is_action_just_pressed" qualifiers="const">
<return type="bool">
</return>
@@ -16807,7 +19539,7 @@
<argument index="1" name="button" type="int">
</argument>
<description>
- Returns if the joystick button at the given index is currently pressed. (see JOY_* constants in [@Global Scope])
+ Returns if the joypad button at the given index is currently pressed. (see JOY_* constants in [@Global Scope])
</description>
</method>
<method name="is_joy_known">
@@ -16816,7 +19548,7 @@
<argument index="0" name="device" type="int">
</argument>
<description>
- Returns if the specified device is known by the system. This means that it sets all button and axis indices exactly as defined in the JOY_* constants (see [@Global Scope]). Unknown joysticks are not expected to match these constants, but you can still retrieve events from them.
+ Returns if the specified device is known by the system. This means that it sets all button and axis indices exactly as defined in the JOY_* constants (see [@Global Scope]). Unknown joypads are not expected to match these constants, but you can still retrieve events from them.
</description>
</method>
<method name="is_key_pressed" qualifiers="const">
@@ -16837,6 +19569,12 @@
Returns true or false depending on whether mouse button is pressed or not. You can pass BUTTON_*, which are pre-defined constants listed in [@Global Scope].
</description>
</method>
+ <method name="parse_input_event">
+ <argument index="0" name="event" type="InputEvent">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="remove_joy_mapping">
<argument index="0" name="guid" type="String">
</argument>
@@ -16870,7 +19608,7 @@
<argument index="3" name="duration" type="float" default="0">
</argument>
<description>
- Starts to vibrate the joystick. Joysticks usually come with two rumble motors, a strong and a weak one. weak_magnitude is the strength of the weak motor (between 0 and 1) and strong_magnitude is the strength of the strong motor (between 0 and 1). duration is the duration of the effect in seconds (a duration of 0 will try to play the vibration indefinitely).
+ Starts to vibrate the joypad. Joypads usually come with two rumble motors, a strong and a weak one. weak_magnitude is the strength of the weak motor (between 0 and 1) and strong_magnitude is the strength of the strong motor (between 0 and 1). duration is the duration of the effect in seconds (a duration of 0 will try to play the vibration indefinitely).
Note that not every hardware is compatible with long effect durations, it is recommended to restart an effect if in need to play it for more than a few seconds.
</description>
</method>
@@ -16878,7 +19616,7 @@
<argument index="0" name="device" type="int">
</argument>
<description>
- Stops the vibration of the joystick.
+ Stops the vibration of the joypad.
</description>
</method>
<method name="warp_mouse_pos">
@@ -16896,7 +19634,7 @@
<argument index="1" name="connected" type="bool">
</argument>
<description>
- Emitted when a joystick device has been connected or disconnected
+ Emitted when a joypad device has been connected or disconnected
</description>
</signal>
</signals>
@@ -16910,6 +19648,8 @@
<constant name="MOUSE_MODE_CAPTURED" value="2">
Captures the mouse. The mouse will be hidden and unable to leave the game window. But it will still register movement and mouse button presses.
</constant>
+ <constant name="MOUSE_MODE_CONFINED" value="3">
+ </constant>
</constants>
</class>
<class name="InputDefault" inherits="Input" category="Core">
@@ -16984,13 +19724,13 @@
</method>
</methods>
<members>
- <member name="ID" type="int">
+ <member name="ID" type="int" setter="" getter="" brief="">
Event identifier, positive integer increased at each new event.
</member>
- <member name="device" type="int">
+ <member name="device" type="int" setter="" getter="" brief="">
Device identifier.
</member>
- <member name="type" type="int">
+ <member name="type" type="int" setter="" getter="" brief="">
Type of event (one of the [InputEvent] constants).
</member>
</members>
@@ -17007,11 +19747,11 @@
<constant name="MOUSE_BUTTON" value="3">
Mouse button event.
</constant>
- <constant name="JOYSTICK_MOTION" value="4">
- Joystick motion event.
+ <constant name="JOYPAD_MOTION" value="4">
+ Joypad motion event.
</constant>
- <constant name="JOYSTICK_BUTTON" value="5">
- Joystick button event.
+ <constant name="JOYPAD_BUTTON" value="5">
+ Joypad button event.
</constant>
<constant name="SCREEN_TOUCH" value="6">
Screen touch event.
@@ -17084,13 +19824,13 @@
</method>
</methods>
<members>
- <member name="ID" type="int">
+ <member name="ID" type="int" setter="" getter="" brief="">
Event identifier, positive integer increased at each new event.
</member>
- <member name="device" type="int">
+ <member name="device" type="int" setter="" getter="" brief="">
Device identifier.
</member>
- <member name="type" type="int">
+ <member name="type" type="int" setter="" getter="" brief="">
Type of event (one of the [InputEvent] constants).
</member>
</members>
@@ -17107,11 +19847,11 @@
<constant name="MOUSE_BUTTON" value="3">
Mouse button event.
</constant>
- <constant name="JOYSTICK_MOTION" value="4">
- Joystick motion event.
+ <constant name="JOYPAD_MOTION" value="4">
+ Joypad motion event.
</constant>
- <constant name="JOYSTICK_BUTTON" value="5">
- Joystick button event.
+ <constant name="JOYPAD_BUTTON" value="5">
+ Joypad button event.
</constant>
<constant name="SCREEN_TOUCH" value="6">
Screen touch event.
@@ -17124,12 +19864,12 @@
</constant>
</constants>
</class>
-<class name="InputEventJoystickButton" category="Built-In Types">
+<class name="InputEventJoypadButton" category="Built-In Types">
<brief_description>
- Built-in input event type for joystick button events.
+ Built-in input event type for joypad button events.
</brief_description>
<description>
- Input event type for joystick button events that extends the global [InputEvent] type.
+ Input event type for joypad button events that extends the global [InputEvent] type.
</description>
<methods>
<method name="is_action">
@@ -17184,22 +19924,22 @@
</method>
</methods>
<members>
- <member name="ID" type="int">
+ <member name="ID" type="int" setter="" getter="" brief="">
Event identifier, positive integer increased at each new event.
</member>
- <member name="button_index" type="int">
- Joystick button identifier, one of the JOY_BUTTON_* constants in [@Global Scope].
+ <member name="button_index" type="int" setter="" getter="" brief="">
+ Joypad button identifier, one of the JOY_BUTTON_* constants in [@Global Scope].
</member>
- <member name="device" type="int">
+ <member name="device" type="int" setter="" getter="" brief="">
Device identifier.
</member>
- <member name="pressed" type="bool">
- Pressed state of the joystick button.
+ <member name="pressed" type="bool" setter="" getter="" brief="">
+ Pressed state of the joypad button.
</member>
- <member name="pressure" type="float">
+ <member name="pressure" type="float" setter="" getter="" brief="">
Intensity of the button pressure, ranges from 0 to 1.0.
</member>
- <member name="type" type="int">
+ <member name="type" type="int" setter="" getter="" brief="">
Type of event (one of the [InputEvent] constants).
</member>
</members>
@@ -17216,11 +19956,11 @@
<constant name="MOUSE_BUTTON" value="3">
Mouse button event.
</constant>
- <constant name="JOYSTICK_MOTION" value="4">
- Joystick motion event.
+ <constant name="JOYPAD_MOTION" value="4">
+ Joypad motion event.
</constant>
- <constant name="JOYSTICK_BUTTON" value="5">
- Joystick button event.
+ <constant name="JOYPAD_BUTTON" value="5">
+ Joypad button event.
</constant>
<constant name="SCREEN_TOUCH" value="6">
Screen touch event.
@@ -17233,12 +19973,12 @@
</constant>
</constants>
</class>
-<class name="InputEventJoystickMotion" category="Built-In Types">
+<class name="InputEventJoypadMotion" category="Built-In Types">
<brief_description>
- Built-in input event type for joystick motion/axis events.
+ Built-in input event type for joypad motion/axis events.
</brief_description>
<description>
- Input event type for joystick motion/axis events that extends the global [InputEvent] type.
+ Input event type for joypad motion/axis events that extends the global [InputEvent] type.
</description>
<methods>
<method name="is_action">
@@ -17292,19 +20032,19 @@
</method>
</methods>
<members>
- <member name="ID" type="int">
+ <member name="ID" type="int" setter="" getter="" brief="">
Event identifier, positive integer increased at each new event.
</member>
- <member name="axis" type="int">
- Joystick axis identifier, one of the JOY_AXIS_* constants in [@Global Scope].
+ <member name="axis" type="int" setter="" getter="" brief="">
+ Joypad axis identifier, one of the JOY_AXIS_* constants in [@Global Scope].
</member>
- <member name="device" type="int">
+ <member name="device" type="int" setter="" getter="" brief="">
Device identifier.
</member>
- <member name="type" type="int">
+ <member name="type" type="int" setter="" getter="" brief="">
Type of event (one of the [InputEvent] constants).
</member>
- <member name="value" type="float">
+ <member name="value" type="float" setter="" getter="" brief="">
Position of the axis, ranging from -1.0 to 1.0. A value of 0 means that the axis is in its neutral position.
</member>
</members>
@@ -17321,11 +20061,11 @@
<constant name="MOUSE_BUTTON" value="3">
Mouse button event.
</constant>
- <constant name="JOYSTICK_MOTION" value="4">
- Joystick motion event.
+ <constant name="JOYPAD_MOTION" value="4">
+ Joypad motion event.
</constant>
- <constant name="JOYSTICK_BUTTON" value="5">
- Joystick button event.
+ <constant name="JOYPAD_BUTTON" value="5">
+ Joypad button event.
</constant>
<constant name="SCREEN_TOUCH" value="6">
Screen touch event.
@@ -17398,37 +20138,37 @@
</method>
</methods>
<members>
- <member name="ID" type="int">
+ <member name="ID" type="int" setter="" getter="" brief="">
Event identifier, positive integer increased at each new event.
</member>
- <member name="alt" type="bool">
+ <member name="alt" type="bool" setter="" getter="" brief="">
State of the Alt modifier.
</member>
- <member name="control" type="bool">
+ <member name="control" type="bool" setter="" getter="" brief="">
State of the Ctrl modifier.
</member>
- <member name="device" type="int">
+ <member name="device" type="int" setter="" getter="" brief="">
Device identifier.
</member>
- <member name="echo" type="bool">
+ <member name="echo" type="bool" setter="" getter="" brief="">
Echo state of the key, i.e. whether it's a repeat event or not.
</member>
- <member name="meta" type="bool">
+ <member name="meta" type="bool" setter="" getter="" brief="">
State of the Meta modifier.
</member>
- <member name="pressed" type="bool">
+ <member name="pressed" type="bool" setter="" getter="" brief="">
Pressed state of the key.
</member>
- <member name="scancode" type="int">
+ <member name="scancode" type="int" setter="" getter="" brief="">
Scancode of the key, one of the KEY_* constants in [@Global Scope].
</member>
- <member name="shift" type="bool">
+ <member name="shift" type="bool" setter="" getter="" brief="">
State of the Shift modifier.
</member>
- <member name="type" type="int">
+ <member name="type" type="int" setter="" getter="" brief="">
Type of event (one of the [InputEvent] constants).
</member>
- <member name="unicode" type="int">
+ <member name="unicode" type="int" setter="" getter="" brief="">
Unicode identifier of the key (when relevant).
</member>
</members>
@@ -17445,11 +20185,11 @@
<constant name="MOUSE_BUTTON" value="3">
Mouse button event.
</constant>
- <constant name="JOYSTICK_MOTION" value="4">
- Joystick motion event.
+ <constant name="JOYPAD_MOTION" value="4">
+ Joypad motion event.
</constant>
- <constant name="JOYSTICK_BUTTON" value="5">
- Joystick button event.
+ <constant name="JOYPAD_BUTTON" value="5">
+ Joypad button event.
</constant>
<constant name="SCREEN_TOUCH" value="6">
Screen touch event.
@@ -17522,55 +20262,55 @@
</method>
</methods>
<members>
- <member name="ID" type="int">
+ <member name="ID" type="int" setter="" getter="" brief="">
Event identifier, positive integer increased at each new event.
</member>
- <member name="alt" type="bool">
+ <member name="alt" type="bool" setter="" getter="" brief="">
State of the Alt modifier.
</member>
- <member name="button_index" type="int">
+ <member name="button_index" type="int" setter="" getter="" brief="">
Mouse button identifier, one of the BUTTON_* or BUTTON_WHEEL_* constants in [@Global Scope].
</member>
- <member name="button_mask" type="int">
+ <member name="button_mask" type="int" setter="" getter="" brief="">
Mouse button mask identifier, one of or a bitwise combination of the BUTTON_MASK_* constants in [@Global Scope].
</member>
- <member name="control" type="bool">
+ <member name="control" type="bool" setter="" getter="" brief="">
State of the Control modifier.
</member>
- <member name="device" type="int">
+ <member name="device" type="int" setter="" getter="" brief="">
Device identifier.
</member>
- <member name="doubleclick" type="bool">
+ <member name="doubleclick" type="bool" setter="" getter="" brief="">
Whether the event is a double-click.
</member>
- <member name="global_pos" type="Vector2">
+ <member name="global_pos" type="Vector2" setter="" getter="" brief="">
Global position of the mouse click.
</member>
- <member name="global_x" type="int">
+ <member name="global_x" type="float" setter="" getter="" brief="">
Global X coordinate of the mouse click.
</member>
- <member name="global_y" type="int">
+ <member name="global_y" type="float" setter="" getter="" brief="">
Global Y coordinate of the mouse click.
</member>
- <member name="meta" type="bool">
+ <member name="meta" type="bool" setter="" getter="" brief="">
State of the Meta modifier.
</member>
- <member name="pos" type="Vector2">
+ <member name="pos" type="Vector2" setter="" getter="" brief="">
Local position of the mouse click.
</member>
- <member name="pressed" type="bool">
+ <member name="pressed" type="bool" setter="" getter="" brief="">
Pressed state of the mouse button.
</member>
- <member name="shift" type="bool">
+ <member name="shift" type="bool" setter="" getter="" brief="">
State of the Shift modifier.
</member>
- <member name="type" type="int">
+ <member name="type" type="int" setter="" getter="" brief="">
Type of event (one of the [InputEvent] constants).
</member>
- <member name="x" type="int">
+ <member name="x" type="float" setter="" getter="" brief="">
Local X coordinate of the mouse click.
</member>
- <member name="y" type="int">
+ <member name="y" type="float" setter="" getter="" brief="">
Local Y coordinate of the mouse click.
</member>
</members>
@@ -17587,11 +20327,11 @@
<constant name="MOUSE_BUTTON" value="3">
Mouse button event.
</constant>
- <constant name="JOYSTICK_MOTION" value="4">
- Joystick motion event.
+ <constant name="JOYPAD_MOTION" value="4">
+ Joypad motion event.
</constant>
- <constant name="JOYSTICK_BUTTON" value="5">
- Joystick button event.
+ <constant name="JOYPAD_BUTTON" value="5">
+ Joypad button event.
</constant>
<constant name="SCREEN_TOUCH" value="6">
Screen touch event.
@@ -17664,64 +20404,64 @@
</method>
</methods>
<members>
- <member name="ID" type="int">
+ <member name="ID" type="int" setter="" getter="" brief="">
Event identifier, positive integer increased at each new event.
</member>
- <member name="alt" type="bool">
+ <member name="alt" type="bool" setter="" getter="" brief="">
State of the Alt modifier.
</member>
- <member name="button_mask" type="int">
+ <member name="button_mask" type="int" setter="" getter="" brief="">
Mouse button mask identifier, one of or a bitwise combination of the BUTTON_MASK_* constants in [@Global Scope].
</member>
- <member name="control" type="bool">
+ <member name="control" type="bool" setter="" getter="" brief="">
State of the Ctrl modifier.
</member>
- <member name="device" type="int">
+ <member name="device" type="int" setter="" getter="" brief="">
Device identifier.
</member>
- <member name="global_pos" type="Vector2">
+ <member name="global_pos" type="Vector2" setter="" getter="" brief="">
Global position of the mouse pointer.
</member>
- <member name="global_x" type="int">
+ <member name="global_x" type="float" setter="" getter="" brief="">
Global X coordinate of the mouse pointer.
</member>
- <member name="global_y" type="int">
+ <member name="global_y" type="float" setter="" getter="" brief="">
Global Y coordinate of the mouse pointer.
</member>
- <member name="meta" type="bool">
+ <member name="meta" type="bool" setter="" getter="" brief="">
State of the Meta modifier.
</member>
- <member name="pos" type="Vector2">
+ <member name="pos" type="Vector2" setter="" getter="" brief="">
Local position of the mouse pointer.
</member>
- <member name="relative_pos" type="Vector2">
+ <member name="relative_pos" type="Vector2" setter="" getter="" brief="">
Position of the mouse pointer relative to the previous mouse position.
</member>
- <member name="relative_x" type="int">
+ <member name="relative_x" type="float" setter="" getter="" brief="">
X coordinate of the mouse pointer relative to the previous mouse position.
</member>
- <member name="relative_y" type="int">
+ <member name="relative_y" type="float" setter="" getter="" brief="">
Y coordinate of the mouse pointer relative to the previous mouse position.
</member>
- <member name="shift" type="bool">
+ <member name="shift" type="bool" setter="" getter="" brief="">
State of the Shift modifier.
</member>
- <member name="speed" type="Vector2">
+ <member name="speed" type="Vector2" setter="" getter="" brief="">
Speed of the mouse pointer.
</member>
- <member name="speed_x" type="float">
+ <member name="speed_x" type="float" setter="" getter="" brief="">
Speed of the mouse pointer on the X axis.
</member>
- <member name="speed_y" type="float">
+ <member name="speed_y" type="float" setter="" getter="" brief="">
Speed of the mouse pointer on the Y axis.
</member>
- <member name="type" type="int">
+ <member name="type" type="int" setter="" getter="" brief="">
Type of event (one of the [InputEvent] constants).
</member>
- <member name="x" type="int">
+ <member name="x" type="float" setter="" getter="" brief="">
Local X coordinate of the mouse pointer.
</member>
- <member name="y" type="int">
+ <member name="y" type="float" setter="" getter="" brief="">
Local Y coordinate of the mouse pointer.
</member>
</members>
@@ -17738,11 +20478,11 @@
<constant name="MOUSE_BUTTON" value="3">
Mouse button event.
</constant>
- <constant name="JOYSTICK_MOTION" value="4">
- Joystick motion event.
+ <constant name="JOYPAD_MOTION" value="4">
+ Joypad motion event.
</constant>
- <constant name="JOYSTICK_BUTTON" value="5">
- Joystick button event.
+ <constant name="JOYPAD_BUTTON" value="5">
+ Joypad button event.
</constant>
<constant name="SCREEN_TOUCH" value="6">
Screen touch event.
@@ -17815,43 +20555,43 @@
</method>
</methods>
<members>
- <member name="ID" type="int">
+ <member name="ID" type="int" setter="" getter="" brief="">
Event identifier, positive integer increased at each new event.
</member>
- <member name="device" type="int">
+ <member name="device" type="int" setter="" getter="" brief="">
Device identifier.
</member>
- <member name="index" type="int">
+ <member name="index" type="int" setter="" getter="" brief="">
Drag event index in the case of a multi-drag event.
</member>
- <member name="pos" type="Vector2">
+ <member name="pos" type="Vector2" setter="" getter="" brief="">
Position of the drag event.
</member>
- <member name="relative_pos" type="Vector2">
+ <member name="relative_pos" type="Vector2" setter="" getter="" brief="">
Position of the drag event relative to its start position.
</member>
- <member name="relative_x" type="float">
+ <member name="relative_x" type="float" setter="" getter="" brief="">
X coordinate of the drag event relative to its start position.
</member>
- <member name="relative_y" type="float">
+ <member name="relative_y" type="float" setter="" getter="" brief="">
Y coordinate of the drag event relative to its start position.
</member>
- <member name="speed" type="Vector2">
+ <member name="speed" type="Vector2" setter="" getter="" brief="">
Speed of the drag event.
</member>
- <member name="speed_x" type="float">
+ <member name="speed_x" type="float" setter="" getter="" brief="">
Speed of the drag event on the X axis.
</member>
- <member name="speed_y" type="float">
+ <member name="speed_y" type="float" setter="" getter="" brief="">
Speed of the drag event on the Y axis.
</member>
- <member name="type" type="int">
+ <member name="type" type="int" setter="" getter="" brief="">
Type of event (one of the [InputEvent] constants).
</member>
- <member name="x" type="float">
+ <member name="x" type="float" setter="" getter="" brief="">
X coordinate of the drag event.
</member>
- <member name="y" type="float">
+ <member name="y" type="float" setter="" getter="" brief="">
Y coordinate of the drag event.
</member>
</members>
@@ -17868,11 +20608,11 @@
<constant name="MOUSE_BUTTON" value="3">
Mouse button event.
</constant>
- <constant name="JOYSTICK_MOTION" value="4">
- Joystick motion event.
+ <constant name="JOYPAD_MOTION" value="4">
+ Joypad motion event.
</constant>
- <constant name="JOYSTICK_BUTTON" value="5">
- Joystick button event.
+ <constant name="JOYPAD_BUTTON" value="5">
+ Joypad button event.
</constant>
<constant name="SCREEN_TOUCH" value="6">
Screen touch event.
@@ -17945,28 +20685,28 @@
</method>
</methods>
<members>
- <member name="ID" type="int">
+ <member name="ID" type="int" setter="" getter="" brief="">
Event identifier, positive integer increased at each new event.
</member>
- <member name="device" type="int">
+ <member name="device" type="int" setter="" getter="" brief="">
Device identifier.
</member>
- <member name="index" type="int">
+ <member name="index" type="int" setter="" getter="" brief="">
Touch event index in the case of a multi-touch event.
</member>
- <member name="pos" type="Vector2">
+ <member name="pos" type="Vector2" setter="" getter="" brief="">
Position of the touch event.
</member>
- <member name="pressed" type="bool">
+ <member name="pressed" type="bool" setter="" getter="" brief="">
Pressed state of the touch event.
</member>
- <member name="type" type="int">
+ <member name="type" type="int" setter="" getter="" brief="">
Type of event (one of the [InputEvent] constants).
</member>
- <member name="x" type="float">
+ <member name="x" type="float" setter="" getter="" brief="">
X coordinate of the touch event.
</member>
- <member name="y" type="float">
+ <member name="y" type="float" setter="" getter="" brief="">
Y coordinate of the touch event.
</member>
</members>
@@ -17983,11 +20723,11 @@
<constant name="MOUSE_BUTTON" value="3">
Mouse button event.
</constant>
- <constant name="JOYSTICK_MOTION" value="4">
- Joystick motion event.
+ <constant name="JOYPAD_MOTION" value="4">
+ Joypad motion event.
</constant>
- <constant name="JOYSTICK_BUTTON" value="5">
- Joystick button event.
+ <constant name="JOYPAD_BUTTON" value="5">
+ Joypad button event.
</constant>
<constant name="SCREEN_TOUCH" value="6">
Screen touch event.
@@ -18130,99 +20870,19 @@
Retrieve the path to the [PackedScene] resource file that is loaded by default when calling [method replace_by_instance].
</description>
</method>
- <method name="replace_by_instance">
- <argument index="0" name="custom_scene" type="PackedScene" default="NULL">
- </argument>
- <description>
- Replace this placeholder by the scene handed as an argument, or the original scene if no argument is given. As for all resources, the scene is loaded only if it's not loaded already. By manually loading the scene beforehand, delays caused by this function can be avoided.
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="IntArray" category="Built-In Types">
- <brief_description>
- Integer Array.
- </brief_description>
- <description>
- Integer Array. Array of integers. Can only contain integers. Optimized for memory usage, can't fragment the memory.
- </description>
- <methods>
- <method name="IntArray">
- <return type="IntArray">
- </return>
- <argument index="0" name="from" type="Array">
- </argument>
- <description>
- Create from a generic array.
- </description>
- </method>
- <method name="append">
- <argument index="0" name="integer" type="int">
- </argument>
- <description>
- Append an element at the end of the array (alias of [method push_back]).
- </description>
- </method>
- <method name="append_array">
- <argument index="0" name="array" type="IntArray">
- </argument>
- <description>
- Append an [IntArray] at the end of this array.
- </description>
- </method>
- <method name="insert">
- <return type="int">
+ <method name="get_stored_values">
+ <return type="Dictionary">
</return>
- <argument index="0" name="idx" type="int">
+ <argument index="0" name="with_order" type="bool" default="false">
</argument>
- <argument index="1" name="integer" type="int">
- </argument>
- <description>
- Insert a new int 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">
<description>
- Reverse the order of the elements in the array (so first element will now be the last).
</description>
</method>
- <method name="push_back">
- <argument index="0" name="integer" type="int">
- </argument>
- <description>
- Append a value to the array.
- </description>
- </method>
- <method name="remove">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Remove an element from the array by index.
- </description>
- </method>
- <method name="resize">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Set the size of the [IntArray]. 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">
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="integer" type="int">
+ <method name="replace_by_instance">
+ <argument index="0" name="custom_scene" type="PackedScene" default="NULL">
</argument>
<description>
- Change the int at the given index.
- </description>
- </method>
- <method name="size">
- <return type="int">
- </return>
- <description>
- Return the array size.
+ Replace this placeholder by the scene handed as an argument, or the original scene if no argument is given. As for all resources, the scene is loaded only if it's not loaded already. By manually loading the scene beforehand, delays caused by this function can be avoided.
</description>
</method>
</methods>
@@ -18278,76 +20938,14 @@
</description>
</method>
</methods>
- <constants>
- </constants>
-</class>
-<class name="InverseKinematics" inherits="Spatial" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- <method name="get_bone_name" qualifiers="const">
- <return type="String">
- </return>
- <description>
- </description>
- </method>
- <method name="get_chain_size" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_iterations" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_precision" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_speed" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="set_bone_name">
- <argument index="0" name="ik_bone" type="String">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_chain_size">
- <argument index="0" name="chain_size" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_iterations">
- <argument index="0" name="iterations" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_precision">
- <argument index="0" name="precision" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_speed">
- <argument index="0" name="speed" type="float">
- </argument>
- <description>
- </description>
- </method>
- </methods>
+ <members>
+ <member name="enabled" type="bool" setter="set_interpolation_enabled" getter="is_interpolation_enabled" brief="">
+ </member>
+ <member name="speed" type="float" setter="set_speed" getter="get_speed" brief="">
+ </member>
+ <member name="target" type="NodePath" setter="set_target_path" getter="get_target_path" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -18512,7 +21110,7 @@
</description>
</method>
<method name="get_selected_items">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<description>
Returns the list of selected indexes.
@@ -18869,6 +21467,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="collision/exclude_nodes" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision" brief="">
+ </member>
+ <member name="nodes/node_a" type="NodePath" setter="set_node_a" getter="get_node_a" brief="">
+ </member>
+ <member name="nodes/node_b" type="NodePath" setter="set_node_b" getter="get_node_b" brief="">
+ </member>
+ <member name="solver/priority" type="int" setter="set_solver_priority" getter="get_solver_priority" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -18933,6 +21541,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="bias" type="float" setter="set_bias" getter="get_bias" brief="">
+ </member>
+ <member name="disable_collision" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision" brief="">
+ </member>
+ <member name="node_a" type="NodePath" setter="set_node_a" getter="get_node_a" brief="">
+ </member>
+ <member name="node_b" type="NodePath" setter="set_node_b" getter="get_node_b" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -18984,7 +21602,7 @@
</description>
</method>
<method name="get_collider" qualifiers="const">
- <return type="Object">
+ <return type="Variant">
</return>
<description>
Return the body that collided with this one.
@@ -19086,6 +21704,18 @@
</description>
</method>
</methods>
+ <members>
+ <member name="collide_with/character" type="bool" setter="set_collide_with_character_bodies" getter="can_collide_with_character_bodies" brief="">
+ </member>
+ <member name="collide_with/kinematic" type="bool" setter="set_collide_with_kinematic_bodies" getter="can_collide_with_kinematic_bodies" brief="">
+ </member>
+ <member name="collide_with/rigid" type="bool" setter="set_collide_with_rigid_bodies" getter="can_collide_with_rigid_bodies" brief="">
+ </member>
+ <member name="collide_with/static" type="bool" setter="set_collide_with_static_bodies" getter="can_collide_with_static_bodies" brief="">
+ </member>
+ <member name="collision/margin" type="float" setter="set_collision_margin" getter="get_collision_margin" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -19100,7 +21730,7 @@
</description>
<methods>
<method name="get_collider" qualifiers="const">
- <return type="Object">
+ <return type="Variant">
</return>
<description>
Return the body that collided with this one.
@@ -19233,7 +21863,7 @@
<method name="test_move">
<return type="bool">
</return>
- <argument index="0" name="from" type="Matrix32">
+ <argument index="0" name="from" type="Transform2D">
</argument>
<argument index="1" name="rel_vec" type="Vector2">
</argument>
@@ -19242,6 +21872,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="collision/margin" type="float" setter="set_collision_margin" getter="get_collision_margin" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -19421,6 +22055,26 @@
</description>
</method>
</methods>
+ <members>
+ <member name="align" type="int" setter="set_align" getter="get_align" brief="">
+ </member>
+ <member name="autowrap" type="bool" setter="set_autowrap" getter="has_autowrap" brief="">
+ </member>
+ <member name="clip_text" type="bool" setter="set_clip_text" getter="is_clipping_text" brief="">
+ </member>
+ <member name="lines_skipped" type="int" setter="set_lines_skipped" getter="get_lines_skipped" brief="">
+ </member>
+ <member name="max_lines_visible" type="int" setter="set_max_lines_visible" getter="get_max_lines_visible" brief="">
+ </member>
+ <member name="percent_visible" type="float" setter="set_percent_visible" getter="get_percent_visible" brief="">
+ </member>
+ <member name="text" type="String" setter="set_text" getter="get_text" brief="">
+ </member>
+ <member name="uppercase" type="bool" setter="set_uppercase" getter="is_uppercase" brief="">
+ </member>
+ <member name="valign" type="int" setter="set_valign" getter="get_valign" brief="">
+ </member>
+ </members>
<constants>
<constant name="ALIGN_LEFT" value="0">
Align rows to the left (default).
@@ -19540,6 +22194,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="_data" type="Array" setter="_set_data" getter="_get_data" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -19551,41 +22209,33 @@
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="get_bake_mode" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
<method name="get_color" qualifiers="const">
<return type="Color">
</return>
- <argument index="0" name="color" type="int">
- </argument>
<description>
</description>
</method>
- <method name="get_operator" qualifiers="const">
+ <method name="get_cull_mask" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="get_parameter" qualifiers="const">
+ <method name="get_param" qualifiers="const">
<return type="float">
</return>
- <argument index="0" name="variable" type="int">
+ <argument index="0" name="param" type="int">
</argument>
<description>
</description>
</method>
- <method name="get_projector" qualifiers="const">
- <return type="Texture">
+ <method name="get_shadow_color" qualifiers="const">
+ <return type="Color">
</return>
<description>
</description>
</method>
- <method name="has_project_shadows" qualifiers="const">
+ <method name="has_shadow" qualifiers="const">
<return type="bool">
</return>
<description>
@@ -19597,22 +22247,20 @@
<description>
</description>
</method>
- <method name="is_enabled" qualifiers="const">
+ <method name="is_negative" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
- <method name="set_bake_mode">
- <argument index="0" name="bake_mode" type="int">
+ <method name="set_color">
+ <argument index="0" name="color" type="Color">
</argument>
<description>
</description>
</method>
- <method name="set_color">
- <argument index="0" name="color" type="int">
- </argument>
- <argument index="1" name="value" type="Color">
+ <method name="set_cull_mask">
+ <argument index="0" name="cull_mask" type="int">
</argument>
<description>
</description>
@@ -19623,65 +22271,87 @@
<description>
</description>
</method>
- <method name="set_enabled">
+ <method name="set_negative">
<argument index="0" name="enabled" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_operator">
- <argument index="0" name="operator" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_parameter">
- <argument index="0" name="variable" type="int">
+ <method name="set_param">
+ <argument index="0" name="param" type="int">
</argument>
<argument index="1" name="value" type="float">
</argument>
<description>
</description>
</method>
- <method name="set_project_shadows">
- <argument index="0" name="enable" type="bool">
+ <method name="set_shadow">
+ <argument index="0" name="enabled" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_projector">
- <argument index="0" name="projector" type="Texture">
+ <method name="set_shadow_color">
+ <argument index="0" name="shadow_color" type="Color">
</argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="editor_only" type="bool" setter="set_editor_only" getter="is_editor_only" brief="">
+ </member>
+ <member name="light_color" type="Color" setter="set_color" getter="get_color" brief="">
+ </member>
+ <member name="light_cull_mask" type="int" setter="set_cull_mask" getter="get_cull_mask" brief="">
+ </member>
+ <member name="light_energy" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="light_negative" type="bool" setter="set_negative" getter="is_negative" brief="">
+ </member>
+ <member name="light_specular" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="shadow_bias" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" brief="">
+ </member>
+ <member name="shadow_contact" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" brief="">
+ </member>
+ <member name="shadow_max_distance" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ </members>
<constants>
- <constant name="PARAM_RADIUS" value="2">
+ <constant name="PARAM_ENERGY" value="0">
+ </constant>
+ <constant name="PARAM_SPECULAR" value="1">
+ </constant>
+ <constant name="PARAM_RANGE" value="2">
</constant>
- <constant name="PARAM_ENERGY" value="3">
+ <constant name="PARAM_ATTENUATION" value="3">
</constant>
- <constant name="PARAM_ATTENUATION" value="4">
+ <constant name="PARAM_SPOT_ANGLE" value="4">
</constant>
- <constant name="PARAM_SPOT_ANGLE" value="1">
+ <constant name="PARAM_SPOT_ATTENUATION" value="5">
</constant>
- <constant name="PARAM_SPOT_ATTENUATION" value="0">
+ <constant name="PARAM_CONTACT_SHADOW_SIZE" value="6">
</constant>
- <constant name="PARAM_SHADOW_DARKENING" value="5">
+ <constant name="PARAM_SHADOW_MAX_DISTANCE" value="7">
</constant>
- <constant name="PARAM_SHADOW_Z_OFFSET" value="6">
+ <constant name="PARAM_SHADOW_SPLIT_1_OFFSET" value="8">
</constant>
- <constant name="COLOR_DIFFUSE" value="0">
+ <constant name="PARAM_SHADOW_SPLIT_2_OFFSET" value="9">
</constant>
- <constant name="COLOR_SPECULAR" value="1">
+ <constant name="PARAM_SHADOW_SPLIT_3_OFFSET" value="10">
</constant>
- <constant name="BAKE_MODE_DISABLED" value="0">
+ <constant name="PARAM_SHADOW_NORMAL_BIAS" value="11">
</constant>
- <constant name="BAKE_MODE_INDIRECT" value="1">
+ <constant name="PARAM_SHADOW_BIAS" value="12">
</constant>
- <constant name="BAKE_MODE_INDIRECT_AND_SHADOWS" value="2">
+ <constant name="PARAM_SHADOW_BIAS_SPLIT_SCALE" value="13">
</constant>
- <constant name="BAKE_MODE_FULL" value="3">
+ <constant name="PARAM_MAX" value="14">
</constant>
</constants>
</class>
@@ -19714,18 +22384,16 @@
Return the height of the Light2D. Used with 2D normalmapping.
</description>
</method>
- <method name="get_item_mask" qualifiers="const">
+ <method name="get_item_cull_mask" qualifiers="const">
<return type="int">
</return>
<description>
- Return the item mask of the Light2D.
</description>
</method>
- <method name="get_item_shadow_mask" qualifiers="const">
+ <method name="get_item_shadow_cull_mask" qualifiers="const">
<return type="int">
</return>
<description>
- Return the item shadow mask of the Light2D.
</description>
</method>
<method name="get_layer_range_max" qualifiers="const">
@@ -19763,11 +22431,16 @@
Return the color of casted shadows for this Light2D.
</description>
</method>
- <method name="get_shadow_esm_multiplier" qualifiers="const">
+ <method name="get_shadow_filter" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_shadow_gradient_length" qualifiers="const">
<return type="float">
</return>
<description>
- Return the Exponential Shadow Multiplier (ESM) value of the Light2D.
</description>
</method>
<method name="get_texture" qualifiers="const">
@@ -19805,6 +22478,12 @@
Get the minimum Z value that objects of the scene have to be in order to be affected by the Light2D.
</description>
</method>
+ <method name="is_editor_only" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="is_enabled" qualifiers="const">
<return type="bool">
</return>
@@ -19826,6 +22505,12 @@
Set the color of the Light2D.
</description>
</method>
+ <method name="set_editor_only">
+ <argument index="0" name="editor_only" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_enabled">
<argument index="0" name="enabled" type="bool">
</argument>
@@ -19847,15 +22532,15 @@
Set the height of the Light2D. Used with 2D normalmapping.
</description>
</method>
- <method name="set_item_mask">
- <argument index="0" name="item_mask" type="int">
+ <method name="set_item_cull_mask">
+ <argument index="0" name="item_cull_mask" type="int">
</argument>
<description>
Set the item mask of the Light2D to 'item_mask' value.
</description>
</method>
- <method name="set_item_shadow_mask">
- <argument index="0" name="item_shadow_mask" type="int">
+ <method name="set_item_shadow_cull_mask">
+ <argument index="0" name="item_shadow_cull_mask" type="int">
</argument>
<description>
Set the item shadow mask to 'item_shadow_mask' value.
@@ -19903,11 +22588,16 @@
Enable or disable shadows casting from this Light2D according to the 'enabled' parameter.
</description>
</method>
- <method name="set_shadow_esm_multiplier">
+ <method name="set_shadow_filter">
+ <argument index="0" name="filter" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_shadow_gradient_length">
<argument index="0" name="multiplier" type="float">
</argument>
<description>
- Set the Exponential Shadow Multiplier (ESM) value of the Light2D.
</description>
</method>
<method name="set_texture">
@@ -19946,6 +22636,48 @@
</description>
</method>
</methods>
+ <members>
+ <member name="color" type="Color" setter="set_color" getter="get_color" brief="">
+ </member>
+ <member name="editor_only" type="bool" setter="set_editor_only" getter="is_editor_only" brief="">
+ </member>
+ <member name="enabled" type="bool" setter="set_enabled" getter="is_enabled" brief="">
+ </member>
+ <member name="energy" type="float" setter="set_energy" getter="get_energy" brief="">
+ </member>
+ <member name="mode" type="int" setter="set_mode" getter="get_mode" brief="">
+ </member>
+ <member name="offset" type="Vector2" setter="set_texture_offset" getter="get_texture_offset" brief="">
+ </member>
+ <member name="range_height" type="float" setter="set_height" getter="get_height" brief="">
+ </member>
+ <member name="range_item_cull_mask" type="int" setter="set_item_cull_mask" getter="get_item_cull_mask" brief="">
+ </member>
+ <member name="range_layer_max" type="int" setter="set_layer_range_max" getter="get_layer_range_max" brief="">
+ </member>
+ <member name="range_layer_min" type="int" setter="set_layer_range_min" getter="get_layer_range_min" brief="">
+ </member>
+ <member name="range_z_max" type="int" setter="set_z_range_max" getter="get_z_range_max" brief="">
+ </member>
+ <member name="range_z_min" type="int" setter="set_z_range_min" getter="get_z_range_min" brief="">
+ </member>
+ <member name="scale" type="float" setter="set_texture_scale" getter="get_texture_scale" brief="">
+ </member>
+ <member name="shadow_buffer_size" type="int" setter="set_shadow_buffer_size" getter="get_shadow_buffer_size" brief="">
+ </member>
+ <member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" brief="">
+ </member>
+ <member name="shadow_enabled" type="bool" setter="set_shadow_enabled" getter="is_shadow_enabled" brief="">
+ </member>
+ <member name="shadow_filter" type="float" setter="set_shadow_filter" getter="get_shadow_filter" brief="">
+ </member>
+ <member name="shadow_gradient_length" type="float" setter="set_shadow_gradient_length" getter="get_shadow_gradient_length" brief="">
+ </member>
+ <member name="shadow_item_cull_mask" type="int" setter="set_item_shadow_cull_mask" getter="get_item_shadow_cull_mask" brief="">
+ </member>
+ <member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ </members>
<constants>
<constant name="MODE_ADD" value="0">
Adds the value of pixels corresponding to the Light2D to the values of pixels under it. This is the common behaviour of a light.
@@ -19998,9 +22730,231 @@
</description>
</method>
</methods>
+ <members>
+ <member name="light_mask" type="int" setter="set_occluder_light_mask" getter="get_occluder_light_mask" brief="">
+ </member>
+ <member name="occluder" type="OccluderPolygon2D" setter="set_occluder_polygon" getter="get_occluder_polygon" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
+<class name="Line2D" inherits="Node2D" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="add_point">
+ <argument index="0" name="pos" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_begin_cap_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_default_color" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_end_cap_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_gradient" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_joint_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_point_count" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_point_pos" qualifiers="const">
+ <return type="Vector2">
+ </return>
+ <argument index="0" name="i" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_points" qualifiers="const">
+ <return type="PoolVector2Array">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_round_precision" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_sharp_limit" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_texture" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_texture_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_width" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="remove_point">
+ <argument index="0" name="i" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_begin_cap_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_default_color">
+ <argument index="0" name="color" type="Color">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_end_cap_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_gradient">
+ <argument index="0" name="color" type="Object">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_joint_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_point_pos">
+ <argument index="0" name="i" type="int">
+ </argument>
+ <argument index="1" name="pos" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_points">
+ <argument index="0" name="points" type="PoolVector2Array">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_round_precision">
+ <argument index="0" name="precision" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_sharp_limit">
+ <argument index="0" name="limit" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_texture">
+ <argument index="0" name="texture" type="Object">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_texture_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_width">
+ <argument index="0" name="width" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="begin_cap_mode" type="int" setter="set_begin_cap_mode" getter="get_begin_cap_mode" brief="">
+ </member>
+ <member name="default_color" type="Color" setter="set_default_color" getter="get_default_color" brief="">
+ </member>
+ <member name="end_cap_mode" type="int" setter="set_end_cap_mode" getter="get_end_cap_mode" brief="">
+ </member>
+ <member name="gradient" type="ColorRamp" setter="set_gradient" getter="get_gradient" brief="">
+ </member>
+ <member name="joint_mode" type="int" setter="set_joint_mode" getter="get_joint_mode" brief="">
+ </member>
+ <member name="points" type="PoolVector2Array" setter="set_points" getter="get_points" brief="">
+ </member>
+ <member name="round_precision" type="int" setter="set_round_precision" getter="get_round_precision" brief="">
+ </member>
+ <member name="sharp_limit" type="float" setter="set_sharp_limit" getter="get_sharp_limit" brief="">
+ </member>
+ <member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="texture_mode" type="int" setter="set_texture_mode" getter="get_texture_mode" brief="">
+ </member>
+ <member name="width" type="float" setter="set_width" getter="get_width" brief="">
+ </member>
+ </members>
+ <constants>
+ <constant name="LINE_JOINT_SHARP" value="0">
+ </constant>
+ <constant name="LINE_JOINT_BEVEL" value="1">
+ </constant>
+ <constant name="LINE_JOINT_ROUND" value="2">
+ </constant>
+ <constant name="LINE_CAP_NONE" value="0">
+ </constant>
+ <constant name="LINE_CAP_BOX" value="1">
+ </constant>
+ <constant name="LINE_CAP_ROUND" value="2">
+ </constant>
+ <constant name="LINE_TEXTURE_NONE" value="0">
+ </constant>
+ <constant name="LINE_TEXTURE_TILE" value="1">
+ </constant>
+ </constants>
+</class>
<class name="LineEdit" inherits="Control" category="Core">
<brief_description>
Control that provides single line string editing.
@@ -20193,6 +23147,30 @@
</description>
</method>
</methods>
+ <members>
+ <member name="align" type="int" setter="set_align" getter="get_align" brief="">
+ </member>
+ <member name="caret_blink" type="bool" setter="cursor_set_blink_enabled" getter="cursor_get_blink_enabled" brief="">
+ </member>
+ <member name="caret_blink_speed" type="float" setter="cursor_set_blink_speed" getter="cursor_get_blink_speed" brief="">
+ </member>
+ <member name="editable" type="bool" setter="set_editable" getter="is_editable" brief="">
+ </member>
+ <member name="expand_to_len" type="bool" setter="set_expand_to_text_length" getter="get_expand_to_text_length" brief="">
+ </member>
+ <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" brief="">
+ </member>
+ <member name="max_length" type="int" setter="set_max_length" getter="get_max_length" brief="">
+ </member>
+ <member name="placeholder_alpha" type="float" setter="set_placeholder_alpha" getter="get_placeholder_alpha" brief="">
+ </member>
+ <member name="placeholder_text" type="String" setter="set_placeholder" getter="get_placeholder" brief="">
+ </member>
+ <member name="secret" type="bool" setter="set_secret" getter="is_secret" brief="">
+ </member>
+ <member name="text" type="String" setter="set_text" getter="get_text" brief="">
+ </member>
+ </members>
<signals>
<signal name="text_changed">
<argument index="0" name="text" type="String">
@@ -20291,6 +23269,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="d" type="float" setter="set_d" getter="get_d" brief="">
+ </member>
+ <member name="normal" type="Vector2" setter="set_normal" getter="get_normal" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -20331,6 +23315,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="text" type="String" setter="set_text" getter="get_text" brief="">
+ </member>
+ <member name="underline" type="int" setter="set_underline_mode" getter="get_underline_mode" brief="">
+ </member>
+ </members>
<constants>
<constant name="UNDERLINE_MODE_ALWAYS" value="0">
The LinkButton will always show an underline at the bottom of its text
@@ -20394,7 +23384,7 @@
</description>
<methods>
<method name="_drop_files" qualifiers="virtual">
- <argument index="0" name="files" type="StringArray">
+ <argument index="0" name="files" type="PoolStringArray">
</argument>
<argument index="1" name="screen" type="int">
</argument>
@@ -20471,15 +23461,15 @@
</method>
</methods>
<constants>
- <constant name="NOTIFICATION_WM_MOUSE_ENTER" value="3">
+ <constant name="NOTIFICATION_WM_MOUSE_ENTER" value="2">
</constant>
- <constant name="NOTIFICATION_WM_MOUSE_EXIT" value="4">
+ <constant name="NOTIFICATION_WM_MOUSE_EXIT" value="3">
</constant>
- <constant name="NOTIFICATION_WM_FOCUS_IN" value="5">
+ <constant name="NOTIFICATION_WM_FOCUS_IN" value="4">
</constant>
- <constant name="NOTIFICATION_WM_FOCUS_OUT" value="6">
+ <constant name="NOTIFICATION_WM_FOCUS_OUT" value="5">
</constant>
- <constant name="NOTIFICATION_WM_QUIT_REQUEST" value="7">
+ <constant name="NOTIFICATION_WM_QUIT_REQUEST" value="6">
</constant>
<constant name="NOTIFICATION_WM_UNFOCUS_REQUEST" value="8">
</constant>
@@ -20516,7 +23506,7 @@
</description>
<methods>
<method name="base64_to_raw">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<argument index="0" name="base64_str" type="String">
</argument>
@@ -20542,7 +23532,7 @@
<method name="raw_to_base64">
<return type="String">
</return>
- <argument index="0" name="array" type="RawArray">
+ <argument index="0" name="array" type="PoolByteArray">
</argument>
<description>
</description>
@@ -20575,449 +23565,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="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="get_depth_draw_mode" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_flag" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="flag" type="int">
- </argument>
- <description>
- Return a [Material] flag, which toggles on or off a behavior when rendering. See enumeration FLAG_* for a list.
- </description>
- </method>
- <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_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="set_depth_draw_mode">
- <argument index="0" name="mode" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_flag">
- <argument index="0" name="flag" type="int">
- </argument>
- <argument index="1" name="enable" type="bool">
- </argument>
- <description>
- Set a [Material] flag, which toggles on or off a behavior when rendering. See enumeration FLAG_* for a list.
- </description>
- </method>
- <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>
- </methods>
- <constants>
- <constant name="FLAG_VISIBLE" value="0">
- Geometry is visible when this flag is enabled (default).
- </constant>
- <constant name="FLAG_DOUBLE_SIDED" value="1">
- Both front facing and back facing triangles are rendered when this flag is enabled.
- </constant>
- <constant name="FLAG_INVERT_FACES" value="2">
- Front facing and back facing order is swapped when this flag is enabled.
- </constant>
- <constant name="FLAG_UNSHADED" value="3">
- Shading (lighting) is disabled when this flag is enabled.
- </constant>
- <constant name="FLAG_ONTOP" value="4">
- </constant>
- <constant name="FLAG_LIGHTMAP_ON_UV2" value="5">
- </constant>
- <constant name="FLAG_COLOR_ARRAY_SRGB" value="6">
- </constant>
- <constant name="FLAG_MAX" value="7">
- Maximum amount of flags.
- </constant>
- <constant name="DEPTH_DRAW_ALWAYS" value="0">
- </constant>
- <constant name="DEPTH_DRAW_OPAQUE_ONLY" value="1">
- </constant>
- <constant name="DEPTH_DRAW_OPAQUE_PRE_PASS_ALPHA" value="2">
- </constant>
- <constant name="DEPTH_DRAW_NEVER" value="3">
- </constant>
- <constant name="BLEND_MODE_MIX" value="0">
- Use the regular alpha blending equation (source and dest colors are faded) (default).
- </constant>
- <constant name="BLEND_MODE_ADD" value="1">
- Use additive blending equation, often used for particle effects such as fire or light decals.
- </constant>
- <constant name="BLEND_MODE_SUB" value="2">
- Use subtractive blending equation, often used for some smoke effects or types of glass.
- </constant>
- <constant name="BLEND_MODE_MUL" value="3">
- </constant>
- <constant name="BLEND_MODE_PREMULT_ALPHA" value="4">
- </constant>
- </constants>
-</class>
-<class name="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.
- </brief_description>
- <description>
- 3x3 matrix used for 3D rotation and scale. Contains 3 vector fields x,y and z as its columns, which can be interpreted as the local basis vectors of a transformation. Can also be accessed as array of 3D vectors. These vectors are orthogonal to each other, but are not necessarily normalized. Almost always used as orthogonal basis for a [Transform].
- For such use, it is composed of a scaling and a rotation matrix, in that order (M = R.S).
- </description>
- <methods>
- <method name="Matrix3">
- <return type="Matrix3">
- </return>
- <argument index="0" name="from" type="Quat">
- </argument>
- <description>
- Create a rotation matrix from the given quaternion.
- </description>
- </method>
- <method name="Matrix3">
- <return type="Matrix3">
- </return>
- <argument index="0" name="axis" type="Vector3">
- </argument>
- <argument index="1" name="phi" type="float">
- </argument>
- <description>
- Create a rotation matrix which rotates around the given axis by the specified angle. The axis must be a normalized vector.
- </description>
- </method>
- <method name="Matrix3">
- <return type="Matrix3">
- </return>
- <argument index="0" name="x_axis" type="Vector3">
- </argument>
- <argument index="1" name="y_axis" type="Vector3">
- </argument>
- <argument index="2" name="z_axis" type="Vector3">
- </argument>
- <description>
- Create a matrix from 3 axis vectors.
- </description>
- </method>
- <method name="determinant">
- <return type="float">
- </return>
- <description>
- Return the determinant of the matrix.
- </description>
- </method>
- <method name="get_euler">
- <return type="Vector3">
- </return>
- <description>
- Return Euler angles (in the XYZ convention: first Z, then Y, and X last) from the matrix. Returned vector contains the rotation angles in the format (third,second,first).
- This function only works if the matrix represents a proper rotation.
- </description>
- </method>
- <method name="get_orthogonal_index">
- <return type="int">
- </return>
- <description>
- This function considers a discretization of rotations into 24 points on unit sphere, lying along the vectors (x,y,z) with each component being either -1,0 or 1, and returns the index of the point best representing the orientation of the object. It is mainly used by the grid map editor. For further details, refer to Godot source code.
- </description>
- </method>
- <method name="get_scale">
- <return type="Vector3">
- </return>
- <description>
- Assuming that the matrix is the combination of a rotation and scaling, return the absolute value of scaling factors along each axis.
- </description>
- </method>
- <method name="inverse">
- <return type="Matrix3">
- </return>
- <description>
- Return the inverse of the matrix.
- </description>
- </method>
- <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 for orthogonal matrices). This performs a Gram-Schmidt orthonormalization on the basis of the matrix.
- </description>
- </method>
- <method name="rotated">
- <return type="Matrix3">
- </return>
- <argument index="0" name="axis" type="Vector3">
- </argument>
- <argument index="1" name="phi" type="float">
- </argument>
- <description>
- Introduce an additional rotation around the given axis by phi. Only relevant when the matrix is being used as a part of [Transform]. The axis must be a normalized vector.
- </description>
- </method>
- <method name="scaled">
- <return type="Matrix3">
- </return>
- <argument index="0" name="scale" type="Vector3">
- </argument>
- <description>
- Introduce an additional scaling specified by the given 3D scaling factor. Only relevant when the matrix is being used as a part of [Transform].
- </description>
- </method>
- <method name="tdotx">
- <return type="float">
- </return>
- <argument index="0" name="with" type="Vector3">
- </argument>
- <description>
- Transposed dot product with the x axis of the matrix.
- </description>
- </method>
- <method name="tdoty">
- <return type="float">
- </return>
- <argument index="0" name="with" type="Vector3">
- </argument>
- <description>
- Transposed dot product with the y axis of the matrix.
- </description>
- </method>
- <method name="tdotz">
- <return type="float">
- </return>
- <argument index="0" name="with" type="Vector3">
- </argument>
- <description>
- Transposed dot product with the z axis of the matrix.
- </description>
- </method>
- <method name="transposed">
- <return type="Matrix3">
- </return>
- <description>
- Return the transposed version of the matrix.
- </description>
- </method>
- <method name="xform">
- <return type="Vector3">
- </return>
- <argument index="0" name="v" type="Vector3">
- </argument>
- <description>
- Return a vector transformed (multiplied) by the matrix and return it.
- </description>
- </method>
- <method name="xform_inv">
- <return type="Vector3">
- </return>
- <argument index="0" name="v" type="Vector3">
- </argument>
- <description>
- Return a vector transformed (multiplied) by the transposed matrix and return it. Note that this is a multiplication by inverse only when the matrix represents a rotation-reflection.
- </description>
- </method>
- </methods>
- <members>
- <member name="x" type="Vector3">
- </member>
- <member name="y" type="Vector3">
- </member>
- <member name="z" type="Vector3">
- </member>
- </members>
- <constants>
- </constants>
-</class>
-<class name="Matrix32" category="Built-In Types">
- <brief_description>
- 3x2 Matrix for 2D transforms.
- </brief_description>
- <description>
- 3x2 Matrix for 2D transforms.
- </description>
- <methods>
- <method name="Matrix32">
- <return type="Matrix32">
- </return>
- <argument index="0" name="from" type="Transform">
- </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">
- </argument>
- <argument index="2" name="origin" type="Vector2">
- </argument>
- <description>
- </description>
- </method>
- <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="affine_inverse">
- <return type="Matrix32">
- </return>
- <description>
- Return the inverse of the matrix.
- </description>
- </method>
- <method name="basis_xform">
- <return type="Matrix32">
- </return>
- <argument index="0" name="v" type="var">
- </argument>
- <description>
- </description>
- </method>
- <method name="basis_xform_inv">
- <return type="Matrix32">
- </return>
- <argument index="0" name="v" type="var">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_origin">
- <return type="Vector2">
- </return>
- <description>
- </description>
- </method>
- <method name="get_rotation">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_scale">
- <return type="Vector2">
- </return>
- <description>
- </description>
- </method>
- <method name="interpolate_with">
- <return type="Matrix32">
- </return>
- <argument index="0" name="m" type="Matrix32">
- </argument>
- <argument index="1" name="c" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="inverse">
- <return type="Matrix32">
- </return>
- <description>
- </description>
- </method>
- <method name="orthonormalized">
- <return type="Matrix32">
- </return>
- <description>
- </description>
- </method>
- <method name="rotated">
- <return type="Matrix32">
- </return>
- <argument index="0" name="phi" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="scaled">
- <return type="Matrix32">
- </return>
- <argument index="0" name="scale" type="Vector2">
- </argument>
- <description>
- </description>
- </method>
- <method name="translated">
- <return type="Matrix32">
- </return>
- <argument index="0" name="offset" type="Vector2">
- </argument>
- <description>
- </description>
- </method>
- <method name="xform">
- <return type="Matrix32">
- </return>
- <argument index="0" name="v" type="var">
- </argument>
- <description>
- </description>
- </method>
- <method name="xform_inv">
- <return type="Matrix32">
- </return>
- <argument index="0" name="v" type="var">
- </argument>
- <description>
- </description>
- </method>
</methods>
- <members>
- <member name="o" type="Vector2">
- </member>
- <member name="x" type="Vector2">
- </member>
- <member name="y" type="Vector2">
- </member>
- </members>
<constants>
</constants>
</class>
@@ -21037,6 +23585,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="items" type="Array" setter="_set_items" getter="_get_items" brief="">
+ </member>
+ </members>
<signals>
<signal name="about_to_show">
<description>
@@ -21078,54 +23630,48 @@
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 preferred 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_blend_shape">
<argument index="0" name="name" type="String">
</argument>
<description>
</description>
</method>
- <method name="add_surface">
+ <method name="add_surface_from_arrays">
<argument index="0" name="primitive" type="int">
</argument>
<argument index="1" name="arrays" type="Array">
</argument>
- <argument index="2" name="morph_arrays" type="Array" default="Array()">
+ <argument index="2" name="blend_shapes" type="Array" default="Array()">
</argument>
- <argument index="3" name="alphasort" type="bool" default="false">
+ <argument index="3" name="compress_flags" type="int" default="97792">
</argument>
<description>
Create a new surface ([method get_surface_count] that will become surf_idx for this.
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.
+ (might be obsolete) 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="center_geometry">
<description>
</description>
</method>
- <method name="clear_morph_targets">
- <description>
- </description>
- </method>
- <method name="get_custom_aabb" qualifiers="const">
- <return type="AABB">
- </return>
+ <method name="clear_blend_shapes">
<description>
</description>
</method>
- <method name="get_morph_target_count" qualifiers="const">
+ <method name="get_blend_shape_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="get_morph_target_mode" qualifiers="const">
+ <method name="get_blend_shape_mode" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="get_morph_target_name" qualifiers="const">
+ <method name="get_blend_shape_name" qualifiers="const">
<return type="String">
</return>
<argument index="0" name="index" type="int">
@@ -21133,6 +23679,12 @@
<description>
</description>
</method>
+ <method name="get_custom_aabb" qualifiers="const">
+ <return type="Rect3">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_surface_count" qualifiers="const">
<return type="int">
</return>
@@ -21144,14 +23696,14 @@
<description>
</description>
</method>
- <method name="set_custom_aabb">
- <argument index="0" name="aabb" type="AABB">
+ <method name="set_blend_shape_mode">
+ <argument index="0" name="mode" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_morph_target_mode">
- <argument index="0" name="mode" type="int">
+ <method name="set_custom_aabb">
+ <argument index="0" name="aabb" type="Rect3">
</argument>
<description>
</description>
@@ -21353,7 +23905,7 @@
</description>
</method>
<method name="get_edge_faces" qualifiers="const">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -21437,7 +23989,7 @@
</description>
</method>
<method name="get_vertex_bones" qualifiers="const">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -21459,7 +24011,7 @@
</description>
</method>
<method name="get_vertex_edges" qualifiers="const">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -21467,7 +24019,7 @@
</description>
</method>
<method name="get_vertex_faces" qualifiers="const">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -21513,7 +24065,7 @@
</description>
</method>
<method name="get_vertex_weights" qualifiers="const">
- <return type="RealArray">
+ <return type="PoolRealArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -21553,7 +24105,7 @@
<method name="set_vertex_bones">
<argument index="0" name="idx" type="int">
</argument>
- <argument index="1" name="bones" type="IntArray">
+ <argument index="1" name="bones" type="PoolIntArray">
</argument>
<description>
</description>
@@ -21609,7 +24161,7 @@
<method name="set_vertex_weights">
<argument index="0" name="idx" type="int">
</argument>
- <argument index="1" name="weights" type="RealArray">
+ <argument index="1" name="weights" type="PoolRealArray">
</argument>
<description>
</description>
@@ -21635,13 +24187,6 @@
This helper creates a [StaticBody] child [Node] using the mesh geometry as collision. It's mainly used for testing.
</description>
</method>
- <method name="get_aabb" qualifiers="const">
- <return type="AABB">
- </return>
- <description>
- Return the AABB of the mesh, in local coordinates.
- </description>
- </method>
<method name="get_mesh" qualifiers="const">
<return type="Mesh">
</return>
@@ -21669,6 +24214,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh" brief="">
+ </member>
+ <member name="skeleton" type="NodePath" setter="set_skeleton_path" getter="get_skeleton_path" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -21693,7 +24244,7 @@
</description>
</method>
<method name="get_item_list" qualifiers="const">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<description>
Return the list of items.
@@ -21793,19 +24344,20 @@
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.
As a drawback, if the instances are too far away of each other, performance may be reduced as every single 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].
+ Since instances may have any behavior, the Rect3 used for visibility must be provided by the user, or generated with [method generate_aabb].
</description>
<methods>
- <method name="generate_aabb">
+ <method name="get_aabb" qualifiers="const">
+ <return type="Rect3">
+ </return>
<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.
+ Return the visibility Rect3.
</description>
</method>
- <method name="get_aabb" qualifiers="const">
- <return type="AABB">
+ <method name="get_color_format" qualifiers="const">
+ <return type="int">
</return>
<description>
- Return the visibility AABB.
</description>
</method>
<method name="get_instance_color" qualifiers="const">
@@ -21840,11 +24392,16 @@
Return the [Mesh] resource drawn as multiple instances.
</description>
</method>
- <method name="set_aabb">
- <argument index="0" name="visibility_aabb" type="AABB">
+ <method name="get_transform_format" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_color_format">
+ <argument index="0" name="format" type="int">
</argument>
<description>
- Set the visibility AABB. If not provided, MultiMesh will not be visible.
</description>
</method>
<method name="set_instance_color">
@@ -21879,8 +24436,38 @@
Set the [Mesh] resource to be drawn in multiple instances.
</description>
</method>
+ <method name="set_transform_format">
+ <argument index="0" name="format" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
</methods>
+ <members>
+ <member name="color_array" type="PoolColorArray" setter="_set_color_array" getter="_get_color_array" brief="">
+ </member>
+ <member name="color_format" type="int" setter="set_color_format" getter="get_color_format" brief="">
+ </member>
+ <member name="instance_count" type="int" setter="set_instance_count" getter="get_instance_count" brief="">
+ </member>
+ <member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh" brief="">
+ </member>
+ <member name="transform_array" type="PoolVector3Array" setter="_set_transform_array" getter="_get_transform_array" brief="">
+ </member>
+ <member name="transform_format" type="int" setter="set_transform_format" getter="get_transform_format" brief="">
+ </member>
+ </members>
<constants>
+ <constant name="TRANSFORM_2D" value="0">
+ </constant>
+ <constant name="TRANSFORM_3D" value="1">
+ </constant>
+ <constant name="COLOR_NONE" value="0">
+ </constant>
+ <constant name="COLOR_8BIT" value="1">
+ </constant>
+ <constant name="COLOR_FLOAT" value="2">
+ </constant>
</constants>
</class>
<class name="MultiMeshInstance" inherits="GeometryInstance" category="Core">
@@ -21906,6 +24493,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="multimesh" type="MultiMesh" setter="set_multimesh" getter="get_multimesh" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -21981,7 +24572,7 @@
</description>
</method>
<method name="get_simple_path">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<argument index="0" name="start" type="Vector3">
</argument>
@@ -22031,6 +24622,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="up_vector" type="Vector3" setter="set_up_vector" getter="get_up_vector" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -22057,7 +24652,7 @@
</description>
</method>
<method name="get_simple_path">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<argument index="0" name="start" type="Vector2">
</argument>
@@ -22073,7 +24668,7 @@
</return>
<argument index="0" name="mesh" type="NavigationPolygon">
</argument>
- <argument index="1" name="xform" type="Matrix32">
+ <argument index="1" name="xform" type="Transform2D">
</argument>
<argument index="2" name="owner" type="Object" default="NULL">
</argument>
@@ -22089,7 +24684,7 @@
<method name="navpoly_set_transform">
<argument index="0" name="id" type="int">
</argument>
- <argument index="1" name="xform" type="Matrix32">
+ <argument index="1" name="xform" type="Transform2D">
</argument>
<description>
</description>
@@ -22105,7 +24700,7 @@
</description>
<methods>
<method name="add_polygon">
- <argument index="0" name="polygon" type="IntArray">
+ <argument index="0" name="polygon" type="PoolIntArray">
</argument>
<description>
</description>
@@ -22115,7 +24710,7 @@
</description>
</method>
<method name="get_polygon">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -22129,18 +24724,24 @@
</description>
</method>
<method name="get_vertices" qualifiers="const">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<description>
</description>
</method>
<method name="set_vertices">
- <argument index="0" name="vertices" type="Vector3Array">
+ <argument index="0" name="vertices" type="PoolVector3Array">
</argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="polygons" type="Array" setter="_set_polygons" getter="_get_polygons" brief="">
+ </member>
+ <member name="vertices" type="PoolVector3Array" setter="set_vertices" getter="get_vertices" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -22175,6 +24776,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="enabled" type="bool" setter="set_enabled" getter="is_enabled" brief="">
+ </member>
+ <member name="navmesh" type="NavigationMesh" setter="set_navigation_mesh" getter="get_navigation_mesh" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -22185,13 +24792,13 @@
</description>
<methods>
<method name="add_outline">
- <argument index="0" name="outline" type="Vector2Array">
+ <argument index="0" name="outline" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
<method name="add_outline_at_index">
- <argument index="0" name="outline" type="Vector2Array">
+ <argument index="0" name="outline" type="PoolVector2Array">
</argument>
<argument index="1" name="index" type="int">
</argument>
@@ -22199,7 +24806,7 @@
</description>
</method>
<method name="add_polygon">
- <argument index="0" name="polygon" type="IntArray">
+ <argument index="0" name="polygon" type="PoolIntArray">
</argument>
<description>
</description>
@@ -22213,7 +24820,7 @@
</description>
</method>
<method name="get_outline" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -22227,7 +24834,7 @@
</description>
</method>
<method name="get_polygon">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -22241,7 +24848,7 @@
</description>
</method>
<method name="get_vertices" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
</description>
@@ -22259,18 +24866,26 @@
<method name="set_outline">
<argument index="0" name="idx" type="int">
</argument>
- <argument index="1" name="outline" type="Vector2Array">
+ <argument index="1" name="outline" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
<method name="set_vertices">
- <argument index="0" name="vertices" type="Vector2Array">
+ <argument index="0" name="vertices" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="outlines" type="Array" setter="_set_outlines" getter="_get_outlines" brief="">
+ </member>
+ <member name="polygons" type="Array" setter="_set_polygons" getter="_get_polygons" brief="">
+ </member>
+ <member name="vertices" type="PoolVector3Array" setter="set_vertices" getter="get_vertices" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -22305,6 +24920,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="enabled" type="bool" setter="set_enabled" getter="is_enabled" brief="">
+ </member>
+ <member name="navpoly" type="NavigationPolygon" setter="set_navigation_polygon" getter="get_navigation_polygon" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -22483,43 +25104,43 @@
</description>
<methods>
<method name="Nil">
- <argument index="0" name="from" type="ColorArray">
+ <argument index="0" name="from" type="PoolColorArray">
</argument>
<description>
</description>
</method>
<method name="Nil">
- <argument index="0" name="from" type="Vector3Array">
+ <argument index="0" name="from" type="PoolVector3Array">
</argument>
<description>
</description>
</method>
<method name="Nil">
- <argument index="0" name="from" type="Vector2Array">
+ <argument index="0" name="from" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
<method name="Nil">
- <argument index="0" name="from" type="StringArray">
+ <argument index="0" name="from" type="PoolStringArray">
</argument>
<description>
</description>
</method>
<method name="Nil">
- <argument index="0" name="from" type="RealArray">
+ <argument index="0" name="from" type="PoolRealArray">
</argument>
<description>
</description>
</method>
<method name="Nil">
- <argument index="0" name="from" type="IntArray">
+ <argument index="0" name="from" type="PoolIntArray">
</argument>
<description>
</description>
</method>
<method name="Nil">
- <argument index="0" name="from" type="RawArray">
+ <argument index="0" name="from" type="PoolByteArray">
</argument>
<description>
</description>
@@ -22579,13 +25200,13 @@
</description>
</method>
<method name="Nil">
- <argument index="0" name="from" type="Matrix3">
+ <argument index="0" name="from" type="Basis">
</argument>
<description>
</description>
</method>
<method name="Nil">
- <argument index="0" name="from" type="AABB">
+ <argument index="0" name="from" type="Rect3">
</argument>
<description>
</description>
@@ -22603,7 +25224,7 @@
</description>
</method>
<method name="Nil">
- <argument index="0" name="from" type="Matrix32">
+ <argument index="0" name="from" type="Transform2D">
</argument>
<description>
</description>
@@ -22654,6 +25275,90 @@
<constants>
</constants>
</class>
+<class name="NinePatchRect" inherits="Control" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_draw_center" qualifiers="const">
+ <return type="bool">
+ </return>
+ <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="get_region_rect" qualifiers="const">
+ <return type="Rect2">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_texture" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_draw_center">
+ <argument index="0" name="draw_center" type="bool">
+ </argument>
+ <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="set_region_rect">
+ <argument index="0" name="rect" type="Rect2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_texture">
+ <argument index="0" name="texture" type="Object">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="draw_center" type="bool" setter="set_draw_center" getter="get_draw_center" brief="">
+ </member>
+ <member name="patch_margin_bottom" type="int" setter="set_patch_margin" getter="get_patch_margin" brief="">
+ </member>
+ <member name="patch_margin_left" type="int" setter="set_patch_margin" getter="get_patch_margin" brief="">
+ </member>
+ <member name="patch_margin_right" type="int" setter="set_patch_margin" getter="get_patch_margin" brief="">
+ </member>
+ <member name="patch_margin_top" type="int" setter="set_patch_margin" getter="get_patch_margin" brief="">
+ </member>
+ <member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" brief="">
+ </member>
+ <member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ </members>
+ <signals>
+ <signal name="texture_changed">
+ <description>
+ </description>
+ </signal>
+ </signals>
+ <constants>
+ </constants>
+</class>
<class name="Node" inherits="Object" category="Core">
<brief_description>
Base class for all the [i]scene[/i] elements.
@@ -22760,10 +25465,11 @@
<method name="duplicate" qualifiers="const">
<return type="Node">
</return>
- <argument index="0" name="use_instancing" type="bool" default="false">
+ <argument index="0" name="flags" type="int" default="15">
</argument>
<description>
- Duplicate the node, returning a new [Node]. If [code]use_instancing[/code] is true, the duplicated node will be a new instance of the original [PackedScene], if not it will be an independent node. The duplicated node has the same group assignments and signals as the original one.
+ Duplicate the node, returning a new [Node].
+ You can fine-tune the behavior using the [code]flags[/code], which are based on the DUPLICATE_* constants.
</description>
</method>
<method name="find_node" qualifiers="const">
@@ -22984,6 +25690,12 @@
Return true if fixed processing is enabled (see [method set_fixed_process]).
</description>
</method>
+ <method name="is_fixed_processing_internal" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="is_greater_than" qualifiers="const">
<return type="bool">
</return>
@@ -23027,6 +25739,12 @@
Return true if the node is processing input (see [method set_process_input]).
</description>
</method>
+ <method name="is_processing_internal" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="is_processing_unhandled_input" qualifiers="const">
<return type="bool">
</return>
@@ -23102,6 +25820,10 @@
Replace a node in a scene by a given one. Subscriptions that pass through this node will be lost.
</description>
</method>
+ <method name="request_ready">
+ <description>
+ </description>
+ </method>
<method name="rpc" qualifiers="vararg">
<argument index="0" name="method" type="String">
</argument>
@@ -23212,6 +25934,12 @@
Enables or disables node fixed framerate processing. When a node is being processed, it will receive a NOTIFICATION_PROCESS at a fixed (usually 60 fps, 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_delta_time].
</description>
</method>
+ <method name="set_fixed_process_internal">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_name">
<argument index="0" name="name" type="String">
</argument>
@@ -23253,6 +25981,12 @@
Enable input processing for node. This is not required for GUI controls! It hooks up the node to receive all input (see [method _input]).
</description>
</method>
+ <method name="set_process_internal">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_process_unhandled_input">
<argument index="0" name="enable" type="bool">
</argument>
@@ -23273,18 +26007,26 @@
</description>
</method>
</methods>
+ <members>
+ <member name="_import_path" type="NodePath" setter="_set_import_path" getter="_get_import_path" brief="">
+ </member>
+ <member name="editor/display_folded" type="bool" setter="set_display_folded" getter="is_displayed_folded" brief="">
+ </member>
+ <member name="pause_mode" type="int" setter="set_pause_mode" getter="get_pause_mode" brief="">
+ </member>
+ </members>
<signals>
- <signal name="enter_tree">
+ <signal name="renamed">
<description>
+ Emitted when the node is renamed.
</description>
</signal>
- <signal name="exit_tree">
+ <signal name="tree_entered">
<description>
</description>
</signal>
- <signal name="renamed">
+ <signal name="tree_exited">
<description>
- Emitted when the node is renamed.
</description>
</signal>
</signals>
@@ -23320,6 +26062,12 @@
</constant>
<constant name="NOTIFICATION_PATH_CHANGED" value="23">
</constant>
+ <constant name="NOTIFICATION_TRANSLATION_CHANGED" value="24">
+ </constant>
+ <constant name="NOTIFICATION_INTERNAL_PROCESS" value="25">
+ </constant>
+ <constant name="NOTIFICATION_INTERNAL_FIXED_PROCESS" value="26">
+ </constant>
<constant name="NETWORK_MODE_INHERIT" value="0">
</constant>
<constant name="NETWORK_MODE_MASTER" value="1">
@@ -23342,6 +26090,12 @@
</constant>
<constant name="PAUSE_MODE_PROCESS" value="2">
</constant>
+ <constant name="DUPLICATE_SIGNALS" value="1">
+ </constant>
+ <constant name="DUPLICATE_GROUPS" value="2">
+ </constant>
+ <constant name="DUPLICATE_SCRIPTS" value="4">
+ </constant>
</constants>
</class>
<class name="Node2D" inherits="CanvasItem" category="Core">
@@ -23349,7 +26103,7 @@
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 hierarchies 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 ([Transform2D]). A tree of Node2Ds allows complex hierarchies for animation and positioning.
</description>
<methods>
<method name="edit_set_pivot">
@@ -23368,21 +26122,21 @@
Return the rotation angle in radians needed for the 2d node to point at 'point' position.
</description>
</method>
- <method name="get_global_pos" qualifiers="const">
+ <method name="get_global_position" qualifiers="const">
<return type="Vector2">
</return>
<description>
Return the global position of the 2D node.
</description>
</method>
- <method name="get_global_rot" qualifiers="const">
+ <method name="get_global_rotation" qualifiers="const">
<return type="float">
</return>
<description>
Return the global rotation in radians of the 2D node.
</description>
</method>
- <method name="get_global_rotd" qualifiers="const">
+ <method name="get_global_rotation_in_degrees" qualifiers="const">
<return type="float">
</return>
<description>
@@ -23396,7 +26150,7 @@
Return the global scale of the 2D node.
</description>
</method>
- <method name="get_pos" qualifiers="const">
+ <method name="get_position" qualifiers="const">
<return type="Vector2">
</return>
<description>
@@ -23404,25 +26158,26 @@
</description>
</method>
<method name="get_relative_transform_to_parent" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<argument index="0" name="parent" type="Object">
</argument>
<description>
- Return the transform [Matrix32] calculated relatively to the parent of this 2D node.
+ Return the transform [Transform2D] calculated relatively to the parent of this 2D node.
</description>
</method>
- <method name="get_rot" qualifiers="const">
+ <method name="get_rotation" qualifiers="const">
<return type="float">
</return>
<description>
- Return the rotation of the 2D node.
+ Return the rotation in radians of the 2D node.
</description>
</method>
- <method name="get_rotd" qualifiers="const">
+ <method name="get_rotation_in_degrees" qualifiers="const">
<return type="float">
</return>
<description>
+ Return the rotation in degrees of the 2D node.
</description>
</method>
<method name="get_scale" qualifiers="const">
@@ -23492,25 +26247,25 @@
Apply the 'ratio' scale to the 2D node, according to its current scale value.
</description>
</method>
- <method name="set_global_pos">
+ <method name="set_global_position">
<argument index="0" name="pos" type="Vector2">
</argument>
<description>
- Set the global position of the 2D node to 'pos'.
+ Set the global position of the 2D node.
</description>
</method>
- <method name="set_global_rot">
+ <method name="set_global_rotation">
<argument index="0" name="radians" type="float">
</argument>
<description>
- Set the global rotation in radians of the 2D node.
+ Set the global rotation in radians of the 2D node
</description>
</method>
- <method name="set_global_rotd">
+ <method name="set_global_rotation_in_degrees">
<argument index="0" name="degrees" type="float">
</argument>
<description>
- Set the global rotation in degrees of the 2D node.
+ Set the global rotation in degrees of the 2D node
</description>
</method>
<method name="set_global_scale">
@@ -23521,31 +26276,31 @@
</description>
</method>
<method name="set_global_transform">
- <argument index="0" name="xform" type="Matrix32">
+ <argument index="0" name="xform" type="Transform2D">
</argument>
<description>
- Set the global transform [Matrix32] of the 2D node.
+ Set the global transform [Transform2D] of the 2D node.
</description>
</method>
- <method name="set_pos">
+ <method name="set_position">
<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_rotation">
<argument index="0" name="radians" type="float">
</argument>
<description>
- Set the rotation of the 2D node.
+ Set the rotation in radians of the 2D node.
</description>
</method>
- <method name="set_rotd">
+ <method name="set_rotation_in_degrees">
<argument index="0" name="degrees" type="float">
</argument>
<description>
- Set the rotation of the 2D node.
+ Set the rotation in degrees of the 2D node.
</description>
</method>
<method name="set_scale">
@@ -23556,10 +26311,10 @@
</description>
</method>
<method name="set_transform">
- <argument index="0" name="xform" type="Matrix32">
+ <argument index="0" name="xform" type="Transform2D">
</argument>
<description>
- Set the local transform [Matrix32] of the 2D node.
+ Set the local transform [Transform2D] of the 2D node.
</description>
</method>
<method name="set_z">
@@ -23584,6 +26339,32 @@
</description>
</method>
</methods>
+ <members>
+ <member name="global_position" type="float" setter="set_global_position" getter="get_global_position" brief="">
+ </member>
+ <member name="global_rotation" type="float" setter="set_global_rotation" getter="get_global_rotation" brief="">
+ </member>
+ <member name="global_rotation_deg" type="float" setter="set_global_rotation_in_degrees" getter="get_global_rotation_in_degrees" brief="">
+ </member>
+ <member name="global_scale" type="float" setter="set_global_scale" getter="get_global_scale" brief="">
+ </member>
+ <member name="global_transform" type="Transform2D" setter="set_global_transform" getter="get_global_transform" brief="">
+ </member>
+ <member name="position" type="Vector2" setter="set_position" getter="get_position" brief="">
+ </member>
+ <member name="rotation" type="float" setter="set_rotation" getter="get_rotation" brief="">
+ </member>
+ <member name="rotation_deg" type="float" setter="set_rotation_in_degrees" getter="get_rotation_in_degrees" brief="">
+ </member>
+ <member name="scale" type="Vector2" setter="set_scale" getter="get_scale" brief="">
+ </member>
+ <member name="transform" type="Transform2D" setter="set_transform" getter="get_transform" brief="">
+ </member>
+ <member name="z" type="int" setter="set_z" getter="get_z" brief="">
+ </member>
+ <member name="z_as_relative" type="bool" setter="set_z_as_relative" getter="is_z_relative" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -23730,7 +26511,7 @@
</return>
<argument index="0" name="path" type="String">
</argument>
- <argument index="1" name="arguments" type="StringArray">
+ <argument index="1" name="arguments" type="PoolStringArray">
</argument>
<argument index="2" name="blocking" type="bool">
</argument>
@@ -23764,7 +26545,7 @@
</description>
</method>
<method name="get_cmdline_args">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Return the commandline passed to the engine.
@@ -23777,13 +26558,6 @@
Returns the current screen index (0 padded).
</description>
</method>
- <method name="get_custom_level" qualifiers="const">
- <return type="String">
- </return>
- <description>
- Returns the value of the commandline argument "-level".
- </description>
- </method>
<method name="get_data_dir" qualifiers="const">
<return type="String">
</return>
@@ -23826,20 +26600,6 @@
Return the total amount of dynamic memory used (only works in debug).
</description>
</method>
- <method name="get_engine_version" qualifiers="const">
- <return type="Dictionary">
- </return>
- <description>
- Returns the current engine version information in a Dictionary.
-
- "major" - Holds the major version number as a String
- "minor" - Holds the minor version number as a String
- "patch" - Holds the patch version number as a String
- "status" - Holds the status (e.g. "beta", "rc1", "rc2", ... "stable") as a String
- "revision" - Holds the revision (e.g. "custom-build") as a String
- "string" - major + minor + patch + status + revision in a single String
- </description>
- </method>
<method name="get_environment" qualifiers="const">
<return type="String">
</return>
@@ -23856,70 +26616,57 @@
Return the path to the current engine executable.
</description>
</method>
- <method name="get_frames_drawn">
+ <method name="get_exit_code" qualifiers="const">
<return type="int">
</return>
<description>
- Return the total amount of frames drawn.
</description>
</method>
- <method name="get_frames_per_second" qualifiers="const">
- <return type="float">
+ <method name="get_latin_keyboard_variant" qualifiers="const">
+ <return type="String">
</return>
<description>
- Returns the frames per second of the running game.
- </description>
- </method>
- <method name="get_fullscreen_mode_list" qualifiers="const">
- <return type="Array">
- </return>
- <argument index="0" name="screen" type="int" default="0">
- </argument>
- <description>
- Return the list of fullscreen modes.
+ Returns the current latin keyboard variant as a String.
+ Possible return values are: "QWERTY", "AZERTY", "QZERTY", "DVORAK", "NEO" or "ERROR"
</description>
</method>
- <method name="get_iterations_per_second" qualifiers="const">
- <return type="int">
+ <method name="get_locale" qualifiers="const">
+ <return type="String">
</return>
<description>
- Return the amount of fixed iterations per second (for fixed process and physics).
+ Return the host OS locale.
</description>
</method>
- <method name="get_latin_keyboard_variant" qualifiers="const">
+ <method name="get_model_name" qualifiers="const">
<return type="String">
</return>
<description>
- Returns the current latin keyboard variant as a String.
- Possible return values are: "QWERTY", "AZERTY", "QZERTY", "DVORAK", "NEO" or "ERROR"
+ Returns the model name of the current device.
</description>
</method>
- <method name="get_locale" qualifiers="const">
+ <method name="get_name" qualifiers="const">
<return type="String">
</return>
<description>
- Return the host OS locale.
+ Return the name of the host OS. Possible values are: "Android", "BlackBerry 10", "Flash", "Haiku", "iOS", "HTML5", "OSX", "Server", "Windows", "UWP", "X11"
</description>
</method>
- <method name="get_main_loop" qualifiers="const">
- <return type="Object">
+ <method name="get_power_percent_left">
+ <return type="int">
</return>
<description>
- Return the main loop object (see [MainLoop]).
</description>
</method>
- <method name="get_model_name" qualifiers="const">
- <return type="String">
+ <method name="get_power_seconds_left">
+ <return type="int">
</return>
<description>
- Returns the model name of the current device.
</description>
</method>
- <method name="get_name" qualifiers="const">
- <return type="String">
+ <method name="get_power_state">
+ <return type="int">
</return>
<description>
- Return the name of the host OS. Possible values are: "Android", "BlackBerry 10", "Flash", "Haiku", "iOS", "HTML5", "OSX", "Server", "Windows", "UWP", "X11"
</description>
</method>
<method name="get_process_ID" qualifiers="const">
@@ -24026,12 +26773,6 @@
<description>
</description>
</method>
- <method name="get_target_fps" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
<method name="get_ticks_msec" qualifiers="const">
<return type="int">
</return>
@@ -24048,12 +26789,6 @@
Returns current time as a dictionary of keys: hour, minute, second
</description>
</method>
- <method name="get_time_scale">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
<method name="get_time_zone_info" qualifiers="const">
<return type="Dictionary">
</return>
@@ -24084,15 +26819,6 @@
You can pass the output from [method get_datetime_from_unix_time] directly into this function. Daylight savings time (dst), if present, is ignored.
</description>
</method>
- <method name="get_video_mode_size" qualifiers="const">
- <return type="Vector2">
- </return>
- <argument index="0" name="screen" type="int" default="0">
- </argument>
- <description>
- Return the current video mode size.
- </description>
- </method>
<method name="get_window_position" qualifiers="const">
<return type="Vector2">
</return>
@@ -24175,24 +26901,6 @@
Return true if the engine was executed with -v (verbose stdout).
</description>
</method>
- <method name="is_video_mode_fullscreen" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="screen" type="int" default="0">
- </argument>
- <description>
- Return true if the current video mode is fullscreen.
- </description>
- </method>
- <method name="is_video_mode_resizable" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="screen" type="int" default="0">
- </argument>
- <description>
- Return true if the window is resizable.
- </description>
- </method>
<method name="is_vsync_enabled" qualifiers="const">
<return type="bool">
</return>
@@ -24279,7 +26987,7 @@
</description>
</method>
<method name="print_resources_by_type">
- <argument index="0" name="types" type="StringArray">
+ <argument index="0" name="types" type="PoolStringArray">
</argument>
<description>
</description>
@@ -24314,17 +27022,16 @@
<description>
</description>
</method>
- <method name="set_icon">
- <argument index="0" name="icon" type="Image">
+ <method name="set_exit_code">
+ <argument index="0" name="code" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_iterations_per_second">
- <argument index="0" name="iterations_per_second" type="int">
+ <method name="set_icon">
+ <argument index="0" name="icon" type="Image">
</argument>
<description>
- Set the amount of fixed iterations per second (for fixed process and physics).
</description>
</method>
<method name="set_keep_screen_on">
@@ -24348,12 +27055,6 @@
Sets the current screen orientation, the argument value must be one of the SCREEN_ORIENTATION constants in this class.
</description>
</method>
- <method name="set_target_fps">
- <argument index="0" name="target_fps" type="int">
- </argument>
- <description>
- </description>
- </method>
<method name="set_thread_name">
<return type="int">
</return>
@@ -24362,13 +27063,6 @@
<description>
</description>
</method>
- <method name="set_time_scale">
- <argument index="0" name="time_scale" type="float">
- </argument>
- <description>
- Speeds up or slows down the physics by changing the delta variable. (delta * time_scale)
- </description>
- </method>
<method name="set_use_file_access_save_and_swap">
<argument index="0" name="enabled" type="bool">
</argument>
@@ -24381,19 +27075,6 @@
<description>
</description>
</method>
- <method name="set_video_mode">
- <argument index="0" name="size" type="Vector2">
- </argument>
- <argument index="1" name="fullscreen" type="bool">
- </argument>
- <argument index="2" name="resizable" type="bool">
- </argument>
- <argument index="3" name="screen" type="int" default="0">
- </argument>
- <description>
- Change the video mode.
- </description>
- </method>
<method name="set_window_fullscreen">
<argument index="0" name="enabled" type="bool">
</argument>
@@ -24528,6 +27209,16 @@
</constant>
<constant name="SYSTEM_DIR_RINGTONES" value="7">
</constant>
+ <constant name="POWERSTATE_UNKNOWN" value="0">
+ </constant>
+ <constant name="POWERSTATE_ON_BATTERY" value="1">
+ </constant>
+ <constant name="POWERSTATE_NO_BATTERY" value="2">
+ </constant>
+ <constant name="POWERSTATE_CHARGING" value="3">
+ </constant>
+ <constant name="POWERSTATE_CHARGED" value="4">
+ </constant>
</constants>
</class>
<class name="Object" category="Core">
@@ -24664,12 +27355,21 @@
</description>
</method>
<method name="get" qualifiers="const">
+ <return type="Variant">
+ </return>
<argument index="0" name="property" type="String">
</argument>
<description>
Get a property from the object.
</description>
</method>
+ <method name="get_class" qualifiers="const">
+ <return type="String">
+ </return>
+ <description>
+ Return the class of the object as a string.
+ </description>
+ </method>
<method name="get_instance_ID" qualifiers="const">
<return type="int">
</return>
@@ -24685,7 +27385,7 @@
</description>
</method>
<method name="get_meta_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Return the list of metadata in the object.
@@ -24726,13 +27426,6 @@
Return the list of signals as an array of dictionaries.
</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="has_meta" qualifiers="const">
<return type="bool">
</return>
@@ -24765,6 +27458,15 @@
Return true if signal emission blocking is enabled.
</description>
</method>
+ <method name="is_class" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="type" type="String">
+ </argument>
+ <description>
+ Check the class of the object against a string (including inheritance).
+ </description>
+ </method>
<method name="is_connected" qualifiers="const">
<return type="bool">
</return>
@@ -24784,15 +27486,6 @@
<description>
</description>
</method>
- <method name="is_type" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="type" type="String">
- </argument>
- <description>
- Check the type of the object against a string (including inheritance).
- </description>
- </method>
<method name="notification">
<argument index="0" name="what" type="int">
</argument>
@@ -24892,7 +27585,7 @@
</description>
</method>
<method name="get_polygon" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
</description>
@@ -24916,12 +27609,20 @@
</description>
</method>
<method name="set_polygon">
- <argument index="0" name="polygon" type="Vector2Array">
+ <argument index="0" name="polygon" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="closed" type="bool" setter="set_closed" getter="is_closed" brief="">
+ </member>
+ <member name="cull_mode" type="int" setter="set_cull_mode" getter="get_cull_mode" brief="">
+ </member>
+ <member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon" brief="">
+ </member>
+ </members>
<constants>
<constant name="CULL_DISABLED" value="0">
</constant>
@@ -24939,7 +27640,41 @@
An OmniDirectional light is a type of [Light] node that emits lights in all directions. 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 an omnilight.
</description>
<methods>
+ <method name="get_shadow_detail" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_shadow_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_shadow_detail">
+ <argument index="0" name="detail" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_shadow_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
</methods>
+ <members>
+ <member name="omni_attenuation" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="omni_range" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="omni_shadow_detail" type="int" setter="set_shadow_detail" getter="get_shadow_detail" brief="">
+ </member>
+ <member name="omni_shadow_mode" type="int" setter="set_shadow_mode" getter="get_shadow_mode" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -25103,6 +27838,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="items" type="Array" setter="_set_items" getter="_get_items" brief="">
+ </member>
+ <member name="selected" type="int" setter="_select_int" getter="get_selected" brief="">
+ </member>
+ </members>
<signals>
<signal name="item_selected">
<argument index="0" name="ID" type="int">
@@ -25220,6 +27961,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="__data__" type="PoolByteArray" setter="_set_data" getter="_get_data" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -25261,7 +28006,7 @@
<method name="instance" qualifiers="const">
<return type="Node">
</return>
- <argument index="0" name="gen_edit_state" type="bool" default="false">
+ <argument index="0" name="edit_state" type="int" default="false">
</argument>
<description>
</description>
@@ -25276,7 +28021,17 @@
</description>
</method>
</methods>
+ <members>
+ <member name="_bundled" type="Dictionary" setter="_set_bundled_scene" getter="_get_bundled_scene" brief="">
+ </member>
+ </members>
<constants>
+ <constant name="GEN_EDIT_STATE_DISABLED" value="0">
+ </constant>
+ <constant name="GEN_EDIT_STATE_INSTANCE" value="1">
+ </constant>
+ <constant name="GEN_EDIT_STATE_MAIN" value="2">
+ </constant>
</constants>
</class>
<class name="PacketPeer" inherits="Reference" category="Core">
@@ -25295,7 +28050,7 @@
</description>
</method>
<method name="get_packet" qualifiers="const">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<description>
Get a raw packet.
@@ -25318,7 +28073,7 @@
<method name="put_packet">
<return type="Error">
</return>
- <argument index="0" name="buffer" type="RawArray">
+ <argument index="0" name="buffer" type="PoolByteArray">
</argument>
<description>
Send a raw packet.
@@ -25369,13 +28124,6 @@
Close the UDP socket the [PacketPeerUDP] is currently listening on.
</description>
</method>
- <method name="get_packet_address" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the address of the remote peer(as a 32bit integer) that sent the last packet(that was received with [method get_packet] or [method get_var]).
- </description>
- </method>
<method name="get_packet_ip" qualifiers="const">
<return type="String">
</return>
@@ -25402,7 +28150,7 @@
</return>
<argument index="0" name="port" type="int">
</argument>
- <argument index="1" name="bind_address" type="String" default="*">
+ <argument index="1" name="bind_address" type="String" default="&quot;*&quot;">
</argument>
<argument index="2" name="recv_buf_size" type="int" default="65536">
</argument>
@@ -25413,7 +28161,7 @@
If "bind_address" is set to any valid address (e.g. "192.168.1.101", "::1", etc), the peer will only listen on the interface with that addresses (or fail if no interface with the given address exists).
</description>
</method>
- <method name="set_send_address">
+ <method name="set_dest_address">
<return type="int">
</return>
<argument index="0" name="host" type="String">
@@ -25562,6 +28310,20 @@
</description>
</method>
</methods>
+ <members>
+ <member name="scroll_base_offset" type="Vector2" setter="set_scroll_base_offset" getter="get_scroll_base_offset" brief="">
+ </member>
+ <member name="scroll_base_scale" type="Vector2" setter="set_scroll_base_scale" getter="get_scroll_base_scale" brief="">
+ </member>
+ <member name="scroll_ignore_camera_zoom" type="bool" setter="set_ignore_camera_zoom" getter="is_ignore_camera_zoom" brief="">
+ </member>
+ <member name="scroll_limit_begin" type="Vector2" setter="set_limit_begin" getter="get_limit_begin" brief="">
+ </member>
+ <member name="scroll_limit_end" type="Vector2" setter="set_limit_end" getter="get_limit_end" brief="">
+ </member>
+ <member name="scroll_offset" type="Vector2" setter="set_scroll_offset" getter="get_scroll_offset" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -25614,6 +28376,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="motion_mirroring" type="Vector2" setter="set_mirroring" getter="get_mirroring" brief="">
+ </member>
+ <member name="motion_offset" type="Vector2" setter="set_motion_offset" getter="get_motion_offset" brief="">
+ </member>
+ <member name="motion_scale" type="Vector2" setter="set_motion_scale" getter="get_motion_scale" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -25696,283 +28466,29 @@
</description>
</method>
</methods>
+ <members>
+ <member name="absorption" type="float" setter="set_absorption" getter="get_absorption" brief="">
+ </member>
+ <member name="disable_radius" type="float" setter="set_disable_radius" getter="get_disable_radius" brief="">
+ </member>
+ <member name="enabled" type="bool" setter="set_enabled" getter="is_enabled" brief="">
+ </member>
+ <member name="gravity" type="float" setter="set_gravity" getter="get_gravity" brief="">
+ </member>
+ <member name="particles_path" type="NodePath" setter="set_particles_path" getter="get_particles_path" brief="">
+ </member>
+ <member name="radius" type="float" setter="set_radius" getter="get_radius" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
-<class name="Particles" inherits="GeometryInstance" category="Core">
- <brief_description>
- Particle system 3D Node
- </brief_description>
- <description>
- 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="get_amount" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the total amount of particles in the system.
- </description>
- </method>
- <method name="get_color_phase_color" qualifiers="const">
- <return type="Color">
- </return>
- <argument index="0" name="phase" type="int">
- </argument>
- <description>
- Return the color of a color phase.
- </description>
- </method>
- <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).
- </description>
- </method>
- <method name="get_color_phases" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_emission_base_velocity" qualifiers="const">
- <return type="Vector3">
- </return>
- <description>
- </description>
- </method>
- <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="get_emission_points" qualifiers="const">
- <return type="Vector3Array">
- </return>
- <description>
- </description>
- </method>
- <method name="get_emit_timeout" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <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="get_material" qualifiers="const">
- <return type="Material">
- </return>
- <description>
- Return the material used to draw particles.
- </description>
- </method>
- <method name="get_randomness" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="variable" type="int">
- </argument>
- <description>
- 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="get_variable" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="variable" type="int">
- </argument>
- <description>
- Return a specific variable for the particle system (see VAR_* enum).
- </description>
- </method>
- <method name="get_visibility_aabb" qualifiers="const">
- <return type="AABB">
- </return>
- <description>
- Return the current visibility AABB.
- </description>
- </method>
- <method name="has_height_from_velocity" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="is_emitting" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- Return the "emitting" property state (see [method set_emitting]).
- </description>
- </method>
- <method name="is_using_local_coordinates" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <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="set_color_phase_color">
- <argument index="0" name="phase" type="int">
- </argument>
- <argument index="1" name="color" type="Color">
- </argument>
- <description>
- Set the color of a color phase.
- </description>
- </method>
- <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).
- </description>
- </method>
- <method name="set_color_phases">
- <argument index="0" name="count" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_emission_base_velocity">
- <argument index="0" name="base_velocity" type="Vector3">
- </argument>
- <description>
- </description>
- </method>
- <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="set_emission_points">
- <argument index="0" name="points" type="Vector3Array">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_emit_timeout">
- <argument index="0" name="timeout" type="float">
- </argument>
- <description>
- </description>
- </method>
- <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="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="set_height_from_velocity">
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_material">
- <argument index="0" name="material" type="Material">
- </argument>
- <description>
- Set the material used to draw particles.
- </description>
- </method>
- <method name="set_randomness">
- <argument index="0" name="variable" type="int">
- </argument>
- <argument index="1" name="randomness" type="float">
- </argument>
- <description>
- Set the randomness for a specific variable of the particle system. Randomness produces small changes from the default each time a particle is emitted.
- </description>
- </method>
- <method name="set_use_local_coordinates">
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_variable">
- <argument index="0" name="variable" type="int">
- </argument>
- <argument index="1" name="value" type="float">
- </argument>
- <description>
- Set a specific variable for the particle system (see VAR_* enum).
- </description>
- </method>
- <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>
- </methods>
- <constants>
- <constant name="VAR_LIFETIME" value="0">
- </constant>
- <constant name="VAR_SPREAD" value="1">
- </constant>
- <constant name="VAR_GRAVITY" value="2">
- </constant>
- <constant name="VAR_LINEAR_VELOCITY" value="3">
- </constant>
- <constant name="VAR_ANGULAR_VELOCITY" value="4">
- </constant>
- <constant name="VAR_LINEAR_ACCELERATION" value="5">
- </constant>
- <constant name="VAR_DRAG" value="6">
- </constant>
- <constant name="VAR_TANGENTIAL_ACCELERATION" value="7">
- </constant>
- <constant name="VAR_INITIAL_SIZE" value="9">
- </constant>
- <constant name="VAR_FINAL_SIZE" value="10">
- </constant>
- <constant name="VAR_INITIAL_ANGLE" value="11">
- </constant>
- <constant name="VAR_HEIGHT" value="12">
- </constant>
- <constant name="VAR_HEIGHT_SPEED_SCALE" value="13">
- </constant>
- <constant name="VAR_MAX" value="14">
- </constant>
- </constants>
-</class>
<class name="Particles2D" inherits="Node2D" category="Core">
<brief_description>
2D Particle emitter
</brief_description>
<description>
- Particles2D is a particle system 2D [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).
+ Particles2D is a particle system 2D [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 bounding box (although helpers to create one automatically exist).
</description>
<methods>
<method name="get_amount" qualifiers="const">
@@ -26026,7 +28542,7 @@
</description>
</method>
<method name="get_emission_points" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
</description>
@@ -26085,6 +28601,12 @@
<description>
</description>
</method>
+ <method name="get_process_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_randomness" qualifiers="const">
<return type="float">
</return>
@@ -26202,7 +28724,7 @@
</description>
</method>
<method name="set_emission_points">
- <argument index="0" name="points" type="Vector2Array">
+ <argument index="0" name="points" type="PoolVector2Array">
</argument>
<description>
</description>
@@ -26280,6 +28802,12 @@
<description>
</description>
</method>
+ <method name="set_process_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_randomness">
<argument index="0" name="param" type="int">
</argument>
@@ -26318,6 +28846,134 @@
</description>
</method>
</methods>
+ <members>
+ <member name="color/color" type="Color" setter="set_color" getter="get_color" brief="">
+ </member>
+ <member name="color/color_ramp" type="ColorRamp" setter="set_color_ramp" getter="get_color_ramp" brief="">
+ </member>
+ <member name="color_phases/count" type="int" setter="set_color_phases" getter="get_color_phases" brief="">
+ </member>
+ <member name="config/amount" type="int" setter="set_amount" getter="get_amount" brief="">
+ </member>
+ <member name="config/emit_timeout" type="float" setter="set_emit_timeout" getter="get_emit_timeout" brief="">
+ </member>
+ <member name="config/emitting" type="bool" setter="set_emitting" getter="is_emitting" brief="">
+ </member>
+ <member name="config/explosiveness" type="float" setter="set_explosiveness" getter="get_explosiveness" brief="">
+ </member>
+ <member name="config/flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h" brief="">
+ </member>
+ <member name="config/flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v" brief="">
+ </member>
+ <member name="config/h_frames" type="int" setter="set_h_frames" getter="get_h_frames" brief="">
+ </member>
+ <member name="config/half_extents" type="Vector2" setter="set_emission_half_extents" getter="get_emission_half_extents" brief="">
+ </member>
+ <member name="config/lifetime" type="float" setter="set_lifetime" getter="get_lifetime" brief="">
+ </member>
+ <member name="config/local_space" type="bool" setter="set_use_local_space" getter="is_using_local_space" brief="">
+ </member>
+ <member name="config/offset" type="Vector2" setter="set_emissor_offset" getter="get_emissor_offset" brief="">
+ </member>
+ <member name="config/preprocess" type="float" setter="set_pre_process_time" getter="get_pre_process_time" brief="">
+ </member>
+ <member name="config/process_mode" type="int" setter="set_process_mode" getter="get_process_mode" brief="">
+ </member>
+ <member name="config/texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="config/time_scale" type="float" setter="set_time_scale" getter="get_time_scale" brief="">
+ </member>
+ <member name="config/v_frames" type="int" setter="set_v_frames" getter="get_v_frames" brief="">
+ </member>
+ <member name="emission_points" type="PoolVector2Array" setter="set_emission_points" getter="get_emission_points" brief="">
+ </member>
+ <member name="params/anim_initial_pos" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/anim_speed_scale" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/damping" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/direction" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/final_size" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/gravity_direction" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/gravity_strength" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/hue_variation" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/initial_angle" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/initial_size" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/linear_velocity" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/orbit_velocity" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/radial_accel" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/spin_velocity" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/spread" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/tangential_accel" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="phase_0/color" type="Color" setter="set_color_phase_color" getter="get_color_phase_color" brief="">
+ </member>
+ <member name="phase_0/pos" type="float" setter="set_color_phase_pos" getter="get_color_phase_pos" brief="">
+ </member>
+ <member name="phase_1/color" type="Color" setter="set_color_phase_color" getter="get_color_phase_color" brief="">
+ </member>
+ <member name="phase_1/pos" type="float" setter="set_color_phase_pos" getter="get_color_phase_pos" brief="">
+ </member>
+ <member name="phase_2/color" type="Color" setter="set_color_phase_color" getter="get_color_phase_color" brief="">
+ </member>
+ <member name="phase_2/pos" type="float" setter="set_color_phase_pos" getter="get_color_phase_pos" brief="">
+ </member>
+ <member name="phase_3/color" type="Color" setter="set_color_phase_color" getter="get_color_phase_color" brief="">
+ </member>
+ <member name="phase_3/pos" type="float" setter="set_color_phase_pos" getter="get_color_phase_pos" brief="">
+ </member>
+ <member name="randomness/anim_initial_pos" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/anim_speed_scale" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/damping" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/direction" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/final_size" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/gravity_direction" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/gravity_strength" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/hue_variation" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/initial_angle" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/initial_size" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/linear_velocity" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/orbit_velocity" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/radial_accel" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/spin_velocity" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/spread" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ <member name="randomness/tangential_accel" type="float" setter="set_randomness" getter="get_randomness" brief="">
+ </member>
+ </members>
+ <signals>
+ <signal name="emission_finished">
+ <description>
+ </description>
+ </signal>
+ </signals>
<constants>
<constant name="PARAM_DIRECTION" value="0">
Direction in degrees at which the particles will be launched, Notice that when the direction is set to 0 the particles will be launched to the negative
@@ -26367,83 +29023,13 @@
</constant>
</constants>
</class>
-<class name="Patch9Rect" inherits="Control" category="Core">
+<class name="ParticlesShader" inherits="Shader" category="Core">
<brief_description>
</brief_description>
<description>
</description>
<methods>
- <method name="get_draw_center" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="get_modulate" qualifiers="const">
- <return type="Color">
- </return>
- <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="get_region_rect" qualifiers="const">
- <return type="Rect2">
- </return>
- <description>
- </description>
- </method>
- <method name="get_texture" qualifiers="const">
- <return type="Object">
- </return>
- <description>
- </description>
- </method>
- <method name="set_draw_center">
- <argument index="0" name="draw_center" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_modulate">
- <argument index="0" name="modulate" type="Color">
- </argument>
- <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="set_region_rect">
- <argument index="0" name="rect" type="Rect2">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_texture">
- <argument index="0" name="texture" type="Object">
- </argument>
- <description>
- </description>
- </method>
</methods>
- <signals>
- <signal name="texture_changed">
- <description>
- </description>
- </signal>
- </signals>
<constants>
</constants>
</class>
@@ -26470,6 +29056,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="curve" type="Curve3D" setter="set_curve" getter="get_curve" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -26496,6 +29086,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="curve" type="Curve2D" setter="set_curve" getter="get_curve" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -26739,59 +29333,6 @@
<constants>
</constants>
</class>
-<class name="PathRemap" inherits="Object" category="Core">
- <brief_description>
- Singleton containing the list of remapped resources.
- </brief_description>
- <description>
- When exporting, the types of some resources may change internally so they are converted to more optimized versions. While it's not usually necessary to access to this directly (path remapping happens automatically when opening a file), it's exported just for information.
- </description>
- <methods>
- <method name="add_remap">
- <argument index="0" name="from" type="String">
- </argument>
- <argument index="1" name="to" type="String">
- </argument>
- <argument index="2" name="locale" type="String" default="&quot;&quot;">
- </argument>
- <description>
- Add a remap from a file to another.
- </description>
- </method>
- <method name="clear_remaps">
- <description>
- Clear all remaps.
- </description>
- </method>
- <method name="erase_remap">
- <argument index="0" name="path" type="String">
- </argument>
- <description>
- Erase a remap.
- </description>
- </method>
- <method name="get_remap" qualifiers="const">
- <return type="String">
- </return>
- <argument index="0" name="path" type="String">
- </argument>
- <description>
- Return the remapped new path of a file.
- </description>
- </method>
- <method name="has_remap" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="path" type="String">
- </argument>
- <description>
- Return true if a file is being remapped.
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="Performance" inherits="Object" category="Core">
<brief_description>
</brief_description>
@@ -27035,7 +29576,7 @@
</description>
</method>
<method name="get_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Return the transform matrix of the body.
@@ -27075,7 +29616,7 @@
</description>
</method>
<method name="set_transform">
- <argument index="0" name="transform" type="Matrix32">
+ <argument index="0" name="transform" type="Transform2D">
</argument>
<description>
Change the transform matrix of the body.
@@ -27245,7 +29786,7 @@
</argument>
<argument index="1" name="shape" type="RID">
</argument>
- <argument index="2" name="transform" type="Matrix32" default="((1, 0), (0, 1), (0, 0))">
+ <argument index="2" name="transform" type="Transform2D" default="((1, 0), (0, 1), (0, 0))">
</argument>
<description>
Add a shape to the area, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.
@@ -27313,7 +29854,7 @@
</description>
</method>
<method name="area_get_shape_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<argument index="0" name="area" type="RID">
</argument>
@@ -27342,7 +29883,7 @@
</description>
</method>
<method name="area_get_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<argument index="0" name="area" type="RID">
</argument>
@@ -27420,7 +29961,7 @@
</argument>
<argument index="1" name="shape_idx" type="int">
</argument>
- <argument index="2" name="transform" type="Matrix32">
+ <argument index="2" name="transform" type="Transform2D">
</argument>
<description>
Set the transform matrix for an area shape.
@@ -27447,7 +29988,7 @@
<method name="area_set_transform">
<argument index="0" name="area" type="RID">
</argument>
- <argument index="1" name="transform" type="Matrix32">
+ <argument index="1" name="transform" type="Transform2D">
</argument>
<description>
Set the transform matrix for an area.
@@ -27478,7 +30019,7 @@
</argument>
<argument index="1" name="shape" type="RID">
</argument>
- <argument index="2" name="transform" type="Matrix32" default="((1, 0), (0, 1), (0, 0))">
+ <argument index="2" name="transform" type="Transform2D" default="((1, 0), (0, 1), (0, 0))">
</argument>
<description>
Add a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.
@@ -27635,7 +30176,7 @@
</description>
</method>
<method name="body_get_shape_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<argument index="0" name="body" type="RID">
</argument>
@@ -27845,7 +30386,7 @@
</argument>
<argument index="1" name="shape_idx" type="int">
</argument>
- <argument index="2" name="transform" type="Matrix32">
+ <argument index="2" name="transform" type="Transform2D">
</argument>
<description>
Set the transform matrix for a body shape.
@@ -27876,7 +30417,7 @@
</return>
<argument index="0" name="body" type="RID">
</argument>
- <argument index="1" name="from" type="Matrix32">
+ <argument index="1" name="from" type="Transform2D">
</argument>
<argument index="2" name="motion" type="Vector2">
</argument>
@@ -28343,7 +30884,7 @@
</description>
</method>
<method name="get_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Return the transform matrix of the shape queried.
@@ -28399,7 +30940,7 @@
</description>
</method>
<method name="set_transform">
- <argument index="0" name="transform" type="Matrix32">
+ <argument index="0" name="transform" type="Transform2D">
</argument>
<description>
Set the transormation matrix of the shape. This is necessary to set its position/rotation/scale.
@@ -28535,13 +31076,13 @@
<description>
</description>
</method>
- <method name="get_collision_mask" qualifiers="const">
+ <method name="get_collision_layer" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="get_collision_mask_bit" qualifiers="const">
+ <method name="get_collision_layer_bit" qualifiers="const">
<return type="bool">
</return>
<argument index="0" name="bit" type="int">
@@ -28549,13 +31090,13 @@
<description>
</description>
</method>
- <method name="get_layer_mask" qualifiers="const">
+ <method name="get_collision_mask" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
- <method name="get_layer_mask_bit" qualifiers="const">
+ <method name="get_collision_mask_bit" qualifiers="const">
<return type="bool">
</return>
<argument index="0" name="bit" type="int">
@@ -28569,13 +31110,13 @@
<description>
</description>
</method>
- <method name="set_collision_mask">
- <argument index="0" name="mask" type="int">
+ <method name="set_collision_layer">
+ <argument index="0" name="layer" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_collision_mask_bit">
+ <method name="set_collision_layer_bit">
<argument index="0" name="bit" type="int">
</argument>
<argument index="1" name="value" type="bool">
@@ -28583,13 +31124,13 @@
<description>
</description>
</method>
- <method name="set_layer_mask">
+ <method name="set_collision_mask">
<argument index="0" name="mask" type="int">
</argument>
<description>
</description>
</method>
- <method name="set_layer_mask_bit">
+ <method name="set_collision_mask_bit">
<argument index="0" name="bit" type="int">
</argument>
<argument index="1" name="value" type="bool">
@@ -28598,6 +31139,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="collision_layer" type="int" setter="set_collision_layer" getter="get_collision_layer" brief="">
+ </member>
+ <member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -28616,14 +31163,14 @@
Adds a body to the collision exception list. This list contains bodies that this body will not collide with.
</description>
</method>
- <method name="get_collision_mask" qualifiers="const">
+ <method name="get_collision_layer" qualifiers="const">
<return type="int">
</return>
<description>
- Return the physics layers this area can scan for collisions.
+ Return the physics layer this area is in.
</description>
</method>
- <method name="get_collision_mask_bit" qualifiers="const">
+ <method name="get_collision_layer_bit" qualifiers="const">
<return type="bool">
</return>
<argument index="0" name="bit" type="int">
@@ -28632,14 +31179,14 @@
Return an individual bit on the collision mask.
</description>
</method>
- <method name="get_layer_mask" qualifiers="const">
+ <method name="get_collision_mask" qualifiers="const">
<return type="int">
</return>
<description>
- Return the physics layer this area is in.
+ Return the physics layers this area can scan for collisions.
</description>
</method>
- <method name="get_layer_mask_bit" qualifiers="const">
+ <method name="get_collision_mask_bit" qualifiers="const">
<return type="bool">
</return>
<argument index="0" name="bit" type="int">
@@ -28669,38 +31216,38 @@
Removes a body from the collision exception list.
</description>
</method>
- <method name="set_collision_mask">
+ <method name="set_collision_layer">
<argument index="0" name="mask" type="int">
</argument>
<description>
- Set the physics layers this area can scan for collisions.
+ Set the physics layers this area is in.
+ Collidable objects can exist in any of 32 different layers. These layers are not visual, but more of a tagging system instead. A collidable can use these layers/tags to select with which objects it can collide, using [method set_collision_mask].
+ A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A.
</description>
</method>
- <method name="set_collision_mask_bit">
+ <method name="set_collision_layer_bit">
<argument index="0" name="bit" type="int">
</argument>
<argument index="1" name="value" type="bool">
</argument>
<description>
- Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier.
+ Set/clear individual bits on the layer mask. This makes getting a body in/out of only one layer easier.
</description>
</method>
- <method name="set_layer_mask">
+ <method name="set_collision_mask">
<argument index="0" name="mask" type="int">
</argument>
<description>
- Set the physics layers this area is in.
- Collidable objects can exist in any of 32 different layers. These layers are not visual, but more of a tagging system instead. A collidable can use these layers/tags to select with which objects it can collide, using [method set_collision_mask].
- A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A.
+ Set the physics layers this area can scan for collisions.
</description>
</method>
- <method name="set_layer_mask_bit">
+ <method name="set_collision_mask_bit">
<argument index="0" name="bit" type="int">
</argument>
<argument index="1" name="value" type="bool">
</argument>
<description>
- Set/clear individual bits on the layer mask. This makes getting a body in/out of only one layer easier.
+ Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier.
</description>
</method>
<method name="set_one_way_collision_direction">
@@ -28718,6 +31265,18 @@
</description>
</method>
</methods>
+ <members>
+ <member name="collision_layer" type="int" setter="set_collision_layer" getter="get_collision_layer" brief="">
+ </member>
+ <member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask" brief="">
+ </member>
+ <member name="layers" type="int" setter="_set_layers" getter="_get_layers" brief="">
+ </member>
+ <member name="one_way_collision/direction" type="Vector2" setter="set_one_way_collision_direction" getter="get_one_way_collision_direction" brief="">
+ </member>
+ <member name="one_way_collision/max_depth" type="float" setter="set_one_way_collision_max_depth" getter="get_one_way_collision_max_depth" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -28743,7 +31302,7 @@
<description>
</description>
</method>
- <method name="apply_torque_impulse">
+ <method name="apply_torqe_impulse">
<argument index="0" name="j" type="Vector3">
</argument>
<description>
@@ -28756,7 +31315,7 @@
</description>
</method>
<method name="get_center_of_mass" qualifiers="const">
- <return type="Vector3"/>
+ <return type="Vector3">
</return>
<description>
</description>
@@ -28839,7 +31398,7 @@
<description>
</description>
</method>
- <method name="get_inverse_inertia_tensor" qualifiers="const">
+ <method name="get_inverse_inertia" qualifiers="const">
<return type="Vector3">
</return>
<description>
@@ -28857,8 +31416,8 @@
<description>
</description>
</method>
- <method name="get_principal_inertia_axes">
- <return type="Matrix3">
+ <method name="get_principal_inetria_axes" qualifiers="const">
+ <return type="Basis">
</return>
<description>
</description>
@@ -29259,6 +31818,14 @@
<description>
</description>
</method>
+ <method name="body_apply_torque_impulse">
+ <argument index="0" name="body" type="RID">
+ </argument>
+ <argument index="1" name="impulse" type="Vector3">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="body_attach_object_instance_ID">
<argument index="0" name="body" type="RID">
</argument>
@@ -30326,6 +32893,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="params/bias" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/damping" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="params/impulse_clamp" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ </members>
<constants>
<constant name="PARAM_BIAS" value="0">
</constant>
@@ -30356,6 +32931,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="softness" type="float" setter="set_softness" getter="get_softness" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -30500,15 +33079,15 @@
</method>
</methods>
<members>
- <member name="d" type="float">
+ <member name="d" type="float" setter="" getter="" brief="">
</member>
- <member name="normal" type="Vector3">
+ <member name="normal" type="Vector3" setter="" getter="" brief="">
</member>
- <member name="x" type="float">
+ <member name="x" type="float" setter="" getter="" brief="">
</member>
- <member name="y" type="float">
+ <member name="y" type="float" setter="" getter="" brief="">
</member>
- <member name="z" type="float">
+ <member name="z" type="float" setter="" getter="" brief="">
</member>
</members>
<constants>
@@ -30533,6 +33112,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="plane" type="Plane" setter="set_plane" getter="get_plane" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -30573,7 +33156,7 @@
</description>
</method>
<method name="get_polygon" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
Return the set of vertices that defines this polygon.
@@ -30608,14 +33191,14 @@
</description>
</method>
<method name="get_uv" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
Return the texture coordinates associated with every vertex of the polygon.
</description>
</method>
<method name="get_vertex_colors" qualifiers="const">
- <return type="ColorArray">
+ <return type="PoolColorArray">
</return>
<description>
Return the list of vertex colors.
@@ -30650,7 +33233,7 @@
</description>
</method>
<method name="set_polygon">
- <argument index="0" name="polygon" type="Vector2Array">
+ <argument index="0" name="polygon" type="PoolVector2Array">
</argument>
<description>
Define the set of vertices that will represent the polygon.
@@ -30685,14 +33268,14 @@
</description>
</method>
<method name="set_uv">
- <argument index="0" name="uv" type="Vector2Array">
+ <argument index="0" name="uv" type="PoolVector2Array">
</argument>
<description>
Set the texture coordinates for every vertex of the polygon. There should be one uv vertex for every vertex in the polygon. If there are less, the undefined ones will be assumed to be (0,0). Extra uv vertices are ignored.
</description>
</method>
<method name="set_vertex_colors">
- <argument index="0" name="vertex_colors" type="ColorArray">
+ <argument index="0" name="vertex_colors" type="PoolColorArray">
</argument>
<description>
Set the color for each vertex of the polygon. There should be one color for every vertex in the polygon. If there are less, the undefined ones will be assumed to be [method get_color]. Extra color entries are ignored.
@@ -30700,6 +33283,30 @@
</description>
</method>
</methods>
+ <members>
+ <member name="color" type="Color" setter="set_color" getter="get_color" brief="">
+ </member>
+ <member name="invert_border" type="float" setter="set_invert_border" getter="get_invert_border" brief="">
+ </member>
+ <member name="invert_enable" type="bool" setter="set_invert" getter="get_invert" brief="">
+ </member>
+ <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" brief="">
+ </member>
+ <member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon" brief="">
+ </member>
+ <member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="texture_offset" type="Vector2" setter="set_texture_offset" getter="get_texture_offset" brief="">
+ </member>
+ <member name="texture_rotation" type="float" setter="_set_texture_rotationd" getter="_get_texture_rotationd" brief="">
+ </member>
+ <member name="texture_scale" type="Vector2" setter="set_texture_scale" getter="get_texture_scale" brief="">
+ </member>
+ <member name="uv" type="PoolVector2Array" setter="set_uv" getter="get_uv" brief="">
+ </member>
+ <member name="vertex_colors" type="PoolColorArray" setter="set_vertex_colors" getter="get_vertex_colors" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -30710,7 +33317,7 @@
</description>
<methods>
<method name="find_path">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<argument index="0" name="from" type="Vector2">
</argument>
@@ -30734,7 +33341,7 @@
</description>
</method>
<method name="get_intersections" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<argument index="0" name="from" type="Vector2">
</argument>
@@ -30768,11 +33375,663 @@
</description>
</method>
<method name="setup">
- <argument index="0" name="points" type="Vector2Array">
+ <argument index="0" name="points" type="PoolVector2Array">
+ </argument>
+ <argument index="1" name="connections" type="PoolIntArray">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="data" type="Dictionary" setter="_set_data" getter="_get_data" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="PoolByteArray" category="Built-In Types">
+ <brief_description>
+ Raw byte array.
+ </brief_description>
+ <description>
+ Raw byte array. Contains bytes. Optimized for memory usage, can't fragment the memory.
+ </description>
+ <methods>
+ <method name="PoolByteArray">
+ <return type="PoolByteArray">
+ </return>
+ <argument index="0" name="from" type="Array">
+ </argument>
+ <description>
+ Create from a generic array.
+ </description>
+ </method>
+ <method name="append">
+ <argument index="0" name="byte" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="append_array">
+ <argument index="0" name="array" type="PoolByteArray">
+ </argument>
+ <description>
+ Append an [PoolByteArray] at the end of this array.
+ </description>
+ </method>
+ <method name="get_string_from_ascii">
+ <return type="String">
+ </return>
+ <description>
+ Returns a copy of the array's contents formatted as String. Fast alternative to get_string_from_utf8(), assuming the content is ASCII-only (unlike the UTF-8 function, this function maps every byte to a character in the string, so any multibyte sequence will be torn apart).
+ </description>
+ </method>
+ <method name="get_string_from_utf8">
+ <return type="String">
+ </return>
+ <description>
+ Returns a copy of the array's contents formatted as String, assuming the array is formatted as UTF-8. Slower than get_string_from_ascii(), but works for UTF-8. Usually you should prefer this function over get_string_from_ascii() to support international input.
+ </description>
+ </method>
+ <method name="insert">
+ <return type="int">
+ </return>
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="byte" type="int">
+ </argument>
+ <description>
+ 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">
+ <description>
+ Reverse the order of the elements in the array (so first element will now be the last).
+ </description>
+ </method>
+ <method name="push_back">
+ <argument index="0" name="byte" type="int">
+ </argument>
+ <description>
+ Append an element at the end of the array.
+ </description>
+ </method>
+ <method name="remove">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Remove an element from the array by index.
+ </description>
+ </method>
+ <method name="resize">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Set the size of the [PoolByteArray]. 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">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="byte" type="int">
+ </argument>
+ <description>
+ Change the byte at the given index.
+ </description>
+ </method>
+ <method name="size">
+ <return type="int">
+ </return>
+ <description>
+ Return the size of the array.
+ </description>
+ </method>
+ <method name="subarray">
+ <return type="PoolByteArray">
+ </return>
+ <argument index="0" name="from" type="int">
+ </argument>
+ <argument index="1" name="to" type="int">
+ </argument>
+ <description>
+ Returns the slice of the [PoolByteArray] between indices (inclusive) as a new [RawArray]. Any negative index is considered to be from the end of the array.
+ </description>
+ </method>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="PoolColorArray" category="Built-In Types">
+ <brief_description>
+ Array of Colors
+ </brief_description>
+ <description>
+ Array of Color, can only contains colors. Optimized for memory usage, can't fragment the memory.
+ </description>
+ <methods>
+ <method name="PoolColorArray">
+ <return type="PoolColorArray">
+ </return>
+ <argument index="0" name="from" type="Array">
+ </argument>
+ <description>
+ Create from a generic array.
+ </description>
+ </method>
+ <method name="append">
+ <argument index="0" name="color" type="Color">
+ </argument>
+ <description>
+ Append an element at the end of the array (alias of [method push_back]).
+ </description>
+ </method>
+ <method name="append_array">
+ <argument index="0" name="array" type="PoolColorArray">
+ </argument>
+ <description>
+ Append an [PoolColorArray] at the end of this array.
+ </description>
+ </method>
+ <method name="insert">
+ <return type="int">
+ </return>
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="color" type="Color">
+ </argument>
+ <description>
+ 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">
+ <description>
+ Reverse the order of the elements in the array (so first element will now be the last).
+ </description>
+ </method>
+ <method name="push_back">
+ <argument index="0" name="color" type="Color">
+ </argument>
+ <description>
+ Append a value to the array.
+ </description>
+ </method>
+ <method name="remove">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Remove an element from the array by index.
+ </description>
+ </method>
+ <method name="resize">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Set the size of the [PoolColorArray]. 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">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="color" type="Color">
+ </argument>
+ <description>
+ Change the [Color] at the given index.
+ </description>
+ </method>
+ <method name="size">
+ <return type="int">
+ </return>
+ <description>
+ Return the array size.
+ </description>
+ </method>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="PoolIntArray" category="Built-In Types">
+ <brief_description>
+ Integer Array.
+ </brief_description>
+ <description>
+ Integer Array. Array of integers. Can only contain integers. Optimized for memory usage, can't fragment the memory.
+ </description>
+ <methods>
+ <method name="PoolIntArray">
+ <return type="PoolIntArray">
+ </return>
+ <argument index="0" name="from" type="Array">
+ </argument>
+ <description>
+ Create from a generic array.
+ </description>
+ </method>
+ <method name="append">
+ <argument index="0" name="integer" type="int">
+ </argument>
+ <description>
+ Append an element at the end of the array (alias of [method push_back]).
+ </description>
+ </method>
+ <method name="append_array">
+ <argument index="0" name="array" type="PoolIntArray">
+ </argument>
+ <description>
+ Append an [PoolIntArray] at the end of this array.
+ </description>
+ </method>
+ <method name="insert">
+ <return type="int">
+ </return>
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="integer" type="int">
+ </argument>
+ <description>
+ Insert a new int 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">
+ <description>
+ Reverse the order of the elements in the array (so first element will now be the last).
+ </description>
+ </method>
+ <method name="push_back">
+ <argument index="0" name="integer" type="int">
+ </argument>
+ <description>
+ Append a value to the array.
+ </description>
+ </method>
+ <method name="remove">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Remove an element from the array by index.
+ </description>
+ </method>
+ <method name="resize">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Set the size of the [PoolIntArray]. 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">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="integer" type="int">
+ </argument>
+ <description>
+ Change the int at the given index.
+ </description>
+ </method>
+ <method name="size">
+ <return type="int">
+ </return>
+ <description>
+ Return the array size.
+ </description>
+ </method>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="PoolRealArray" category="Built-In Types">
+ <brief_description>
+ Real Array.
+ </brief_description>
+ <description>
+ Real Array. Array of floating point values. Can only contain floats. Optimized for memory usage, can't fragment the memory.
+ </description>
+ <methods>
+ <method name="PoolRealArray">
+ <return type="PoolRealArray">
+ </return>
+ <argument index="0" name="from" type="Array">
+ </argument>
+ <description>
+ Create from a generic array.
+ </description>
+ </method>
+ <method name="append">
+ <argument index="0" name="value" type="float">
+ </argument>
+ <description>
+ Append an element at the end of the array (alias of [method push_back]).
+ </description>
+ </method>
+ <method name="append_array">
+ <argument index="0" name="array" type="PoolRealArray">
+ </argument>
+ <description>
+ Append an [RealArray] at the end of this array.
+ </description>
+ </method>
+ <method name="insert">
+ <return type="int">
+ </return>
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="value" type="float">
+ </argument>
+ <description>
+ 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">
+ <description>
+ Reverse the order of the elements in the array (so first element will now be the last).
+ </description>
+ </method>
+ <method name="push_back">
+ <argument index="0" name="value" type="float">
+ </argument>
+ <description>
+ Append an element at the end of the array.
+ </description>
+ </method>
+ <method name="remove">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Remove an element from the array by index.
+ </description>
+ </method>
+ <method name="resize">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Set the size of the [RealArray]. 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">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="value" type="float">
+ </argument>
+ <description>
+ Change the float at the given index.
+ </description>
+ </method>
+ <method name="size">
+ <return type="int">
+ </return>
+ <description>
+ Return the size of the array.
+ </description>
+ </method>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="PoolStringArray" category="Built-In Types">
+ <brief_description>
+ String Array.
+ </brief_description>
+ <description>
+ String Array. Array of strings. Can only contain strings. Optimized for memory usage, can't fragment the memory.
+ </description>
+ <methods>
+ <method name="PoolStringArray">
+ <return type="PoolStringArray">
+ </return>
+ <argument index="0" name="from" type="Array">
+ </argument>
+ <description>
+ Create from a generic array.
+ </description>
+ </method>
+ <method name="append">
+ <argument index="0" name="string" type="String">
+ </argument>
+ <description>
+ Append an element at the end of the array (alias of [method push_back]).
+ </description>
+ </method>
+ <method name="append_array">
+ <argument index="0" name="array" type="PoolStringArray">
+ </argument>
+ <description>
+ Append an [StringArray] at the end of this array.
+ </description>
+ </method>
+ <method name="insert">
+ <return type="int">
+ </return>
+ <argument index="0" name="idx" type="int">
</argument>
- <argument index="1" name="connections" type="IntArray">
+ <argument index="1" name="string" type="String">
</argument>
<description>
+ 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">
+ <description>
+ </description>
+ </method>
+ <method name="join">
+ <return type="String">
+ </return>
+ <argument index="0" name="string" type="String">
+ </argument>
+ <description>
+ Reverse the order of the elements in the array (so first element will now be the last).
+ </description>
+ </method>
+ <method name="push_back">
+ <argument index="0" name="string" type="String">
+ </argument>
+ <description>
+ Append a string element at end of the array.
+ </description>
+ </method>
+ <method name="remove">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Remove an element from the array by index.
+ </description>
+ </method>
+ <method name="resize">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Set the size of the [StringArray]. 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">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="string" type="String">
+ </argument>
+ <description>
+ Change the [String] at the given index.
+ </description>
+ </method>
+ <method name="size">
+ <return type="int">
+ </return>
+ <description>
+ Return the size of the array.
+ </description>
+ </method>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="PoolVector2Array" category="Built-In Types">
+ <brief_description>
+ An Array of Vector2.
+ </brief_description>
+ <description>
+ An Array specifically designed to hold Vector2.
+ </description>
+ <methods>
+ <method name="PoolVector2Array">
+ <return type="PoolVector2Array">
+ </return>
+ <argument index="0" name="from" type="Array">
+ </argument>
+ <description>
+ Construct a new [PoolVector2Array]. Optionally, you can pass in an Array that will be converted.
+ </description>
+ </method>
+ <method name="append">
+ <argument index="0" name="vector2" type="Vector2">
+ </argument>
+ <description>
+ Append an element at the end of the array (alias of [method push_back]).
+ </description>
+ </method>
+ <method name="append_array">
+ <argument index="0" name="array" type="PoolVector2Array">
+ </argument>
+ <description>
+ Append an [PoolVector2Array] at the end of this array.
+ </description>
+ </method>
+ <method name="insert">
+ <return type="int">
+ </return>
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="vector2" type="Vector2">
+ </argument>
+ <description>
+ 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">
+ <description>
+ Reverse the order of the elements in the array (so first element will now be the last).
+ </description>
+ </method>
+ <method name="push_back">
+ <argument index="0" name="vector2" type="Vector2">
+ </argument>
+ <description>
+ Insert a [Vector2] at the end.
+ </description>
+ </method>
+ <method name="remove">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Remove an element from the array by index.
+ </description>
+ </method>
+ <method name="resize">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Set the size of the PoolVector2Array. 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">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="vector2" type="Vector2">
+ </argument>
+ <description>
+ Change the [Vector2] at the given index.
+ </description>
+ </method>
+ <method name="size">
+ <return type="int">
+ </return>
+ <description>
+ Return the size of the array.
+ </description>
+ </method>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="PoolVector3Array" category="Built-In Types">
+ <brief_description>
+ An Array of Vector3.
+ </brief_description>
+ <description>
+ An Array specifically designed to hold Vector3.
+ </description>
+ <methods>
+ <method name="PoolVector3Array">
+ <return type="PoolVector3Array">
+ </return>
+ <argument index="0" name="from" type="Array">
+ </argument>
+ <description>
+ Construct a new PoolVector3Array. Optionally, you can pass in an Array that will be converted.
+ </description>
+ </method>
+ <method name="append">
+ <argument index="0" name="vector3" type="Vector3">
+ </argument>
+ <description>
+ Append an element at the end of the array (alias of [method push_back]).
+ </description>
+ </method>
+ <method name="append_array">
+ <argument index="0" name="array" type="PoolVector3Array">
+ </argument>
+ <description>
+ Append an [PoolVector3Array] at the end of this array.
+ </description>
+ </method>
+ <method name="insert">
+ <return type="int">
+ </return>
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="vector3" type="Vector3">
+ </argument>
+ <description>
+ 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">
+ <description>
+ Reverse the order of the elements in the array (so first element will now be the last).
+ </description>
+ </method>
+ <method name="push_back">
+ <argument index="0" name="vector3" type="Vector3">
+ </argument>
+ <description>
+ Insert a Vector3 at the end.
+ </description>
+ </method>
+ <method name="remove">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Remove an element from the array by index.
+ </description>
+ </method>
+ <method name="resize">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ Set the size of the PoolVector3Array. 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">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <argument index="1" name="vector3" type="Vector3">
+ </argument>
+ <description>
+ Change the [Vector3] at the given index.
+ </description>
+ </method>
+ <method name="size">
+ <return type="int">
+ </return>
+ <description>
+ Return the size of the array.
</description>
</method>
</methods>
@@ -30795,6 +34054,8 @@
</description>
</method>
<method name="popup">
+ <argument index="0" name="bounds" type="Rect2" default="Rect2(0, 0, 0, 0)">
+ </argument>
<description>
Popup (show the control in modal form).
</description>
@@ -30828,6 +34089,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="popup_exclusive" type="bool" setter="set_exclusive" getter="is_exclusive" brief="">
+ </member>
+ </members>
<signals>
<signal name="about_to_show">
<description>
@@ -30885,6 +34150,8 @@
</argument>
<argument index="1" name="id" type="int" default="-1">
</argument>
+ <argument index="2" name="global" type="bool" default="false">
+ </argument>
<description>
</description>
</method>
@@ -30908,6 +34175,8 @@
</argument>
<argument index="2" name="id" type="int" default="-1">
</argument>
+ <argument index="3" name="global" type="bool" default="false">
+ </argument>
<description>
</description>
</method>
@@ -30931,6 +34200,8 @@
</argument>
<argument index="2" name="id" type="int" default="-1">
</argument>
+ <argument index="3" name="global" type="bool" default="false">
+ </argument>
<description>
</description>
</method>
@@ -30955,6 +34226,8 @@
</argument>
<argument index="1" name="id" type="int" default="-1">
</argument>
+ <argument index="2" name="global" type="bool" default="false">
+ </argument>
<description>
</description>
</method>
@@ -30974,13 +34247,6 @@
Clear the popup menu, in effect removing all items.
</description>
</method>
- <method name="is_hide_on_item_selection">
- <return type="bool">
- </return>
- <description>
- Returns a boolean that indicates whether or not the PopupMenu will hide on item selection.
- </description>
- </method>
<method name="get_item_ID" qualifiers="const">
<return type="int">
</return>
@@ -31057,6 +34323,21 @@
Return the text of the item at index "idx".
</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="is_hide_on_item_selection">
+ <return type="bool">
+ </return>
+ <description>
+ Returns a boolean that indicates whether or not the PopupMenu will hide on item selection.
+ </description>
+ </method>
<method name="is_item_checkable" qualifiers="const">
<return type="bool">
</return>
@@ -31184,6 +34465,8 @@
</argument>
<argument index="1" name="shortcut" type="ShortCut">
</argument>
+ <argument index="2" name="global" type="bool" default="false">
+ </argument>
<description>
</description>
</method>
@@ -31205,13 +34488,40 @@
Set the text of the item at index "idx".
</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="toggle_item_checked">
+ <argument index="0" name="idx" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
</methods>
+ <members>
+ <member name="hide_on_item_selection" type="bool" setter="set_hide_on_item_selection" getter="is_hide_on_item_selection" brief="">
+ </member>
+ <member name="items" type="Array" setter="_set_items" getter="_get_items" brief="">
+ </member>
+ </members>
<signals>
- <signal name="item_pressed">
+ <signal name="id_pressed">
<argument index="0" name="ID" type="int">
</argument>
<description>
- This even is emitted when an item is pressed or its accelerator is activated. The id of the item is returned if it exists, else the index.
+ This event is emitted when an item of some id is pressed or its accelerator is activated.
+ </description>
+ </signal>
+ <signal name="index_pressed">
+ <argument index="0" name="index" type="int">
+ </argument>
+ <description>
+ This event is emitted when an item of some index is pressed or its accelerator is activated.
</description>
</signal>
</signals>
@@ -31294,7 +34604,7 @@
</description>
</method>
<method name="get_shape" qualifiers="const">
- <return type="Vector2Array">
+ <return type="PoolVector2Array">
</return>
<description>
Return the portal shape. The shape is an array of [Vector2] points, representing a convex polygon in the X,Y plane.
@@ -31336,7 +34646,7 @@
</description>
</method>
<method name="set_shape">
- <argument index="0" name="points" type="Vector2Array">
+ <argument index="0" name="points" type="PoolVector2Array">
</argument>
<description>
Set the portal shape. The shape is an array of [Vector2] points, representing a convex polygon in the X,Y plane.
@@ -31391,6 +34701,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="percent_visible" type="bool" setter="set_percent_visible" getter="is_percent_visible" brief="">
+ </member>
+ </members>
<constants>
</constants>
<theme_items>
@@ -31447,6 +34761,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="grid_radius" type="Vector3" setter="set_grid_radius" getter="get_grid_radius" brief="">
+ </member>
+ </members>
<signals>
<signal name="broadcast">
<argument index="0" name="name" type="String">
@@ -31515,6 +34833,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="axis" type="int" setter="set_axis" getter="get_axis" brief="">
+ </member>
+ <member name="centered" type="bool" setter="set_centered" getter="is_centered" brief="">
+ </member>
+ <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" brief="">
+ </member>
+ <member name="size" type="Vector2" setter="set_size" getter="get_size" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -31548,13 +34876,13 @@
<argument index="1" name="angle" type="float">
</argument>
<description>
- Returns a quaternion that will rotate around the given axis by the specified angle. The axis must be a normalized vector.
+ Returns a quaternion that will rotate around the given axis by the specified angle. The axis must be a normalized vector.
</description>
</method>
<method name="Quat">
<return type="Quat">
</return>
- <argument index="0" name="from" type="Matrix3">
+ <argument index="0" name="from" type="Basis">
</argument>
<description>
Returns the rotation matrix corresponding to the given quaternion.
@@ -31642,13 +34970,13 @@
</method>
</methods>
<members>
- <member name="w" type="float">
+ <member name="w" type="float" setter="" getter="" brief="">
</member>
- <member name="x" type="float">
+ <member name="x" type="float" setter="" getter="" brief="">
</member>
- <member name="y" type="float">
+ <member name="y" type="float" setter="" getter="" brief="">
</member>
- <member name="z" type="float">
+ <member name="z" type="float" setter="" getter="" brief="">
</member>
</members>
<constants>
@@ -31690,6 +35018,13 @@
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_as_ratio" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ Return value mapped to 0 to 1 range.
+ </description>
+ </method>
<method name="get_max" qualifiers="const">
<return type="float">
</return>
@@ -31718,39 +35053,32 @@
Return the stepping, if step is 0, stepping is disabled.
</description>
</method>
- <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_val" qualifiers="const">
+ <method name="get_value" qualifiers="const">
<return type="float">
</return>
<description>
- Return the current value.
</description>
</method>
- <method name="get_value" qualifiers="const">
- <return type="float">
+ <method name="is_ratio_exp" qualifiers="const">
+ <return type="bool">
</return>
<description>
</description>
</method>
- <method name="is_rounded_values" qualifiers="const">
+ <method name="is_using_rounded_values" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
- <method name="is_unit_value_exp" qualifiers="const">
- <return type="bool">
- </return>
+ <method name="set_as_ratio">
+ <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_exp_unit_value">
+ <method name="set_exp_ratio">
<argument index="0" name="enabled" type="bool">
</argument>
<description>
@@ -31776,12 +35104,6 @@
Set page size. Page is mainly used for scrollbars or anything that controls text scrolling.
</description>
</method>
- <method name="set_rounded_values">
- <argument index="0" name="enabled" type="bool">
- </argument>
- <description>
- </description>
- </method>
<method name="set_step">
<argument index="0" name="step" type="float">
</argument>
@@ -31789,15 +35111,8 @@
Set step value. If step is 0, stepping will be disabled.
</description>
</method>
- <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_val">
- <argument index="0" name="value" type="float">
+ <method name="set_use_rounded_values">
+ <argument index="0" name="enabled" type="bool">
</argument>
<description>
</description>
@@ -31819,6 +35134,22 @@
</description>
</method>
</methods>
+ <members>
+ <member name="exp_edit" type="bool" setter="set_exp_ratio" getter="is_ratio_exp" brief="">
+ </member>
+ <member name="max_value" type="float" setter="set_max" getter="get_max" brief="">
+ </member>
+ <member name="min_value" type="float" setter="set_min" getter="get_min" brief="">
+ </member>
+ <member name="page" type="float" setter="set_page" getter="get_page" brief="">
+ </member>
+ <member name="rounded" type="bool" setter="set_use_rounded_values" getter="is_using_rounded_values" brief="">
+ </member>
+ <member name="step" type="float" setter="set_step" getter="get_step" brief="">
+ </member>
+ <member name="value" type="float" setter="set_value" getter="get_value" brief="">
+ </member>
+ </members>
<signals>
<signal name="changed">
<description>
@@ -31836,118 +35167,6 @@
<constants>
</constants>
</class>
-<class name="RawArray" category="Built-In Types">
- <brief_description>
- Raw byte array.
- </brief_description>
- <description>
- Raw byte array. Contains bytes. Optimized for memory usage, can't fragment the memory.
- </description>
- <methods>
- <method name="RawArray">
- <return type="RawArray">
- </return>
- <argument index="0" name="from" type="Array">
- </argument>
- <description>
- Create from a generic array.
- </description>
- </method>
- <method name="append">
- <argument index="0" name="byte" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="append_array">
- <argument index="0" name="array" type="RawArray">
- </argument>
- <description>
- Append an [RawArray] at the end of this array.
- </description>
- </method>
- <method name="get_string_from_ascii">
- <return type="String">
- </return>
- <description>
- Returns a copy of the array's contents formatted as String. Fast alternative to get_string_from_utf8(), assuming the content is ASCII-only (unlike the UTF-8 function, this function maps every byte to a character in the string, so any multibyte sequence will be torn apart).
- </description>
- </method>
- <method name="get_string_from_utf8">
- <return type="String">
- </return>
- <description>
- Returns a copy of the array's contents formatted as String, assuming the array is formatted as UTF-8. Slower than get_string_from_ascii(), but works for UTF-8. Usually you should prefer this function over get_string_from_ascii() to support international input.
- </description>
- </method>
- <method name="insert">
- <return type="int">
- </return>
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="byte" type="int">
- </argument>
- <description>
- 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">
- <description>
- Reverse the order of the elements in the array (so first element will now be the last).
- </description>
- </method>
- <method name="push_back">
- <argument index="0" name="byte" type="int">
- </argument>
- <description>
- Append an element at the end of the array.
- </description>
- </method>
- <method name="remove">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Remove an element from the array by index.
- </description>
- </method>
- <method name="resize">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Set the size of the [RawArray]. 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">
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="byte" type="int">
- </argument>
- <description>
- Change the byte at the given index.
- </description>
- </method>
- <method name="size">
- <return type="int">
- </return>
- <description>
- Return the size of the array.
- </description>
- </method>
- <method name="subarray">
- <return type="RawArray">
- </return>
- <argument index="0" name="from" type="int">
- </argument>
- <argument index="1" name="to" type="int">
- </argument>
- <description>
- Returns the slice of the [RawArray] between indices (inclusive) as a new [RawArray]. Any negative index is considered to be from the end of the array.
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="RayCast" inherits="Spatial" category="Core">
<brief_description>
Query the closest object intersecting a ray.
@@ -32090,6 +35309,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="cast_to" type="Vector3" setter="set_cast_to" getter="get_cast_to" brief="">
+ </member>
+ <member name="enabled" type="bool" setter="set_enabled" getter="is_enabled" brief="">
+ </member>
+ <member name="layer_mask" type="int" setter="set_layer_mask" getter="get_layer_mask" brief="">
+ </member>
+ <member name="type_mask" type="int" setter="set_type_mask" getter="get_type_mask" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -32249,6 +35478,18 @@
</description>
</method>
</methods>
+ <members>
+ <member name="cast_to" type="Vector2" setter="set_cast_to" getter="get_cast_to" brief="">
+ </member>
+ <member name="enabled" type="bool" setter="set_enabled" getter="is_enabled" brief="">
+ </member>
+ <member name="exclude_parent" type="bool" setter="set_exclude_parent_body" getter="get_exclude_parent_body" brief="">
+ </member>
+ <member name="layer_mask" type="int" setter="set_layer_mask" getter="get_layer_mask" brief="">
+ </member>
+ <member name="type_mask" type="int" setter="set_type_mask" getter="get_type_mask" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -32271,6 +35512,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="length" type="float" setter="set_length" getter="get_length" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -32297,217 +35542,331 @@
</description>
</method>
</methods>
+ <members>
+ <member name="length" type="float" setter="set_length" getter="get_length" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
-<class name="RealArray" category="Built-In Types">
+<class name="Rect2" category="Built-In Types">
<brief_description>
- Real Array .
+ 2D Axis-aligned bounding box.
</brief_description>
<description>
- Real Array. Array of floating point values. Can only contain floats. Optimized for memory usage, can't fragment the memory.
+ Rect2 provides an 2D Axis-Aligned Bounding Box. It consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
</description>
<methods>
- <method name="RealArray">
- <return type="RealArray">
+ <method name="Rect2">
+ <return type="Rect2">
</return>
- <argument index="0" name="from" type="Array">
+ <argument index="0" name="pos" type="Vector2">
+ </argument>
+ <argument index="1" name="size" type="Vector2">
</argument>
<description>
- Create from a generic array.
+ Construct a [Rect2] by position and size.
</description>
</method>
- <method name="append">
- <argument index="0" name="value" type="float">
+ <method name="Rect2">
+ <return type="Rect2">
+ </return>
+ <argument index="0" name="x" type="float">
+ </argument>
+ <argument index="1" name="y" type="float">
+ </argument>
+ <argument index="2" name="width" type="float">
+ </argument>
+ <argument index="3" name="height" type="float">
</argument>
<description>
- Append an element at the end of the array (alias of [method push_back]).
+ Construct a [Rect2] by x, y, width and height.
</description>
</method>
- <method name="append_array">
- <argument index="0" name="array" type="RealArray">
+ <method name="clip">
+ <return type="Rect2">
+ </return>
+ <argument index="0" name="b" type="Rect2">
</argument>
<description>
- Append an [RealArray] at the end of this array.
+ Returns the intersection of this [Rect2] and b.
</description>
</method>
- <method name="insert">
- <return type="int">
+ <method name="encloses">
+ <return type="bool">
</return>
- <argument index="0" name="idx" type="int">
+ <argument index="0" name="b" type="Rect2">
</argument>
- <argument index="1" name="value" type="float">
+ <description>
+ Returns true if this [Rect2] completely encloses another one.
+ </description>
+ </method>
+ <method name="expand">
+ <return type="Rect2">
+ </return>
+ <argument index="0" name="to" type="Vector2">
</argument>
<description>
- 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()).
+ Return this [Rect2] expanded to include a given point.
</description>
</method>
- <method name="invert">
+ <method name="get_area">
+ <return type="float">
+ </return>
<description>
- Reverse the order of the elements in the array (so first element will now be the last).
+ Get the area of the [Rect2].
</description>
</method>
- <method name="push_back">
- <argument index="0" name="value" type="float">
+ <method name="grow">
+ <return type="Rect2">
+ </return>
+ <argument index="0" name="by" type="float">
</argument>
<description>
- Append an element at the end of the array.
+ Return a copy of the [Rect2] grown a given amount of units towards all the sides.
</description>
</method>
- <method name="remove">
- <argument index="0" name="idx" type="int">
- </argument>
+ <method name="has_no_area">
+ <return type="bool">
+ </return>
<description>
- Remove an element from the array by index.
+ Return true if the [Rect2] is flat or empty.
</description>
</method>
- <method name="resize">
- <argument index="0" name="idx" type="int">
+ <method name="has_point">
+ <return type="bool">
+ </return>
+ <argument index="0" name="point" type="Vector2">
</argument>
<description>
- Set the size of the [RealArray]. If larger than the current size it will reserve some space beforehand, and if it is smaller it will cut off the array.
+ Return true if the [Rect2] contains a point.
</description>
</method>
- <method name="set">
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="value" type="float">
+ <method name="intersects">
+ <return type="bool">
+ </return>
+ <argument index="0" name="b" type="Rect2">
</argument>
<description>
- Change the float at the given index.
+ Return true if the [Rect2] overlaps with another.
</description>
</method>
- <method name="size">
- <return type="int">
+ <method name="merge">
+ <return type="Rect2">
</return>
+ <argument index="0" name="b" type="Rect2">
+ </argument>
<description>
- Return the size of the array.
+ Combine this [Rect2] with another, a larger one is returned that contains both.
</description>
</method>
</methods>
+ <members>
+ <member name="end" type="Vector2" setter="" getter="" brief="">
+ Ending corner.
+ </member>
+ <member name="pos" type="Vector2" setter="" getter="" brief="">
+ Position (starting corner).
+ </member>
+ <member name="size" type="Vector2" setter="" getter="" brief="">
+ Size from position to end.
+ </member>
+ </members>
<constants>
</constants>
</class>
-<class name="Rect2" category="Built-In Types">
+<class name="Rect3" category="Built-In Types">
<brief_description>
- 2D Axis-aligned bounding box.
+ Axis-Aligned Bounding Box.
</brief_description>
<description>
- Rect2 provides an 2D Axis-Aligned Bounding Box. It consists of a position, a size, and several utility functions. It is typically used for fast overlap tests.
+ Rect3 provides an 3D Axis-Aligned Bounding Box. It consists of a position, a size, and several utility functions. It is typically used for simple (fast) overlap tests.
</description>
<methods>
- <method name="Rect2">
- <return type="Rect2">
+ <method name="Rect3">
+ <return type="Rect3">
</return>
- <argument index="0" name="pos" type="Vector2">
+ <argument index="0" name="pos" type="Vector3">
</argument>
- <argument index="1" name="size" type="Vector2">
+ <argument index="1" name="size" type="Vector3">
</argument>
<description>
- Construct a [Rect2] by position and size.
+ Optional constructor, accepts position and size.
</description>
</method>
- <method name="Rect2">
- <return type="Rect2">
+ <method name="encloses">
+ <return type="bool">
</return>
- <argument index="0" name="x" type="float">
- </argument>
- <argument index="1" name="y" type="float">
- </argument>
- <argument index="2" name="width" type="float">
- </argument>
- <argument index="3" name="height" type="float">
+ <argument index="0" name="with" type="Rect3">
</argument>
<description>
- Construct a [Rect2] by x, y, width and height.
+ Return true if this [Rect3] completely encloses another one.
</description>
</method>
- <method name="clip">
- <return type="Rect2">
+ <method name="expand">
+ <return type="Rect3">
</return>
- <argument index="0" name="b" type="Rect2">
+ <argument index="0" name="to_point" type="Vector3">
</argument>
<description>
- Returns the intersection of this [Rect2] and b.
+ Return this [Rect3] expanded to include a given point.
</description>
</method>
- <method name="encloses">
- <return type="bool">
+ <method name="get_area">
+ <return type="float">
</return>
- <argument index="0" name="b" type="Rect2">
- </argument>
<description>
- Returns true if this [Rect2] completely encloses another one.
+ Get the area of the [Rect3].
</description>
</method>
- <method name="expand">
- <return type="Rect2">
+ <method name="get_endpoint">
+ <return type="Vector3">
</return>
- <argument index="0" name="to" type="Vector2">
+ <argument index="0" name="idx" type="int">
</argument>
<description>
- Return this [Rect2] expanded to include a given point.
+ Get the position of the 8 endpoints of the [Rect3] in space.
</description>
</method>
- <method name="get_area">
+ <method name="get_longest_axis">
+ <return type="Vector3">
+ </return>
+ <description>
+ Return the normalized longest axis of the [Rect3].
+ </description>
+ </method>
+ <method name="get_longest_axis_index">
+ <return type="int">
+ </return>
+ <description>
+ Return the index of the longest axis of the [Rect3] (according to [Vector3]::AXIS* enum).
+ </description>
+ </method>
+ <method name="get_longest_axis_size">
<return type="float">
</return>
<description>
- Get the area of the [Rect2].
+ Return the scalar length of the longest axis of the [Rect3].
+ </description>
+ </method>
+ <method name="get_shortest_axis">
+ <return type="Vector3">
+ </return>
+ <description>
+ Return the normalized shortest axis of the [Rect3].
+ </description>
+ </method>
+ <method name="get_shortest_axis_index">
+ <return type="int">
+ </return>
+ <description>
+ Return the index of the shortest axis of the [Rect3] (according to [Vector3]::AXIS* enum).
+ </description>
+ </method>
+ <method name="get_shortest_axis_size">
+ <return type="float">
+ </return>
+ <description>
+ Return the scalar length of the shortest axis of the [Rect3].
+ </description>
+ </method>
+ <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.
</description>
</method>
<method name="grow">
- <return type="Rect2">
+ <return type="Rect3">
</return>
<argument index="0" name="by" type="float">
</argument>
<description>
- Return a copy of the [Rect2] grown a given amount of units towards all the sides.
+ Return a copy of the [Rect3] grown a given amount of units towards all the sides.
</description>
</method>
<method name="has_no_area">
<return type="bool">
</return>
<description>
- Return true if the [Rect2] is flat or empty.
+ Return true if the [Rect3] is flat or empty.
+ </description>
+ </method>
+ <method name="has_no_surface">
+ <return type="bool">
+ </return>
+ <description>
+ Return true if the [Rect3] is empty.
</description>
</method>
<method name="has_point">
<return type="bool">
</return>
- <argument index="0" name="point" type="Vector2">
+ <argument index="0" name="point" type="Vector3">
</argument>
<description>
- Return true if the [Rect2] contains a point.
+ Return true if the [Rect3] contains a point.
+ </description>
+ </method>
+ <method name="intersection">
+ <return type="Rect3">
+ </return>
+ <argument index="0" name="with" type="Rect3">
+ </argument>
+ <description>
+ Return the intersection between two [Rect3]. An empty AABB (size 0,0,0) is returned on failure.
</description>
</method>
<method name="intersects">
<return type="bool">
</return>
- <argument index="0" name="b" type="Rect2">
+ <argument index="0" name="with" type="Rect3">
</argument>
<description>
- Return true if the [Rect2] overlaps with another.
+ Return true if the [Rect3] overlaps with another.
+ </description>
+ </method>
+ <method name="intersects_plane">
+ <return type="bool">
+ </return>
+ <argument index="0" name="plane" type="Plane">
+ </argument>
+ <description>
+ Return true if the [Rect3] is at both sides of a plane.
+ </description>
+ </method>
+ <method name="intersects_segment">
+ <return type="bool">
+ </return>
+ <argument index="0" name="from" type="Vector3">
+ </argument>
+ <argument index="1" name="to" type="Vector3">
+ </argument>
+ <description>
+ Return true if the [Rect3] intersects the line segment between from and to
</description>
</method>
<method name="merge">
- <return type="Rect2">
+ <return type="Rect3">
</return>
- <argument index="0" name="b" type="Rect2">
+ <argument index="0" name="with" type="Rect3">
</argument>
<description>
- Combine this [Rect2] with another, a larger one is returned that contains both.
+ Combine this [Rect3] with another, a larger one is returned that contains both.
</description>
</method>
</methods>
<members>
- <member name="end" type="Vector2">
+ <member name="end" type="Vector3" setter="" getter="" brief="">
Ending corner.
</member>
- <member name="pos" type="Vector2">
+ <member name="pos" type="Vector3" setter="" getter="" brief="">
Position (starting corner).
</member>
- <member name="size" type="Vector2">
+ <member name="size" type="Vector3" setter="" getter="" brief="">
Size from position to end.
</member>
</members>
@@ -32537,6 +35896,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="extents" type="Vector2" setter="set_extents" getter="get_extents" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -32586,7 +35949,191 @@
</theme_item>
</theme_items>
</class>
-<class name="RegEx" inherits="Reference" category="Core">
+<class name="ReflectionProbe" inherits="VisualInstance" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="are_shadows_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_cull_mask" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_extents" qualifiers="const">
+ <return type="Vector3">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_intensity" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_interior_ambient" qualifiers="const">
+ <return type="Color">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_interior_ambient_energy" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_interior_ambient_probe_contribution" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_max_distance" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_origin_offset" qualifiers="const">
+ <return type="Vector3">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_update_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_box_projection_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="is_set_as_interior" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_as_interior">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_cull_mask">
+ <argument index="0" name="layers" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_enable_box_projection">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_enable_shadows">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_extents">
+ <argument index="0" name="extents" type="Vector3">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_intensity">
+ <argument index="0" name="intensity" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_interior_ambient">
+ <argument index="0" name="ambient" type="Color">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_interior_ambient_energy">
+ <argument index="0" name="ambient_energy" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_interior_ambient_probe_contribution">
+ <argument index="0" name="ambient_probe_contribution" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_max_distance">
+ <argument index="0" name="max_distance" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_origin_offset">
+ <argument index="0" name="origin_offset" type="Vector3">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_update_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="box_projection" type="bool" setter="set_enable_box_projection" getter="is_box_projection_enabled" brief="">
+ </member>
+ <member name="cull_mask" type="int" setter="set_cull_mask" getter="get_cull_mask" brief="">
+ </member>
+ <member name="enable_shadows" type="bool" setter="set_enable_shadows" getter="are_shadows_enabled" brief="">
+ </member>
+ <member name="extents" type="Vector2" setter="set_extents" getter="get_extents" brief="">
+ </member>
+ <member name="intensity" type="float" setter="set_intensity" getter="get_intensity" brief="">
+ </member>
+ <member name="interior_ambient_color" type="Color" setter="set_interior_ambient" getter="get_interior_ambient" brief="">
+ </member>
+ <member name="interior_ambient_contrib" type="float" setter="set_interior_ambient_probe_contribution" getter="get_interior_ambient_probe_contribution" brief="">
+ </member>
+ <member name="interior_ambient_energy" type="float" setter="set_interior_ambient_energy" getter="get_interior_ambient_energy" brief="">
+ </member>
+ <member name="interior_enable" type="bool" setter="set_as_interior" getter="is_set_as_interior" brief="">
+ </member>
+ <member name="max_distance" type="float" setter="set_max_distance" getter="get_max_distance" brief="">
+ </member>
+ <member name="origin_offset" type="Vector2" setter="set_origin_offset" getter="get_origin_offset" brief="">
+ </member>
+ <member name="update_mode" type="int" setter="set_update_mode" getter="get_update_mode" brief="">
+ </member>
+ </members>
+ <constants>
+ <constant name="UPDATE_ONCE" value="0">
+ </constant>
+ <constant name="UPDATE_ALWAYS" value="1">
+ </constant>
+ </constants>
+</class>
+<class name="RegEx" inherits="Resource" category="Core">
<brief_description>
Simple regular expression matcher.
</brief_description>
@@ -32690,6 +36237,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="pattern" type="String" setter="compile" getter="get_pattern" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -32786,6 +36337,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="remote_path" type="NodePath" setter="set_remote_node" getter="get_remote_node" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -32808,16 +36363,10 @@
</description>
</method>
</methods>
- <constants>
- </constants>
-</class>
-<class name="RenderTargetTexture" inherits="Texture" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- </methods>
+ <members>
+ <member name="remote_path" type="NodePath" setter="set_remote_node" getter="get_remote_node" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -32829,6 +36378,10 @@
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 desired). Resources can be saved externally on disk or bundled into another object, such as a [Node] or another resource.
</description>
<methods>
+ <method name="_setup_local_to_scene" qualifiers="virtual">
+ <description>
+ </description>
+ </method>
<method name="duplicate">
<return type="Object">
</return>
@@ -32837,8 +36390,8 @@
<description>
</description>
</method>
- <method name="get_import_metadata" qualifiers="const">
- <return type="Object">
+ <method name="get_local_scene" qualifiers="const">
+ <return type="Node">
</return>
<description>
</description>
@@ -32864,8 +36417,14 @@
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">
- <argument index="0" name="metadata" type="Object">
+ <method name="is_local_to_scene" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_local_to_scene">
+ <argument index="0" name="enable" type="bool">
</argument>
<description>
</description>
@@ -32884,6 +36443,10 @@
Set the path of the resource. This is useful mainly for editors when saving/loading, and shouldn't be changed by anything else. Fails if another [Resource] already has path "path".
</description>
</method>
+ <method name="setup_local_to_scene">
+ <description>
+ </description>
+ </method>
<method name="take_over_path">
<argument index="0" name="path" type="String">
</argument>
@@ -32892,6 +36455,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" brief="">
+ </member>
+ <member name="resource_name" type="String" setter="set_name" getter="get_name" brief="">
+ </member>
+ <member name="resource_path" type="String" setter="set_path" getter="get_path" brief="">
+ </member>
+ </members>
<signals>
<signal name="changed">
<description>
@@ -32901,88 +36472,22 @@
<constants>
</constants>
</class>
-<class name="ResourceImportMetadata" inherits="Reference" category="Core">
+<class name="ResourceImporter" inherits="Reference" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ </methods>
+ <constants>
+ </constants>
+</class>
+<class name="ResourceImporterOGGVorbis" inherits="ResourceImporter" category="Core">
<brief_description>
</brief_description>
<description>
</description>
<methods>
- <method name="add_source">
- <argument index="0" name="path" type="String">
- </argument>
- <argument index="1" name="md5" type="String" default="&quot;&quot;">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_editor" qualifiers="const">
- <return type="String">
- </return>
- <description>
- </description>
- </method>
- <method name="get_option" qualifiers="const">
- <argument index="0" name="key" type="String">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_options" qualifiers="const">
- <return type="StringArray">
- </return>
- <description>
- </description>
- </method>
- <method name="get_source_count" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_source_md5" qualifiers="const">
- <return type="String">
- </return>
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_source_path" qualifiers="const">
- <return type="String">
- </return>
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="remove_source">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_editor">
- <argument index="0" name="name" type="String">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_option">
- <argument index="0" name="key" type="String">
- </argument>
- <argument index="1" name="value" type="Variant">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_source_md5">
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="md5" type="String">
- </argument>
- <description>
- </description>
- </method>
</methods>
<constants>
</constants>
@@ -33042,7 +36547,7 @@
</description>
<methods>
<method name="get_dependencies">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="path" type="String">
</argument>
@@ -33050,7 +36555,7 @@
</description>
</method>
<method name="get_recognized_extensions_for_type">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="type" type="String">
</argument>
@@ -33078,14 +36583,6 @@
<description>
</description>
</method>
- <method name="load_import_metadata">
- <return type="ResourceImportMetadata">
- </return>
- <argument index="0" name="path" type="String">
- </argument>
- <description>
- </description>
- </method>
<method name="load_interactive">
<return type="ResourceInteractiveLoader">
</return>
@@ -33135,7 +36632,7 @@
</description>
</method>
<method name="get_resource_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Return the list of resources inside the preloader.
@@ -33167,6 +36664,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="resources" type="Array" setter="_set_resources" getter="_get_resources" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -33179,7 +36680,7 @@
</description>
<methods>
<method name="get_recognized_extensions">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="type" type="Object">
</argument>
@@ -33382,6 +36883,14 @@
<description>
</description>
</method>
+ <method name="remove_line">
+ <return type="bool">
+ </return>
+ <argument index="0" name="arg0" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="scroll_to_line">
<argument index="0" name="line" type="int">
</argument>
@@ -33448,6 +36957,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="bbcode_enabled" type="bool" setter="set_use_bbcode" getter="is_using_bbcode" brief="">
+ </member>
+ <member name="bbcode_text" type="String" setter="set_bbcode" getter="get_bbcode" brief="">
+ </member>
+ <member name="visible_characters" type="int" setter="set_visible_characters" getter="get_visible_characters" brief="">
+ </member>
+ </members>
<signals>
<signal name="meta_clicked">
<argument index="0" name="meta" type="Nil">
@@ -33800,15 +37317,58 @@
</description>
</method>
</methods>
+ <members>
+ <member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp" brief="">
+ </member>
+ <member name="angular_velocity" type="Vector3" setter="set_angular_velocity" getter="get_angular_velocity" brief="">
+ </member>
+ <member name="axis_lock" type="int" setter="set_axis_lock" getter="get_axis_lock" brief="">
+ </member>
+ <member name="bounce" type="float" setter="set_bounce" getter="get_bounce" brief="">
+ </member>
+ <member name="can_sleep" type="bool" setter="set_can_sleep" getter="is_able_to_sleep" brief="">
+ </member>
+ <member name="contact_monitor" type="bool" setter="set_contact_monitor" getter="is_contact_monitor_enabled" brief="">
+ </member>
+ <member name="contacts_reported" type="int" setter="set_max_contacts_reported" getter="get_max_contacts_reported" brief="">
+ </member>
+ <member name="continuous_cd" type="bool" setter="set_use_continuous_collision_detection" getter="is_using_continuous_collision_detection" brief="">
+ </member>
+ <member name="custom_integrator" type="bool" setter="set_use_custom_integrator" getter="is_using_custom_integrator" brief="">
+ </member>
+ <member name="friction" type="float" setter="set_friction" getter="get_friction" brief="">
+ </member>
+ <member name="gravity_scale" type="float" setter="set_gravity_scale" getter="get_gravity_scale" brief="">
+ </member>
+ <member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp" brief="">
+ </member>
+ <member name="linear_velocity" type="Vector3" setter="set_linear_velocity" getter="get_linear_velocity" brief="">
+ </member>
+ <member name="mass" type="float" setter="set_mass" getter="get_mass" brief="">
+ </member>
+ <member name="mode" type="int" setter="set_mode" getter="get_mode" brief="">
+ </member>
+ <member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping" brief="">
+ </member>
+ <member name="weight" type="float" setter="set_weight" getter="get_weight" brief="">
+ </member>
+ </members>
<signals>
- <signal name="body_enter">
+ <signal name="body_entered">
<argument index="0" name="body" type="Object">
</argument>
<description>
Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work.
</description>
</signal>
- <signal name="body_enter_shape">
+ <signal name="body_exited">
+ <argument index="0" name="body" type="Object">
+ </argument>
+ <description>
+ Emitted when a body shape exits contact with this one. Contact monitor and contacts reported must be enabled for this to work.
+ </description>
+ </signal>
+ <signal name="body_shape_entered">
<argument index="0" name="body_id" type="int">
</argument>
<argument index="1" name="body" type="Object">
@@ -33822,14 +37382,7 @@
This signal not only receives the body that collided with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body collided with.
</description>
</signal>
- <signal name="body_exit">
- <argument index="0" name="body" type="Object">
- </argument>
- <description>
- Emitted when a body shape exits contact with this one. Contact monitor and contacts reported must be enabled for this to work.
- </description>
- </signal>
- <signal name="body_exit_shape">
+ <signal name="body_shape_exited">
<argument index="0" name="body_id" type="int">
</argument>
<argument index="1" name="body" type="Object">
@@ -34195,15 +37748,56 @@
</description>
</method>
</methods>
+ <members>
+ <member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp" brief="">
+ </member>
+ <member name="angular_velocity" type="float" setter="set_angular_velocity" getter="get_angular_velocity" brief="">
+ </member>
+ <member name="bounce" type="float" setter="set_bounce" getter="get_bounce" brief="">
+ </member>
+ <member name="can_sleep" type="bool" setter="set_can_sleep" getter="is_able_to_sleep" brief="">
+ </member>
+ <member name="contact_monitor" type="bool" setter="set_contact_monitor" getter="is_contact_monitor_enabled" brief="">
+ </member>
+ <member name="contacts_reported" type="int" setter="set_max_contacts_reported" getter="get_max_contacts_reported" brief="">
+ </member>
+ <member name="continuous_cd" type="int" setter="set_continuous_collision_detection_mode" getter="get_continuous_collision_detection_mode" brief="">
+ </member>
+ <member name="custom_integrator" type="bool" setter="set_use_custom_integrator" getter="is_using_custom_integrator" brief="">
+ </member>
+ <member name="friction" type="float" setter="set_friction" getter="get_friction" brief="">
+ </member>
+ <member name="gravity_scale" type="float" setter="set_gravity_scale" getter="get_gravity_scale" brief="">
+ </member>
+ <member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp" brief="">
+ </member>
+ <member name="linear_velocity" type="Vector2" setter="set_linear_velocity" getter="get_linear_velocity" brief="">
+ </member>
+ <member name="mass" type="float" setter="set_mass" getter="get_mass" brief="">
+ </member>
+ <member name="mode" type="int" setter="set_mode" getter="get_mode" brief="">
+ </member>
+ <member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping" brief="">
+ </member>
+ <member name="weight" type="float" setter="set_weight" getter="get_weight" brief="">
+ </member>
+ </members>
<signals>
- <signal name="body_enter">
+ <signal name="body_entered">
<argument index="0" name="body" type="Object">
</argument>
<description>
Emitted when a body enters into contact with this one. Contact monitor and contacts reported must be enabled for this to work.
</description>
</signal>
- <signal name="body_enter_shape">
+ <signal name="body_exited">
+ <argument index="0" name="body" type="Object">
+ </argument>
+ <description>
+ Emitted when a body exits contact with this one. Contact monitor and contacts reported must be enabled for this to work.
+ </description>
+ </signal>
+ <signal name="body_shape_entered">
<argument index="0" name="body_id" type="int">
</argument>
<argument index="1" name="body" type="Object">
@@ -34217,14 +37811,7 @@
This signal not only receives the body that collided with this one, but also its [RID] (body_id), the shape index from the colliding body (body_shape), and the shape index from this body (local_shape) the other body collided with.
</description>
</signal>
- <signal name="body_exit">
- <argument index="0" name="body" type="Object">
- </argument>
- <description>
- Emitted when a body exits contact with this one. Contact monitor and contacts reported must be enabled for this to work.
- </description>
- </signal>
- <signal name="body_exit_shape">
+ <signal name="body_shape_exited">
<argument index="0" name="body_id" type="int">
</argument>
<argument index="1" name="body" type="Object">
@@ -34276,35 +37863,23 @@
Room contains the data to define the bounds of a scene (using a BSP Tree). It is instanced by a [VisualInstance] node to create rooms. See that class documentation for more information about rooms.
</description>
<methods>
- <method name="compute_room_from_subtree">
- <description>
- </description>
- </method>
<method name="get_room" qualifiers="const">
<return type="Room">
</return>
<description>
</description>
</method>
- <method name="is_simulating_acoustics" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
<method name="set_room">
<argument index="0" name="room" type="Room">
</argument>
<description>
</description>
</method>
- <method name="set_simulate_acoustics">
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
</methods>
+ <members>
+ <member name="room/room" type="Area" setter="set_room" getter="get_room" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -34314,870 +37889,24 @@
<description>
</description>
<methods>
- <method name="get_bounds" qualifiers="const">
- <return type="Dictionary">
- </return>
- <description>
- </description>
- </method>
<method name="get_geometry_hint" qualifiers="const">
- <return type="Vector3Array">
+ <return type="PoolVector3Array">
</return>
<description>
</description>
</method>
- <method name="regenerate_bsp">
- <description>
- </description>
- </method>
- <method name="regenerate_bsp_cubic">
- <description>
- </description>
- </method>
- <method name="set_bounds">
- <argument index="0" name="bsp_tree" type="Dictionary">
- </argument>
- <description>
- </description>
- </method>
<method name="set_geometry_hint">
- <argument index="0" name="triangles" type="Vector3Array">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="Sample" inherits="Resource" category="Core">
- <brief_description>
- 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">
- <argument index="0" name="format" type="int">
- </argument>
- <argument index="1" name="stereo" type="bool">
- </argument>
- <argument index="2" name="length" type="int">
- </argument>
- <description>
- Create new data for the sample, with format (see FORMAT_* constants), stereo hint, and length in samples (not bytes).
- Calling this method overrides previously existing data. Stereo samples are interleaved pairs of left and right points (in that order), but count as one sample for length purposes.
- </description>
- </method>
- <method name="get_data" qualifiers="const">
- <return type="RawArray">
- </return>
- <description>
- Return sample data as little endian.
- </description>
- </method>
- <method name="get_format" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the sample format.
- </description>
- </method>
- <method name="get_length" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the sample length in samples. Stereo samples count as one, even if they are made of a left and a right sample.
- </description>
- </method>
- <method name="get_loop_begin" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the loop begin position.
- </description>
- </method>
- <method name="get_loop_end" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the loop end position.
- </description>
- </method>
- <method name="get_loop_format" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the loop format.
- </description>
- </method>
- <method name="get_mix_rate" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the mix rate for the sample.
- </description>
- </method>
- <method name="is_stereo" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- Return whether the current sample was created as stereo.
- </description>
- </method>
- <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 as to fit all samples. The length of this array can be calculated as follows:
- Get the sample length ([method get_length]). If the sample format is FORMAT_PCM16, multiply it by 2. If the sample format is FORMAT_IMA_ADPCM, divide it by 2 (rounding any fraction up), then add 4. If the sample is stereo ([method is_stereo]), multiply it by 2.
- </description>
- </method>
- <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.
- </description>
- </method>
- <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.
- </description>
- </method>
- <method name="set_loop_format">
- <argument index="0" name="format" type="int">
- </argument>
- <description>
- Set the loop format (use LOOP_* constants as argument).
- </description>
- </method>
- <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>
- </methods>
- <constants>
- <constant name="FORMAT_PCM8" value="0">
- 8-bits signed PCM audio.
- </constant>
- <constant name="FORMAT_PCM16" value="1">
- 16-bits signed little endian PCM audio.
- </constant>
- <constant name="FORMAT_IMA_ADPCM" value="2">
- 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).
- </constant>
- <constant name="LOOP_PING_PONG" value="2">
- 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.
- </brief_description>
- <description>
- Library that contains a collection of [Sample], 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">
- <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.
- </description>
- </method>
- <method name="get_sample" qualifiers="const">
- <return type="Sample">
- </return>
- <argument index="0" name="name" type="String">
- </argument>
- <description>
- Return the sample from the library matching the given text ID. Return null if the sample is not found.
- </description>
- </method>
- <method name="get_sample_list" qualifiers="const">
- <return type="Array">
- </return>
- <description>
- </description>
- </method>
- <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.
- </description>
- </method>
- <method name="remove_sample">
- <argument index="0" name="name" type="String">
- </argument>
- <description>
- Remove the sample matching the given text ID.
- </description>
- </method>
- <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>
- <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">
- <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_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>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="SamplePlayer" inherits="Node" category="Core">
- <brief_description>
- Sample Player node.
- </brief_description>
- <description>
- 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="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.
- </description>
- </method>
- <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_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_gain" qualifiers="const">
- <return type="float">
- </return>
- <description>
- Return the default filter gain of the player.
- </description>
- </method>
- <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_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_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">
- <return type="float">
- </return>
- <description>
- Return the default pan depth of the player.
- </description>
- </method>
- <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_pitch_scale" qualifiers="const">
- <return type="float">
- </return>
- <description>
- Return the default pitch scale of the player.
- </description>
- </method>
- <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="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_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">
- <return type="float">
- </return>
- <description>
- Return the default volume (in dB) of the player.
- </description>
- </method>
- <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 frequency for a given voice.
- </description>
- </method>
- <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_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.
- </description>
- </method>
- <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_* constants) for a given voice.
- </description>
- </method>
- <method name="get_mix_rate" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- Return the current mix rate for a given voice.
- </description>
- </method>
- <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.
- </description>
- </method>
- <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.
- </description>
- </method>
- <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.
- </description>
- </method>
- <method name="get_pitch_scale" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- Return the current pitch scale for a given voice.
- </description>
- </method>
- <method name="get_polyphony" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the polyphony of the player.
- </description>
- </method>
- <method name="get_reverb" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- Return the current reverberation send level for a given voice.
- </description>
- </method>
- <method name="get_reverb_room" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- Return the current reverberation room type for a given voice (see REVERB_* enum).
- </description>
- </method>
- <method name="get_sample_library" qualifiers="const">
- <return type="SampleLibrary">
- </return>
- <description>
- Return the sample library used by the player.
- </description>
- </method>
- <method name="get_volume" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- Return the current volume (on a linear scale) for a given voice.
- </description>
- </method>
- <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="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">
- <return type="bool">
- </return>
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- Return whether the given voice is currently active.
- </description>
- </method>
- <method name="play">
- <return type="int">
- </return>
- <argument index="0" name="name" type="String">
- </argument>
- <argument index="1" name="unique" type="bool" default="false">
- </argument>
- <description>
- 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="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 (from 0 to 1.0). For setting chorus parameters, see [AudioServer].
- </description>
- </method>
- <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_filter">
- <argument index="0" name="type" type="int">
- </argument>
- <argument index="1" name="cutoff_hz" type="float">
- </argument>
- <argument index="2" name="resonance" type="float">
- </argument>
- <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_pan">
- <argument index="0" name="pan" type="float">
- </argument>
- <argument index="1" name="depth" type="float" default="0">
- </argument>
- <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_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_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="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">
- <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_filter">
- <argument index="0" name="voice" type="int">
- </argument>
- <argument index="1" name="type" type="int">
- </argument>
- <argument index="2" name="cutoff_hz" type="float">
- </argument>
- <argument index="3" name="resonance" type="float">
- </argument>
- <argument index="4" name="gain" type="float" default="0">
- </argument>
- <description>
- 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_mix_rate">
- <argument index="0" name="voice" type="int">
- </argument>
- <argument index="1" name="hz" type="int">
- </argument>
- <description>
- Set the mix rate (in Hz) of a given voice.
- </description>
- </method>
- <method name="set_pan">
- <argument index="0" name="voice" type="int">
- </argument>
- <argument index="1" name="pan" type="float">
- </argument>
- <argument index="2" name="depth" type="float" default="0">
- </argument>
- <argument index="3" name="height" type="float" default="0">
- </argument>
- <description>
- 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_pitch_scale">
- <argument index="0" name="voice" type="int">
- </argument>
- <argument index="1" name="ratio" type="float">
- </argument>
- <description>
- Set the pitch scale of a given voice. A ratio of 1.0 is the normal scale.
- </description>
- </method>
- <method name="set_polyphony">
- <argument index="0" name="max_voices" type="int">
+ <argument index="0" name="triangles" type="PoolVector3Array">
</argument>
<description>
- Set the polyphony of the player (maximum amount of simultaneous voices).
- </description>
- </method>
- <method name="set_reverb">
- <argument index="0" name="voice" type="int">
- </argument>
- <argument index="1" name="room_type" type="int">
- </argument>
- <argument index="2" name="send" type="float">
- </argument>
- <description>
- Set the reverberation type (see REVERB_* constants) and send level (from 0 to 1.0) of a voice.
- </description>
- </method>
- <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="set_volume">
- <argument index="0" name="voice" type="int">
- </argument>
- <argument index="1" name="volume" type="float">
- </argument>
- <description>
- 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">
- <argument index="0" name="voice" type="int">
- </argument>
- <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="stop">
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- Stop a given voice.
- </description>
- </method>
- <method name="stop_all">
- <description>
- Stop all playing voices.
- </description>
- </method>
- </methods>
- <constants>
- <constant name="FILTER_NONE" value="0">
- Filter is disabled for voice.
- </constant>
- <constant name="FILTER_LOWPASS" value="1">
- Low-pass filter is used for voice.
- </constant>
- <constant name="FILTER_BANDPASS" value="2">
- Band-pass filter is used for voice.
- </constant>
- <constant name="FILTER_HIPASS" value="3">
- High-pass filter is used for voice.
- </constant>
- <constant name="FILTER_NOTCH" value="4">
- 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 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 reverberation room (house room).
- </constant>
- <constant name="REVERB_MEDIUM" value="1">
- Medium reverberation room (street)
- </constant>
- <constant name="REVERB_LARGE" value="2">
- Large reverberation room (theatre)
- </constant>
- <constant name="REVERB_HALL" value="3">
- 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.
- </brief_description>
- <description>
- 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="get_polyphony" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the polyphony of the player.
- </description>
- </method>
- <method name="get_random_pitch_scale" qualifiers="const">
- <return type="float">
- </return>
- <description>
- Return the amplitude used for random pitch scale variations.
- </description>
- </method>
- <method name="get_sample_library" qualifiers="const">
- <return type="SampleLibrary">
- </return>
- <description>
- Return the sample library used by the player.
- </description>
- </method>
- <method name="is_voice_active" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- Return whether a voice is still active or has stopped playing.
- </description>
- </method>
- <method name="play">
- <return type="int">
- </return>
- <argument index="0" name="sample" type="String">
- </argument>
- <argument index="1" name="voice" type="int" default="-2">
- </argument>
- <description>
- 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="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="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 &gt; 0: 1.0 + variation
- * variation &lt; 0: 1.0/(1.0 - variation)
- </description>
- </method>
- <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="stop_all">
- <description>
- Stop all playing voices.
- </description>
- </method>
- <method name="stop_voice">
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- Stop a given voice.
- </description>
- </method>
- <method name="voice_set_pitch_scale">
- <argument index="0" name="voice" type="int">
- </argument>
- <argument index="1" name="ratio" type="float">
- </argument>
- <description>
- Change the pitch scale of a currently playing voice.
- </description>
- </method>
- <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 (in dB) of a currently playing voice.
</description>
</method>
</methods>
+ <members>
+ <member name="geometry_hint" type="PoolVector3Array" setter="set_geometry_hint" getter="get_geometry_hint" brief="">
+ </member>
+ </members>
<constants>
- <constant name="INVALID_VOICE" value="-1">
- 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>
<class name="SceneState" inherits="Reference" category="Core">
@@ -35247,7 +37976,7 @@
</description>
</method>
<method name="get_node_groups" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
@@ -35340,6 +38069,12 @@
</method>
</methods>
<constants>
+ <constant name="GEN_EDIT_STATE_DISABLED" value="0">
+ </constant>
+ <constant name="GEN_EDIT_STATE_INSTANCE" value="1">
+ </constant>
+ <constant name="GEN_EDIT_STATE_MAIN" value="2">
+ </constant>
</constants>
</class>
<class name="SceneTree" inherits="MainLoop" category="Core">
@@ -35349,6 +38084,14 @@
</description>
<methods>
<method name="call_group" qualifiers="vararg">
+ <argument index="0" name="group" type="String">
+ </argument>
+ <argument index="1" name="method" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="call_group_flags" qualifiers="vararg">
<argument index="0" name="flags" type="int">
</argument>
<argument index="1" name="group" type="String">
@@ -35379,6 +38122,8 @@
</return>
<argument index="0" name="time_sec" type="float">
</argument>
+ <argument index="1" name="pause_mode_process" type="bool" default="true">
+ </argument>
<description>
</description>
</method>
@@ -35434,36 +38179,36 @@
<description>
</description>
</method>
- <method name="is_debugging_collisions_hint" qualifiers="const">
+ <method name="has_network_peer" qualifiers="const">
<return type="bool">
</return>
<description>
+ Returns true if there is a [NetworkedMultiplayerPeer] set (with [method SceneTree.set_network_peer]).
</description>
</method>
- <method name="is_debugging_navigation_hint" qualifiers="const">
+ <method name="is_debugging_collisions_hint" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
- <method name="is_editor_hint" qualifiers="const">
+ <method name="is_debugging_navigation_hint" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
- <method name="is_network_server" qualifiers="const">
+ <method name="is_editor_hint" qualifiers="const">
<return type="bool">
</return>
<description>
- Returns true if this SceneTree's [NetworkedMultiplayerPeer] is in server mode (listening for connections).
</description>
</method>
- <method name="has_network_peer" qualifiers="const">
+ <method name="is_network_server" qualifiers="const">
<return type="bool">
</return>
<description>
- Returns true if there is a [NetworkedMultiplayerPeer] set (with [method SceneTree.set_network_peer]).
+ Returns true if this SceneTree's [NetworkedMultiplayerPeer] is in server mode (listening for connections).
</description>
</method>
<method name="is_paused" qualifiers="const">
@@ -35479,6 +38224,14 @@
</description>
</method>
<method name="notify_group">
+ <argument index="0" name="call_flags" type="String">
+ </argument>
+ <argument index="1" name="group" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="notify_group_flags">
<argument index="0" name="call_flags" type="int">
</argument>
<argument index="1" name="group" type="String">
@@ -35541,6 +38294,16 @@
</description>
</method>
<method name="set_group">
+ <argument index="0" name="call_flags" type="String">
+ </argument>
+ <argument index="1" name="group" type="String">
+ </argument>
+ <argument index="2" name="property" type="Variant">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_group_flags">
<argument index="0" name="call_flags" type="int">
</argument>
<argument index="1" name="group" type="String">
@@ -35596,7 +38359,7 @@
</description>
</signal>
<signal name="files_dropped">
- <argument index="0" name="files" type="StringArray">
+ <argument index="0" name="files" type="PoolStringArray">
</argument>
<argument index="1" name="screen" type="int">
</argument>
@@ -35779,6 +38542,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="custom_step" type="float" setter="set_custom_step" getter="get_custom_step" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -35847,6 +38614,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="scroll_horizontal" type="bool" setter="set_enable_h_scroll" getter="is_h_scroll_enabled" brief="">
+ </member>
+ <member name="scroll_vertical" type="bool" setter="set_enable_v_scroll" getter="is_v_scroll_enabled" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -35887,6 +38660,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="a" type="Vector2" setter="set_a" getter="get_a" brief="">
+ </member>
+ <member name="b" type="Vector2" setter="set_b" getter="get_b" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -35936,23 +38715,17 @@
To be changed, ignore.
</description>
<methods>
- <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="get_fragment_code" qualifiers="const">
+ <method name="get_code" qualifiers="const">
<return type="String">
</return>
<description>
</description>
</method>
- <method name="get_light_code" qualifiers="const">
- <return type="String">
+ <method name="get_default_texture_param" qualifiers="const">
+ <return type="Texture">
</return>
+ <argument index="0" name="param" type="String">
+ </argument>
<description>
</description>
</method>
@@ -35962,12 +38735,6 @@
<description>
</description>
</method>
- <method name="get_vertex_code" qualifiers="const">
- <return type="String">
- </return>
- <description>
- </description>
- </method>
<method name="has_param" qualifiers="const">
<return type="bool">
</return>
@@ -35977,15 +38744,7 @@
</description>
</method>
<method name="set_code">
- <argument index="0" name="vcode" type="String">
- </argument>
- <argument index="1" name="fcode" type="String">
- </argument>
- <argument index="2" name="lcode" type="String">
- </argument>
- <argument index="3" name="fofs" type="int" default="0">
- </argument>
- <argument index="4" name="lofs" type="int" default="0">
+ <argument index="0" name="code" type="String">
</argument>
<description>
</description>
@@ -35999,923 +38758,19 @@
</description>
</method>
</methods>
+ <members>
+ <member name="code" type="String" setter="set_code" getter="get_code" brief="">
+ </member>
+ </members>
<constants>
- <constant name="MODE_MATERIAL" value="0">
+ <constant name="MODE_SPATIAL" value="0">
</constant>
<constant name="MODE_CANVAS_ITEM" value="1">
</constant>
- <constant name="MODE_POST_PROCESS" value="2">
+ <constant name="MODE_PARTICLES" value="2">
</constant>
</constants>
</class>
-<class name="ShaderGraph" inherits="Shader" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- <method name="clear">
- <argument index="0" name="shader_type" type="int">
- </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="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="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="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="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="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="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="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="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="default_get_value">
- <argument index="0" name="shader_type" type="int">
- </argument>
- <argument index="1" name="id" type="int">
- </argument>
- <argument index="2" name="param_id" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="default_set_value">
- <argument index="0" name="shader_type" type="int">
- </argument>
- <argument index="1" name="id" type="int">
- </argument>
- <argument index="2" name="param_id" type="int">
- </argument>
- <argument index="3" name="value" type="Variant">
- </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="get_node_list" qualifiers="const">
- <return type="Array">
- </return>
- <argument index="0" name="shader_type" type="int">
- </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="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="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="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_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_state" qualifiers="const">
- <return type="Variant">
- </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="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_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="Variant">
- </argument>
- <description>
- </description>
- </method>
- <method name="rgb_const_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="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_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="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_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="scalar_const_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="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_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="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_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="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_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="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="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="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_node_get_filter_size" 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="texture_node_get_filter_strength" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="shader_type" type="int">
- </argument>
- <argument index="1" name="id" type="float">
- </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_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="vec_const_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="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_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_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="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_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_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_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="xform_const_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="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_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="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_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="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>
- </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="get_shader" qualifiers="const">
- <return type="Shader">
- </return>
- <description>
- </description>
- </method>
- <method name="get_shader_param" qualifiers="const">
- <return type="Variant">
- </return>
- <argument index="0" name="param" type="String">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_shader">
- <argument index="0" name="shader" type="Shader">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_shader_param">
- <argument index="0" name="param" type="String">
- </argument>
- <argument index="1" name="value" type="Variant">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="Shape" inherits="Resource" category="Core">
<brief_description>
</brief_description>
@@ -36937,11 +38792,11 @@
<method name="collide">
<return type="bool">
</return>
- <argument index="0" name="local_xform" type="Matrix32">
+ <argument index="0" name="local_xform" type="Transform2D">
</argument>
<argument index="1" name="with_shape" type="Shape2D">
</argument>
- <argument index="2" name="shape_xform" type="Matrix32">
+ <argument index="2" name="shape_xform" type="Transform2D">
</argument>
<description>
Return whether this shape is colliding with another.
@@ -36951,11 +38806,11 @@
<method name="collide_and_get_contacts">
<return type="Variant">
</return>
- <argument index="0" name="local_xform" type="Matrix32">
+ <argument index="0" name="local_xform" type="Transform2D">
</argument>
<argument index="1" name="with_shape" type="Shape2D">
</argument>
- <argument index="2" name="shape_xform" type="Matrix32">
+ <argument index="2" name="shape_xform" type="Transform2D">
</argument>
<description>
Return a list of the points where this shape touches another. If there are no collisions, the list is empty.
@@ -36965,13 +38820,13 @@
<method name="collide_with_motion">
<return type="bool">
</return>
- <argument index="0" name="local_xform" type="Matrix32">
+ <argument index="0" name="local_xform" type="Transform2D">
</argument>
<argument index="1" name="local_motion" type="Vector2">
</argument>
<argument index="2" name="with_shape" type="Shape2D">
</argument>
- <argument index="3" name="shape_xform" type="Matrix32">
+ <argument index="3" name="shape_xform" type="Transform2D">
</argument>
<argument index="4" name="shape_motion" type="Vector2">
</argument>
@@ -36983,13 +38838,13 @@
<method name="collide_with_motion_and_get_contacts">
<return type="Variant">
</return>
- <argument index="0" name="local_xform" type="Matrix32">
+ <argument index="0" name="local_xform" type="Transform2D">
</argument>
<argument index="1" name="local_motion" type="Vector2">
</argument>
<argument index="2" name="with_shape" type="Shape2D">
</argument>
- <argument index="3" name="shape_xform" type="Matrix32">
+ <argument index="3" name="shape_xform" type="Transform2D">
</argument>
<argument index="4" name="shape_motion" type="Vector2">
</argument>
@@ -37014,6 +38869,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="custom_solver_bias" type="float" setter="set_custom_solver_bias" getter="get_custom_solver_bias" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -37056,6 +38915,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="shortcut" type="InputEvent" setter="set_shortcut" getter="get_shortcut" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -37253,6 +39116,42 @@
</constant>
</constants>
</class>
+<class name="SkyBox" inherits="Resource" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_radiance_size" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_radiance_size">
+ <argument index="0" name="size" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="radiance_size" type="int" setter="set_radiance_size" getter="get_radiance_size" brief="">
+ </member>
+ </members>
+ <constants>
+ <constant name="RADIANCE_SIZE_256" value="0">
+ </constant>
+ <constant name="RADIANCE_SIZE_512" value="1">
+ </constant>
+ <constant name="RADIANCE_SIZE_1024" value="2">
+ </constant>
+ <constant name="RADIANCE_SIZE_2048" value="3">
+ </constant>
+ <constant name="RADIANCE_SIZE_MAX" value="4">
+ </constant>
+ </constants>
+</class>
<class name="Slider" inherits="Range" category="Core">
<brief_description>
Base class for GUI Sliders.
@@ -37290,6 +39189,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" brief="">
+ </member>
+ <member name="tick_count" type="int" setter="set_ticks" getter="get_ticks" brief="">
+ </member>
+ <member name="ticks_on_borders" type="bool" setter="set_ticks_on_borders" getter="get_ticks_on_borders" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -37316,6 +39223,52 @@
</description>
</method>
</methods>
+ <members>
+ <member name="angular_limit/damping" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_limit/lower_angle" type="float" setter="_set_lower_limit_angular" getter="_get_lower_limit_angular" brief="">
+ </member>
+ <member name="angular_limit/restitution" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_limit/softness" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_limit/upper_angle" type="float" setter="_set_upper_limit_angular" getter="_get_upper_limit_angular" brief="">
+ </member>
+ <member name="angular_motion/damping" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_motion/restitution" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_motion/softness" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_ortho/damping" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_ortho/restitution" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="angular_ortho/softness" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_limit/damping" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_limit/lower_distance" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_limit/restitution" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_limit/softness" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_limit/upper_distance" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_motion/damping" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_motion/restitution" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_motion/softness" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_ortho/damping" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_ortho/restitution" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="linear_ortho/softness" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ </members>
<constants>
<constant name="PARAM_LINEAR_LIMIT_UPPER" value="0">
</constant>
@@ -37365,96 +39318,6 @@
</constant>
</constants>
</class>
-<class name="SoundPlayer2D" inherits="Node2D" category="Core">
- <brief_description>
- Base class for playing spatial 2D sound.
- </brief_description>
- <description>
- Base class for playing spatial 2D sound.
- </description>
- <methods>
- <method name="get_param" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="param" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_param">
- <argument index="0" name="param" type="int">
- </argument>
- <argument index="1" name="value" type="float">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <constants>
- <constant name="PARAM_VOLUME_DB" value="0">
- </constant>
- <constant name="PARAM_PITCH_SCALE" value="1">
- </constant>
- <constant name="PARAM_ATTENUATION_MIN_DISTANCE" value="2">
- </constant>
- <constant name="PARAM_ATTENUATION_MAX_DISTANCE" value="3">
- </constant>
- <constant name="PARAM_ATTENUATION_DISTANCE_EXP" value="4">
- </constant>
- <constant name="PARAM_MAX" value="5">
- </constant>
- </constants>
-</class>
-<class name="SoundRoomParams" inherits="Node" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- <method name="get_param" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="param" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_reverb_mode" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="is_forcing_params_to_all_sources">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="set_force_params_to_all_sources">
- <argument index="0" name="enabled" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_param">
- <argument index="0" name="param" type="int">
- </argument>
- <argument index="1" name="value" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_reverb_mode">
- <argument index="0" name="reverb_mode" type="int">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="Spatial" inherits="Node" category="Core">
<brief_description>
Base class for all 3D nodes.
@@ -37538,19 +39401,19 @@
<description>
</description>
</method>
- <method name="is_hidden" qualifiers="const">
+ <method name="is_local_transform_notification_enabled" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
- <method name="is_local_transform_notification_enabled" qualifiers="const">
+ <method name="is_set_as_toplevel" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
- <method name="is_set_as_toplevel" qualifiers="const">
+ <method name="is_transform_notification_enabled" qualifiers="const">
<return type="bool">
</return>
<description>
@@ -37562,6 +39425,12 @@
<description>
</description>
</method>
+ <method name="is_visible_in_tree" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="look_at">
<argument index="0" name="target" type="Vector3">
</argument>
@@ -37629,12 +39498,6 @@
Set the transform globally, relative to worldspace.
</description>
</method>
- <method name="set_hidden">
- <argument index="0" name="hidden" type="bool">
- </argument>
- <description>
- </description>
- </method>
<method name="set_identity">
<description>
</description>
@@ -37651,6 +39514,12 @@
<description>
</description>
</method>
+ <method name="set_notify_transform">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_rotation">
<argument index="0" name="rotation_rad" type="Vector3">
</argument>
@@ -37682,6 +39551,12 @@
<description>
</description>
</method>
+ <method name="set_visible">
+ <argument index="0" name="arg0" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="show">
<description>
</description>
@@ -37697,6 +39572,24 @@
</description>
</method>
</methods>
+ <members>
+ <member name="_import_transform" type="Transform" setter="_set_import_transform" getter="_get_import_transform" brief="">
+ </member>
+ <member name="global_transform" type="Transform" setter="set_global_transform" getter="get_global_transform" brief="">
+ </member>
+ <member name="rotation" type="Vector3" setter="set_rotation" getter="get_rotation" brief="">
+ </member>
+ <member name="rotation_deg" type="Vector3" setter="set_rotation_deg" getter="get_rotation_deg" brief="">
+ </member>
+ <member name="scale" type="Vector3" setter="set_scale" getter="get_scale" brief="">
+ </member>
+ <member name="transform" type="Transform" setter="set_transform" getter="get_transform" brief="">
+ </member>
+ <member name="translation" type="Vector3" setter="set_translation" getter="get_translation" brief="">
+ </member>
+ <member name="visible" type="bool" setter="set_visible" getter="is_visible" brief="">
+ </member>
+ </members>
<signals>
<signal name="visibility_changed">
<description>
@@ -37725,143 +39618,7 @@
<constants>
</constants>
</class>
-<class name="SpatialPlayer" inherits="Spatial" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- <method name="get_param" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="param" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_param">
- <argument index="0" name="param" type="int">
- </argument>
- <argument index="1" name="value" type="float">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <constants>
- <constant name="PARAM_VOLUME_DB" value="0">
- </constant>
- <constant name="PARAM_PITCH_SCALE" value="1">
- </constant>
- <constant name="PARAM_ATTENUATION_MIN_DISTANCE" value="2">
- </constant>
- <constant name="PARAM_ATTENUATION_MAX_DISTANCE" value="3">
- </constant>
- <constant name="PARAM_ATTENUATION_DISTANCE_EXP" value="4">
- </constant>
- <constant name="PARAM_EMISSION_CONE_DEGREES" value="5">
- </constant>
- <constant name="PARAM_EMISSION_CONE_ATTENUATION_DB" value="6">
- </constant>
- <constant name="PARAM_MAX" value="7">
- </constant>
- </constants>
-</class>
-<class name="SpatialSamplePlayer" inherits="SpatialPlayer" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- <method name="get_polyphony" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_sample_library" qualifiers="const">
- <return type="SampleLibrary">
- </return>
- <description>
- </description>
- </method>
- <method name="is_voice_active" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="play">
- <return type="int">
- </return>
- <argument index="0" name="sample" type="String">
- </argument>
- <argument index="1" name="voice" type="int" default="-2">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_polyphony">
- <argument index="0" name="voices" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_sample_library">
- <argument index="0" name="library" type="SampleLibrary">
- </argument>
- <description>
- </description>
- </method>
- <method name="stop_all">
- <description>
- </description>
- </method>
- <method name="stop_voice">
- <argument index="0" name="voice" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="voice_set_pitch_scale">
- <argument index="0" name="voice" type="int">
- </argument>
- <argument index="1" name="ratio" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="voice_set_volume_scale_db">
- <argument index="0" name="voice" type="int">
- </argument>
- <argument index="1" name="db" type="float">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <constants>
- <constant name="INVALID_VOICE" value="-1">
- </constant>
- <constant name="NEXT_VOICE" value="-2">
- </constant>
- </constants>
-</class>
-<class name="SpatialSound2DServer" inherits="Object" category="Core">
- <brief_description>
- Server for Spatial 2D Sound.
- </brief_description>
- <description>
- Server for Spatial 2D Sound.
- </description>
- <methods>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="SpatialSound2DServerSW" inherits="SpatialSound2DServer" category="Core">
+<class name="SpatialShader" inherits="Shader" category="Core">
<brief_description>
</brief_description>
<description>
@@ -37871,178 +39628,6 @@
<constants>
</constants>
</class>
-<class name="SpatialSoundServer" inherits="Object" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="SpatialSoundServerSW" inherits="SpatialSoundServer" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="SpatialStreamPlayer" inherits="SpatialPlayer" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- <method name="get_buffering_msec" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_length" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_loop_count" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_loop_restart_time" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_pos" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_stream" qualifiers="const">
- <return type="AudioStream">
- </return>
- <description>
- </description>
- </method>
- <method name="get_stream_name" qualifiers="const">
- <return type="String">
- </return>
- <description>
- </description>
- </method>
- <method name="get_volume" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_volume_db" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="has_autoplay" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="has_loop" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="is_paused" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="is_playing" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="play">
- <argument index="0" name="offset" type="float" default="0">
- </argument>
- <description>
- </description>
- </method>
- <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="set_buffering_msec">
- <argument index="0" name="msec" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_loop">
- <argument index="0" name="enabled" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_loop_restart_time">
- <argument index="0" name="secs" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_paused">
- <argument index="0" name="paused" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_stream">
- <argument index="0" name="stream" type="AudioStream">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_volume">
- <argument index="0" name="volume" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_volume_db">
- <argument index="0" name="db" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="stop">
- <description>
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="SphereShape" inherits="Shape" category="Core">
<brief_description>
</brief_description>
@@ -38062,6 +39647,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="radius" type="float" setter="set_radius" getter="get_radius" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -38121,6 +39710,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="editable" type="bool" setter="set_editable" getter="is_editable" brief="">
+ </member>
+ <member name="prefix" type="String" setter="set_prefix" getter="get_prefix" brief="">
+ </member>
+ <member name="suffix" type="String" setter="set_suffix" getter="get_suffix" brief="">
+ </member>
+ </members>
<constants>
</constants>
<theme_items>
@@ -38179,6 +39776,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="collapsed" type="bool" setter="set_collapsed" getter="is_collapsed" brief="">
+ </member>
+ <member name="dragger_visibility" type="int" setter="set_dragger_visibility" getter="get_dragger_visibility" brief="">
+ </member>
+ <member name="split_offset" type="int" setter="set_split_offset" getter="get_split_offset" brief="">
+ </member>
+ </members>
<signals>
<signal name="dragged">
<argument index="0" name="offset" type="int">
@@ -38209,6 +39814,16 @@
</description>
<methods>
</methods>
+ <members>
+ <member name="spot_angle" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="spot_angle_attenuation" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="spot_attenuation" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ <member name="spot_range" type="float" setter="set_param" getter="get_param" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -38234,13 +39849,6 @@
Return the amount of horizontal frames. See [method set_hframes].
</description>
</method>
- <method name="get_modulate" qualifiers="const">
- <return type="Color">
- </return>
- <description>
- Return color modulation for the sprite. All sprite pixels are multiplied by this color.
- </description>
- </method>
<method name="get_offset" qualifiers="const">
<return type="Vector2">
</return>
@@ -38332,13 +39940,6 @@
Set the amount of horizontal frames and converts the sprite into a sprite-sheet. This is useful for animation.
</description>
</method>
- <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. Color may contain rgb values above 1 to achieve a highlight effect.
- </description>
- </method>
<method name="set_offset">
<argument index="0" name="offset" type="Vector2">
</argument>
@@ -38375,6 +39976,28 @@
</description>
</method>
</methods>
+ <members>
+ <member name="centered" type="bool" setter="set_centered" getter="is_centered" brief="">
+ </member>
+ <member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h" brief="">
+ </member>
+ <member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v" brief="">
+ </member>
+ <member name="frame" type="int" setter="set_frame" getter="get_frame" brief="">
+ </member>
+ <member name="hframes" type="int" setter="set_hframes" getter="get_hframes" brief="">
+ </member>
+ <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" brief="">
+ </member>
+ <member name="region" type="bool" setter="set_region" getter="is_region" brief="">
+ </member>
+ <member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" brief="">
+ </member>
+ <member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="vframes" type="int" setter="set_vframes" getter="get_vframes" brief="">
+ </member>
+ </members>
<signals>
<signal name="frame_changed">
<description>
@@ -38467,6 +40090,20 @@
</description>
</method>
</methods>
+ <members>
+ <member name="frame" type="int" setter="set_frame" getter="get_frame" brief="">
+ </member>
+ <member name="hframes" type="int" setter="set_hframes" getter="get_hframes" brief="">
+ </member>
+ <member name="region" type="bool" setter="set_region" getter="is_region" brief="">
+ </member>
+ <member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" brief="">
+ </member>
+ <member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="vframes" type="int" setter="set_vframes" getter="get_vframes" brief="">
+ </member>
+ </members>
<signals>
<signal name="frame_changed">
<description>
@@ -38613,6 +40250,30 @@
</description>
</method>
</methods>
+ <members>
+ <member name="alpha_cut" type="int" setter="set_alpha_cut_mode" getter="get_alpha_cut_mode" brief="">
+ </member>
+ <member name="axis" type="int" setter="set_axis" getter="get_axis" brief="">
+ </member>
+ <member name="centered" type="bool" setter="set_centered" getter="is_centered" brief="">
+ </member>
+ <member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h" brief="">
+ </member>
+ <member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v" brief="">
+ </member>
+ <member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" brief="">
+ </member>
+ <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" brief="">
+ </member>
+ <member name="opacity" type="float" setter="set_opacity" getter="get_opacity" brief="">
+ </member>
+ <member name="pixel_size" type="float" setter="set_pixel_size" getter="get_pixel_size" brief="">
+ </member>
+ <member name="shaded" type="bool" setter="set_draw_flag" getter="get_draw_flag" brief="">
+ </member>
+ <member name="transparent" type="bool" setter="set_draw_flag" getter="get_draw_flag" brief="">
+ </member>
+ </members>
<constants>
<constant name="FLAG_TRANSPARENT" value="0">
</constant>
@@ -38753,6 +40414,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="animations" type="Array" setter="_set_animations" getter="_get_animations" brief="">
+ </member>
+ <member name="frames" type="Array" setter="_set_frames" getter="_get_frames" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -38823,6 +40490,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="bounce" type="float" setter="set_bounce" getter="get_bounce" brief="">
+ </member>
+ <member name="constant_angular_velocity" type="Vector3" setter="set_constant_angular_velocity" getter="get_constant_angular_velocity" brief="">
+ </member>
+ <member name="constant_linear_velocity" type="Vector3" setter="set_constant_linear_velocity" getter="get_constant_linear_velocity" brief="">
+ </member>
+ <member name="friction" type="float" setter="set_friction" getter="get_friction" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -38893,6 +40570,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="bounce" type="float" setter="set_bounce" getter="get_bounce" brief="">
+ </member>
+ <member name="constant_angular_velocity" type="float" setter="set_constant_angular_velocity" getter="get_constant_angular_velocity" brief="">
+ </member>
+ <member name="constant_linear_velocity" type="Vector2" setter="set_constant_linear_velocity" getter="get_constant_linear_velocity" brief="">
+ </member>
+ <member name="friction" type="float" setter="set_friction" getter="get_friction" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -39062,7 +40749,7 @@
<method name="put_data">
<return type="int">
</return>
- <argument index="0" name="data" type="RawArray">
+ <argument index="0" name="data" type="PoolByteArray">
</argument>
<description>
Send a chunk of data through the connection, blocking if necessary until the data is done sending. This function returns an Error code.
@@ -39085,7 +40772,7 @@
<method name="put_partial_data">
<return type="Array">
</return>
- <argument index="0" name="data" type="RawArray">
+ <argument index="0" name="data" type="PoolByteArray">
</argument>
<description>
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.
@@ -39161,7 +40848,7 @@
</description>
</method>
<method name="get_data_array" qualifiers="const">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<description>
</description>
@@ -39191,7 +40878,7 @@
</description>
</method>
<method name="set_data_array">
- <argument index="0" name="data" type="RawArray">
+ <argument index="0" name="data" type="PoolByteArray">
</argument>
<description>
</description>
@@ -39208,7 +40895,7 @@
SSL Stream peer. This object can be used to connect to SSL servers.
</description>
<methods>
- <method name="accept">
+ <method name="accept_stream">
<return type="Error">
</return>
<argument index="0" name="stream" type="StreamPeer">
@@ -39216,7 +40903,7 @@
<description>
</description>
</method>
- <method name="connect">
+ <method name="connect_to_stream">
<return type="Error">
</return>
<argument index="0" name="stream" type="StreamPeer">
@@ -39229,7 +40916,7 @@
Connect to a peer using an underlying [StreamPeer] "stream", when "validate_certs" is true, [StreamPeerSSL] will validate that the certificate presented by the peer matches the "for_hostname".
</description>
</method>
- <method name="disconnect">
+ <method name="disconnect_from_stream">
<description>
Disconnect from host.
</description>
@@ -39265,7 +40952,7 @@
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_to_host">
<return type="int">
</return>
<argument index="0" name="host" type="String">
@@ -39276,7 +40963,7 @@
Connect to the specified host:port pair. A hostname will be resolved if valid. Returns [OK] on success or [FAILED] on failure.
</description>
</method>
- <method name="disconnect">
+ <method name="disconnect_from_host">
<description>
Disconnect from host.
</description>
@@ -39302,11 +40989,10 @@
Return the status of the connection, one of STATUS_* enum.
</description>
</method>
- <method name="is_connected" qualifiers="const">
+ <method name="is_connected_to_host" qualifiers="const">
<return type="bool">
</return>
<description>
- Return whether this peer is connected. Returns true while connecting and connected.
</description>
</method>
</methods>
@@ -39325,205 +41011,240 @@
</constant>
</constants>
</class>
-<class name="StreamPlayer" inherits="Node" category="Core">
+<class name="StreamTexture" inherits="Texture" category="Core">
<brief_description>
- Base class for audio stream playback.
</brief_description>
<description>
- Base class for audio stream playback. Audio stream players inherit from it.
</description>
<methods>
- <method name="get_buffering_msec" qualifiers="const">
+ <method name="get_load_path" qualifiers="const">
+ <return type="String">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="load">
<return type="int">
</return>
+ <argument index="0" name="path" type="String">
+ </argument>
<description>
- Return the size of the audio buffer.
</description>
</method>
- <method name="get_length" qualifiers="const">
- <return type="float">
+ </methods>
+ <members>
+ <member name="load_path" type="String" setter="load" getter="get_load_path" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="String" category="Built-In Types">
+ <brief_description>
+ 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 necessary 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="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="bool">
+ </argument>
<description>
- Return the length of the stream, in seconds.
</description>
</method>
- <method name="get_loop_count" qualifiers="const">
- <return type="int">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="int">
+ </argument>
<description>
- Return the number of times the playback has looped.
</description>
</method>
- <method name="get_loop_restart_time" qualifiers="const">
- <return type="float">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="float">
+ </argument>
<description>
- Return the point in time the stream will rewind to, when looping.
</description>
</method>
- <method name="get_pos" qualifiers="const">
- <return type="float">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="Vector2">
+ </argument>
<description>
- Return the playback position, in seconds.
</description>
</method>
- <method name="get_stream" qualifiers="const">
- <return type="AudioStream">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="Rect2">
+ </argument>
<description>
- Return the currently assigned stream.
</description>
</method>
- <method name="get_stream_name" qualifiers="const">
+ <method name="String">
<return type="String">
</return>
+ <argument index="0" name="from" type="Vector3">
+ </argument>
<description>
- Return the name of the currently assigned stream. This is not the file name, but a field inside the file. If no stream is assigned, if returns "&lt;No Stream&gt;".
</description>
</method>
- <method name="get_volume" qualifiers="const">
- <return type="float">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="Transform2D">
+ </argument>
<description>
- Return the playback volume for this player.
</description>
</method>
- <method name="get_volume_db" qualifiers="const">
- <return type="float">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="Plane">
+ </argument>
<description>
- Return the playback volume for this player, in decibels.
</description>
</method>
- <method name="has_autoplay" qualifiers="const">
- <return type="bool">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="Quat">
+ </argument>
<description>
- Return whether this player will start playing as soon as it enters the scene tree.
</description>
</method>
- <method name="has_loop" qualifiers="const">
- <return type="bool">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="Rect3">
+ </argument>
<description>
- Return whether the stream will be restarted at the end.
</description>
</method>
- <method name="is_paused" qualifiers="const">
- <return type="bool">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="Basis">
+ </argument>
<description>
- Return whether the playback is currently paused.
</description>
</method>
- <method name="is_playing" qualifiers="const">
- <return type="bool">
+ <method name="String">
+ <return type="String">
</return>
+ <argument index="0" name="from" type="Transform">
+ </argument>
<description>
- Return whether this player is playing.
</description>
</method>
- <method name="play">
- <argument index="0" name="offset" type="float" default="0">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="Color">
</argument>
<description>
- Play the currently assigned stream, starting from a given position (in seconds).
</description>
</method>
- <method name="seek_pos">
- <argument index="0" name="time" type="float">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="NodePath">
</argument>
<description>
- Set the playback position, in seconds.
</description>
</method>
- <method name="set_autoplay">
- <argument index="0" name="enabled" type="bool">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="RID">
</argument>
<description>
- Set whether this player will start playing as soon as it enters the scene tree.
</description>
</method>
- <method name="set_buffering_msec">
- <argument index="0" name="msec" type="int">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="InputEvent">
</argument>
<description>
- Set the size (in milliseconds) of the audio buffer. A long audio buffer protects better against slowdowns, but responds worse to changes (in volume, stream played...). A shorter buffer takes less time to respond to changes, but may stutter if the application suffers some slowdown.
- Default is 500 milliseconds.
</description>
</method>
- <method name="set_loop">
- <argument index="0" name="enabled" type="bool">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="Dictionary">
</argument>
<description>
- Set whether the stream will be restarted at the end.
</description>
</method>
- <method name="set_loop_restart_time">
- <argument index="0" name="secs" type="float">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="Array">
</argument>
<description>
- Set the point in time the stream will rewind to, when looping.
</description>
</method>
- <method name="set_paused">
- <argument index="0" name="paused" type="bool">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="PoolByteArray">
</argument>
<description>
- Pause stream playback.
</description>
</method>
- <method name="set_stream">
- <argument index="0" name="stream" type="AudioStream">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="PoolIntArray">
</argument>
<description>
- Set the [EventStream] this player will play.
</description>
</method>
- <method name="set_volume">
- <argument index="0" name="volume" type="float">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="PoolRealArray">
</argument>
<description>
- Set the playback volume for this player. This is a float between 0.0 (silent) and 1.0 (full volume). Values over 1.0 will amplify sound even more, but may introduce distortion. Negative values will just invert the output waveform, which produces no audible difference.
</description>
</method>
- <method name="set_volume_db">
- <argument index="0" name="db" type="float">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="PoolStringArray">
</argument>
<description>
- Set the playback volume for this player, in decibels. This is a float between -80.0 (silent) and 0.0 (full volume). Values under -79.0 get truncated to -80, but values over 0.0 do not, so the warnings for overamplifying (see [method set_volume]) still apply.
</description>
</method>
- <method name="stop">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="PoolVector2Array">
+ </argument>
<description>
- Stop the playback.
</description>
</method>
- </methods>
- <signals>
- <signal name="finished">
+ <method name="String">
+ <return type="String">
+ </return>
+ <argument index="0" name="from" type="PoolVector3Array">
+ </argument>
<description>
- This signal triggers when the player stops playing. It will not trigger on each loop.
</description>
- </signal>
- </signals>
- <constants>
- </constants>
-</class>
-<class name="String" category="Built-In Types">
- <brief_description>
- 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 necessary 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>
+ <method name="String">
<return type="String">
</return>
+ <argument index="0" name="from" type="PoolColorArray">
+ </argument>
<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">
@@ -39536,7 +41257,7 @@
</description>
</method>
<method name="bigrams">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Return the bigrams (pairs of consecutive letters) of this string.
@@ -39597,13 +41318,6 @@
Erase [code]chars[/code] characters from the string starting from [code]pos[/code].
</description>
</method>
- <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">
<return type="int">
</return>
@@ -39635,6 +41349,16 @@
Find the first occurrence 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="format">
+ <return type="String">
+ </return>
+ <argument index="0" name="values" type="var">
+ </argument>
+ <argument index="1" name="placeholder" type="String" default="{_}">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_base_dir">
<return type="String">
</return>
@@ -39642,6 +41366,20 @@
If the string is a path to a file, return the base directory.
</description>
</method>
+ <method name="get_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="get_extension">
+ <return type="String">
+ </return>
+ <description>
+ If the string is a path to a file, return the extension.
+ </description>
+ </method>
<method name="get_file">
<return type="String">
</return>
@@ -39783,7 +41521,7 @@
</description>
</method>
<method name="md5_buffer">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<description>
Return the MD5 hash of the string as an array of bytes.
@@ -39909,7 +41647,7 @@
</description>
</method>
<method name="sha256_buffer">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<description>
</description>
@@ -39931,7 +41669,7 @@
</description>
</method>
<method name="split">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="divisor" type="String">
</argument>
@@ -39942,7 +41680,7 @@
</description>
</method>
<method name="split_floats">
- <return type="RealArray">
+ <return type="PoolRealArray">
</return>
<argument index="0" name="divisor" type="String">
</argument>
@@ -39975,10 +41713,10 @@
</description>
</method>
<method name="to_ascii">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<description>
- Convert the String (which is a character array) to RawArray (which is an array of bytes). The conversion is speeded up in comparison to to_utf8() with the assumption that all the characters the String contains are only ASCII characters.
+ Convert the String (which is a character array) to PoolByteArray (which is an array of bytes). The conversion is speeded up in comparison to to_utf8() with the assumption that all the characters the String contains are only ASCII characters.
</description>
</method>
<method name="to_float">
@@ -40010,10 +41748,10 @@
</description>
</method>
<method name="to_utf8">
- <return type="RawArray">
+ <return type="PoolByteArray">
</return>
<description>
- Convert the String (which is an array of characters) to RawArray (which is an array of bytes). The conversion is a bit slower than to_ascii(), but supports all UTF-8 characters. Therefore, you should prefer this function over to_ascii().
+ Convert the String (which is an array of characters) to PoolByteArray (which is an array of bytes). The conversion is a bit slower than to_ascii(), but supports all UTF-8 characters. Therefore, you should prefer this function over to_ascii().
</description>
</method>
<method name="xml_escape">
@@ -40034,94 +41772,6 @@
<constants>
</constants>
</class>
-<class name="StringArray" category="Built-In Types">
- <brief_description>
- String Array.
- </brief_description>
- <description>
- String Array. Array of strings. Can only contain strings. Optimized for memory usage, can't fragment the memory.
- </description>
- <methods>
- <method name="StringArray">
- <return type="StringArray">
- </return>
- <argument index="0" name="from" type="Array">
- </argument>
- <description>
- Create from a generic array.
- </description>
- </method>
- <method name="append">
- <argument index="0" name="string" type="String">
- </argument>
- <description>
- Append an element at the end of the array (alias of [method push_back]).
- </description>
- </method>
- <method name="append_array">
- <argument index="0" name="array" type="StringArray">
- </argument>
- <description>
- Append an [StringArray] at the end of this array.
- </description>
- </method>
- <method name="insert">
- <return type="int">
- </return>
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="string" type="String">
- </argument>
- <description>
- 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">
- <description>
- Reverse the order of the elements in the array (so first element will now be the last).
- </description>
- </method>
- <method name="push_back">
- <argument index="0" name="string" type="String">
- </argument>
- <description>
- Append a string element at end of the array.
- </description>
- </method>
- <method name="remove">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Remove an element from the array by index.
- </description>
- </method>
- <method name="resize">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Set the size of the [StringArray]. 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">
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="string" type="String">
- </argument>
- <description>
- Change the [String] at the given index.
- </description>
- </method>
- <method name="size">
- <return type="int">
- </return>
- <description>
- Return the size of the array.
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="StyleBox" inherits="Resource" category="Core">
<brief_description>
Base class for drawing stylized boxes for the UI.
@@ -40197,6 +41847,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="content_margin_bottom" type="float" setter="set_default_margin" getter="get_default_margin" brief="">
+ </member>
+ <member name="content_margin_left" type="float" setter="set_default_margin" getter="get_default_margin" brief="">
+ </member>
+ <member name="content_margin_right" type="float" setter="set_default_margin" getter="get_default_margin" brief="">
+ </member>
+ <member name="content_margin_top" type="float" setter="set_default_margin" getter="get_default_margin" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -40293,64 +41953,20 @@
</description>
</method>
</methods>
- <constants>
- </constants>
-</class>
-<class name="StyleBoxImageMask" inherits="StyleBox" category="Core">
- <brief_description>
- Image mask based StyleBox, for mask test.
- </brief_description>
- <description>
- 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 point clicked is masked or not.
- </description>
- <methods>
- <method name="get_expand" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- Return whether 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="get_expand_margin_size" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="margin" type="int">
- </argument>
- <description>
- Return the 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_image" qualifiers="const">
- <return type="Image">
- </return>
- <description>
- Return the image used for mask testing. (see [method set_image]).
- </description>
- </method>
- <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="set_expand_margin_size">
- <argument index="0" name="margin" type="int">
- </argument>
- <argument index="1" name="size" type="float">
- </argument>
- <description>
- Set an expand margin size (from enum MARGIN_*). Parts of the image below the size of the margin (and in the direction of the margin) will not expand.
- </description>
- </method>
- <method name="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>
- </methods>
+ <members>
+ <member name="bg_color" type="Color" setter="set_bg_color" getter="get_bg_color" brief="">
+ </member>
+ <member name="border_blend" type="bool" setter="set_border_blend" getter="get_border_blend" brief="">
+ </member>
+ <member name="border_size" type="int" setter="set_border_size" getter="get_border_size" brief="">
+ </member>
+ <member name="dark_color" type="Color" setter="set_dark_color" getter="get_dark_color" brief="">
+ </member>
+ <member name="draw_bg" type="bool" setter="set_draw_center" getter="get_draw_center" brief="">
+ </member>
+ <member name="light_color" type="Color" setter="set_light_color" getter="get_light_color" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -40443,6 +42059,32 @@
</description>
</method>
</methods>
+ <members>
+ <member name="draw_center" type="bool" setter="set_draw_center" getter="get_draw_center" brief="">
+ </member>
+ <member name="expand_margin_bottom" type="float" setter="set_expand_margin_size" getter="get_expand_margin_size" brief="">
+ </member>
+ <member name="expand_margin_left" type="float" setter="set_expand_margin_size" getter="get_expand_margin_size" brief="">
+ </member>
+ <member name="expand_margin_right" type="float" setter="set_expand_margin_size" getter="get_expand_margin_size" brief="">
+ </member>
+ <member name="expand_margin_top" type="float" setter="set_expand_margin_size" getter="get_expand_margin_size" brief="">
+ </member>
+ <member name="margin_bottom" type="float" setter="set_margin_size" getter="get_margin_size" brief="">
+ </member>
+ <member name="margin_left" type="float" setter="set_margin_size" getter="get_margin_size" brief="">
+ </member>
+ <member name="margin_right" type="float" setter="set_margin_size" getter="get_margin_size" brief="">
+ </member>
+ <member name="margin_top" type="float" setter="set_margin_size" getter="get_margin_size" brief="">
+ </member>
+ <member name="modulate_color" type="Color" setter="set_modulate" getter="get_modulate" brief="">
+ </member>
+ <member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" brief="">
+ </member>
+ <member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ </members>
<signals>
<signal name="texture_changed">
<description>
@@ -40461,7 +42103,7 @@
</description>
<methods>
<method name="add_bones">
- <argument index="0" name="bones" type="IntArray">
+ <argument index="0" name="bones" type="PoolIntArray">
</argument>
<description>
</description>
@@ -40497,15 +42139,15 @@
</description>
</method>
<method name="add_triangle_fan">
- <argument index="0" name="vertexes" type="Vector3Array">
+ <argument index="0" name="vertexes" type="PoolVector3Array">
</argument>
- <argument index="1" name="uvs" type="Vector2Array" default="Vector2Array([])">
+ <argument index="1" name="uvs" type="PoolVector2Array" default="PoolVector2Array([])">
</argument>
- <argument index="2" name="colors" type="ColorArray" default="ColorArray([ColorArray])">
+ <argument index="2" name="colors" type="PoolColorArray" default="PoolColorArray([PoolColorArray])">
</argument>
- <argument index="3" name="uv2s" type="Vector2Array" default="Vector2Array([])">
+ <argument index="3" name="uv2s" type="PoolVector2Array" default="PoolVector2Array([])">
</argument>
- <argument index="4" name="normals" type="Vector3Array" default="Vector3Array([])">
+ <argument index="4" name="normals" type="PoolVector3Array" default="PoolVector3Array([])">
</argument>
<argument index="5" name="tangents" type="Array" default="Array()">
</argument>
@@ -40531,7 +42173,7 @@
</description>
</method>
<method name="add_weights">
- <argument index="0" name="weights" type="RealArray">
+ <argument index="0" name="weights" type="PoolRealArray">
</argument>
<description>
</description>
@@ -40596,7 +42238,7 @@
</return>
<argument index="0" name="port" type="int">
</argument>
- <argument index="1" name="bind_address" type="String" default="*">
+ <argument index="1" name="bind_address" type="String" default="&quot;*&quot;">
</argument>
<description>
Listen on the "port" binding to "bind_address".
@@ -40644,13 +42286,6 @@
Return the current tab index that is being shown.
</description>
</method>
- <method name="get_previous_tab" qualifiers="const">
- <return type="int">
- </return>
- <description>
- Return the previous tab index that was being shown.
- </description>
- </method>
<method name="get_current_tab_control" qualifiers="const">
<return type="Control">
</return>
@@ -40663,6 +42298,13 @@
<description>
</description>
</method>
+ <method name="get_previous_tab" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ Return the previous tab index that was being shown.
+ </description>
+ </method>
<method name="get_tab_align" qualifiers="const">
<return type="int">
</return>
@@ -40686,6 +42328,14 @@
Return the amount of tabs.
</description>
</method>
+ <method name="get_tab_disabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="tab_idx" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_tab_icon" qualifiers="const">
<return type="Texture">
</return>
@@ -40723,6 +42373,14 @@
Set tab alignment, from the ALIGN_* enum. Moves tabs to the left, right or center.
</description>
</method>
+ <method name="set_tab_disabled">
+ <argument index="0" name="tab_idx" type="int">
+ </argument>
+ <argument index="1" name="disabled" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_tab_icon">
<argument index="0" name="tab_idx" type="int">
</argument>
@@ -40749,6 +42407,14 @@
</description>
</method>
</methods>
+ <members>
+ <member name="current_tab" type="int" setter="set_current_tab" getter="get_current_tab" brief="">
+ </member>
+ <member name="tab_align" type="int" setter="set_tab_align" getter="get_tab_align" brief="">
+ </member>
+ <member name="tabs_visible" type="bool" setter="set_tabs_visible" getter="are_tabs_visible" brief="">
+ </member>
+ </members>
<signals>
<signal name="pre_popup_pressed">
<description>
@@ -40761,7 +42427,7 @@
Emitted only when the current tab changes.
</description>
</signal>
- <signal name="tab_selected">
+ <signal name="tab_selected">
<argument index="0" name="tab" type="int">
</argument>
<description>
@@ -40780,6 +42446,8 @@
</theme_item>
<theme_item name="font_color_bg" type="Color">
</theme_item>
+ <theme_item name="font_color_disabled" type="Color">
+ </theme_item>
<theme_item name="font_color_fg" type="Color">
</theme_item>
<theme_item name="hseparation" type="int">
@@ -40802,6 +42470,8 @@
</theme_item>
<theme_item name="tab_bg" type="StyleBox">
</theme_item>
+ <theme_item name="tab_disabled" type="StyleBox">
+ </theme_item>
<theme_item name="tab_fg" type="StyleBox">
</theme_item>
<theme_item name="top_margin" type="int">
@@ -40848,6 +42518,14 @@
<description>
</description>
</method>
+ <method name="get_tab_disabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="tab_idx" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_tab_icon" qualifiers="const">
<return type="Texture">
</return>
@@ -40882,6 +42560,14 @@
<description>
</description>
</method>
+ <method name="set_tab_disabled">
+ <argument index="0" name="tab_idx" type="int">
+ </argument>
+ <argument index="1" name="disabled" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_tab_icon">
<argument index="0" name="tab_idx" type="int">
</argument>
@@ -40899,6 +42585,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="current_tab" type="int" setter="set_current_tab" getter="get_current_tab" brief="">
+ </member>
+ </members>
<signals>
<signal name="right_button_pressed">
<argument index="0" name="tab" type="int">
@@ -40948,6 +42638,8 @@
</theme_item>
<theme_item name="font_color_bg" type="Color">
</theme_item>
+ <theme_item name="font_color_disabled" type="Color">
+ </theme_item>
<theme_item name="font_color_fg" type="Color">
</theme_item>
<theme_item name="hseparation" type="int">
@@ -40964,6 +42656,8 @@
</theme_item>
<theme_item name="tab_bg" type="StyleBox">
</theme_item>
+ <theme_item name="tab_disabled" type="StyleBox">
+ </theme_item>
<theme_item name="tab_fg" type="StyleBox">
</theme_item>
<theme_item name="top_margin" type="int">
@@ -41226,7 +42920,7 @@
</description>
</method>
<method name="search" qualifiers="const">
- <return type="IntArray">
+ <return type="PoolIntArray">
</return>
<argument index="0" name="flags" type="String">
</argument>
@@ -41258,13 +42952,6 @@
Select all the text.
</description>
</method>
- <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="set_highlight_all_occurrences">
<argument index="0" name="enable" type="bool">
</argument>
@@ -41293,13 +42980,6 @@
Set to enable showing line numbers.
</description>
</method>
- <method name="set_symbol_color">
- <argument index="0" name="color" type="Color">
- </argument>
- <description>
- Set the color for symbols.
- </description>
- </method>
<method name="set_syntax_coloring">
<argument index="0" name="enable" type="bool">
</argument>
@@ -41327,6 +43007,20 @@
</description>
</method>
</methods>
+ <members>
+ <member name="caret_blink" type="bool" setter="cursor_set_blink_enabled" getter="cursor_get_blink_enabled" brief="">
+ </member>
+ <member name="caret_blink_speed" type="float" setter="cursor_set_blink_speed" getter="cursor_get_blink_speed" brief="">
+ </member>
+ <member name="caret_block_mode" type="bool" setter="cursor_set_block_mode" getter="cursor_is_block_mode" brief="">
+ </member>
+ <member name="highlight_all_occurrences" type="bool" setter="set_highlight_all_occurrences" getter="is_highlight_all_occurrences_enabled" brief="">
+ </member>
+ <member name="show_line_numbers" type="bool" setter="set_show_line_numbers" getter="is_show_line_numbers_enabled" brief="">
+ </member>
+ <member name="syntax_highlighting" type="bool" setter="set_syntax_coloring" getter="is_syntax_coloring_enabled" brief="">
+ </member>
+ </members>
<signals>
<signal name="breakpoint_toggled">
<argument index="0" name="row" type="int">
@@ -41386,6 +43080,8 @@
</constant>
</constants>
<theme_items>
+ <theme_item name="background_color" type="Color">
+ </theme_item>
<theme_item name="brace_mismatch_color" type="Color">
</theme_item>
<theme_item name="breakpoint_color" type="Color">
@@ -41508,13 +43204,6 @@
Return the texture height.
</description>
</method>
- <method name="get_rid" qualifiers="const">
- <return type="RID">
- </return>
- <description>
- Return the texture RID as used in the [VisualServer].
- </description>
- </method>
<method name="get_size" qualifiers="const">
<return type="Vector2">
</return>
@@ -41588,20 +43277,20 @@
<description>
</description>
</method>
- <method name="get_focused_texture" qualifiers="const">
- <return type="Texture">
+ <method name="get_expand" qualifiers="const">
+ <return type="bool">
</return>
<description>
</description>
</method>
- <method name="get_hover_texture" qualifiers="const">
+ <method name="get_focused_texture" qualifiers="const">
<return type="Texture">
</return>
<description>
</description>
</method>
- <method name="get_modulate" qualifiers="const">
- <return type="Color">
+ <method name="get_hover_texture" qualifiers="const">
+ <return type="Texture">
</return>
<description>
</description>
@@ -41618,8 +43307,8 @@
<description>
</description>
</method>
- <method name="get_texture_scale" qualifiers="const">
- <return type="Vector2">
+ <method name="get_stretch_mode" qualifiers="const">
+ <return type="int">
</return>
<description>
</description>
@@ -41636,20 +43325,20 @@
<description>
</description>
</method>
- <method name="set_focused_texture">
- <argument index="0" name="texture" type="Texture">
+ <method name="set_expand">
+ <argument index="0" name="p_expand" type="bool">
</argument>
<description>
</description>
</method>
- <method name="set_hover_texture">
+ <method name="set_focused_texture">
<argument index="0" name="texture" type="Texture">
</argument>
<description>
</description>
</method>
- <method name="set_modulate">
- <argument index="0" name="color" type="Color">
+ <method name="set_hover_texture">
+ <argument index="0" name="texture" type="Texture">
</argument>
<description>
</description>
@@ -41666,87 +43355,45 @@
<description>
</description>
</method>
- <method name="set_texture_scale">
- <argument index="0" name="scale" type="Vector2">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
-<class name="TextureRect" inherits="Control" category="Core">
- <brief_description>
- Control Frame that draws a texture.
- </brief_description>
- <description>
- 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="get_modulate" qualifiers="const">
- <return type="Color">
- </return>
- <description>
- </description>
- </method>
- <method name="get_stretch_mode" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_texture" qualifiers="const">
- <return type="Object">
- </return>
- <description>
- </description>
- </method>
- <method name="has_expand" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="set_expand">
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_modulate">
- <argument index="0" name="modulate" type="Color">
- </argument>
- <description>
- </description>
- </method>
<method name="set_stretch_mode">
- <argument index="0" name="stretch_mode" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_texture">
- <argument index="0" name="texture" type="Object">
+ <argument index="0" name="p_mode" type="int">
</argument>
<description>
</description>
</method>
</methods>
+ <members>
+ <member name="expand" type="bool" setter="set_expand" getter="get_expand" brief="">
+ </member>
+ <member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" brief="">
+ </member>
+ <member name="texture_click_mask" type="BitMap" setter="set_click_mask" getter="get_click_mask" brief="">
+ </member>
+ <member name="texture_disabled" type="Texture" setter="set_disabled_texture" getter="get_disabled_texture" brief="">
+ </member>
+ <member name="texture_focused" type="Texture" setter="set_focused_texture" getter="get_focused_texture" brief="">
+ </member>
+ <member name="texture_hover" type="Texture" setter="set_hover_texture" getter="get_hover_texture" brief="">
+ </member>
+ <member name="texture_normal" type="Texture" setter="set_normal_texture" getter="get_normal_texture" brief="">
+ </member>
+ <member name="texture_pressed" type="Texture" setter="set_pressed_texture" getter="get_pressed_texture" brief="">
+ </member>
+ </members>
<constants>
- <constant name="STRETCH_SCALE_ON_EXPAND" value="0">
+ <constant name="STRETCH_SCALE" value="0">
</constant>
- <constant name="STRETCH_SCALE" value="1">
+ <constant name="STRETCH_TILE" value="1">
</constant>
- <constant name="STRETCH_TILE" value="2">
+ <constant name="STRETCH_KEEP" value="2">
</constant>
- <constant name="STRETCH_KEEP" value="3">
+ <constant name="STRETCH_KEEP_CENTERED" value="3">
</constant>
- <constant name="STRETCH_KEEP_CENTERED" value="4">
+ <constant name="STRETCH_KEEP_ASPECT" value="4">
</constant>
- <constant name="STRETCH_KEEP_ASPECT" value="5">
+ <constant name="STRETCH_KEEP_ASPECT_CENTERED" value="5">
</constant>
- <constant name="STRETCH_KEEP_ASPECT_CENTERED" value="6">
+ <constant name="STRETCH_KEEP_ASPECT_COVERED" value="6">
</constant>
</constants>
</class>
@@ -41843,6 +43490,22 @@
</description>
</method>
</methods>
+ <members>
+ <member name="fill_mode" type="int" setter="set_fill_mode" getter="get_fill_mode" brief="">
+ </member>
+ <member name="radial_center_offset" type="Vector2" setter="set_radial_center_offset" getter="get_radial_center_offset" brief="">
+ </member>
+ <member name="radial_fill_degrees" type="float" setter="set_fill_degrees" getter="get_fill_degrees" brief="">
+ </member>
+ <member name="radial_initial_angle" type="float" setter="set_radial_initial_angle" getter="get_radial_initial_angle" brief="">
+ </member>
+ <member name="texture_over" type="Texture" setter="set_over_texture" getter="get_over_texture" brief="">
+ </member>
+ <member name="texture_progress" type="Texture" setter="set_progress_texture" getter="get_progress_texture" brief="">
+ </member>
+ <member name="texture_under" type="Texture" setter="set_under_texture" getter="get_under_texture" brief="">
+ </member>
+ </members>
<constants>
<constant name="FILL_LEFT_TO_RIGHT" value="0">
</constant>
@@ -41858,6 +43521,78 @@
</constant>
</constants>
</class>
+<class name="TextureRect" inherits="Control" category="Core">
+ <brief_description>
+ Control Frame that draws a texture.
+ </brief_description>
+ <description>
+ 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="get_stretch_mode" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_texture" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="has_expand" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="set_expand">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_stretch_mode">
+ <argument index="0" name="stretch_mode" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_texture">
+ <argument index="0" name="texture" type="Object">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="expand" type="bool" setter="set_expand" getter="has_expand" brief="">
+ </member>
+ <member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" brief="">
+ </member>
+ <member name="texture" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ </members>
+ <constants>
+ <constant name="STRETCH_SCALE_ON_EXPAND" value="0">
+ </constant>
+ <constant name="STRETCH_SCALE" value="1">
+ </constant>
+ <constant name="STRETCH_TILE" value="2">
+ </constant>
+ <constant name="STRETCH_KEEP" value="3">
+ </constant>
+ <constant name="STRETCH_KEEP_CENTERED" value="4">
+ </constant>
+ <constant name="STRETCH_KEEP_ASPECT" value="5">
+ </constant>
+ <constant name="STRETCH_KEEP_ASPECT_CENTERED" value="6">
+ </constant>
+ <constant name="STRETCH_KEEP_ASPECT_COVERED" value="7">
+ </constant>
+ </constants>
+</class>
<class name="Theme" inherits="Resource" category="Core">
<brief_description>
Theme for controls.
@@ -41922,7 +43657,7 @@
</description>
</method>
<method name="get_color_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="type" type="String">
</argument>
@@ -41940,7 +43675,7 @@
</description>
</method>
<method name="get_constant_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="type" type="String">
</argument>
@@ -41964,7 +43699,7 @@
</description>
</method>
<method name="get_font_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="type" type="String">
</argument>
@@ -41982,7 +43717,7 @@
</description>
</method>
<method name="get_icon_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="type" type="String">
</argument>
@@ -42000,7 +43735,7 @@
</description>
</method>
<method name="get_stylebox_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="type" type="String">
</argument>
@@ -42008,13 +43743,13 @@
</description>
</method>
<method name="get_stylebox_types" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
</description>
</method>
<method name="get_type_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<argument index="0" name="type" type="String">
</argument>
@@ -42128,6 +43863,10 @@
</description>
</method>
</methods>
+ <members>
+ <member name="default_font" type="Font" setter="set_default_font" getter="get_default_font" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -42277,7 +44016,7 @@
</description>
</method>
<method name="get_custom_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Return the custom transform matrix.
@@ -42331,6 +44070,12 @@
Return an array of all cells containing a tile from the tileset (i.e. a tile index different from -1).
</description>
</method>
+ <method name="get_used_rect">
+ <return type="Rect2">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="is_cell_transposed" qualifiers="const">
<return type="bool">
</return>
@@ -42478,7 +44223,7 @@
</description>
</method>
<method name="set_custom_transform">
- <argument index="0" name="custom_transform" type="Matrix32">
+ <argument index="0" name="custom_transform" type="Transform2D">
</argument>
<description>
Set custom transform matrix, to use in combination with the custom orientation mode.
@@ -42545,6 +44290,38 @@
</description>
</method>
</methods>
+ <members>
+ <member name="cell_custom_transform" type="Transform2D" setter="set_custom_transform" getter="get_custom_transform" brief="">
+ </member>
+ <member name="cell_half_offset" type="int" setter="set_half_offset" getter="get_half_offset" brief="">
+ </member>
+ <member name="cell_quadrant_size" type="int" setter="set_quadrant_size" getter="get_quadrant_size" brief="">
+ </member>
+ <member name="cell_size" type="Vector2" setter="set_cell_size" getter="get_cell_size" brief="">
+ </member>
+ <member name="cell_tile_origin" type="int" setter="set_tile_origin" getter="get_tile_origin" brief="">
+ </member>
+ <member name="cell_y_sort" type="bool" setter="set_y_sort_mode" getter="is_y_sort_mode_enabled" brief="">
+ </member>
+ <member name="collision_bounce" type="float" setter="set_collision_bounce" getter="get_collision_bounce" brief="">
+ </member>
+ <member name="collision_friction" type="float" setter="set_collision_friction" getter="get_collision_friction" brief="">
+ </member>
+ <member name="collision_layers" type="int" setter="set_collision_layer" getter="get_collision_layer" brief="">
+ </member>
+ <member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask" brief="">
+ </member>
+ <member name="collision_use_kinematic" type="bool" setter="set_collision_use_kinematic" getter="get_collision_use_kinematic" brief="">
+ </member>
+ <member name="mode" type="int" setter="set_mode" getter="get_mode" brief="">
+ </member>
+ <member name="occluder_light_mask" type="int" setter="set_occluder_light_mask" getter="get_occluder_light_mask" brief="">
+ </member>
+ <member name="tile_data" type="Object" setter="_set_tile_data" getter="_get_tile_data" brief="">
+ </member>
+ <member name="tile_set" type="TileSet" setter="set_tileset" getter="get_tileset" brief="">
+ </member>
+ </members>
<signals>
<signal name="settings_changed">
<description>
@@ -42891,25 +44668,24 @@
Return true if set to automatically start when entering the scene.
</description>
</method>
- <method name="is_active" qualifiers="const">
+ <method name="is_one_shot" qualifiers="const">
<return type="bool">
</return>
<description>
- Return if the timer is active or not.
+ Return true if configured as one-shot.
</description>
</method>
- <method name="is_one_shot" qualifiers="const">
+ <method name="is_paused" qualifiers="const">
<return type="bool">
</return>
<description>
- Return true if configured as one-shot.
+ Return if the timer is paused or not.
</description>
</method>
- <method name="set_active">
- <argument index="0" name="active" type="bool">
- </argument>
+ <method name="is_stopped" qualifiers="const">
+ <return type="bool">
+ </return>
<description>
- Set whether the timer is active or not. An inactive timer will be paused until it is activated again.
</description>
</method>
<method name="set_autostart">
@@ -42926,6 +44702,13 @@
Set as one-shot. If enabled, the timer will stop after timeout, otherwise it will automatically restart.
</description>
</method>
+ <method name="set_paused">
+ <argument index="0" name="paused" type="bool">
+ </argument>
+ <description>
+ Set whether the timer is paused or not. A paused timer will be inactive until it is unpaused again.
+ </description>
+ </method>
<method name="set_timer_process_mode">
<argument index="0" name="mode" type="int">
</argument>
@@ -42951,6 +44734,16 @@
</description>
</method>
</methods>
+ <members>
+ <member name="autostart" type="bool" setter="set_autostart" getter="has_autostart" brief="">
+ </member>
+ <member name="one_shot" type="bool" setter="set_one_shot" getter="is_one_shot" brief="">
+ </member>
+ <member name="process_mode" type="int" setter="set_timer_process_mode" getter="get_timer_process_mode" brief="">
+ </member>
+ <member name="wait_time" type="float" setter="set_wait_time" getter="get_wait_time" brief="">
+ </member>
+ </members>
<signals>
<signal name="timeout">
<description>
@@ -43019,6 +44812,12 @@
<description>
</description>
</method>
+ <method name="get_shape" qualifiers="const">
+ <return type="Object">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_texture" qualifiers="const">
<return type="Object">
</return>
@@ -43049,6 +44848,12 @@
<description>
</description>
</method>
+ <method name="is_shape_centered" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="set_action">
<argument index="0" name="action" type="String">
</argument>
@@ -43067,6 +44872,18 @@
<description>
</description>
</method>
+ <method name="set_shape">
+ <argument index="0" name="shape" type="Object">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="set_shape_centered">
+ <argument index="0" name="bool" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_texture">
<argument index="0" name="texture" type="Object">
</argument>
@@ -43086,6 +44903,24 @@
</description>
</method>
</methods>
+ <members>
+ <member name="action" type="String" setter="set_action" getter="get_action" brief="">
+ </member>
+ <member name="bitmask" type="BitMap" setter="set_bitmask" getter="get_bitmask" brief="">
+ </member>
+ <member name="normal" type="Texture" setter="set_texture" getter="get_texture" brief="">
+ </member>
+ <member name="passby_press" type="bool" setter="set_passby_press" getter="is_passby_press_enabled" brief="">
+ </member>
+ <member name="pressed" type="Texture" setter="set_texture_pressed" getter="get_texture_pressed" brief="">
+ </member>
+ <member name="shape" type="Shape2D" setter="set_shape" getter="get_shape" brief="">
+ </member>
+ <member name="shape_centered" type="bool" setter="set_shape_centered" getter="is_shape_centered" brief="">
+ </member>
+ <member name="visibility_mode" type="int" setter="set_visibility_mode" getter="get_visibility_mode" brief="">
+ </member>
+ </members>
<signals>
<signal name="pressed">
<description>
@@ -43104,7 +44939,7 @@
3D Transformation.
</brief_description>
<description>
- Transform is used to store translation, rotation and scaling transformations. It consists of a Matrix3 "basis" and Vector3 "origin". Transform is used to represent transformations of objects in space, and as such, determine their position, orientation and scale. It is similar to a 3x4 matrix.
+ Transform is used to store translation, rotation and scaling transformations. It consists of a Basis "basis" and Vector3 "origin". Transform is used to represent transformations of objects in space, and as such, determine their position, orientation and scale. It is similar to a 3x4 matrix.
</description>
<methods>
<method name="Transform">
@@ -43125,21 +44960,21 @@
<method name="Transform">
<return type="Transform">
</return>
- <argument index="0" name="basis" type="Matrix3">
+ <argument index="0" name="basis" type="Basis">
</argument>
<argument index="1" name="origin" type="Vector3">
</argument>
<description>
- Construct the Transform from a Matrix3 and Vector3.
+ Construct the Transform from a Basis and Vector3.
</description>
</method>
<method name="Transform">
<return type="Transform">
</return>
- <argument index="0" name="from" type="Matrix32">
+ <argument index="0" name="from" type="Transform2D">
</argument>
<description>
- Construct the Transform from a Matrix32.
+ Construct the Transform from a Transform2D.
</description>
</method>
<method name="Transform">
@@ -43154,10 +44989,10 @@
<method name="Transform">
<return type="Transform">
</return>
- <argument index="0" name="from" type="Matrix3">
+ <argument index="0" name="from" type="Basis">
</argument>
<description>
- Construct the Transform from a Matrix3. The origin will be Vector3(0, 0, 0).
+ Construct the Transform from a Basis. The origin will be Vector3(0, 0, 0).
</description>
</method>
<method name="affine_inverse">
@@ -43241,16 +45076,169 @@
</method>
</methods>
<members>
- <member name="basis" type="Matrix3">
+ <member name="basis" type="Basis" setter="" getter="" brief="">
The basis is a matrix containing 3 [Vector3] as its columns: X axis, Y axis, and Z axis. These vectors can be interpreted as the basis vectors of local coordinate system travelling with the object.
</member>
- <member name="origin" type="Vector3">
+ <member name="origin" type="Vector3" setter="" getter="" brief="">
The origin of the transform. Which is the translation offset.
</member>
</members>
<constants>
</constants>
</class>
+<class name="Transform2D" category="Built-In Types">
+ <brief_description>
+ 3x2 Matrix for 2D transforms.
+ </brief_description>
+ <description>
+ 3x2 Matrix for 2D transforms.
+ </description>
+ <methods>
+ <method name="Transform2D">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="from" type="Transform">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="Transform2D">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="x_axis" type="Vector2">
+ </argument>
+ <argument index="1" name="y_axis" type="Vector2">
+ </argument>
+ <argument index="2" name="origin" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="Transform2D">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="rot" type="float">
+ </argument>
+ <argument index="1" name="pos" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="affine_inverse">
+ <return type="Transform2D">
+ </return>
+ <description>
+ Return the inverse of the matrix.
+ </description>
+ </method>
+ <method name="basis_xform">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="v" type="var">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="basis_xform_inv">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="v" type="var">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_origin">
+ <return type="Vector2">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_rotation">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_scale">
+ <return type="Vector2">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="interpolate_with">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="m" type="Transform2D">
+ </argument>
+ <argument index="1" name="c" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="inverse">
+ <return type="Transform2D">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="orthonormalized">
+ <return type="Transform2D">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="rotated">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="phi" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="scaled">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="scale" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="translated">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="offset" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="xform">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="v" type="var">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="xform_inv">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="v" type="var">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <members>
+ <member name="o" type="Vector2" setter="" getter="" brief="">
+ </member>
+ <member name="x" type="Vector2" setter="" getter="" brief="">
+ </member>
+ <member name="y" type="Vector2" setter="" getter="" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
<class name="Translation" inherits="Resource" category="Core">
<brief_description>
Language Translation.
@@ -43298,7 +45286,7 @@
</description>
</method>
<method name="get_message_list" qualifiers="const">
- <return type="StringArray">
+ <return type="PoolStringArray">
</return>
<description>
Return all the messages (keys).
@@ -43312,6 +45300,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="locale" type="String" setter="set_locale" getter="get_locale" brief="">
+ </member>
+ <member name="messages" type="PoolStringArray" setter="_set_messages" getter="_get_messages" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -43547,12 +45541,6 @@
Get whether the editing of a cell should only happen when it is already selected.
</description>
</method>
- <method name="is_delayed_text_editor_enabled" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
<method name="is_folding_hidden" qualifiers="const">
<return type="bool">
</return>
@@ -43608,12 +45596,6 @@
Set the amount of columns.
</description>
</method>
- <method name="set_delayed_text_editor">
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
<method name="set_drop_mode_flags">
<argument index="0" name="flags" type="int">
</argument>
@@ -43780,6 +45762,10 @@
</theme_item>
<theme_item name="relationship_line_color" type="Color">
</theme_item>
+ <theme_item name="scroll_border" type="int">
+ </theme_item>
+ <theme_item name="scroll_speed" type="int">
+ </theme_item>
<theme_item name="select_arrow" type="Texture">
</theme_item>
<theme_item name="selected" type="StyleBox">
@@ -44214,6 +46200,16 @@
</constant>
</constants>
</class>
+<class name="TriangleMesh" inherits="Reference" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ </methods>
+ <constants>
+ </constants>
+</class>
<class name="Tween" inherits="Node" category="Core">
<brief_description>
Node useful for animations with unknown start and end points.
@@ -44289,7 +46285,7 @@
Returns the time needed for all tweens to end in seconds, measured from the start. Thus, if you have two tweens, one ending 10 seconds after the start and the other - 20 seconds, it would return 20 seconds, as by that time all tweens would have finished.
</description>
</method>
- <method name="get_speed" qualifiers="const">
+ <method name="get_speed_scale" qualifiers="const">
<return type="float">
</return>
<description>
@@ -44488,7 +46484,7 @@
Make the tween repeat after all tweens have finished.
</description>
</method>
- <method name="set_speed">
+ <method name="set_speed_scale">
<argument index="0" name="speed" type="float">
</argument>
<description>
@@ -44587,8 +46583,12 @@
</description>
</method>
</methods>
+ <members>
+ <member name="playback_process_mode" type="int" setter="set_tween_process_mode" getter="get_tween_process_mode" brief="">
+ </member>
+ </members>
<signals>
- <signal name="tween_complete">
+ <signal name="tween_completed">
<argument index="0" name="object" type="Object">
</argument>
<argument index="1" name="key" type="String">
@@ -44597,7 +46597,7 @@
This signal is emitted when a tween ends.
</description>
</signal>
- <signal name="tween_start">
+ <signal name="tween_started">
<argument index="0" name="object" type="Object">
</argument>
<argument index="1" name="key" type="String">
@@ -44985,6 +46985,13 @@ do_property].
Returns the angle in radians between the line connecting the two points and the x coordinate.
</description>
</method>
+ <method name="aspect">
+ <return type="float">
+ </return>
+ <description>
+ Returns the ratio of X to Y.
+ </description>
+ </method>
<method name="clamped">
<return type="Vector2">
</return>
@@ -45042,13 +47049,6 @@ do_property].
Remove the fractional part of x and y.
</description>
</method>
- <method name="get_aspect">
- <return type="float">
- </return>
- <description>
- Returns the ratio of X to Y.
- </description>
- </method>
<method name="length">
<return type="float">
</return>
@@ -45126,110 +47126,22 @@ do_property].
</method>
</methods>
<members>
- <member name="height" type="float">
+ <member name="height" type="float" setter="" getter="" brief="">
Height of the vector (Same as Y).
</member>
- <member name="width" type="float">
+ <member name="width" type="float" setter="" getter="" brief="">
Width of the vector (Same as X).
</member>
- <member name="x" type="float">
+ <member name="x" type="float" setter="" getter="" brief="">
X component of the vector.
</member>
- <member name="y" type="float">
+ <member name="y" type="float" setter="" getter="" brief="">
Y component of the vector.
</member>
</members>
<constants>
</constants>
</class>
-<class name="Vector2Array" category="Built-In Types">
- <brief_description>
- An Array of Vector2.
- </brief_description>
- <description>
- An Array specifically designed to hold Vector2.
- </description>
- <methods>
- <method name="Vector2Array">
- <return type="Vector2Array">
- </return>
- <argument index="0" name="from" type="Array">
- </argument>
- <description>
- Construct a new [Vector2Array]. Optionally, you can pass in an Array that will be converted.
- </description>
- </method>
- <method name="append">
- <argument index="0" name="vector2" type="Vector2">
- </argument>
- <description>
- Append an element at the end of the array (alias of [method push_back]).
- </description>
- </method>
- <method name="append_array">
- <argument index="0" name="array" type="Vector2Array">
- </argument>
- <description>
- Append an [Vector2Array] at the end of this array.
- </description>
- </method>
- <method name="insert">
- <return type="int">
- </return>
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="vector2" type="Vector2">
- </argument>
- <description>
- 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">
- <description>
- Reverse the order of the elements in the array (so first element will now be the last).
- </description>
- </method>
- <method name="push_back">
- <argument index="0" name="vector2" type="Vector2">
- </argument>
- <description>
- Insert a [Vector2] at the end.
- </description>
- </method>
- <method name="remove">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Remove an element from the array by index.
- </description>
- </method>
- <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">
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="vector2" type="Vector2">
- </argument>
- <description>
- Change the [Vector2] at the given index.
- </description>
- </method>
- <method name="size">
- <return type="int">
- </return>
- <description>
- Return the size of the array.
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="Vector3" category="Built-In Types">
<brief_description>
Vector class, which performs basic 3D vector math operations.
@@ -45258,6 +47170,14 @@ do_property].
Returns a new vector with all components in absolute values (e.g. positive).
</description>
</method>
+ <method name="angle_to">
+ <return type="float">
+ </return>
+ <argument index="0" name="to" type="Vector3">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="ceil">
<return type="Vector3">
</return>
@@ -45377,7 +47297,7 @@ do_property].
</description>
</method>
<method name="outer">
- <return type="Matrix3">
+ <return type="Basis">
</return>
<argument index="0" name="b" type="Vector3">
</argument>
@@ -45424,7 +47344,7 @@ do_property].
</description>
</method>
<method name="to_diagonal_matrix">
- <return type="Matrix3">
+ <return type="Basis">
</return>
<description>
Return a diagonal matrix with the vector as main diagonal.
@@ -45432,13 +47352,13 @@ do_property].
</method>
</methods>
<members>
- <member name="x" type="float">
+ <member name="x" type="float" setter="" getter="" brief="">
X component of the vector.
</member>
- <member name="y" type="float">
+ <member name="y" type="float" setter="" getter="" brief="">
Y component of the vector.
</member>
- <member name="z" type="float">
+ <member name="z" type="float" setter="" getter="" brief="">
Z component of the vector.
</member>
</members>
@@ -45454,94 +47374,6 @@ do_property].
</constant>
</constants>
</class>
-<class name="Vector3Array" category="Built-In Types">
- <brief_description>
- An Array of Vector3.
- </brief_description>
- <description>
- An Array specifically designed to hold Vector3.
- </description>
- <methods>
- <method name="Vector3Array">
- <return type="Vector3Array">
- </return>
- <argument index="0" name="from" type="Array">
- </argument>
- <description>
- Construct a new Vector3Array. Optionally, you can pass in an Array that will be converted.
- </description>
- </method>
- <method name="append">
- <argument index="0" name="vector3" type="Vector3">
- </argument>
- <description>
- Append an element at the end of the array (alias of [method push_back]).
- </description>
- </method>
- <method name="append_array">
- <argument index="0" name="array" type="Vector3Array">
- </argument>
- <description>
- Append an [Vector3Array] at the end of this array.
- </description>
- </method>
- <method name="insert">
- <return type="int">
- </return>
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="vector3" type="Vector3">
- </argument>
- <description>
- 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">
- <description>
- Reverse the order of the elements in the array (so first element will now be the last).
- </description>
- </method>
- <method name="push_back">
- <argument index="0" name="vector3" type="Vector3">
- </argument>
- <description>
- Insert a Vector3 at the end.
- </description>
- </method>
- <method name="remove">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Remove an element from the array by index.
- </description>
- </method>
- <method name="resize">
- <argument index="0" name="idx" type="int">
- </argument>
- <description>
- Set the size of the Vector3Array. 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">
- <argument index="0" name="idx" type="int">
- </argument>
- <argument index="1" name="vector3" type="Vector3">
- </argument>
- <description>
- Change the [Vector3] at the given index.
- </description>
- </method>
- <method name="size">
- <return type="int">
- </return>
- <description>
- Return the size of the array.
- </description>
- </method>
- </methods>
- <constants>
- </constants>
-</class>
<class name="VehicleBody" inherits="PhysicsBody" category="Core">
<brief_description>
</brief_description>
@@ -45620,6 +47452,18 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="brake" type="float" setter="set_brake" getter="get_brake" brief="">
+ </member>
+ <member name="engine_force" type="float" setter="set_engine_force" getter="get_engine_force" brief="">
+ </member>
+ <member name="friction" type="float" setter="set_friction" getter="get_friction" brief="">
+ </member>
+ <member name="mass" type="float" setter="set_mass" getter="get_mass" brief="">
+ </member>
+ <member name="steering" type="float" setter="set_steering" getter="get_steering" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -45750,6 +47594,28 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="damping_compression" type="float" setter="set_damping_compression" getter="get_damping_compression" brief="">
+ </member>
+ <member name="damping_relaxation" type="float" setter="set_damping_relaxation" getter="get_damping_relaxation" brief="">
+ </member>
+ <member name="suspension_max_force" type="float" setter="set_suspension_max_force" getter="get_suspension_max_force" brief="">
+ </member>
+ <member name="suspension_stiffness" type="float" setter="set_suspension_stiffness" getter="get_suspension_stiffness" brief="">
+ </member>
+ <member name="suspension_travel" type="float" setter="set_suspension_travel" getter="get_suspension_travel" brief="">
+ </member>
+ <member name="use_as_steering" type="bool" setter="set_use_as_steering" getter="is_used_as_steering" brief="">
+ </member>
+ <member name="use_as_traction" type="bool" setter="set_use_as_traction" getter="is_used_as_traction" brief="">
+ </member>
+ <member name="wheel_friction_slip" type="float" setter="set_friction_slip" getter="get_friction_slip" brief="">
+ </member>
+ <member name="wheel_radius" type="float" setter="set_radius" getter="get_radius" brief="">
+ </member>
+ <member name="wheel_rest_length" type="float" setter="set_suspension_rest_length" getter="get_suspension_rest_length" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -45912,6 +47778,20 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="audio_track" type="int" setter="set_audio_track" getter="get_audio_track" brief="">
+ </member>
+ <member name="autoplay" type="bool" setter="set_autoplay" getter="has_autoplay" brief="">
+ </member>
+ <member name="expand" type="bool" setter="set_expand" getter="has_expand" brief="">
+ </member>
+ <member name="paused" type="bool" setter="set_paused" getter="is_paused" brief="">
+ </member>
+ <member name="stream" type="VideoStream" setter="set_stream" getter="get_stream" brief="">
+ </member>
+ <member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -45925,16 +47805,6 @@ do_property].
<constants>
</constants>
</class>
-<class name="VideoStreamTheora" inherits="VideoStream" category="Core">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <methods>
- </methods>
- <constants>
- </constants>
-</class>
<class name="Viewport" inherits="Node" category="Core">
<brief_description>
Creates a sub-view into the screen.
@@ -45948,6 +47818,11 @@ do_property].
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="clear">
+ <description>
+ Clear the viewport manually.
+ </description>
+ </method>
<method name="find_world" qualifiers="const">
<return type="World">
</return>
@@ -45970,26 +47845,40 @@ do_property].
</description>
</method>
<method name="get_canvas_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Get the canvas transform of the viewport.
</description>
</method>
+ <method name="get_clear_on_new_frame" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ Return whether automatic clearing of the render target on each frame is enabled.
+ </description>
+ </method>
<method name="get_final_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Get the total transform of the viewport.
</description>
</method>
<method name="get_global_canvas_transform" qualifiers="const">
- <return type="Matrix32">
+ <return type="Transform2D">
</return>
<description>
Get the global canvas transform of the viewport.
</description>
</method>
+ <method name="get_hdr" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ Get whether the rendered texture has filters enabled.
+ </description>
+ </method>
<method name="get_mouse_pos" qualifiers="const">
<return type="Vector2">
</return>
@@ -45997,81 +47886,80 @@ do_property].
Get the mouse position, relative to the viewport.
</description>
</method>
- <method name="get_physics_object_picking">
- <return type="bool">
+ <method name="get_msaa" qualifiers="const">
+ <return type="int">
</return>
<description>
- Get whether picking for all physics objects inside the viewport is enabled.
</description>
</method>
- <method name="get_rect" qualifiers="const">
- <return type="Rect2">
+ <method name="get_physics_object_picking">
+ <return type="bool">
</return>
<description>
- 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.
+ Get whether picking for all physics objects inside the viewport is enabled.
</description>
</method>
- <method name="get_render_target_clear_on_new_frame" qualifiers="const">
- <return type="bool">
+ <method name="get_screen_capture" qualifiers="const">
+ <return type="Image">
</return>
<description>
- Return whether automatic clearing of the render target on each frame is enabled.
+ Return the captured screenshot after [method queue_screen_capture]. You might need to check more than one frame until the right image is returned.
</description>
</method>
- <method name="get_render_target_filter" qualifiers="const">
- <return type="bool">
+ <method name="get_shadow_atlas_quadrant_subdiv" qualifiers="const">
+ <return type="int">
</return>
+ <argument index="0" name="quadrant" type="int">
+ </argument>
<description>
- Get whether the rendered texture has filters enabled.
</description>
</method>
- <method name="get_render_target_gen_mipmaps" qualifiers="const">
- <return type="bool">
+ <method name="get_shadow_atlas_size" qualifiers="const">
+ <return type="int">
</return>
<description>
- Get whether the rendered texture will have mipmaps generated.
</description>
</method>
- <method name="get_render_target_texture" qualifiers="const">
- <return type="RenderTargetTexture">
+ <method name="get_size" qualifiers="const">
+ <return type="Vector2">
</return>
<description>
- Get the render target's texture, for use with various objects that you want to texture with the viewport.
+ 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="get_render_target_update_mode" qualifiers="const">
- <return type="int">
+ <method name="get_size_override" qualifiers="const">
+ <return type="Vector2">
</return>
<description>
- Get when the render target would be updated, will be one of the [code]RENDER_TARGET_UPDATE_*[/code] constants.
+ Get the size override set with [method set_size_override].
</description>
</method>
- <method name="get_render_target_vflip" qualifiers="const">
- <return type="bool">
+ <method name="get_texture" qualifiers="const">
+ <return type="ViewportTexture">
</return>
<description>
- Set whether the render target is flipped on the Y axis.
+ Get the viewport's texture, for use with various objects that you want to texture with the viewport.
</description>
</method>
- <method name="get_screen_capture" qualifiers="const">
- <return type="Image">
+ <method name="get_update_mode" qualifiers="const">
+ <return type="int">
</return>
<description>
- Return the captured screenshot after [method queue_screen_capture]. You might need to check more than one frame until the right image is returned.
+ Get when the viewport would be updated, will be one of the [code]UPDATE_*[/code] constants.
</description>
</method>
- <method name="get_size_override" qualifiers="const">
- <return type="Vector2">
+ <method name="get_vflip" qualifiers="const">
+ <return type="bool">
</return>
<description>
- Get the size override set with [method set_size_override].
+ Set whether the render target is flipped on the Y axis.
</description>
</method>
- <method name="get_viewport" qualifiers="const">
+ <method name="get_viewport_rid" qualifiers="const">
<return type="RID">
</return>
<description>
- Get the viewport RID from the visual server.
+ Get the viewport RID from the [VisualServer].
</description>
</method>
<method name="get_visible_rect" qualifiers="const">
@@ -46092,6 +47980,7 @@ do_property].
<return type="World2D">
</return>
<description>
+ Return the 2D world of the viewport.
</description>
</method>
<method name="gui_get_drag_data" qualifiers="const">
@@ -46121,6 +48010,12 @@ do_property].
<description>
</description>
</method>
+ <method name="is_3d_disabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="is_audio_listener" qualifiers="const">
<return type="bool">
</return>
@@ -46142,13 +48037,6 @@ do_property].
Return whether input to the viewport is disabled.
</description>
</method>
- <method name="is_set_as_render_target" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- Return whether the viewport is set as a render target by [method set_as_render_target].
- </description>
- </method>
<method name="is_size_override_enabled" qualifiers="const">
<return type="bool">
</return>
@@ -46175,11 +48063,6 @@ do_property].
Queue a multithreaded screenshot, you can retrive it at a later frame via [method get_screen_capture].
</description>
</method>
- <method name="render_target_clear">
- <description>
- Clear the render target manually.
- </description>
- </method>
<method name="set_as_audio_listener">
<argument index="0" name="enable" type="bool">
</argument>
@@ -46194,88 +48077,83 @@ do_property].
Makes the viewport send sounds from 2D emitters to the speakers.
</description>
</method>
- <method name="set_as_render_target">
- <argument index="0" name="enable" type="bool">
+ <method name="set_attach_to_screen_rect">
+ <argument index="0" name="rect" type="Rect2">
</argument>
<description>
- Set the viewport's render target mode.
</description>
</method>
<method name="set_canvas_transform">
- <argument index="0" name="xform" type="Matrix32">
+ <argument index="0" name="xform" type="Transform2D">
</argument>
<description>
Set the canvas transform of the viewport, useful for changing the on-screen positions of all child [CanvasItem]s. This is relative to the global canvas transform of the viewport.
</description>
</method>
- <method name="set_disable_input">
- <argument index="0" name="disable" type="bool">
+ <method name="set_clear_on_new_frame">
+ <argument index="0" name="enable" type="bool">
</argument>
<description>
- Set whether input to the viewport is disabled.
</description>
</method>
- <method name="set_global_canvas_transform">
- <argument index="0" name="xform" type="Matrix32">
+ <method name="set_disable_3d">
+ <argument index="0" name="disable" type="bool">
</argument>
<description>
- Set the global canvas transform of the viewport. The canvas transform is relative to this.
</description>
</method>
- <method name="set_physics_object_picking">
- <argument index="0" name="enable" type="bool">
+ <method name="set_disable_input">
+ <argument index="0" name="disable" type="bool">
</argument>
<description>
- Enable/disable picking for all physics objects inside the viewport.
+ Set whether input to the viewport is disabled.
</description>
</method>
- <method name="set_rect">
- <argument index="0" name="rect" type="Rect2">
+ <method name="set_global_canvas_transform">
+ <argument index="0" name="xform" type="Transform2D">
</argument>
<description>
- Set the viewport rect. If the viewport is child of a control, it will use the same rect as the parent.
+ Set the global canvas transform of the viewport. The canvas transform is relative to this.
</description>
</method>
- <method name="set_render_target_clear_on_new_frame">
+ <method name="set_hdr">
<argument index="0" name="enable" type="bool">
</argument>
<description>
- Enable/disable automatic clearing of the render target on each frame. You might find it better to disable this if you are using the viewport for rarely updated textures. To clear manually, check [method render_target_clear]
</description>
</method>
- <method name="set_render_target_filter">
- <argument index="0" name="enable" type="bool">
+ <method name="set_msaa">
+ <argument index="0" name="msaa" type="int">
</argument>
<description>
- Set whether the rendered texture should have filters enabled. Disable if you want the texture's pixels be visible.
</description>
</method>
- <method name="set_render_target_gen_mipmaps">
+ <method name="set_physics_object_picking">
<argument index="0" name="enable" type="bool">
</argument>
<description>
- Set whether the rendered texture should have mipmaps generated. Mipmaps allow the texture to have better antialiasing from far away.
+ Enable/disable picking for all physics objects inside the viewport.
</description>
</method>
- <method name="set_render_target_to_screen_rect">
- <argument index="0" name="rect" type="Rect2">
+ <method name="set_shadow_atlas_quadrant_subdiv">
+ <argument index="0" name="quadrant" type="int">
+ </argument>
+ <argument index="1" name="subdiv" type="int">
</argument>
<description>
- Map a part of the screen to the render target directly.
</description>
</method>
- <method name="set_render_target_update_mode">
- <argument index="0" name="mode" type="int">
+ <method name="set_shadow_atlas_size">
+ <argument index="0" name="size" type="int">
</argument>
<description>
- Set when the render target should be updated, has to be one of the [code]RENDER_TARGET_UPDATE_*[/code] constants.
</description>
</method>
- <method name="set_render_target_vflip">
- <argument index="0" name="enable" type="bool">
+ <method name="set_size">
+ <argument index="0" name="size" type="Vector2">
</argument>
<description>
- Set whether the render target should be flipped on the Y axis.
+ Set the size of the viewport.
</description>
</method>
<method name="set_size_override">
@@ -46286,7 +48164,7 @@ do_property].
<argument index="2" name="margin" type="Vector2" default="Vector2(0, 0)">
</argument>
<description>
- Set the size of the viewport. If the enable parameter is true, it would use the override, otherwise it would use the default size. If the size parameter is equal to [code](-1, -1)[/code], it won't update the size.
+ Set the size override of the viewport. If the enable parameter is true, it would use the override, otherwise it would use the default size. If the size parameter is equal to [code](-1, -1)[/code], it won't update the size.
</description>
</method>
<method name="set_size_override_stretch">
@@ -46303,6 +48181,13 @@ do_property].
If this viewport is a child of another viewport, keep the previously drawn background visible.
</description>
</method>
+ <method name="set_update_mode">
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <description>
+ Set when the render target would be updated, using the [code]UPDATE_*[/code] constants
+ </description>
+ </method>
<method name="set_use_own_world">
<argument index="0" name="enable" type="bool">
</argument>
@@ -46310,6 +48195,13 @@ do_property].
Make the viewport use a world separate from the parent viewport's world.
</description>
</method>
+ <method name="set_vflip">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <description>
+ Set whether the viewport is flipped on the Y axis.
+ </description>
+ </method>
<method name="set_world">
<argument index="0" name="world" type="World">
</argument>
@@ -46342,6 +48234,46 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="audio_listener_enable_2d" type="bool" setter="set_as_audio_listener_2d" getter="is_audio_listener_2d" brief="">
+ </member>
+ <member name="audio_listener_enable_3d" type="bool" setter="set_as_audio_listener" getter="is_audio_listener" brief="">
+ </member>
+ <member name="disable_3d" type="bool" setter="set_disable_3d" getter="is_3d_disabled" brief="">
+ </member>
+ <member name="gui_disable_input" type="bool" setter="set_disable_input" getter="is_input_disabled" brief="">
+ </member>
+ <member name="hdr" type="bool" setter="set_hdr" getter="get_hdr" brief="">
+ </member>
+ <member name="msaa" type="int" setter="set_msaa" getter="get_msaa" brief="">
+ </member>
+ <member name="own_world" type="bool" setter="set_use_own_world" getter="is_using_own_world" brief="">
+ </member>
+ <member name="physics_object_picking" type="bool" setter="set_physics_object_picking" getter="get_physics_object_picking" brief="">
+ </member>
+ <member name="render_target_clear_on_new_frame" type="bool" setter="set_clear_on_new_frame" getter="get_clear_on_new_frame" brief="">
+ </member>
+ <member name="render_target_update_mode" type="int" setter="set_update_mode" getter="get_update_mode" brief="">
+ </member>
+ <member name="render_target_v_flip" type="bool" setter="set_vflip" getter="get_vflip" brief="">
+ </member>
+ <member name="shadow_atlas_quad_0" type="int" setter="set_shadow_atlas_quadrant_subdiv" getter="get_shadow_atlas_quadrant_subdiv" brief="">
+ </member>
+ <member name="shadow_atlas_quad_1" type="int" setter="set_shadow_atlas_quadrant_subdiv" getter="get_shadow_atlas_quadrant_subdiv" brief="">
+ </member>
+ <member name="shadow_atlas_quad_2" type="int" setter="set_shadow_atlas_quadrant_subdiv" getter="get_shadow_atlas_quadrant_subdiv" brief="">
+ </member>
+ <member name="shadow_atlas_quad_3" type="int" setter="set_shadow_atlas_quadrant_subdiv" getter="get_shadow_atlas_quadrant_subdiv" brief="">
+ </member>
+ <member name="shadow_atlas_size" type="int" setter="set_shadow_atlas_size" getter="get_shadow_atlas_size" brief="">
+ </member>
+ <member name="size" type="Rect2" setter="set_size" getter="get_size" brief="">
+ </member>
+ <member name="transparent_bg" type="bool" setter="set_transparent_background" getter="has_transparent_background" brief="">
+ </member>
+ <member name="world" type="World" setter="set_world" getter="get_world" brief="">
+ </member>
+ </members>
<signals>
<signal name="size_changed">
<description>
@@ -46350,85 +48282,94 @@ do_property].
</signal>
</signals>
<constants>
- <constant name="RENDER_TARGET_UPDATE_DISABLED" value="0">
+ <constant name="UPDATE_DISABLED" value="0">
Do not update the render target.
</constant>
- <constant name="RENDER_TARGET_UPDATE_ONCE" value="1">
- Update the render target once, then switch to [code]RENDER_TARGET_UPDATE_DISABLED[/code]
+ <constant name="UPDATE_ONCE" value="1">
+ Update the render target once, then switch to [code]UPDATE_DISABLED[/code]
</constant>
- <constant name="RENDER_TARGET_UPDATE_WHEN_VISIBLE" value="2">
+ <constant name="UPDATE_WHEN_VISIBLE" value="2">
Update the render target only when it is visible. This is the default value.
</constant>
- <constant name="RENDER_TARGET_UPDATE_ALWAYS" value="3">
- Update the render target always.
+ <constant name="UPDATE_ALWAYS" value="3">
+ </constant>
+ <constant name="SHADOW_ATLAS_QUADRANT_SUBDIV_DISABLED" value="0">
+ </constant>
+ <constant name="SHADOW_ATLAS_QUADRANT_SUBDIV_1" value="1">
+ </constant>
+ <constant name="SHADOW_ATLAS_QUADRANT_SUBDIV_4" value="2">
+ </constant>
+ <constant name="SHADOW_ATLAS_QUADRANT_SUBDIV_16" value="3">
+ </constant>
+ <constant name="SHADOW_ATLAS_QUADRANT_SUBDIV_64" value="4">
+ </constant>
+ <constant name="SHADOW_ATLAS_QUADRANT_SUBDIV_256" value="5">
+ </constant>
+ <constant name="SHADOW_ATLAS_QUADRANT_SUBDIV_1024" value="6">
+ </constant>
+ <constant name="SHADOW_ATLAS_QUADRANT_SUBDIV_MAX" value="7">
+ </constant>
+ <constant name="MSAA_DISABLED" value="0">
+ </constant>
+ <constant name="MSAA_2X" value="1">
+ </constant>
+ <constant name="MSAA_4X" value="2">
+ </constant>
+ <constant name="MSAA_8X" value="3">
+ </constant>
+ <constant name="MSAA_16X" value="4">
</constant>
</constants>
</class>
-<class name="ViewportSprite" inherits="Node2D" category="Core">
+<class name="ViewportContainer" inherits="Container" category="Core">
<brief_description>
- Displays a viewport as a sprite.
</brief_description>
<description>
- Used to display a [Viewport] node at some position in the world, without having to mess with [RenderTargetTexture]s.
</description>
<methods>
- <method name="get_modulate" qualifiers="const">
- <return type="Color">
- </return>
- <description>
- Get color modulation for the texture. All texture pixels are multiplied by this color.
- </description>
- </method>
- <method name="get_offset" qualifiers="const">
- <return type="Vector2">
- </return>
- <description>
- get the offset to the origin of the texture.
- </description>
- </method>
- <method name="get_viewport_path" qualifiers="const">
- <return type="NodePath">
- </return>
- <description>
- Return the path to the shown [Viewport] node.
- </description>
- </method>
- <method name="is_centered" qualifiers="const">
+ <method name="is_stretch_enabled" qualifiers="const">
<return type="bool">
</return>
<description>
- Return whether the viewport's texture is centered on the origin.
</description>
</method>
- <method name="set_centered">
- <argument index="0" name="centered" type="bool">
- </argument>
- <description>
- Set whether the viewport's texture should be centered on the origin.
- </description>
- </method>
- <method name="set_modulate">
- <argument index="0" name="modulate" type="Color">
+ <method name="set_stretch">
+ <argument index="0" name="enable" type="bool">
</argument>
<description>
- Set color modulation for the texture. All texture pixels are multiplied by this color. Color may contain rgb values above 1 to achieve a highlight effect.
</description>
</method>
- <method name="set_offset">
- <argument index="0" name="offset" type="Vector2">
- </argument>
+ </methods>
+ <members>
+ <member name="stretch" type="bool" setter="set_stretch" getter="is_stretch_enabled" brief="">
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>
+<class name="ViewportTexture" inherits="Texture" category="Core">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <methods>
+ <method name="get_viewport_path_in_scene" qualifiers="const">
+ <return type="NodePath">
+ </return>
<description>
- Set the offset to the origin of the texture.
</description>
</method>
- <method name="set_viewport_path">
+ <method name="set_viewport_path_in_scene">
<argument index="0" name="path" type="NodePath">
</argument>
<description>
- Set the path to the shown [Viewport] node.
</description>
</method>
</methods>
+ <members>
+ <member name="viewport_path" type="NodePath" setter="set_viewport_path_in_scene" getter="get_viewport_path_in_scene" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -46459,6 +48400,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="freeze_bodies" type="bool" setter="set_enabler" getter="is_enabler_enabled" brief="">
+ </member>
+ <member name="pause_animations" type="bool" setter="set_enabler" getter="is_enabler_enabled" brief="">
+ </member>
+ </members>
<constants>
<constant name="ENABLER_FREEZE_BODIES" value="1">
This enabler will freeze [RigidBody] nodes.
@@ -46497,6 +48444,20 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="fixed_process_parent" type="bool" setter="set_enabler" getter="is_enabler_enabled" brief="">
+ </member>
+ <member name="freeze_bodies" type="bool" setter="set_enabler" getter="is_enabler_enabled" brief="">
+ </member>
+ <member name="pause_animated_sprites" type="bool" setter="set_enabler" getter="is_enabler_enabled" brief="">
+ </member>
+ <member name="pause_animations" type="bool" setter="set_enabler" getter="is_enabler_enabled" brief="">
+ </member>
+ <member name="pause_particles" type="bool" setter="set_enabler" getter="is_enabler_enabled" brief="">
+ </member>
+ <member name="process_parent" type="bool" setter="set_enabler" getter="is_enabler_enabled" brief="">
+ </member>
+ </members>
<constants>
<constant name="ENABLER_FREEZE_BODIES" value="1">
This enabler will freeze [RigidBody2D] nodes.
@@ -46528,7 +48489,7 @@ do_property].
</description>
<methods>
<method name="get_aabb" qualifiers="const">
- <return type="AABB">
+ <return type="Rect3">
</return>
<description>
Return the visibility bounding box of the VisibilityNotifier.
@@ -46542,34 +48503,38 @@ do_property].
</description>
</method>
<method name="set_aabb">
- <argument index="0" name="rect" type="AABB">
+ <argument index="0" name="rect" type="Rect3">
</argument>
<description>
Set the visibility bounding box of the VisibilityNotifier.
</description>
</method>
</methods>
+ <members>
+ <member name="aabb" type="Rect3" setter="set_aabb" getter="get_aabb" brief="">
+ </member>
+ </members>
<signals>
- <signal name="enter_camera">
+ <signal name="camera_entered">
<argument index="0" name="camera" type="Object">
</argument>
<description>
Emitted when the VisibilityNotifier enters a [Camera]'s view.
</description>
</signal>
- <signal name="enter_screen">
- <description>
- Emitted when the VisibilityNotifier enters the screen.
- </description>
- </signal>
- <signal name="exit_camera">
+ <signal name="camera_exited">
<argument index="0" name="camera" type="Object">
</argument>
<description>
Emitted when the VisibilityNotifier exits a [Camera]'s view.
</description>
</signal>
- <signal name="exit_screen">
+ <signal name="screen_entered">
+ <description>
+ Emitted when the VisibilityNotifier enters the screen.
+ </description>
+ </signal>
+ <signal name="screen_exited">
<description>
Emitted when the VisibilityNotifier exits the screen.
</description>
@@ -46608,29 +48573,33 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="rect" type="Rect2" setter="set_rect" getter="get_rect" brief="">
+ </member>
+ </members>
<signals>
- <signal name="enter_screen">
+ <signal name="screen_entered">
<description>
Emitted when the VisibilityNotifier2D enters the screen.
</description>
</signal>
- <signal name="enter_viewport">
- <argument index="0" name="viewport" type="Object">
- </argument>
+ <signal name="screen_exited">
<description>
- Emitted when the VisibilityNotifier2D enters a [Viewport].
+ Emitted when the VisibilityNotifier2D exits the screen.
</description>
</signal>
- <signal name="exit_screen">
+ <signal name="viewport_entered">
+ <argument index="0" name="viewport" type="Object">
+ </argument>
<description>
- Emitted when the VisibilityNotifier2D exits the screen.
+ Emitted when the VisibilityNotifier2D enters a [Viewport]'s view.
</description>
</signal>
- <signal name="exit_viewport">
+ <signal name="viewport_exited">
<argument index="0" name="viewport" type="Object">
</argument>
<description>
- Emitted when the VisibilityNotifier2D exits a [Viewport].
+ Emitted when the VisibilityNotifier2D exits a [Viewport]'s view.
</description>
</signal>
</signals>
@@ -46644,7 +48613,7 @@ do_property].
</description>
<methods>
<method name="get_aabb" qualifiers="const">
- <return type="AABB">
+ <return type="Rect3">
</return>
<description>
</description>
@@ -46656,7 +48625,7 @@ do_property].
</description>
</method>
<method name="get_transformed_aabb" qualifiers="const">
- <return type="AABB">
+ <return type="Rect3">
</return>
<description>
</description>
@@ -46674,6 +48643,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="layers" type="int" setter="set_layer_mask" getter="get_layer_mask" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47068,6 +49041,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="data" type="Dictionary" setter="_set_data" getter="_get_data" brief="">
+ </member>
+ </members>
<signals>
<signal name="node_ports_changed">
<argument index="0" name="function" type="String">
@@ -47112,6 +49089,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="basic_type" type="int" setter="set_basic_type" getter="get_basic_type" brief="">
+ </member>
+ <member name="constant" type="String" setter="set_basic_type_constant" getter="get_basic_type_constant" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47134,6 +49117,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="function" type="int" setter="set_func" getter="get_func" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47168,6 +49155,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="base_type" type="String" setter="set_base_type" getter="get_base_type" brief="">
+ </member>
+ <member name="constant" type="String" setter="set_class_constant" getter="get_class_constant" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47214,6 +49207,14 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="description" type="String" setter="set_description" getter="get_description" brief="">
+ </member>
+ <member name="size" type="Vector2" setter="set_size" getter="get_size" brief="">
+ </member>
+ <member name="title" type="String" setter="set_title" getter="get_title" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47256,6 +49257,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="constant/type" type="int" setter="set_constant_type" getter="get_constant_type" brief="">
+ </member>
+ <member name="constant/value" type="Nil" setter="set_constant_value" getter="get_constant_value" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47290,6 +49297,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="constructor" type="Dictionary" setter="set_constructor" getter="get_constructor" brief="">
+ </member>
+ <member name="type" type="int" setter="set_constructor_type" getter="get_constructor_type" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47452,6 +49465,14 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="elem_cache" type="Array" setter="_set_elem_cache" getter="_get_elem_cache" brief="">
+ </member>
+ <member name="input_type" type="int" setter="set_deconstruct_input_type" getter="get_deconstruct_input_type" brief="">
+ </member>
+ <member name="type" type="int" setter="set_deconstruct_type" getter="get_deconstruct_type" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47474,6 +49495,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="signal/signal" type="String" setter="set_signal" getter="get_signal" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47496,6 +49521,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="constant" type="String" setter="set_singleton" getter="get_singleton" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47646,6 +49675,30 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="function/argument_cache" type="Dictionary" setter="_set_argument_cache" getter="_get_argument_cache" brief="">
+ </member>
+ <member name="function/base_script" type="String" setter="set_base_script" getter="get_base_script" brief="">
+ </member>
+ <member name="function/base_type" type="String" setter="set_base_type" getter="get_base_type" brief="">
+ </member>
+ <member name="function/basic_type" type="int" setter="set_basic_type" getter="get_basic_type" brief="">
+ </member>
+ <member name="function/call_mode" type="int" setter="set_call_mode" getter="get_call_mode" brief="">
+ </member>
+ <member name="function/function" type="String" setter="set_function" getter="get_function" brief="">
+ </member>
+ <member name="function/node_path" type="NodePath" setter="set_base_path" getter="get_base_path" brief="">
+ </member>
+ <member name="function/singleton" type="String" setter="set_singleton" getter="get_singleton" brief="">
+ </member>
+ <member name="function/use_default_args" type="int" setter="set_use_default_args" getter="get_use_default_args" brief="">
+ </member>
+ <member name="function/validate" type="bool" setter="set_validate" getter="get_validate" brief="">
+ </member>
+ <member name="rpc/call_mode" type="int" setter="set_rpc_call_mode" getter="get_rpc_call_mode" brief="">
+ </member>
+ </members>
<constants>
<constant name="CALL_MODE_SELF" value="0">
</constant>
@@ -47710,6 +49763,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="constant" type="int" setter="set_global_constant" getter="get_global_constant" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47764,6 +49821,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="action" type="String" setter="set_action_name" getter="get_action_name" brief="">
+ </member>
+ <member name="mode" type="int" setter="set_action_mode" getter="get_action_mode" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47818,6 +49881,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="variable/name" type="String" setter="set_var_name" getter="get_var_name" brief="">
+ </member>
+ <member name="variable/type" type="int" setter="set_var_type" getter="get_var_type" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47852,6 +49921,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="variable/name" type="String" setter="set_var_name" getter="get_var_name" brief="">
+ </member>
+ <member name="variable/type" type="int" setter="set_var_type" getter="get_var_type" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47874,6 +49949,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="constant" type="int" setter="set_math_constant" getter="get_math_constant" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47906,6 +49985,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="_default_input_values" type="Array" setter="_set_default_input_values" getter="_get_default_input_values" brief="">
+ </member>
+ </members>
<signals>
<signal name="ports_changed">
<description>
@@ -47946,6 +50029,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="operator_value/type" type="int" setter="set_operator" getter="get_operator" brief="">
+ </member>
+ <member name="typed_value/typed" type="int" setter="set_typed" getter="get_typed" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -47968,6 +50057,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="resource" type="Resource" setter="set_preload" getter="get_preload" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -48062,6 +50155,24 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="property/base_script" type="String" setter="set_base_script" getter="get_base_script" brief="">
+ </member>
+ <member name="property/base_type" type="String" setter="set_base_type" getter="get_base_type" brief="">
+ </member>
+ <member name="property/basic_type" type="int" setter="set_basic_type" getter="get_basic_type" brief="">
+ </member>
+ <member name="property/event_type" type="int" setter="set_event_type" getter="get_event_type" brief="">
+ </member>
+ <member name="property/node_path" type="NodePath" setter="set_base_path" getter="get_base_path" brief="">
+ </member>
+ <member name="property/property" type="String" setter="set_property" getter="get_property" brief="">
+ </member>
+ <member name="property/set_mode" type="int" setter="set_call_mode" getter="get_call_mode" brief="">
+ </member>
+ <member name="property/type_cache" type="int" setter="_set_type_cache" getter="_get_type_cache" brief="">
+ </member>
+ </members>
<constants>
<constant name="CALL_MODE_SELF" value="0">
</constant>
@@ -48162,6 +50273,24 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="property/base_script" type="String" setter="set_base_script" getter="get_base_script" brief="">
+ </member>
+ <member name="property/base_type" type="String" setter="set_base_type" getter="get_base_type" brief="">
+ </member>
+ <member name="property/basic_type" type="int" setter="set_basic_type" getter="get_basic_type" brief="">
+ </member>
+ <member name="property/event_type" type="int" setter="set_event_type" getter="get_event_type" brief="">
+ </member>
+ <member name="property/node_path" type="NodePath" setter="set_base_path" getter="get_base_path" brief="">
+ </member>
+ <member name="property/property" type="String" setter="set_property" getter="get_property" brief="">
+ </member>
+ <member name="property/set_mode" type="int" setter="set_call_mode" getter="get_call_mode" brief="">
+ </member>
+ <member name="property/type_cache" type="int" setter="_set_type_cache" getter="_get_type_cache" brief="">
+ </member>
+ </members>
<constants>
<constant name="CALL_MODE_SELF" value="0">
</constant>
@@ -48190,6 +50319,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="path" type="String" setter="set_resource_path" getter="get_resource_path" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -48224,6 +50357,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="return_value/enabled" type="bool" setter="set_enable_return_value" getter="is_return_value_enabled" brief="">
+ </member>
+ <member name="return_value/type" type="int" setter="set_return_type" getter="get_return_type" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -48246,6 +50385,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="node_path" type="NodePath" setter="set_node_path" getter="get_node_path" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -48288,6 +50431,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="steps" type="int" setter="set_steps" getter="get_steps" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -48348,6 +50495,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="function/base_type" type="String" setter="set_base_type" getter="get_base_type" brief="">
+ </member>
+ <member name="property/base_script" type="String" setter="set_base_script" getter="get_base_script" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -48370,6 +50523,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="variable/name" type="String" setter="set_variable" getter="get_variable" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -48392,6 +50549,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="variable/name" type="String" setter="set_variable" getter="get_variable" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -48436,6 +50597,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="mode" type="int" setter="set_yield_mode" getter="get_yield_mode" brief="">
+ </member>
+ <member name="wait_time" type="float" setter="set_wait_time" getter="get_wait_time" brief="">
+ </member>
+ </members>
<constants>
<constant name="YIELD_FRAME" value="1">
</constant>
@@ -48500,6 +50667,16 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="signal/base_type" type="String" setter="set_base_type" getter="get_base_type" brief="">
+ </member>
+ <member name="signal/call_mode" type="int" setter="set_call_mode" getter="get_call_mode" brief="">
+ </member>
+ <member name="signal/node_path" type="NodePath" setter="set_base_path" getter="get_base_path" brief="">
+ </member>
+ <member name="signal/signal" type="String" setter="set_signal" getter="get_signal" brief="">
+ </member>
+ </members>
<constants>
<constant name="CALL_MODE_SELF" value="0">
</constant>
@@ -48518,1274 +50695,6 @@ do_property].
The visual server is completely opaque, the internals are entirely implementation specific and cannot be accessed.
</description>
<methods>
- <method name="black_bars_set_images">
- <argument index="0" name="left" type="RID">
- </argument>
- <argument index="1" name="top" type="RID">
- </argument>
- <argument index="2" name="right" type="RID">
- </argument>
- <argument index="3" name="bottom" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="black_bars_set_margins">
- <argument index="0" name="left" type="int">
- </argument>
- <argument index="1" name="top" type="int">
- </argument>
- <argument index="2" name="right" type="int">
- </argument>
- <argument index="3" name="bottom" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="camera_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="camera_set_orthogonal">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="float">
- </argument>
- <argument index="2" name="arg2" type="float">
- </argument>
- <argument index="3" name="arg3" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="camera_set_perspective">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="float">
- </argument>
- <argument index="2" name="arg2" type="float">
- </argument>
- <argument index="3" name="arg3" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="camera_set_transform">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Transform">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="canvas_item_add_circle">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Vector2">
- </argument>
- <argument index="2" name="arg2" type="float">
- </argument>
- <argument index="3" name="arg3" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_add_line">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Vector2">
- </argument>
- <argument index="2" name="arg2" type="Vector2">
- </argument>
- <argument index="3" name="arg3" type="Color">
- </argument>
- <argument index="4" name="arg4" type="float" default="1">
- </argument>
- <argument index="5" name="arg5" type="bool" default="false">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_add_rect">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Rect2">
- </argument>
- <argument index="2" name="arg2" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_add_style_box">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Rect2">
- </argument>
- <argument index="2" name="arg2" type="Rect2">
- </argument>
- <argument index="3" name="arg3" type="RID">
- </argument>
- <argument index="4" name="arg4" type="RealArray">
- </argument>
- <argument index="5" name="arg5" type="Color" default="Color(1,1,1,1)">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_add_texture_rect">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Rect2">
- </argument>
- <argument index="2" name="arg2" type="RID">
- </argument>
- <argument index="3" name="arg3" type="bool">
- </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">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Rect2">
- </argument>
- <argument index="2" name="arg2" type="RID">
- </argument>
- <argument index="3" name="arg3" type="Rect2">
- </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_clear">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="canvas_item_get_opacity" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_get_parent" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_get_self_opacity" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_raise">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_set_clip">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_set_custom_rect">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="bool">
- </argument>
- <argument index="2" name="arg2" type="Rect2">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_set_opacity">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_set_parent">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_set_self_opacity">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_set_transform">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Matrix32">
- </argument>
- <description>
- </description>
- </method>
- <method name="canvas_item_set_z">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="cursor_set_pos">
- <argument index="0" name="arg0" type="Vector2">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="cursor_set_rotation">
- <argument index="0" name="arg0" type="float">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="cursor_set_texture">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Vector2">
- </argument>
- <argument index="2" name="arg2" type="int">
- </argument>
- <argument index="3" name="arg3" type="Rect2">
- </argument>
- <description>
- </description>
- </method>
- <method name="cursor_set_visible">
- <argument index="0" name="arg0" type="bool">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="draw">
- <description>
- </description>
- </method>
- <method name="free_rid">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_render_info">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_test_cube">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="instance_attach_object_instance_ID">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_attach_skeleton">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="instance_geometry_get_material_param" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_geometry_override_material_param" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_get_base" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_get_base_aabb" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_get_object_instance_ID" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_get_room" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_get_skeleton" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_get_transform" qualifiers="const">
- <return type="Transform">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_is_exterior" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_set_exterior">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_set_room">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instance_set_transform">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Transform">
- </argument>
- <description>
- </description>
- </method>
- <method name="instances_cull_aabb" qualifiers="const">
- <return type="Array">
- </return>
- <argument index="0" name="arg0" type="AABB">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instances_cull_convex" qualifiers="const">
- <return type="Array">
- </return>
- <argument index="0" name="arg0" type="Array">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="instances_cull_ray" qualifiers="const">
- <return type="Array">
- </return>
- <argument index="0" name="arg0" type="Vector3">
- </argument>
- <argument index="1" name="arg1" type="Vector3">
- </argument>
- <argument index="2" name="arg2" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_create">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_get_color" qualifiers="const">
- <return type="Color">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_get_projector" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_get_type" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_get_var" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_has_shadow" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_is_volumetric" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_set_color">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_set_projector">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_set_shadow">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_set_var">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="light_set_volumetric">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="make_sphere_mesh">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="int">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="material_get_blend_mode" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_get_flag" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_get_line_width" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_get_param" qualifiers="const">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="String">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_get_shader" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_set_blend_mode">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_set_flag">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_set_line_width">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_set_param">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="String">
- </argument>
- <argument index="2" name="arg2" type="Variant">
- </argument>
- <description>
- </description>
- </method>
- <method name="material_set_shader">
- <argument index="0" name="shader" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_add_surface">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="Array">
- </argument>
- <argument index="3" name="arg3" type="Array">
- </argument>
- <argument index="4" name="arg4" type="bool" default="-1">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_add_surface_from_planes">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Array">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="mesh_get_surface_count" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_remove_surface">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_surface_get_array_index_len" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_surface_get_array_len" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_surface_get_format" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_surface_get_material" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_surface_get_primitive_type" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="mesh_surface_set_material">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="RID">
- </argument>
- <argument index="3" name="arg3" type="bool" default="false">
- </argument>
- <description>
- </description>
- </method>
- <method name="multimesh_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="multimesh_get_aabb" qualifiers="const">
- <return type="AABB">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="AABB">
- </argument>
- <description>
- </description>
- </method>
- <method name="multimesh_get_mesh" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="multimesh_instance_get_color" qualifiers="const">
- <return type="Color">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="multimesh_instance_get_transform" qualifiers="const">
- <return type="Transform">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="multimesh_instance_set_color">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="multimesh_instance_set_transform">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="Transform">
- </argument>
- <description>
- </description>
- </method>
- <method name="multimesh_set_aabb">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="AABB">
- </argument>
- <description>
- </description>
- </method>
- <method name="multimesh_set_mesh">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="particles_get_amount" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_get_attractor_pos" qualifiers="const">
- <return type="Vector3">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_get_attractor_strength" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_get_attractors" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_get_color_phase_color" qualifiers="const">
- <return type="Color">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_get_color_phase_pos" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_get_color_phases" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_get_randomness" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_get_variable" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_get_visibility_aabb" qualifiers="const">
- <return type="AABB">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_has_height_from_velocity" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_is_emitting" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_amount">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_attractor_pos">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="Vector3">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_attractor_strength">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_attractors">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_color_phase_color">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_color_phase_pos">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_color_phases">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_emitting">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_height_from_velocity">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_material">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <argument index="2" name="arg2" type="bool" default="false">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_randomness">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_variable">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="particles_set_visibility_aabb">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="AABB">
- </argument>
- <description>
- </description>
- </method>
- <method name="portal_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="portal_get_disable_distance" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="portal_get_disabled_color" qualifiers="const">
- <return type="Color">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="portal_get_shape" qualifiers="const">
- <return type="Vector2Array">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="portal_is_enabled" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="portal_set_disable_distance">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="portal_set_disabled_color">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="portal_set_enabled">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="portal_set_shape">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Vector2Array">
- </argument>
- <description>
- </description>
- </method>
- <method name="room_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="room_get_bounds" qualifiers="const">
- <return type="Dictionary">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="room_set_bounds">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Dictionary">
- </argument>
- <description>
- </description>
- </method>
- <method name="scenario_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="scenario_set_debug">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_default_clear_color">
- <argument index="0" name="arg0" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="shader_create">
- <return type="RID">
- </return>
- <argument index="0" name="mode" type="int" default="0">
- </argument>
- <description>
- </description>
- </method>
- <method name="shader_set_mode">
- <argument index="0" name="shader" type="RID">
- </argument>
- <argument index="1" name="mode" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="skeleton_bone_get_transform">
- <return type="Transform">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="skeleton_bone_set_transform">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <argument index="2" name="arg2" type="Transform">
- </argument>
- <description>
- </description>
- </method>
- <method name="skeleton_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="skeleton_get_bone_count" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="skeleton_resize">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="sync">
- <description>
- </description>
- </method>
<method name="texture_create">
<return type="RID">
</return>
@@ -49840,312 +50749,8 @@ do_property].
<description>
</description>
</method>
- <method name="viewport_attach_camera">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID" default="RID()">
- </argument>
- <description>
- </description>
- </method>
- <method name="viewport_attach_canvas">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="viewport_create">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
- <method name="viewport_get_attached_camera" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="viewport_get_rect" qualifiers="const">
- <return type="Rect2">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="viewport_get_scenario" qualifiers="const">
- <return type="RID">
- </return>
- <argument index="0" name="arg0" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="viewport_remove_canvas">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <description>
- </description>
- </method>
- <method name="viewport_set_canvas_transform">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="RID">
- </argument>
- <argument index="2" name="arg2" type="Matrix32">
- </argument>
- <description>
- </description>
- </method>
- <method name="viewport_set_global_canvas_transform">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Matrix32">
- </argument>
- <description>
- </description>
- </method>
- <method name="viewport_set_rect">
- <argument index="0" name="arg0" type="RID">
- </argument>
- <argument index="1" name="arg1" type="Rect2">
- </argument>
- <description>
- </description>
- </method>
</methods>
<constants>
- <constant name="NO_INDEX_ARRAY" value="-1">
- </constant>
- <constant name="CUSTOM_ARRAY_SIZE" value="8">
- </constant>
- <constant name="ARRAY_WEIGHTS_SIZE" value="4">
- </constant>
- <constant name="MAX_PARTICLE_COLOR_PHASES" value="4">
- </constant>
- <constant name="MAX_PARTICLE_ATTRACTORS" value="4">
- </constant>
- <constant name="MAX_CURSORS" value="8">
- </constant>
- <constant name="TEXTURE_FLAG_MIPMAPS" value="1">
- </constant>
- <constant name="TEXTURE_FLAG_REPEAT" value="2">
- </constant>
- <constant name="TEXTURE_FLAG_FILTER" value="4">
- </constant>
- <constant name="TEXTURE_FLAG_CUBEMAP" value="2048">
- </constant>
- <constant name="TEXTURE_FLAGS_DEFAULT" value="7">
- </constant>
- <constant name="CUBEMAP_LEFT" value="0">
- </constant>
- <constant name="CUBEMAP_RIGHT" value="1">
- </constant>
- <constant name="CUBEMAP_BOTTOM" value="2">
- </constant>
- <constant name="CUBEMAP_TOP" value="3">
- </constant>
- <constant name="CUBEMAP_FRONT" value="4">
- </constant>
- <constant name="CUBEMAP_BACK" value="5">
- </constant>
- <constant name="SHADER_MATERIAL" value="0">
- </constant>
- <constant name="SHADER_POST_PROCESS" value="2">
- </constant>
- <constant name="MATERIAL_FLAG_VISIBLE" value="0">
- </constant>
- <constant name="MATERIAL_FLAG_DOUBLE_SIDED" value="1">
- </constant>
- <constant name="MATERIAL_FLAG_INVERT_FACES" value="2">
- </constant>
- <constant name="MATERIAL_FLAG_UNSHADED" value="3">
- </constant>
- <constant name="MATERIAL_FLAG_ONTOP" value="4">
- </constant>
- <constant name="MATERIAL_FLAG_MAX" value="7">
- </constant>
- <constant name="MATERIAL_BLEND_MODE_MIX" value="0">
- </constant>
- <constant name="MATERIAL_BLEND_MODE_ADD" value="1">
- </constant>
- <constant name="MATERIAL_BLEND_MODE_SUB" value="2">
- </constant>
- <constant name="MATERIAL_BLEND_MODE_MUL" value="3">
- </constant>
- <constant name="FIXED_MATERIAL_PARAM_DIFFUSE" value="0">
- </constant>
- <constant name="FIXED_MATERIAL_PARAM_DETAIL" value="1">
- </constant>
- <constant name="FIXED_MATERIAL_PARAM_SPECULAR" value="2">
- </constant>
- <constant name="FIXED_MATERIAL_PARAM_EMISSION" value="3">
- </constant>
- <constant name="FIXED_MATERIAL_PARAM_SPECULAR_EXP" value="4">
- </constant>
- <constant name="FIXED_MATERIAL_PARAM_GLOW" value="5">
- </constant>
- <constant name="FIXED_MATERIAL_PARAM_NORMAL" value="6">
- </constant>
- <constant name="FIXED_MATERIAL_PARAM_SHADE_PARAM" value="7">
- </constant>
- <constant name="FIXED_MATERIAL_PARAM_MAX" value="8">
- </constant>
- <constant name="FIXED_MATERIAL_TEXCOORD_SPHERE" value="3">
- </constant>
- <constant name="FIXED_MATERIAL_TEXCOORD_UV" value="0">
- </constant>
- <constant name="FIXED_MATERIAL_TEXCOORD_UV_TRANSFORM" value="1">
- </constant>
- <constant name="FIXED_MATERIAL_TEXCOORD_UV2" value="2">
- </constant>
- <constant name="ARRAY_VERTEX" value="0">
- </constant>
- <constant name="ARRAY_NORMAL" value="1">
- </constant>
- <constant name="ARRAY_TANGENT" value="2">
- </constant>
- <constant name="ARRAY_COLOR" value="3">
- </constant>
- <constant name="ARRAY_TEX_UV" value="4">
- </constant>
- <constant name="ARRAY_BONES" value="6">
- </constant>
- <constant name="ARRAY_WEIGHTS" value="7">
- </constant>
- <constant name="ARRAY_INDEX" value="8">
- </constant>
- <constant name="ARRAY_MAX" value="9">
- </constant>
- <constant name="ARRAY_FORMAT_VERTEX" value="1">
- </constant>
- <constant name="ARRAY_FORMAT_NORMAL" value="2">
- </constant>
- <constant name="ARRAY_FORMAT_TANGENT" value="4">
- </constant>
- <constant name="ARRAY_FORMAT_COLOR" value="8">
- </constant>
- <constant name="ARRAY_FORMAT_TEX_UV" value="16">
- </constant>
- <constant name="ARRAY_FORMAT_BONES" value="64">
- </constant>
- <constant name="ARRAY_FORMAT_WEIGHTS" value="128">
- </constant>
- <constant name="ARRAY_FORMAT_INDEX" value="256">
- </constant>
- <constant name="PRIMITIVE_POINTS" value="0">
- </constant>
- <constant name="PRIMITIVE_LINES" value="1">
- </constant>
- <constant name="PRIMITIVE_LINE_STRIP" value="2">
- </constant>
- <constant name="PRIMITIVE_LINE_LOOP" value="3">
- </constant>
- <constant name="PRIMITIVE_TRIANGLES" value="4">
- </constant>
- <constant name="PRIMITIVE_TRIANGLE_STRIP" value="5">
- </constant>
- <constant name="PRIMITIVE_TRIANGLE_FAN" value="6">
- </constant>
- <constant name="PRIMITIVE_MAX" value="7">
- </constant>
- <constant name="PARTICLE_LIFETIME" value="0">
- </constant>
- <constant name="PARTICLE_SPREAD" value="1">
- </constant>
- <constant name="PARTICLE_GRAVITY" value="2">
- </constant>
- <constant name="PARTICLE_LINEAR_VELOCITY" value="3">
- </constant>
- <constant name="PARTICLE_ANGULAR_VELOCITY" value="4">
- </constant>
- <constant name="PARTICLE_LINEAR_ACCELERATION" value="5">
- </constant>
- <constant name="PARTICLE_RADIAL_ACCELERATION" value="6">
- </constant>
- <constant name="PARTICLE_TANGENTIAL_ACCELERATION" value="7">
- </constant>
- <constant name="PARTICLE_INITIAL_SIZE" value="9">
- </constant>
- <constant name="PARTICLE_FINAL_SIZE" value="10">
- </constant>
- <constant name="PARTICLE_INITIAL_ANGLE" value="11">
- </constant>
- <constant name="PARTICLE_HEIGHT" value="12">
- </constant>
- <constant name="PARTICLE_HEIGHT_SPEED_SCALE" value="13">
- </constant>
- <constant name="PARTICLE_VAR_MAX" value="14">
- </constant>
- <constant name="LIGHT_DIRECTIONAL" value="0">
- </constant>
- <constant name="LIGHT_OMNI" value="1">
- </constant>
- <constant name="LIGHT_SPOT" value="2">
- </constant>
- <constant name="LIGHT_COLOR_DIFFUSE" value="0">
- </constant>
- <constant name="LIGHT_COLOR_SPECULAR" value="1">
- </constant>
- <constant name="LIGHT_PARAM_SPOT_ATTENUATION" value="0">
- </constant>
- <constant name="LIGHT_PARAM_SPOT_ANGLE" value="1">
- </constant>
- <constant name="LIGHT_PARAM_RADIUS" value="2">
- </constant>
- <constant name="LIGHT_PARAM_ENERGY" value="3">
- </constant>
- <constant name="LIGHT_PARAM_ATTENUATION" value="4">
- </constant>
- <constant name="LIGHT_PARAM_MAX" value="10">
- </constant>
- <constant name="SCENARIO_DEBUG_DISABLED" value="0">
- </constant>
- <constant name="SCENARIO_DEBUG_WIREFRAME" value="1">
- </constant>
- <constant name="SCENARIO_DEBUG_OVERDRAW" value="2">
- </constant>
- <constant name="INSTANCE_MESH" value="1">
- </constant>
- <constant name="INSTANCE_MULTIMESH" value="2">
- </constant>
- <constant name="INSTANCE_PARTICLES" value="4">
- </constant>
- <constant name="INSTANCE_LIGHT" value="5">
- </constant>
- <constant name="INSTANCE_ROOM" value="6">
- </constant>
- <constant name="INSTANCE_PORTAL" value="7">
- </constant>
- <constant name="INSTANCE_GEOMETRY_MASK" value="30">
- </constant>
- <constant name="INFO_OBJECTS_IN_FRAME" value="0">
- </constant>
- <constant name="INFO_VERTICES_IN_FRAME" value="1">
- </constant>
- <constant name="INFO_MATERIAL_CHANGES_IN_FRAME" value="2">
- </constant>
- <constant name="INFO_SHADER_CHANGES_IN_FRAME" value="3">
- </constant>
- <constant name="INFO_SURFACE_CHANGES_IN_FRAME" value="4">
- </constant>
- <constant name="INFO_DRAW_CALLS_IN_FRAME" value="5">
- </constant>
- <constant name="INFO_USAGE_VIDEO_MEM_TOTAL" value="6">
- </constant>
- <constant name="INFO_VIDEO_MEM_USED" value="7">
- </constant>
- <constant name="INFO_TEXTURE_MEM_USED" value="8">
- </constant>
- <constant name="INFO_VERTEX_MEM_USED" value="9">
- </constant>
</constants>
</class>
<class name="WeakRef" inherits="Reference" category="Core">
@@ -50182,6 +50787,12 @@ do_property].
Return the close [TextureButton].
</description>
</method>
+ <method name="get_resizable" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_title" qualifiers="const">
<return type="String">
</return>
@@ -50189,6 +50800,12 @@ do_property].
Return the title of the window.
</description>
</method>
+ <method name="set_resizable">
+ <argument index="0" name="resizable" type="bool">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="set_title">
<argument index="0" name="title" type="String">
</argument>
@@ -50197,6 +50814,12 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="resizable" type="bool" setter="set_resizable" getter="get_resizable" brief="">
+ </member>
+ <member name="window_title" type="String" setter="set_title" getter="get_title" brief="">
+ </member>
+ </members>
<constants>
</constants>
<theme_items>
@@ -50210,6 +50833,8 @@ do_property].
</theme_item>
<theme_item name="panel" type="StyleBox">
</theme_item>
+ <theme_item name="scaleborder_size" type="int">
+ </theme_item>
<theme_item name="title_color" type="Color">
</theme_item>
<theme_item name="title_font" type="Font">
@@ -50246,12 +50871,6 @@ do_property].
<description>
</description>
</method>
- <method name="get_sound_space" qualifiers="const">
- <return type="RID">
- </return>
- <description>
- </description>
- </method>
<method name="get_space" qualifiers="const">
<return type="RID">
</return>
@@ -50265,6 +50884,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="environment" type="Environment" setter="set_environment" getter="get_environment" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -50327,6 +50950,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="environment" type="Environment" setter="set_environment" getter="get_environment" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
@@ -50444,7 +51071,7 @@ do_property].
<method name="open_buffer">
<return type="int">
</return>
- <argument index="0" name="buffer" type="RawArray">
+ <argument index="0" name="buffer" type="PoolByteArray">
</argument>
<description>
Open a XML raw buffer for parsing. This returns an error code.
@@ -50519,6 +51146,10 @@ do_property].
</description>
</method>
</methods>
+ <members>
+ <member name="sort_enabled" type="bool" setter="set_sort_enabled" getter="is_sort_enabled" brief="">
+ </member>
+ </members>
<constants>
</constants>
</class>
diff --git a/doc/tools/doc_status.py b/doc/tools/doc_status.py
index e05bcd63e7..78f39fc7ec 100755
--- a/doc/tools/doc_status.py
+++ b/doc/tools/doc_status.py
@@ -20,6 +20,7 @@ flags = {
'p': False,
'o': True,
'i': False,
+ 'a': True,
}
flag_descriptions = {
'c': 'Toggle colors when outputting.',
@@ -31,6 +32,7 @@ flag_descriptions = {
'p': 'Toggle showing percentage as well as counts.',
'o': 'Toggle overall column.',
'i': 'Toggle collapse of class items columns.',
+ 'a': 'Toggle showing all items.',
}
long_flags = {
'colors': 'c',
@@ -58,6 +60,8 @@ long_flags = {
'items': 'i',
'collapse': 'i',
+
+ 'all': 'a',
}
table_columns = ['name', 'brief_description', 'description', 'methods', 'constants', 'members', 'signals']
table_column_names = ['Name', 'Brief Desc.', 'Desc.', 'Methods', 'Constants', 'Members', 'Signals']
@@ -354,12 +358,11 @@ for cn in input_class_list:
validate_tag(c, 'class')
status = ClassStatus.generate_for_class(c)
- if flags['b'] and status.is_ok():
- continue
- if flags['g'] and not status.is_ok():
+ total_status = total_status + status
+
+ if (flags['b'] and status.is_ok()) or (flags['g'] and not status.is_ok()) or (not flags['a']):
continue
- total_status = total_status + status
out = status.make_output()
row = []
for column in table_columns:
@@ -378,11 +381,11 @@ for cn in input_class_list:
# Print output table #
################################################################################
-if len(table) == 1:
+if len(table) == 1 and flags['a']:
print(color('part_big_problem', 'No classes suitable for printing!'))
sys.exit(0)
-if len(table) > 2:
+if len(table) > 2 or not flags['a']:
total_status.name = 'Total = {0}'.format(len(table) - 1)
out = total_status.make_output()
row = []