summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml19
-rw-r--r--binding_generator.py69
-rw-r--r--gdextension/extension_api.json10212
-rw-r--r--gdextension/gdextension_interface.h81
-rw-r--r--include/godot_cpp/classes/editor_plugin_registration.hpp62
-rw-r--r--include/godot_cpp/classes/wrapped.hpp41
-rw-r--r--include/godot_cpp/core/class_db.hpp12
-rw-r--r--include/godot_cpp/godot.hpp4
-rw-r--r--include/godot_cpp/variant/callable_method_pointer.hpp1
-rw-r--r--include/godot_cpp/variant/char_string.hpp12
-rw-r--r--src/classes/editor_plugin_registration.cpp (renamed from src/classes/editor_plugin.cpp)6
-rw-r--r--src/classes/wrapped.cpp44
-rw-r--r--src/core/class_db.cpp14
-rw-r--r--src/godot.cpp6
-rw-r--r--src/variant/char_string.cpp5
-rw-r--r--test/project/example.gdextension2
-rw-r--r--tools/godotcpp.py30
-rw-r--r--tools/linux.py3
-rw-r--r--tools/web.py (renamed from tools/javascript.py)43
19 files changed, 8503 insertions, 2163 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7e61692..1f316ff 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -78,8 +78,18 @@ jobs:
run-tests: false
cache-name: ios-arm64
+ - name: 🌐 Web (wasm32)
+ os: ubuntu-20.04
+ platform: web
+ artifact-name: godot-cpp-web-wasm32-release
+ artifact-path: bin/libgodot-cpp.web.template_release.wasm32.a
+ run-tests: false
+ cache-name: web-wasm32
+
env:
SCONS_CACHE: ${{ github.workspace }}/.scons-cache/
+ EM_VERSION: 3.1.45
+ EM_CACHE_FOLDER: "emsdk-cache"
steps:
- name: Checkout
@@ -104,6 +114,13 @@ jobs:
sudo apt-get update -qq
sudo apt-get install -qqq build-essential pkg-config
+ - name: Web dependencies
+ if: ${{ matrix.platform == 'web' }}
+ uses: mymindstorm/setup-emsdk@v12
+ with:
+ version: ${{env.EM_VERSION}}
+ actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
+
- name: Install scons
run: |
python -m pip install scons==4.0.0
@@ -111,6 +128,8 @@ jobs:
- name: Setup MinGW for Windows/MinGW build
if: ${{ matrix.platform == 'windows' && matrix.flags == 'use_mingw=yes' }}
uses: egor-tensin/setup-mingw@v2
+ with:
+ version: 12.2.0
- name: Generate godot-cpp sources only
run: |
diff --git a/binding_generator.py b/binding_generator.py
index 9c3284d..eb201ff 100644
--- a/binding_generator.py
+++ b/binding_generator.py
@@ -131,8 +131,6 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False):
if sources:
utility_functions_source_path = source_gen_folder / "variant" / "utility_functions.cpp"
files.append(str(utility_functions_source_path.as_posix()))
- register_engine_classes_source_path = source_gen_folder / "register_engine_classes.cpp"
- files.append(str(register_engine_classes_source_path.as_posix()))
return files
@@ -520,7 +518,10 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl
# Special cases.
if class_name == "String" or class_name == "StringName" or class_name == "NodePath":
- result.append(f"\t{class_name}(const char *from);")
+ if class_name == "StringName":
+ result.append(f"\t{class_name}(const char *from, bool p_static = false);")
+ else:
+ result.append(f"\t{class_name}(const char *from);")
result.append(f"\t{class_name}(const wchar_t *from);")
result.append(f"\t{class_name}(const char16_t *from);")
result.append(f"\t{class_name}(const char32_t *from);")
@@ -1207,10 +1208,6 @@ def generate_engine_classes_bindings(api, output_dir, use_template_get_node):
generate_engine_class_source(class_api, used_classes, fully_used_classes, use_template_get_node)
)
- register_engine_classes_filename = Path(output_dir) / "src" / "register_engine_classes.cpp"
- with register_engine_classes_filename.open("w+", encoding="utf-8") as source_file:
- source_file.write(generate_register_engine_classes_source(api))
-
for native_struct in api["native_structures"]:
struct_name = native_struct["name"]
snake_struct_name = camel_to_snake(struct_name)
@@ -1285,7 +1282,7 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us
result.append(f"#include <godot_cpp/{get_include_path(included)}>")
if class_name == "EditorPlugin":
- result.append("#include <godot_cpp/templates/vector.hpp>")
+ result.append("#include <godot_cpp/classes/editor_plugin_registration.hpp>")
if len(fully_used_classes) > 0:
result.append("")
@@ -1437,30 +1434,6 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us
result.append("};")
result.append("")
- if class_name == "EditorPlugin":
- result.append("class EditorPlugins {")
- result.append("private:")
- result.append("\tstatic Vector<StringName> plugin_classes;")
- result.append("")
- result.append("public:")
- result.append("\tstatic void add_plugin_class(const StringName &p_class_name);")
- result.append("\tstatic void remove_plugin_class(const StringName &p_class_name);")
- result.append("\tstatic void deinitialize(GDExtensionInitializationLevel p_level);")
- result.append("")
-
- result.append("\ttemplate <class T>")
- result.append("\tstatic void add_by_type() {")
- result.append("\t\tadd_plugin_class(T::get_class_static());")
- result.append("\t}")
-
- result.append("\ttemplate <class T>")
- result.append("\tstatic void remove_by_type() {")
- result.append("\t\tremove_plugin_class(T::get_class_static());")
- result.append("\t}")
-
- result.append("};")
- result.append("")
-
result.append("} // namespace godot")
result.append("")
@@ -1685,38 +1658,6 @@ def generate_engine_class_source(class_api, used_classes, fully_used_classes, us
return "\n".join(result)
-def generate_register_engine_classes_source(api):
- includes = []
- registrations = []
-
- for class_api in api["classes"]:
- if class_api["name"] == "ClassDB":
- continue
-
- class_name = class_api["name"]
- snake_class_name = camel_to_snake(class_name)
-
- includes.append(f"#include <godot_cpp/classes/{snake_class_name}.hpp>")
- registrations.append(f"\tClassDB::register_engine_class<{class_name}>();")
-
- result = []
- add_header(f"register_engine_classes.cpp", result)
-
- result.append("#include <godot_cpp/godot.hpp>")
- result.append("")
- result = result + includes
- result.append("")
- result.append("namespace godot {")
- result.append("")
- result.append("void GDExtensionBinding::register_engine_classes() {")
- result = result + registrations
- result.append("}")
- result.append("")
- result.append("} // namespace godot ")
-
- return "\n".join(result)
-
-
def generate_global_constants(api, output_dir):
include_gen_folder = Path(output_dir) / "include" / "godot_cpp" / "classes"
source_gen_folder = Path(output_dir) / "src" / "classes"
diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json
index 1eaa18f..c8093e9 100644
--- a/gdextension/extension_api.json
+++ b/gdextension/extension_api.json
@@ -3,9 +3,9 @@
"version_major": 4,
"version_minor": 2,
"version_patch": 0,
- "version_status": "dev3",
+ "version_status": "beta2",
"version_build": "official",
- "version_full_name": "Godot Engine v4.2.dev3.official"
+ "version_full_name": "Godot Engine v4.2.beta2.official"
},
"builtin_class_sizes": [
{
@@ -2594,6 +2594,22 @@
"value": 4194415
},
{
+ "name": "KEY_GLOBE",
+ "value": 4194416
+ },
+ {
+ "name": "KEY_KEYBOARD",
+ "value": 4194417
+ },
+ {
+ "name": "KEY_JIS_EISU",
+ "value": 4194418
+ },
+ {
+ "name": "KEY_JIS_KANA",
+ "value": 4194419
+ },
+ {
"name": "KEY_UNKNOWN",
"value": 8388607
},
@@ -2880,22 +2896,6 @@
{
"name": "KEY_SECTION",
"value": 167
- },
- {
- "name": "KEY_GLOBE",
- "value": 4194416
- },
- {
- "name": "KEY_KEYBOARD",
- "value": 4194417
- },
- {
- "name": "KEY_JIS_EISU",
- "value": 4194418
- },
- {
- "name": "KEY_JIS_KANA",
- "value": 4194419
}
]
},
@@ -4184,6 +4184,45 @@
]
},
{
+ "name": "asinh",
+ "return_type": "float",
+ "category": "math",
+ "is_vararg": false,
+ "hash": 2140049587,
+ "arguments": [
+ {
+ "name": "x",
+ "type": "float"
+ }
+ ]
+ },
+ {
+ "name": "acosh",
+ "return_type": "float",
+ "category": "math",
+ "is_vararg": false,
+ "hash": 2140049587,
+ "arguments": [
+ {
+ "name": "x",
+ "type": "float"
+ }
+ ]
+ },
+ {
+ "name": "atanh",
+ "return_type": "float",
+ "category": "math",
+ "is_vararg": false,
+ "hash": 2140049587,
+ "arguments": [
+ {
+ "name": "x",
+ "type": "float"
+ }
+ ]
+ },
+ {
"name": "sqrt",
"return_type": "float",
"category": "math",
@@ -4876,6 +4915,23 @@
]
},
{
+ "name": "angle_difference",
+ "return_type": "float",
+ "category": "math",
+ "is_vararg": false,
+ "hash": 92296394,
+ "arguments": [
+ {
+ "name": "from",
+ "type": "float"
+ },
+ {
+ "name": "to",
+ "type": "float"
+ }
+ ]
+ },
+ {
"name": "lerp_angle",
"return_type": "float",
"category": "math",
@@ -4989,6 +5045,27 @@
]
},
{
+ "name": "rotate_toward",
+ "return_type": "float",
+ "category": "math",
+ "is_vararg": false,
+ "hash": 998901048,
+ "arguments": [
+ {
+ "name": "from",
+ "type": "float"
+ },
+ {
+ "name": "to",
+ "type": "float"
+ },
+ {
+ "name": "delta",
+ "type": "float"
+ }
+ ]
+ },
+ {
"name": "deg_to_rad",
"return_type": "float",
"category": "math",
@@ -5421,6 +5498,23 @@
]
},
{
+ "name": "type_convert",
+ "return_type": "Variant",
+ "category": "general",
+ "is_vararg": false,
+ "hash": 2453062746,
+ "arguments": [
+ {
+ "name": "variant",
+ "type": "Variant"
+ },
+ {
+ "name": "type",
+ "type": "int"
+ }
+ ]
+ },
+ {
"name": "str",
"return_type": "String",
"category": "general",
@@ -5447,6 +5541,19 @@
]
},
{
+ "name": "type_string",
+ "return_type": "String",
+ "category": "general",
+ "is_vararg": false,
+ "hash": 942708242,
+ "arguments": [
+ {
+ "name": "type",
+ "type": "int"
+ }
+ ]
+ },
+ {
"name": "print",
"category": "general",
"is_vararg": true,
@@ -7774,6 +7881,14 @@
]
},
{
+ "name": "reverse",
+ "return_type": "String",
+ "is_vararg": false,
+ "is_const": true,
+ "is_static": false,
+ "hash": 3942272618
+ },
+ {
"name": "insert",
"return_type": "String",
"is_vararg": false,
@@ -9504,6 +9619,16 @@
"value": "Vector2i(1, 1)"
},
{
+ "name": "MIN",
+ "type": "Vector2i",
+ "value": "Vector2i(-2147483648, -2147483648)"
+ },
+ {
+ "name": "MAX",
+ "type": "Vector2i",
+ "value": "Vector2i(2147483647, 2147483647)"
+ },
+ {
"name": "LEFT",
"type": "Vector2i",
"value": "Vector2i(-1, 0)"
@@ -11314,6 +11439,16 @@
"value": "Vector3i(1, 1, 1)"
},
{
+ "name": "MIN",
+ "type": "Vector3i",
+ "value": "Vector3i(-2147483648, -2147483648, -2147483648)"
+ },
+ {
+ "name": "MAX",
+ "type": "Vector3i",
+ "value": "Vector3i(2147483647, 2147483647, 2147483647)"
+ },
+ {
"name": "LEFT",
"type": "Vector3i",
"value": "Vector3i(-1, 0, 0)"
@@ -11898,6 +12033,14 @@
]
},
{
+ "name": "is_conformal",
+ "return_type": "bool",
+ "is_vararg": false,
+ "is_const": true,
+ "is_static": false,
+ "hash": 3918633141
+ },
+ {
"name": "is_equal_approx",
"return_type": "bool",
"is_vararg": false,
@@ -12617,6 +12760,16 @@
"name": "ONE",
"type": "Vector4i",
"value": "Vector4i(1, 1, 1, 1)"
+ },
+ {
+ "name": "MIN",
+ "type": "Vector4i",
+ "value": "Vector4i(-2147483648, -2147483648, -2147483648, -2147483648)"
+ },
+ {
+ "name": "MAX",
+ "type": "Vector4i",
+ "value": "Vector4i(2147483647, 2147483647, 2147483647, 2147483647)"
}
],
"enums": [
@@ -14277,6 +14430,14 @@
]
},
{
+ "name": "is_conformal",
+ "return_type": "bool",
+ "is_vararg": false,
+ "is_const": true,
+ "is_static": false,
+ "hash": 3918633141
+ },
+ {
"name": "is_equal_approx",
"return_type": "bool",
"is_vararg": false,
@@ -17419,6 +17580,14 @@
]
},
{
+ "name": "reverse",
+ "return_type": "String",
+ "is_vararg": false,
+ "is_const": true,
+ "is_static": false,
+ "hash": 3942272618
+ },
+ {
"name": "insert",
"return_type": "String",
"is_vararg": false,
@@ -23511,7 +23680,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3167574919,
+ "hash": 3122411423,
+ "hash_compatibility": [
+ 3167574919
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -23640,7 +23812,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3370185124,
+ "hash": 4074201818,
+ "hash_compatibility": [
+ 3370185124
+ ],
"arguments": [
{
"name": "id",
@@ -23803,7 +23978,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4023243586,
+ "hash": 972357352,
+ "hash_compatibility": [
+ 4023243586
+ ],
"arguments": [
{
"name": "id",
@@ -23841,7 +24019,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3785370599,
+ "hash": 3710494224,
+ "hash_compatibility": [
+ 3785370599
+ ],
"arguments": [
{
"name": "id",
@@ -23866,7 +24047,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3785370599,
+ "hash": 3710494224,
+ "hash_compatibility": [
+ 3785370599
+ ],
"arguments": [
{
"name": "id",
@@ -23891,7 +24075,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4063588998,
+ "hash": 2288175859,
+ "hash_compatibility": [
+ 4063588998
+ ],
"return_value": {
"type": "bool"
},
@@ -24119,7 +24306,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2920922839,
+ "hash": 1038703438,
+ "hash_compatibility": [
+ 2920922839
+ ],
"arguments": [
{
"name": "id",
@@ -24282,7 +24472,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4023243586,
+ "hash": 972357352,
+ "hash_compatibility": [
+ 4023243586
+ ],
"arguments": [
{
"name": "id",
@@ -24320,7 +24513,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3785370599,
+ "hash": 3710494224,
+ "hash_compatibility": [
+ 3785370599
+ ],
"arguments": [
{
"name": "id",
@@ -24345,7 +24541,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3785370599,
+ "hash": 3710494224,
+ "hash_compatibility": [
+ 3785370599
+ ],
"arguments": [
{
"name": "id",
@@ -24370,7 +24569,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4063588998,
+ "hash": 2288175859,
+ "hash_compatibility": [
+ 4063588998
+ ],
"return_value": {
"type": "bool"
},
@@ -24895,7 +25097,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2825551965,
+ "hash": 1765703753,
+ "hash_compatibility": [
+ 2825551965
+ ],
"arguments": [
{
"name": "id",
@@ -24968,7 +25173,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1152863744,
+ "hash": 2261970063,
+ "hash_compatibility": [
+ 1152863744
+ ],
"arguments": [
{
"name": "region",
@@ -25204,7 +25412,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4158837846,
+ "hash": 3328440682,
+ "hash_compatibility": [
+ 4158837846
+ ],
"return_value": {
"type": "Button"
},
@@ -26653,7 +26864,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2393815928,
+ "hash": 3843682357,
+ "hash_compatibility": [
+ 2393815928
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -27131,7 +27345,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1985425300,
+ "hash": 808952278,
+ "hash_compatibility": [
+ 1985425300
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -27369,7 +27586,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3898229885,
+ "hash": 3245197284,
+ "hash_compatibility": [
+ 3898229885
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -27596,7 +27816,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1057544502,
+ "hash": 3656773645,
+ "hash_compatibility": [
+ 1057544502
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -27660,7 +27883,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1028302688,
+ "hash": 1719223284,
+ "hash_compatibility": [
+ 1028302688
+ ],
"arguments": [
{
"name": "track_idx",
@@ -27690,7 +27916,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1028302688,
+ "hash": 1719223284,
+ "hash_compatibility": [
+ 1028302688
+ ],
"arguments": [
{
"name": "track_idx",
@@ -27814,7 +28043,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3489962123,
+ "hash": 4021027286,
+ "hash_compatibility": [
+ 3489962123
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -28411,6 +28643,633 @@
]
},
{
+ "name": "AnimationMixer",
+ "is_refcounted": false,
+ "is_instantiable": false,
+ "inherits": "Node",
+ "api_type": "core",
+ "enums": [
+ {
+ "name": "AnimationCallbackModeProcess",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS",
+ "value": 0
+ },
+ {
+ "name": "ANIMATION_CALLBACK_MODE_PROCESS_IDLE",
+ "value": 1
+ },
+ {
+ "name": "ANIMATION_CALLBACK_MODE_PROCESS_MANUAL",
+ "value": 2
+ }
+ ]
+ },
+ {
+ "name": "AnimationCallbackModeMethod",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "ANIMATION_CALLBACK_MODE_METHOD_DEFERRED",
+ "value": 0
+ },
+ {
+ "name": "ANIMATION_CALLBACK_MODE_METHOD_IMMEDIATE",
+ "value": 1
+ }
+ ]
+ }
+ ],
+ "methods": [
+ {
+ "name": "_post_process_key_value",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "Variant"
+ },
+ "arguments": [
+ {
+ "name": "animation",
+ "type": "Animation"
+ },
+ {
+ "name": "track",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "value",
+ "type": "Variant"
+ },
+ {
+ "name": "object",
+ "type": "Object"
+ },
+ {
+ "name": "object_idx",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
+ "name": "add_animation_library",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 618909818,
+ "return_value": {
+ "type": "enum::Error"
+ },
+ "arguments": [
+ {
+ "name": "name",
+ "type": "StringName"
+ },
+ {
+ "name": "library",
+ "type": "AnimationLibrary"
+ }
+ ]
+ },
+ {
+ "name": "remove_animation_library",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3304788590,
+ "arguments": [
+ {
+ "name": "name",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
+ "name": "rename_animation_library",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3740211285,
+ "arguments": [
+ {
+ "name": "name",
+ "type": "StringName"
+ },
+ {
+ "name": "newname",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
+ "name": "has_animation_library",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2619796661,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "name",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
+ "name": "get_animation_library",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 147342321,
+ "return_value": {
+ "type": "AnimationLibrary"
+ },
+ "arguments": [
+ {
+ "name": "name",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
+ "name": "get_animation_library_list",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3995934104,
+ "return_value": {
+ "type": "typedarray::StringName"
+ }
+ },
+ {
+ "name": "has_animation",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2619796661,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "name",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
+ "name": "get_animation",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2933122410,
+ "return_value": {
+ "type": "Animation"
+ },
+ "arguments": [
+ {
+ "name": "name",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
+ "name": "get_animation_list",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1139954409,
+ "return_value": {
+ "type": "PackedStringArray"
+ }
+ },
+ {
+ "name": "set_active",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "active",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_active",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_deterministic",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "deterministic",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_deterministic",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_root_node",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1348162250,
+ "arguments": [
+ {
+ "name": "path",
+ "type": "NodePath"
+ }
+ ]
+ },
+ {
+ "name": "get_root_node",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 4075236667,
+ "return_value": {
+ "type": "NodePath"
+ }
+ },
+ {
+ "name": "set_callback_mode_process",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2153733086,
+ "arguments": [
+ {
+ "name": "mode",
+ "type": "enum::AnimationMixer.AnimationCallbackModeProcess"
+ }
+ ]
+ },
+ {
+ "name": "get_callback_mode_process",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1394468472,
+ "return_value": {
+ "type": "enum::AnimationMixer.AnimationCallbackModeProcess"
+ }
+ },
+ {
+ "name": "set_callback_mode_method",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 742218271,
+ "arguments": [
+ {
+ "name": "mode",
+ "type": "enum::AnimationMixer.AnimationCallbackModeMethod"
+ }
+ ]
+ },
+ {
+ "name": "get_callback_mode_method",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 489449656,
+ "return_value": {
+ "type": "enum::AnimationMixer.AnimationCallbackModeMethod"
+ }
+ },
+ {
+ "name": "set_audio_max_polyphony",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1286410249,
+ "arguments": [
+ {
+ "name": "max_polyphony",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
+ "name": "get_audio_max_polyphony",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3905245786,
+ "return_value": {
+ "type": "int",
+ "meta": "int32"
+ }
+ },
+ {
+ "name": "set_root_motion_track",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1348162250,
+ "arguments": [
+ {
+ "name": "path",
+ "type": "NodePath"
+ }
+ ]
+ },
+ {
+ "name": "get_root_motion_track",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 4075236667,
+ "return_value": {
+ "type": "NodePath"
+ }
+ },
+ {
+ "name": "get_root_motion_position",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3360562783,
+ "return_value": {
+ "type": "Vector3"
+ }
+ },
+ {
+ "name": "get_root_motion_rotation",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1222331677,
+ "return_value": {
+ "type": "Quaternion"
+ }
+ },
+ {
+ "name": "get_root_motion_scale",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3360562783,
+ "return_value": {
+ "type": "Vector3"
+ }
+ },
+ {
+ "name": "get_root_motion_position_accumulator",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3360562783,
+ "return_value": {
+ "type": "Vector3"
+ }
+ },
+ {
+ "name": "get_root_motion_rotation_accumulator",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1222331677,
+ "return_value": {
+ "type": "Quaternion"
+ }
+ },
+ {
+ "name": "get_root_motion_scale_accumulator",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3360562783,
+ "return_value": {
+ "type": "Vector3"
+ }
+ },
+ {
+ "name": "clear_caches",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3218959716
+ },
+ {
+ "name": "advance",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "delta",
+ "type": "float",
+ "meta": "double"
+ }
+ ]
+ },
+ {
+ "name": "set_reset_on_save_enabled",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "enabled",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_reset_on_save_enabled",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "find_animation",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1559484580,
+ "return_value": {
+ "type": "StringName"
+ },
+ "arguments": [
+ {
+ "name": "animation",
+ "type": "Animation"
+ }
+ ]
+ },
+ {
+ "name": "find_animation_library",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1559484580,
+ "return_value": {
+ "type": "StringName"
+ },
+ "arguments": [
+ {
+ "name": "animation",
+ "type": "Animation"
+ }
+ ]
+ }
+ ],
+ "signals": [
+ {
+ "name": "mixer_updated"
+ },
+ {
+ "name": "animation_list_changed"
+ },
+ {
+ "name": "animation_libraries_updated"
+ },
+ {
+ "name": "animation_finished",
+ "arguments": [
+ {
+ "name": "anim_name",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
+ "name": "animation_started",
+ "arguments": [
+ {
+ "name": "anim_name",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
+ "name": "caches_cleared"
+ }
+ ],
+ "properties": [
+ {
+ "type": "bool",
+ "name": "active",
+ "setter": "set_active",
+ "getter": "is_active"
+ },
+ {
+ "type": "bool",
+ "name": "deterministic",
+ "setter": "set_deterministic",
+ "getter": "is_deterministic"
+ },
+ {
+ "type": "bool",
+ "name": "reset_on_save",
+ "setter": "set_reset_on_save_enabled",
+ "getter": "is_reset_on_save_enabled"
+ },
+ {
+ "type": "NodePath",
+ "name": "root_node",
+ "setter": "set_root_node",
+ "getter": "get_root_node"
+ },
+ {
+ "type": "NodePath",
+ "name": "root_motion_track",
+ "setter": "set_root_motion_track",
+ "getter": "get_root_motion_track"
+ },
+ {
+ "type": "int",
+ "name": "audio_max_polyphony",
+ "setter": "set_audio_max_polyphony",
+ "getter": "get_audio_max_polyphony"
+ },
+ {
+ "type": "int",
+ "name": "callback_mode_process",
+ "setter": "set_callback_mode_process",
+ "getter": "get_callback_mode_process"
+ },
+ {
+ "type": "int",
+ "name": "callback_mode_method",
+ "setter": "set_callback_mode_method",
+ "getter": "get_callback_mode_method"
+ }
+ ]
+ },
+ {
"name": "AnimationNode",
"is_refcounted": true,
"is_instantiable": true,
@@ -28727,7 +29586,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 11797022,
+ "hash": 1630801826,
+ "hash_compatibility": [
+ 11797022
+ ],
"arguments": [
{
"name": "animation",
@@ -28769,7 +29631,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 263389446,
+ "hash": 1746075988,
+ "hash_compatibility": [
+ 263389446
+ ],
"return_value": {
"type": "float",
"meta": "double"
@@ -28824,7 +29689,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2709059328,
+ "hash": 1361527350,
+ "hash_compatibility": [
+ 2709059328
+ ],
"return_value": {
"type": "float",
"meta": "double"
@@ -29106,7 +29974,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4069484420,
+ "hash": 285050433,
+ "hash_compatibility": [
+ 4069484420
+ ],
"arguments": [
{
"name": "node",
@@ -29457,7 +30328,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1533588937,
+ "hash": 402261981,
+ "hash_compatibility": [
+ 1533588937
+ ],
"arguments": [
{
"name": "node",
@@ -29582,7 +30456,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 642454959,
+ "hash": 753017335,
+ "hash_compatibility": [
+ 642454959
+ ],
"arguments": [
{
"name": "x",
@@ -29960,7 +30837,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2055804584,
+ "hash": 1980270704,
+ "hash_compatibility": [
+ 2055804584
+ ],
"arguments": [
{
"name": "name",
@@ -30511,7 +31391,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2055804584,
+ "hash": 1980270704,
+ "hash_compatibility": [
+ 2055804584
+ ],
"arguments": [
{
"name": "name",
@@ -30941,7 +31824,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3683006648,
+ "hash": 3823612587,
+ "hash_compatibility": [
+ 3683006648
+ ],
"arguments": [
{
"name": "to_node",
@@ -30960,7 +31846,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3683006648,
+ "hash": 3823612587,
+ "hash_compatibility": [
+ 3683006648
+ ],
"arguments": [
{
"name": "node",
@@ -31633,7 +32522,7 @@
"name": "AnimationPlayer",
"is_refcounted": false,
"is_instantiable": true,
- "inherits": "Node",
+ "inherits": "AnimationMixer",
"api_type": "core",
"enums": [
{
@@ -31671,183 +32560,6 @@
],
"methods": [
{
- "name": "_post_process_key_value",
- "is_const": true,
- "is_static": false,
- "is_vararg": false,
- "is_virtual": true,
- "return_value": {
- "type": "Variant"
- },
- "arguments": [
- {
- "name": "animation",
- "type": "Animation"
- },
- {
- "name": "track",
- "type": "int",
- "meta": "int32"
- },
- {
- "name": "value",
- "type": "Variant"
- },
- {
- "name": "object",
- "type": "Object"
- },
- {
- "name": "object_idx",
- "type": "int",
- "meta": "int32"
- }
- ]
- },
- {
- "name": "add_animation_library",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 618909818,
- "return_value": {
- "type": "enum::Error"
- },
- "arguments": [
- {
- "name": "name",
- "type": "StringName"
- },
- {
- "name": "library",
- "type": "AnimationLibrary"
- }
- ]
- },
- {
- "name": "remove_animation_library",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3304788590,
- "arguments": [
- {
- "name": "name",
- "type": "StringName"
- }
- ]
- },
- {
- "name": "rename_animation_library",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3740211285,
- "arguments": [
- {
- "name": "name",
- "type": "StringName"
- },
- {
- "name": "newname",
- "type": "StringName"
- }
- ]
- },
- {
- "name": "has_animation_library",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2619796661,
- "return_value": {
- "type": "bool"
- },
- "arguments": [
- {
- "name": "name",
- "type": "StringName"
- }
- ]
- },
- {
- "name": "get_animation_library",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 147342321,
- "return_value": {
- "type": "AnimationLibrary"
- },
- "arguments": [
- {
- "name": "name",
- "type": "StringName"
- }
- ]
- },
- {
- "name": "get_animation_library_list",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3995934104,
- "return_value": {
- "type": "typedarray::StringName"
- }
- },
- {
- "name": "has_animation",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2619796661,
- "return_value": {
- "type": "bool"
- },
- "arguments": [
- {
- "name": "name",
- "type": "StringName"
- }
- ]
- },
- {
- "name": "get_animation",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2933122410,
- "return_value": {
- "type": "Animation"
- },
- "arguments": [
- {
- "name": "name",
- "type": "StringName"
- }
- ]
- },
- {
- "name": "get_animation_list",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 1139954409,
- "return_value": {
- "type": "PackedStringArray"
- }
- },
- {
"name": "animation_set_next",
"is_const": false,
"is_vararg": false,
@@ -31856,11 +32568,11 @@
"hash": 3740211285,
"arguments": [
{
- "name": "anim_from",
+ "name": "animation_from",
"type": "StringName"
},
{
- "name": "anim_to",
+ "name": "animation_to",
"type": "StringName"
}
]
@@ -31877,7 +32589,7 @@
},
"arguments": [
{
- "name": "anim_from",
+ "name": "animation_from",
"type": "StringName"
}
]
@@ -31891,11 +32603,11 @@
"hash": 3231131886,
"arguments": [
{
- "name": "anim_from",
+ "name": "animation_from",
"type": "StringName"
},
{
- "name": "anim_to",
+ "name": "animation_to",
"type": "StringName"
},
{
@@ -31918,11 +32630,11 @@
},
"arguments": [
{
- "name": "anim_from",
+ "name": "animation_from",
"type": "StringName"
},
{
- "name": "anim_to",
+ "name": "animation_to",
"type": "StringName"
}
]
@@ -32050,7 +32762,7 @@
"hash": 83702148,
"arguments": [
{
- "name": "anim",
+ "name": "animation",
"type": "String"
}
]
@@ -32075,7 +32787,7 @@
"hash": 83702148,
"arguments": [
{
- "name": "anim",
+ "name": "animation",
"type": "String"
}
]
@@ -32125,31 +32837,6 @@
"hash": 3218959716
},
{
- "name": "set_active",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2586408642,
- "arguments": [
- {
- "name": "active",
- "type": "bool"
- }
- ]
- },
- {
- "name": "is_active",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 36873697,
- "return_value": {
- "type": "bool"
- }
- },
- {
"name": "set_speed_scale",
"is_const": false,
"is_vararg": false,
@@ -32214,7 +32901,7 @@
}
},
{
- "name": "set_reset_on_save_enabled",
+ "name": "set_movie_quit_on_finish_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -32228,7 +32915,7 @@
]
},
{
- "name": "is_reset_on_save_enabled",
+ "name": "is_movie_quit_on_finish_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
@@ -32239,73 +32926,58 @@
}
},
{
- "name": "set_root",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 1348162250,
- "arguments": [
- {
- "name": "path",
- "type": "NodePath"
- }
- ]
- },
- {
- "name": "get_root",
+ "name": "get_current_animation_position",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4075236667,
+ "hash": 1740695150,
"return_value": {
- "type": "NodePath"
+ "type": "float",
+ "meta": "double"
}
},
{
- "name": "find_animation",
+ "name": "get_current_animation_length",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1559484580,
+ "hash": 1740695150,
"return_value": {
- "type": "StringName"
- },
- "arguments": [
- {
- "name": "animation",
- "type": "Animation"
- }
- ]
+ "type": "float",
+ "meta": "double"
+ }
},
{
- "name": "find_animation_library",
- "is_const": true,
+ "name": "seek",
+ "is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1559484580,
- "return_value": {
- "type": "StringName"
- },
+ "hash": 1807872683,
+ "hash_compatibility": [
+ 2087892650
+ ],
"arguments": [
{
- "name": "animation",
- "type": "Animation"
+ "name": "seconds",
+ "type": "float",
+ "meta": "double"
+ },
+ {
+ "name": "update",
+ "type": "bool",
+ "default_value": "false"
+ },
+ {
+ "name": "update_only",
+ "type": "bool",
+ "default_value": "false"
}
]
},
{
- "name": "clear_caches",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3218959716
- },
- {
"name": "set_process_callback",
"is_const": false,
"is_vararg": false,
@@ -32356,124 +33028,38 @@
}
},
{
- "name": "set_audio_max_polyphony",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 1286410249,
- "arguments": [
- {
- "name": "max_polyphony",
- "type": "int",
- "meta": "int32"
- }
- ]
- },
- {
- "name": "get_audio_max_polyphony",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3905245786,
- "return_value": {
- "type": "int",
- "meta": "int32"
- }
- },
- {
- "name": "set_movie_quit_on_finish_enabled",
+ "name": "set_root",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2586408642,
+ "hash": 1348162250,
"arguments": [
{
- "name": "enabled",
- "type": "bool"
+ "name": "path",
+ "type": "NodePath"
}
]
},
{
- "name": "is_movie_quit_on_finish_enabled",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 36873697,
- "return_value": {
- "type": "bool"
- }
- },
- {
- "name": "get_current_animation_position",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 1740695150,
- "return_value": {
- "type": "float",
- "meta": "double"
- }
- },
- {
- "name": "get_current_animation_length",
+ "name": "get_root",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1740695150,
+ "hash": 4075236667,
"return_value": {
- "type": "float",
- "meta": "double"
+ "type": "NodePath"
}
- },
- {
- "name": "seek",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2087892650,
- "arguments": [
- {
- "name": "seconds",
- "type": "float",
- "meta": "double"
- },
- {
- "name": "update",
- "type": "bool",
- "default_value": "false"
- }
- ]
- },
- {
- "name": "advance",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 373806689,
- "arguments": [
- {
- "name": "delta",
- "type": "float",
- "meta": "double"
- }
- ]
}
],
"signals": [
{
- "name": "animation_finished",
+ "name": "current_animation_changed",
"arguments": [
{
- "name": "anim_name",
- "type": "StringName"
+ "name": "name",
+ "type": "String"
}
]
},
@@ -32489,34 +33075,10 @@
"type": "StringName"
}
]
- },
- {
- "name": "animation_started",
- "arguments": [
- {
- "name": "anim_name",
- "type": "StringName"
- }
- ]
- },
- {
- "name": "animation_list_changed"
- },
- {
- "name": "animation_libraries_updated"
- },
- {
- "name": "caches_cleared"
}
],
"properties": [
{
- "type": "NodePath",
- "name": "root_node",
- "setter": "set_root",
- "getter": "get_root"
- },
- {
"type": "StringName",
"name": "current_animation",
"setter": "set_current_animation",
@@ -32535,12 +33097,6 @@
"getter": "get_autoplay"
},
{
- "type": "bool",
- "name": "reset_on_save",
- "setter": "set_reset_on_save_enabled",
- "getter": "is_reset_on_save_enabled"
- },
- {
"type": "float",
"name": "current_animation_length",
"getter": "get_current_animation_length"
@@ -32551,42 +33107,18 @@
"getter": "get_current_animation_position"
},
{
- "type": "int",
- "name": "playback_process_mode",
- "setter": "set_process_callback",
- "getter": "get_process_callback"
- },
- {
"type": "float",
"name": "playback_default_blend_time",
"setter": "set_default_blend_time",
"getter": "get_default_blend_time"
},
{
- "type": "bool",
- "name": "playback_active",
- "setter": "set_active",
- "getter": "is_active"
- },
- {
"type": "float",
"name": "speed_scale",
"setter": "set_speed_scale",
"getter": "get_speed_scale"
},
{
- "type": "int",
- "name": "method_call_mode",
- "setter": "set_method_call_mode",
- "getter": "get_method_call_mode"
- },
- {
- "type": "int",
- "name": "audio_max_polyphony",
- "setter": "set_audio_max_polyphony",
- "getter": "get_audio_max_polyphony"
- },
- {
"type": "bool",
"name": "movie_quit_on_finish",
"setter": "set_movie_quit_on_finish_enabled",
@@ -32605,7 +33137,7 @@
"name": "AnimationTree",
"is_refcounted": false,
"is_instantiable": true,
- "inherits": "Node",
+ "inherits": "AnimationMixer",
"api_type": "core",
"enums": [
{
@@ -32629,75 +33161,19 @@
],
"methods": [
{
- "name": "_post_process_key_value",
- "is_const": true,
- "is_static": false,
- "is_vararg": false,
- "is_virtual": true,
- "return_value": {
- "type": "Variant"
- },
- "arguments": [
- {
- "name": "animation",
- "type": "Animation"
- },
- {
- "name": "track",
- "type": "int",
- "meta": "int32"
- },
- {
- "name": "value",
- "type": "Variant"
- },
- {
- "name": "object",
- "type": "Object"
- },
- {
- "name": "object_idx",
- "type": "int",
- "meta": "int32"
- }
- ]
- },
- {
- "name": "set_active",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2586408642,
- "arguments": [
- {
- "name": "active",
- "type": "bool"
- }
- ]
- },
- {
- "name": "is_active",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 36873697,
- "return_value": {
- "type": "bool"
- }
- },
- {
"name": "set_tree_root",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 712869711,
+ "hash": 2581683800,
+ "hash_compatibility": [
+ 712869711
+ ],
"arguments": [
{
- "name": "root",
- "type": "AnimationNode"
+ "name": "animation_node",
+ "type": "AnimationRootNode"
}
]
},
@@ -32707,59 +33183,12 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1462070895,
- "return_value": {
- "type": "AnimationNode"
- }
- },
- {
- "name": "set_process_callback",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 1723352826,
- "arguments": [
- {
- "name": "mode",
- "type": "enum::AnimationTree.AnimationProcessCallback"
- }
- ]
- },
- {
- "name": "get_process_callback",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 891317132,
- "return_value": {
- "type": "enum::AnimationTree.AnimationProcessCallback"
- }
- },
- {
- "name": "set_animation_player",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 1348162250,
- "arguments": [
- {
- "name": "root",
- "type": "NodePath"
- }
- ]
- },
- {
- "name": "get_animation_player",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 4075236667,
+ "hash": 4110384712,
+ "hash_compatibility": [
+ 1462070895
+ ],
"return_value": {
- "type": "NodePath"
+ "type": "AnimationRootNode"
}
},
{
@@ -32771,7 +33200,7 @@
"hash": 1348162250,
"arguments": [
{
- "name": "node",
+ "name": "path",
"type": "NodePath"
}
]
@@ -32788,7 +33217,7 @@
}
},
{
- "name": "set_root_motion_track",
+ "name": "set_animation_player",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -32802,7 +33231,7 @@
]
},
{
- "name": "get_root_motion_track",
+ "name": "get_animation_player",
"is_const": true,
"is_vararg": false,
"is_static": false,
@@ -32813,135 +33242,34 @@
}
},
{
- "name": "set_audio_max_polyphony",
+ "name": "set_process_callback",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1286410249,
+ "hash": 1723352826,
"arguments": [
{
- "name": "max_polyphony",
- "type": "int",
- "meta": "int32"
+ "name": "mode",
+ "type": "enum::AnimationTree.AnimationProcessCallback"
}
]
},
{
- "name": "get_audio_max_polyphony",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3905245786,
- "return_value": {
- "type": "int",
- "meta": "int32"
- }
- },
- {
- "name": "get_root_motion_position",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3360562783,
- "return_value": {
- "type": "Vector3"
- }
- },
- {
- "name": "get_root_motion_rotation",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 1222331677,
- "return_value": {
- "type": "Quaternion"
- }
- },
- {
- "name": "get_root_motion_scale",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3360562783,
- "return_value": {
- "type": "Vector3"
- }
- },
- {
- "name": "get_root_motion_position_accumulator",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3360562783,
- "return_value": {
- "type": "Vector3"
- }
- },
- {
- "name": "get_root_motion_rotation_accumulator",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 1222331677,
- "return_value": {
- "type": "Quaternion"
- }
- },
- {
- "name": "get_root_motion_scale_accumulator",
+ "name": "get_process_callback",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3360562783,
+ "hash": 891317132,
"return_value": {
- "type": "Vector3"
+ "type": "enum::AnimationTree.AnimationProcessCallback"
}
- },
- {
- "name": "advance",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 373806689,
- "arguments": [
- {
- "name": "delta",
- "type": "float",
- "meta": "double"
- }
- ]
}
],
"signals": [
{
"name": "animation_player_changed"
- },
- {
- "name": "animation_started",
- "arguments": [
- {
- "name": "anim_name",
- "type": "StringName"
- }
- ]
- },
- {
- "name": "animation_finished",
- "arguments": [
- {
- "name": "anim_name",
- "type": "StringName"
- }
- ]
}
],
"properties": [
@@ -32953,39 +33281,15 @@
},
{
"type": "NodePath",
- "name": "anim_player",
- "setter": "set_animation_player",
- "getter": "get_animation_player"
- },
- {
- "type": "NodePath",
"name": "advance_expression_base_node",
"setter": "set_advance_expression_base_node",
"getter": "get_advance_expression_base_node"
},
{
- "type": "bool",
- "name": "active",
- "setter": "set_active",
- "getter": "is_active"
- },
- {
- "type": "int",
- "name": "process_callback",
- "setter": "set_process_callback",
- "getter": "get_process_callback"
- },
- {
- "type": "int",
- "name": "audio_max_polyphony",
- "setter": "set_audio_max_polyphony",
- "getter": "get_audio_max_polyphony"
- },
- {
"type": "NodePath",
- "name": "root_motion_track",
- "setter": "set_root_motion_track",
- "getter": "get_root_motion_track"
+ "name": "anim_player",
+ "setter": "set_animation_player",
+ "getter": "get_animation_player"
}
]
},
@@ -34751,7 +35055,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 172284304,
+ "hash": 1796411378,
+ "hash_compatibility": [
+ 172284304
+ ],
"arguments": [
{
"name": "primitive",
@@ -38259,7 +38566,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2693213071,
+ "hash": 797993915,
+ "hash_compatibility": [
+ 2693213071
+ ],
"return_value": {
"type": "Vector2"
},
@@ -38852,7 +39162,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4147765248,
+ "hash": 4068819785,
+ "hash_compatibility": [
+ 4147765248
+ ],
"arguments": [
{
"name": "bus_idx",
@@ -38939,7 +39252,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2887144608,
+ "hash": 1829771234,
+ "hash_compatibility": [
+ 2887144608
+ ],
"return_value": {
"type": "AudioEffectInstance"
},
@@ -39299,6 +39615,23 @@
"signals": [
{
"name": "bus_layout_changed"
+ },
+ {
+ "name": "bus_renamed",
+ "arguments": [
+ {
+ "name": "bus_index",
+ "type": "int"
+ },
+ {
+ "name": "old_name",
+ "type": "StringName"
+ },
+ {
+ "name": "new_name",
+ "type": "StringName"
+ }
+ ]
}
],
"properties": [
@@ -40191,7 +40524,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3792189967,
+ "hash": 604492179,
+ "hash_compatibility": [
+ 3792189967
+ ],
"return_value": {
"type": "int",
"meta": "int64"
@@ -42025,7 +42361,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3197802065,
+ "hash": 1892018854,
+ "hash_compatibility": [
+ 3197802065
+ ],
"arguments": [
{
"name": "index",
@@ -42265,12 +42604,6 @@
"properties": [
{
"type": "int",
- "name": "streams_count",
- "setter": "set_streams_count",
- "getter": "get_streams_count"
- },
- {
- "type": "int",
"name": "playback_mode",
"setter": "set_playback_mode",
"getter": "get_playback_mode"
@@ -42286,6 +42619,12 @@
"name": "random_volume_offset_db",
"setter": "set_random_volume_offset_db",
"getter": "get_random_volume_offset_db"
+ },
+ {
+ "type": "int",
+ "name": "streams_count",
+ "setter": "set_streams_count",
+ "getter": "get_streams_count"
}
]
},
@@ -43526,8 +43865,12 @@
"value": 20
},
{
- "name": "FLAG_MAX",
+ "name": "FLAG_DISABLE_FOG",
"value": 21
+ },
+ {
+ "name": "FLAG_MAX",
+ "value": 22
}
]
},
@@ -45537,6 +45880,13 @@
},
{
"type": "bool",
+ "name": "disable_fog",
+ "setter": "set_flag",
+ "getter": "get_flag",
+ "index": 21
+ },
+ {
+ "type": "bool",
"name": "vertex_color_use_as_albedo",
"setter": "set_flag",
"getter": "get_flag",
@@ -46231,7 +46581,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 505265891,
+ "hash": 106271684,
+ "hash_compatibility": [
+ 505265891
+ ],
"arguments": [
{
"name": "image",
@@ -46418,7 +46771,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 876132484,
+ "hash": 48478126,
+ "hash_compatibility": [
+ 876132484
+ ],
"return_value": {
"type": "typedarray::PackedVector2Array"
},
@@ -55883,7 +56239,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2516941890,
+ "hash": 1562330099,
+ "hash_compatibility": [
+ 2516941890
+ ],
"arguments": [
{
"name": "from",
@@ -55916,7 +56275,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2175215884,
+ "hash": 684651049,
+ "hash_compatibility": [
+ 2175215884
+ ],
"arguments": [
{
"name": "from",
@@ -55955,7 +56317,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4175878946,
+ "hash": 3797364428,
+ "hash_compatibility": [
+ 4175878946
+ ],
"arguments": [
{
"name": "points",
@@ -55984,7 +56349,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2239164197,
+ "hash": 2311979562,
+ "hash_compatibility": [
+ 2239164197
+ ],
"arguments": [
{
"name": "points",
@@ -56013,7 +56381,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3486841771,
+ "hash": 4140652635,
+ "hash_compatibility": [
+ 3486841771
+ ],
"arguments": [
{
"name": "center",
@@ -56062,7 +56433,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4230657331,
+ "hash": 2239075205,
+ "hash_compatibility": [
+ 4230657331
+ ],
"arguments": [
{
"name": "points",
@@ -56086,7 +56460,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 235933050,
+ "hash": 4072951537,
+ "hash_compatibility": [
+ 235933050
+ ],
"arguments": [
{
"name": "points",
@@ -56110,7 +56487,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 84391229,
+ "hash": 2417231121,
+ "hash_compatibility": [
+ 84391229
+ ],
"arguments": [
{
"name": "rect",
@@ -56162,7 +56542,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1695860435,
+ "hash": 520200117,
+ "hash_compatibility": [
+ 1695860435
+ ],
"arguments": [
{
"name": "texture",
@@ -56185,7 +56568,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3204081724,
+ "hash": 3832805018,
+ "hash_compatibility": [
+ 3204081724
+ ],
"arguments": [
{
"name": "texture",
@@ -56217,7 +56603,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3196597532,
+ "hash": 3883821411,
+ "hash_compatibility": [
+ 3196597532
+ ],
"arguments": [
{
"name": "texture",
@@ -56254,7 +56643,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2672026175,
+ "hash": 4219163252,
+ "hash_compatibility": [
+ 2672026175
+ ],
"arguments": [
{
"name": "texture",
@@ -56299,7 +56691,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 169610548,
+ "hash": 3212350954,
+ "hash_compatibility": [
+ 169610548
+ ],
"arguments": [
{
"name": "texture",
@@ -56344,7 +56739,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2248678295,
+ "hash": 3288481815,
+ "hash_compatibility": [
+ 2248678295
+ ],
"arguments": [
{
"name": "points",
@@ -56371,7 +56769,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2683625537,
+ "hash": 974537912,
+ "hash_compatibility": [
+ 2683625537
+ ],
"arguments": [
{
"name": "points",
@@ -56399,7 +56800,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1659099617,
+ "hash": 15245644,
+ "hash_compatibility": [
+ 1659099617
+ ],
"arguments": [
{
"name": "points",
@@ -56427,7 +56831,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2552080639,
+ "hash": 728290553,
+ "hash_compatibility": [
+ 2552080639
+ ],
"arguments": [
{
"name": "font",
@@ -56486,7 +56893,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4002645436,
+ "hash": 1927038192,
+ "hash_compatibility": [
+ 4002645436
+ ],
"arguments": [
{
"name": "font",
@@ -56556,7 +56966,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 850005221,
+ "hash": 340562381,
+ "hash_compatibility": [
+ 850005221
+ ],
"arguments": [
{
"name": "font",
@@ -56621,7 +57034,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3717870722,
+ "hash": 1912318525,
+ "hash_compatibility": [
+ 3717870722
+ ],
"arguments": [
{
"name": "font",
@@ -56697,7 +57113,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2329089032,
+ "hash": 3339793283,
+ "hash_compatibility": [
+ 2329089032
+ ],
"arguments": [
{
"name": "font",
@@ -56730,7 +57149,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 419453826,
+ "hash": 3302344391,
+ "hash_compatibility": [
+ 419453826
+ ],
"arguments": [
{
"name": "font",
@@ -56769,7 +57191,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1634855856,
+ "hash": 153818295,
+ "hash_compatibility": [
+ 1634855856
+ ],
"arguments": [
{
"name": "mesh",
@@ -56815,7 +57240,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3283884939,
+ "hash": 288975085,
+ "hash_compatibility": [
+ 3283884939
+ ],
"arguments": [
{
"name": "position",
@@ -56854,7 +57282,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2295343543,
+ "hash": 3112831842,
+ "hash_compatibility": [
+ 2295343543
+ ],
"arguments": [
{
"name": "animation_length",
@@ -58602,6 +59033,31 @@
"api_type": "core",
"methods": [
{
+ "name": "get_transform",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3761352769,
+ "return_value": {
+ "type": "Transform2D"
+ }
+ },
+ {
+ "name": "set_transform",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2761652528,
+ "arguments": [
+ {
+ "name": "transform",
+ "type": "Transform2D"
+ }
+ ]
+ },
+ {
"name": "get_range",
"is_const": false,
"is_vararg": false,
@@ -58914,6 +59370,12 @@
],
"properties": [
{
+ "type": "Transform2D",
+ "name": "transform",
+ "setter": "set_transform",
+ "getter": "get_transform"
+ },
+ {
"type": "Vector2i",
"name": "range",
"setter": "set_range",
@@ -61877,6 +62339,92 @@
}
},
{
+ "name": "create_code_region",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3218959716
+ },
+ {
+ "name": "get_code_region_start_tag",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 201670096,
+ "return_value": {
+ "type": "String"
+ }
+ },
+ {
+ "name": "get_code_region_end_tag",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 201670096,
+ "return_value": {
+ "type": "String"
+ }
+ },
+ {
+ "name": "set_code_region_tags",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 708800718,
+ "arguments": [
+ {
+ "name": "start",
+ "type": "String",
+ "default_value": "\"region\""
+ },
+ {
+ "name": "end",
+ "type": "String",
+ "default_value": "\"endregion\""
+ }
+ ]
+ },
+ {
+ "name": "is_line_code_region_start",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1116898809,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "line",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
+ "name": "is_line_code_region_end",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1116898809,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "line",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
"name": "add_string_delimiter",
"is_const": false,
"is_vararg": false,
@@ -61969,7 +62517,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3294126239,
+ "hash": 688195400,
+ "hash_compatibility": [
+ 3294126239
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -62081,7 +62632,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3294126239,
+ "hash": 688195400,
+ "hash_compatibility": [
+ 3294126239
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -62242,7 +62796,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1629240608,
+ "hash": 947964390,
+ "hash_compatibility": [
+ 1629240608
+ ],
"arguments": [
{
"name": "type",
@@ -62522,6 +63079,14 @@
"type": "bool"
}
]
+ },
+ {
+ "name": "duplicate_lines",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3218959716
}
],
"signals": [
@@ -67148,7 +67713,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3651818904,
+ "hash": 3724524307,
+ "hash_compatibility": [
+ 3651818904
+ ],
"arguments": [
{
"name": "preset",
@@ -67173,7 +67741,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3651818904,
+ "hash": 3724524307,
+ "hash_compatibility": [
+ 3651818904
+ ],
"arguments": [
{
"name": "preset",
@@ -67198,7 +67769,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2589937826,
+ "hash": 2302782885,
+ "hash_compatibility": [
+ 2589937826
+ ],
"arguments": [
{
"name": "side",
@@ -67701,6 +68275,23 @@
}
},
{
+ "name": "find_valid_focus_neighbor",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1543910170,
+ "return_value": {
+ "type": "Control"
+ },
+ "arguments": [
+ {
+ "name": "side",
+ "type": "enum::Side"
+ }
+ ]
+ },
+ {
"name": "set_h_size_flags",
"is_const": false,
"is_vararg": false,
@@ -68043,7 +68634,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2336455395,
+ "hash": 3163973443,
+ "hash_compatibility": [
+ 2336455395
+ ],
"return_value": {
"type": "Texture2D"
},
@@ -68065,7 +68659,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2759935355,
+ "hash": 604739069,
+ "hash_compatibility": [
+ 2759935355
+ ],
"return_value": {
"type": "StyleBox"
},
@@ -68087,7 +68684,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 387378635,
+ "hash": 2826986490,
+ "hash_compatibility": [
+ 387378635
+ ],
"return_value": {
"type": "Font"
},
@@ -68109,7 +68709,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 229578101,
+ "hash": 1327056374,
+ "hash_compatibility": [
+ 229578101
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -68132,7 +68735,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2377051548,
+ "hash": 2798751242,
+ "hash_compatibility": [
+ 2377051548
+ ],
"return_value": {
"type": "Color"
},
@@ -68154,7 +68760,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 229578101,
+ "hash": 1327056374,
+ "hash_compatibility": [
+ 229578101
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -68279,7 +68888,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -68301,7 +68913,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -68323,7 +68938,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -68345,7 +68963,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -68367,7 +68988,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -68389,7 +69013,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -69397,7 +70024,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 947314696,
+ "hash": 492266173,
+ "hash_compatibility": [
+ 947314696
+ ],
"return_value": {
"type": "X509Certificate"
},
@@ -69771,7 +70401,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2766148617,
+ "hash": 434072736,
+ "hash_compatibility": [
+ 2766148617
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -70250,7 +70883,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2437345566,
+ "hash": 4175465202,
+ "hash_compatibility": [
+ 2437345566
+ ],
"arguments": [
{
"name": "position",
@@ -70688,7 +71324,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3836314258,
+ "hash": 2931053748,
+ "hash_compatibility": [
+ 3836314258
+ ],
"arguments": [
{
"name": "position",
@@ -72442,7 +73081,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2018049411,
+ "hash": 2610976713,
+ "hash_compatibility": [
+ 2018049411
+ ],
"return_value": {
"type": "enum::Error"
}
@@ -72747,7 +73389,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 198434953,
+ "hash": 1063198817,
+ "hash_compatibility": [
+ 198434953
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -72774,7 +73419,10 @@
"is_vararg": false,
"is_static": true,
"is_virtual": false,
- "hash": 198434953,
+ "hash": 1063198817,
+ "hash_compatibility": [
+ 198434953
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -72920,6 +73568,23 @@
"return_value": {
"type": "bool"
}
+ },
+ {
+ "name": "is_case_sensitive",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3927539163,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "path",
+ "type": "String"
+ }
+ ]
}
],
"properties": [
@@ -73699,12 +74364,37 @@
}
},
{
+ "name": "global_menu_set_popup_callbacks",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3893727526,
+ "arguments": [
+ {
+ "name": "menu_root",
+ "type": "String"
+ },
+ {
+ "name": "open_callback",
+ "type": "Callable"
+ },
+ {
+ "name": "close_callback",
+ "type": "Callable"
+ }
+ ]
+ },
+ {
"name": "global_menu_add_submenu_item",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3806306913,
+ "hash": 2828985934,
+ "hash_compatibility": [
+ 3806306913
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -73736,7 +74426,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3415468211,
+ "hash": 3401266716,
+ "hash_compatibility": [
+ 3415468211
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -73784,7 +74477,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3415468211,
+ "hash": 3401266716,
+ "hash_compatibility": [
+ 3415468211
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -73832,7 +74528,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1700867534,
+ "hash": 4245856523,
+ "hash_compatibility": [
+ 1700867534
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -73884,7 +74583,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1700867534,
+ "hash": 4245856523,
+ "hash_compatibility": [
+ 1700867534
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -73936,7 +74638,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3415468211,
+ "hash": 3401266716,
+ "hash_compatibility": [
+ 3415468211
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -73984,7 +74689,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1700867534,
+ "hash": 4245856523,
+ "hash_compatibility": [
+ 1700867534
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -74036,7 +74744,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 635750054,
+ "hash": 3431222859,
+ "hash_compatibility": [
+ 635750054
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -74094,7 +74805,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1041533178,
+ "hash": 3214812433,
+ "hash_compatibility": [
+ 1041533178
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -74377,6 +75091,28 @@
]
},
{
+ "name": "global_menu_is_item_hidden",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3511468594,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "menu_root",
+ "type": "String"
+ },
+ {
+ "name": "idx",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
"name": "global_menu_get_item_tooltip",
"is_const": true,
"is_vararg": false,
@@ -74582,6 +75318,29 @@
]
},
{
+ "name": "global_menu_set_item_hover_callbacks",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3809915389,
+ "arguments": [
+ {
+ "name": "menu_root",
+ "type": "String"
+ },
+ {
+ "name": "idx",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "callback",
+ "type": "Callable"
+ }
+ ]
+ },
+ {
"name": "global_menu_set_item_key_callback",
"is_const": false,
"is_vararg": false,
@@ -74720,6 +75479,29 @@
]
},
{
+ "name": "global_menu_set_item_hidden",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 4108344793,
+ "arguments": [
+ {
+ "name": "menu_root",
+ "type": "String"
+ },
+ {
+ "name": "idx",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "hidden",
+ "type": "bool"
+ }
+ ]
+ },
+ {
"name": "global_menu_set_item_tooltip",
"is_const": false,
"is_vararg": false,
@@ -74944,7 +75726,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3741216677,
+ "hash": 903992738,
+ "hash_compatibility": [
+ 3741216677
+ ],
"arguments": [
{
"name": "text",
@@ -75383,7 +76168,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4162880507,
+ "hash": 3323674545,
+ "hash_compatibility": [
+ 4162880507
+ ],
"return_value": {
"type": "bool"
}
@@ -75462,7 +76250,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2629526904,
+ "hash": 2211511631,
+ "hash_compatibility": [
+ 2629526904
+ ],
"arguments": [
{
"name": "orientation",
@@ -75555,7 +76346,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2709193271,
+ "hash": 1096425680,
+ "hash_compatibility": [
+ 2709193271
+ ],
"return_value": {
"type": "int",
"meta": "int64"
@@ -75628,7 +76422,33 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3043792800,
+ "hash": 441246282,
+ "hash_compatibility": [
+ 3043792800
+ ],
+ "arguments": [
+ {
+ "name": "title",
+ "type": "String"
+ },
+ {
+ "name": "window_id",
+ "type": "int",
+ "meta": "int32",
+ "default_value": "0"
+ }
+ ]
+ },
+ {
+ "name": "window_get_title_size",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2925301799,
+ "return_value": {
+ "type": "Vector2i"
+ },
"arguments": [
{
"name": "title",
@@ -75648,7 +76468,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3958815166,
+ "hash": 1993637420,
+ "hash_compatibility": [
+ 3958815166
+ ],
"arguments": [
{
"name": "region",
@@ -75688,7 +76511,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3023605688,
+ "hash": 2230941749,
+ "hash_compatibility": [
+ 3023605688
+ ],
"arguments": [
{
"name": "screen",
@@ -75747,7 +76573,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3614040015,
+ "hash": 2019273902,
+ "hash_compatibility": [
+ 3614040015
+ ],
"arguments": [
{
"name": "position",
@@ -75786,7 +76615,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3614040015,
+ "hash": 2019273902,
+ "hash_compatibility": [
+ 3614040015
+ ],
"arguments": [
{
"name": "size",
@@ -75806,7 +76638,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3653650673,
+ "hash": 1091192925,
+ "hash_compatibility": [
+ 3653650673
+ ],
"arguments": [
{
"name": "callback",
@@ -75826,7 +76661,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3653650673,
+ "hash": 1091192925,
+ "hash_compatibility": [
+ 3653650673
+ ],
"arguments": [
{
"name": "callback",
@@ -75846,7 +76684,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3653650673,
+ "hash": 1091192925,
+ "hash_compatibility": [
+ 3653650673
+ ],
"arguments": [
{
"name": "callback",
@@ -75866,7 +76707,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3653650673,
+ "hash": 1091192925,
+ "hash_compatibility": [
+ 3653650673
+ ],
"arguments": [
{
"name": "callback",
@@ -75886,7 +76730,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3653650673,
+ "hash": 1091192925,
+ "hash_compatibility": [
+ 3653650673
+ ],
"arguments": [
{
"name": "callback",
@@ -75945,7 +76792,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3614040015,
+ "hash": 2019273902,
+ "hash_compatibility": [
+ 3614040015
+ ],
"arguments": [
{
"name": "max_size",
@@ -75984,7 +76834,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3614040015,
+ "hash": 2019273902,
+ "hash_compatibility": [
+ 3614040015
+ ],
"arguments": [
{
"name": "min_size",
@@ -76042,7 +76895,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2942569511,
+ "hash": 1319965401,
+ "hash_compatibility": [
+ 2942569511
+ ],
"arguments": [
{
"name": "mode",
@@ -76062,7 +76918,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3971592565,
+ "hash": 254894155,
+ "hash_compatibility": [
+ 3971592565
+ ],
"arguments": [
{
"name": "flag",
@@ -76086,7 +76945,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2662949986,
+ "hash": 802816991,
+ "hash_compatibility": [
+ 2662949986
+ ],
"return_value": {
"type": "bool"
},
@@ -76109,7 +76971,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3614040015,
+ "hash": 2019273902,
+ "hash_compatibility": [
+ 3614040015
+ ],
"arguments": [
{
"name": "offset",
@@ -76257,7 +77122,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 450484987,
+ "hash": 1661950165,
+ "hash_compatibility": [
+ 450484987
+ ],
"arguments": [
{
"name": "active",
@@ -76277,7 +77145,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3614040015,
+ "hash": 2019273902,
+ "hash_compatibility": [
+ 3614040015
+ ],
"arguments": [
{
"name": "position",
@@ -76297,7 +77168,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1708924624,
+ "hash": 2179333492,
+ "hash_compatibility": [
+ 1708924624
+ ],
"arguments": [
{
"name": "vsync_mode",
@@ -76399,7 +77273,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 860410478,
+ "hash": 3042891259,
+ "hash_compatibility": [
+ 860410478
+ ],
"arguments": [
{
"name": "existing_text",
@@ -76486,7 +77363,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1358907026,
+ "hash": 1816663697,
+ "hash_compatibility": [
+ 1358907026
+ ],
"arguments": [
{
"name": "cursor",
@@ -76928,7 +77808,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 866250949,
+ "hash": 1515002313,
+ "hash_compatibility": [
+ 866250949
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -77019,7 +77902,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 385984708,
+ "hash": 2171300490,
+ "hash_compatibility": [
+ 385984708
+ ],
"return_value": {
"type": "ENetPacketPeer"
},
@@ -77172,7 +78058,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3097527179,
+ "hash": 1966198364,
+ "hash_compatibility": [
+ 3097527179
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -77293,7 +78182,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1616151701,
+ "hash": 2917761309,
+ "hash_compatibility": [
+ 1616151701
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -77335,7 +78227,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 920217784,
+ "hash": 2327163476,
+ "hash_compatibility": [
+ 920217784
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -77842,7 +78737,7 @@
{
"name": "EditorCommandPalette",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ConfirmationDialog",
"api_type": "editor",
"methods": [
@@ -77852,7 +78747,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3664614892,
+ "hash": 864043298,
+ "hash_compatibility": [
+ 3664614892
+ ],
"arguments": [
{
"name": "command_name",
@@ -77892,7 +78790,7 @@
{
"name": "EditorDebuggerPlugin",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -77995,7 +78893,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3780025912,
+ "hash": 85656714,
+ "hash_compatibility": [
+ 3780025912
+ ],
"arguments": [
{
"name": "message",
@@ -78014,7 +78915,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 35674246,
+ "hash": 1198443697,
+ "hash_compatibility": [
+ 35674246
+ ],
"arguments": [
{
"name": "profiler",
@@ -78119,33 +79023,46 @@
"is_refcounted": true,
"is_instantiable": false,
"inherits": "RefCounted",
- "api_type": "editor"
+ "api_type": "editor",
+ "methods": [
+ {
+ "name": "get_os_name",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 201670096,
+ "return_value": {
+ "type": "String"
+ }
+ }
+ ]
},
{
"name": "EditorExportPlatformAndroid",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorExportPlatform",
"api_type": "editor"
},
{
"name": "EditorExportPlatformIOS",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorExportPlatform",
"api_type": "editor"
},
{
"name": "EditorExportPlatformLinuxBSD",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorExportPlatformPC",
"api_type": "editor"
},
{
"name": "EditorExportPlatformMacOS",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorExportPlatform",
"api_type": "editor"
},
@@ -78159,21 +79076,21 @@
{
"name": "EditorExportPlatformWeb",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorExportPlatform",
"api_type": "editor"
},
{
"name": "EditorExportPlatformWindows",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorExportPlatformPC",
"api_type": "editor"
},
{
"name": "EditorExportPlugin",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -78740,7 +79657,7 @@
{
"name": "EditorFeatureProfile",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"enums": [
@@ -78992,7 +79909,7 @@
{
"name": "EditorFileDialog",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ConfirmationDialog",
"api_type": "editor",
"enums": [
@@ -79070,7 +79987,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 233059325,
+ "hash": 3388804757,
+ "hash_compatibility": [
+ 233059325
+ ],
"arguments": [
{
"name": "filter",
@@ -79331,6 +80251,25 @@
}
},
{
+ "name": "add_side_menu",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 402368861,
+ "arguments": [
+ {
+ "name": "menu",
+ "type": "Control"
+ },
+ {
+ "name": "title",
+ "type": "String",
+ "default_value": "\"\""
+ }
+ ]
+ },
+ {
"name": "invalidate",
"is_const": false,
"is_vararg": false,
@@ -79584,7 +80523,7 @@
{
"name": "EditorFileSystemDirectory",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Object",
"api_type": "editor",
"methods": [
@@ -79812,7 +80751,7 @@
{
"name": "EditorFileSystemImportFormatSupportQuery",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -79851,7 +80790,7 @@
{
"name": "EditorImportPlugin",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor",
"methods": [
@@ -80038,7 +80977,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3645925746,
+ "hash": 320493106,
+ "hash_compatibility": [
+ 3645925746
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -80069,7 +81011,7 @@
{
"name": "EditorInspector",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ScrollContainer",
"api_type": "editor",
"methods": [
@@ -80083,6 +81025,17 @@
"return_value": {
"type": "String"
}
+ },
+ {
+ "name": "get_edited_object",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2050059866,
+ "return_value": {
+ "type": "Object"
+ }
}
],
"signals": [
@@ -80176,7 +81129,7 @@
{
"name": "EditorInspectorPlugin",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -80503,6 +81456,17 @@
]
},
{
+ "name": "get_editor_theme",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3846893731,
+ "return_value": {
+ "type": "Theme"
+ }
+ },
+ {
"name": "get_base_control",
"is_const": true,
"is_vararg": false,
@@ -80536,6 +81500,36 @@
}
},
{
+ "name": "get_editor_viewport_2d",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3750751911,
+ "return_value": {
+ "type": "SubViewport"
+ }
+ },
+ {
+ "name": "get_editor_viewport_3d",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1970834490,
+ "return_value": {
+ "type": "SubViewport"
+ },
+ "arguments": [
+ {
+ "name": "idx",
+ "type": "int",
+ "meta": "int32",
+ "default_value": "0"
+ }
+ ]
+ },
+ {
"name": "set_main_screen_editor",
"is_const": false,
"is_vararg": false,
@@ -80592,7 +81586,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2478844058,
+ "hash": 2015770942,
+ "hash_compatibility": [
+ 2478844058
+ ],
"arguments": [
{
"name": "dialog",
@@ -80611,7 +81608,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1723337679,
+ "hash": 346557367,
+ "hash_compatibility": [
+ 1723337679
+ ],
"arguments": [
{
"name": "dialog",
@@ -80630,7 +81630,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1310934579,
+ "hash": 2093669136,
+ "hash_compatibility": [
+ 1310934579
+ ],
"arguments": [
{
"name": "dialog",
@@ -80650,7 +81653,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3433759678,
+ "hash": 3763385571,
+ "hash_compatibility": [
+ 3433759678
+ ],
"arguments": [
{
"name": "dialog",
@@ -80769,7 +81775,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2564140749,
+ "hash": 127962172,
+ "hash_compatibility": [
+ 2564140749
+ ],
"arguments": [
{
"name": "object",
@@ -80821,7 +81830,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3664508569,
+ "hash": 219829402,
+ "hash_compatibility": [
+ 3664508569
+ ],
"arguments": [
{
"name": "script",
@@ -80913,7 +81925,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1168363258,
+ "hash": 3647332257,
+ "hash_compatibility": [
+ 1168363258
+ ],
"arguments": [
{
"name": "path",
@@ -81046,7 +82061,7 @@
{
"name": "EditorNode3DGizmo",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Node3DGizmo",
"api_type": "editor",
"methods": [
@@ -81275,7 +82290,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 302451090,
+ "hash": 2910971437,
+ "hash_compatibility": [
+ 302451090
+ ],
"arguments": [
{
"name": "lines",
@@ -81303,7 +82321,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1868867708,
+ "hash": 1579955111,
+ "hash_compatibility": [
+ 1868867708
+ ],
"arguments": [
{
"name": "mesh",
@@ -81360,7 +82381,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3719733075,
+ "hash": 520007164,
+ "hash_compatibility": [
+ 3719733075
+ ],
"arguments": [
{
"name": "material",
@@ -81503,7 +82527,7 @@
{
"name": "EditorNode3DGizmoPlugin",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Resource",
"api_type": "editor",
"methods": [
@@ -81884,7 +82908,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2976007329,
+ "hash": 3804976916,
+ "hash_compatibility": [
+ 2976007329
+ ],
"arguments": [
{
"name": "name",
@@ -81954,7 +82981,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3501703615,
+ "hash": 974464017,
+ "hash_compatibility": [
+ 3501703615
+ ],
"return_value": {
"type": "StandardMaterial3D"
},
@@ -81975,7 +83005,7 @@
{
"name": "EditorPaths",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Object",
"api_type": "editor",
"methods": [
@@ -82050,7 +83080,7 @@
{
"name": "EditorPlugin",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Node",
"api_type": "editor",
"enums": [
@@ -83130,7 +84160,7 @@
{
"name": "EditorProperty",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Container",
"api_type": "editor",
"methods": [
@@ -83609,7 +84639,7 @@
{
"name": "EditorResourceConversionPlugin",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -83660,7 +84690,7 @@
{
"name": "EditorResourcePicker",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "HBoxContainer",
"api_type": "editor",
"methods": [
@@ -83988,7 +85018,7 @@
{
"name": "EditorResourcePreviewGenerator",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -84081,7 +85111,7 @@
{
"name": "EditorResourceTooltipPlugin",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -84148,7 +85178,7 @@
{
"name": "EditorSceneFormatImporter",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"constants": [
@@ -84175,6 +85205,10 @@
{
"name": "IMPORT_DISCARD_MESHES_AND_MATERIALS",
"value": 32
+ },
+ {
+ "name": "IMPORT_FORCE_DISABLE_MESH_COMPRESSION",
+ "value": 64
}
],
"methods": [
@@ -84266,28 +85300,28 @@
{
"name": "EditorSceneFormatImporterBlend",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorSceneFormatImporter",
"api_type": "editor"
},
{
"name": "EditorSceneFormatImporterFBX",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorSceneFormatImporter",
"api_type": "editor"
},
{
"name": "EditorSceneFormatImporterGLTF",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorSceneFormatImporter",
"api_type": "editor"
},
{
"name": "EditorScenePostImport",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -84323,7 +85357,7 @@
{
"name": "EditorScenePostImportPlugin",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"enums": [
@@ -84557,7 +85591,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3774155785,
+ "hash": 3674075649,
+ "hash_compatibility": [
+ 3774155785
+ ],
"arguments": [
{
"name": "type",
@@ -84594,7 +85631,7 @@
{
"name": "EditorScript",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -84646,7 +85683,7 @@
{
"name": "EditorScriptPicker",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "EditorResourcePicker",
"api_type": "editor",
"methods": [
@@ -84688,7 +85725,7 @@
{
"name": "EditorSelection",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Object",
"api_type": "editor",
"methods": [
@@ -84760,7 +85797,7 @@
{
"name": "EditorSettings",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Resource",
"api_type": "editor",
"constants": [
@@ -85040,7 +86077,7 @@
{
"name": "EditorSpinSlider",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Range",
"api_type": "editor",
"methods": [
@@ -85220,7 +86257,7 @@
{
"name": "EditorSyntaxHighlighter",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "SyntaxHighlighter",
"api_type": "editor",
"methods": [
@@ -85249,7 +86286,7 @@
{
"name": "EditorTranslationParserPlugin",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "RefCounted",
"api_type": "editor",
"methods": [
@@ -85319,7 +86356,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3577985681,
+ "hash": 2107025470,
+ "hash_compatibility": [
+ 3577985681
+ ],
"arguments": [
{
"name": "name",
@@ -85525,7 +86565,7 @@
{
"name": "EditorVCSInterface",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "Object",
"api_type": "editor",
"enums": [
@@ -86793,7 +87833,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 438160728,
+ "hash": 3192561009,
+ "hash_compatibility": [
+ 438160728
+ ],
"arguments": [
{
"name": "name",
@@ -89969,7 +91012,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3658149758,
+ "hash": 3069722906,
+ "hash_compatibility": [
+ 3658149758
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -91064,7 +92110,10 @@
"is_vararg": false,
"is_static": true,
"is_virtual": false,
- "hash": 2874458257,
+ "hash": 3686439335,
+ "hash_compatibility": [
+ 2874458257
+ ],
"return_value": {
"type": "FileAccess"
},
@@ -91612,7 +92661,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2217842308,
+ "hash": 2173791505,
+ "hash_compatibility": [
+ 2217842308
+ ],
"arguments": [
{
"name": "values",
@@ -91917,7 +92969,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 233059325,
+ "hash": 3388804757,
+ "hash_compatibility": [
+ 233059325
+ ],
"arguments": [
{
"name": "filter",
@@ -92888,7 +93943,12 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1149405976,
+ "hash": 3344325384,
+ "hash_compatibility": [
+ 1851767612,
+ 1222433716,
+ 1149405976
+ ],
"return_value": {
"type": "RID"
},
@@ -92913,6 +93973,30 @@
"name": "transform",
"type": "Transform2D",
"default_value": "Transform2D(1, 0, 0, 1, 0, 0)"
+ },
+ {
+ "name": "spacing_top",
+ "type": "int",
+ "meta": "int32",
+ "default_value": "0"
+ },
+ {
+ "name": "spacing_bottom",
+ "type": "int",
+ "meta": "int32",
+ "default_value": "0"
+ },
+ {
+ "name": "spacing_space",
+ "type": "int",
+ "meta": "int32",
+ "default_value": "0"
+ },
+ {
+ "name": "spacing_glyph",
+ "type": "int",
+ "meta": "int32",
+ "default_value": "0"
}
]
},
@@ -93150,7 +94234,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3678918099,
+ "hash": 1868866121,
+ "hash_compatibility": [
+ 3678918099
+ ],
"return_value": {
"type": "Vector2"
},
@@ -93199,7 +94286,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2427690650,
+ "hash": 519636710,
+ "hash_compatibility": [
+ 2427690650
+ ],
"return_value": {
"type": "Vector2"
},
@@ -93259,7 +94349,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2565402639,
+ "hash": 1983721962,
+ "hash_compatibility": [
+ 2565402639
+ ],
"arguments": [
{
"name": "canvas_item",
@@ -93318,7 +94411,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 348869189,
+ "hash": 1171506176,
+ "hash_compatibility": [
+ 348869189
+ ],
"arguments": [
{
"name": "canvas_item",
@@ -93388,7 +94484,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 657875837,
+ "hash": 623754045,
+ "hash_compatibility": [
+ 657875837
+ ],
"arguments": [
{
"name": "canvas_item",
@@ -93453,7 +94552,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1649790182,
+ "hash": 3206388178,
+ "hash_compatibility": [
+ 1649790182
+ ],
"arguments": [
{
"name": "canvas_item",
@@ -93551,7 +94653,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1462476057,
+ "hash": 3815617597,
+ "hash_compatibility": [
+ 1462476057
+ ],
"return_value": {
"type": "float",
"meta": "float"
@@ -93587,7 +94692,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4161008124,
+ "hash": 209525354,
+ "hash_compatibility": [
+ 4161008124
+ ],
"return_value": {
"type": "float",
"meta": "float"
@@ -94024,6 +95132,31 @@
}
},
{
+ "name": "set_fixed_size_scale_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1660989956,
+ "arguments": [
+ {
+ "name": "fixed_size_scale_mode",
+ "type": "enum::TextServer.FixedSizeScaleMode"
+ }
+ ]
+ },
+ {
+ "name": "get_fixed_size_scale_mode",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 753873478,
+ "return_value": {
+ "type": "enum::TextServer.FixedSizeScaleMode"
+ }
+ },
+ {
"name": "set_allow_system_fallback",
"is_const": false,
"is_vararg": false,
@@ -94351,6 +95484,53 @@
]
},
{
+ "name": "set_extra_spacing",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 62942285,
+ "arguments": [
+ {
+ "name": "cache_index",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "spacing",
+ "type": "enum::TextServer.SpacingType"
+ },
+ {
+ "name": "value",
+ "type": "int",
+ "meta": "int64"
+ }
+ ]
+ },
+ {
+ "name": "get_extra_spacing",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1924257185,
+ "return_value": {
+ "type": "int",
+ "meta": "int64"
+ },
+ "arguments": [
+ {
+ "name": "cache_index",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "spacing",
+ "type": "enum::TextServer.SpacingType"
+ }
+ ]
+ },
+ {
"name": "set_face_index",
"is_const": false,
"is_vararg": false,
@@ -95627,6 +96807,12 @@
"getter": "get_fixed_size"
},
{
+ "type": "int",
+ "name": "fixed_size_scale_mode",
+ "setter": "set_fixed_size_scale_mode",
+ "getter": "get_fixed_size_scale_mode"
+ },
+ {
"type": "Dictionary",
"name": "opentype_feature_overrides",
"setter": "set_opentype_feature_overrides",
@@ -96100,6 +97286,11 @@
}
]
}
+ ],
+ "signals": [
+ {
+ "name": "extensions_reloaded"
+ }
]
},
{
@@ -96123,33 +97314,6 @@
]
},
{
- "name": "GDScriptEditorTranslationParserPlugin",
- "is_refcounted": true,
- "is_instantiable": false,
- "inherits": "EditorTranslationParserPlugin",
- "api_type": "core"
- },
- {
- "name": "GDScriptNativeClass",
- "is_refcounted": true,
- "is_instantiable": false,
- "inherits": "RefCounted",
- "api_type": "core",
- "methods": [
- {
- "name": "new",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 1460262497,
- "return_value": {
- "type": "Variant"
- }
- }
- ]
- },
- {
"name": "GLTFAccessor",
"is_refcounted": true,
"is_instantiable": true,
@@ -97068,6 +98232,26 @@
"is_instantiable": true,
"inherits": "Resource",
"api_type": "core",
+ "enums": [
+ {
+ "name": "RootNodeMode",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "ROOT_NODE_MODE_SINGLE_ROOT",
+ "value": 0
+ },
+ {
+ "name": "ROOT_NODE_MODE_KEEP_ROOT",
+ "value": 1
+ },
+ {
+ "name": "ROOT_NODE_MODE_MULTI_ROOT",
+ "value": 2
+ }
+ ]
+ }
+ ],
"methods": [
{
"name": "append_from_file",
@@ -97075,7 +98259,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1862991421,
+ "hash": 866380864,
+ "hash_compatibility": [
+ 1862991421
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -97107,7 +98294,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2818062664,
+ "hash": 1616081266,
+ "hash_compatibility": [
+ 2818062664
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -97138,7 +98328,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 374125375,
+ "hash": 1622574258,
+ "hash_compatibility": [
+ 374125375
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -97165,7 +98358,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2770277081,
+ "hash": 596118388,
+ "hash_compatibility": [
+ 2770277081
+ ],
"return_value": {
"type": "Node"
},
@@ -97231,6 +98427,83 @@
]
},
{
+ "name": "set_image_format",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 83702148,
+ "arguments": [
+ {
+ "name": "image_format",
+ "type": "String"
+ }
+ ]
+ },
+ {
+ "name": "get_image_format",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 201670096,
+ "return_value": {
+ "type": "String"
+ }
+ },
+ {
+ "name": "set_lossy_quality",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "lossy_quality",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_lossy_quality",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
+ "name": "set_root_node_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 463633402,
+ "arguments": [
+ {
+ "name": "root_node_mode",
+ "type": "enum::GLTFDocument.RootNodeMode"
+ }
+ ]
+ },
+ {
+ "name": "get_root_node_mode",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 948057992,
+ "return_value": {
+ "type": "enum::GLTFDocument.RootNodeMode"
+ }
+ },
+ {
"name": "register_gltf_document_extension",
"is_const": false,
"is_vararg": false,
@@ -97263,6 +98536,26 @@
}
]
}
+ ],
+ "properties": [
+ {
+ "type": "String",
+ "name": "image_format",
+ "setter": "set_image_format",
+ "getter": "get_image_format"
+ },
+ {
+ "type": "float",
+ "name": "lossy_quality",
+ "setter": "set_lossy_quality",
+ "getter": "get_lossy_quality"
+ },
+ {
+ "type": "int",
+ "name": "root_node_mode",
+ "setter": "set_root_node_mode",
+ "getter": "get_root_node_mode"
+ }
]
},
{
@@ -97534,6 +98827,110 @@
]
},
{
+ "name": "_get_saveable_image_formats",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "PackedStringArray"
+ }
+ },
+ {
+ "name": "_serialize_image_to_bytes",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "PackedByteArray"
+ },
+ "arguments": [
+ {
+ "name": "state",
+ "type": "GLTFState"
+ },
+ {
+ "name": "image",
+ "type": "Image"
+ },
+ {
+ "name": "image_dict",
+ "type": "Dictionary"
+ },
+ {
+ "name": "image_format",
+ "type": "String"
+ },
+ {
+ "name": "lossy_quality",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "_save_image_at_path",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "enum::Error"
+ },
+ "arguments": [
+ {
+ "name": "state",
+ "type": "GLTFState"
+ },
+ {
+ "name": "image",
+ "type": "Image"
+ },
+ {
+ "name": "file_path",
+ "type": "String"
+ },
+ {
+ "name": "image_format",
+ "type": "String"
+ },
+ {
+ "name": "lossy_quality",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "_serialize_texture_json",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "enum::Error"
+ },
+ "arguments": [
+ {
+ "name": "state",
+ "type": "GLTFState"
+ },
+ {
+ "name": "texture_json",
+ "type": "Dictionary"
+ },
+ {
+ "name": "gltf_texture",
+ "type": "GLTFTexture"
+ },
+ {
+ "name": "image_format",
+ "type": "String"
+ }
+ ]
+ },
+ {
"name": "_export_node",
"is_const": false,
"is_static": false,
@@ -97587,20 +98984,6 @@
"api_type": "core"
},
{
- "name": "GLTFDocumentExtensionPhysics",
- "is_refcounted": true,
- "is_instantiable": false,
- "inherits": "GLTFDocumentExtension",
- "api_type": "core"
- },
- {
- "name": "GLTFDocumentExtensionTextureWebP",
- "is_refcounted": true,
- "is_instantiable": false,
- "inherits": "GLTFDocumentExtension",
- "api_type": "core"
- },
- {
"name": "GLTFLight",
"is_refcounted": true,
"is_instantiable": true,
@@ -98563,6 +99946,31 @@
]
},
{
+ "name": "get_center_of_mass",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3360562783,
+ "return_value": {
+ "type": "Vector3"
+ }
+ },
+ {
+ "name": "set_center_of_mass",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3460891852,
+ "arguments": [
+ {
+ "name": "center_of_mass",
+ "type": "Vector3"
+ }
+ ]
+ },
+ {
"name": "get_inertia_tensor",
"is_const": true,
"is_vararg": false,
@@ -98614,6 +100022,12 @@
"getter": "get_angular_velocity"
},
{
+ "type": "Vector3",
+ "name": "center_of_mass",
+ "setter": "set_center_of_mass",
+ "getter": "get_center_of_mass"
+ },
+ {
"type": "Basis",
"name": "inertia_tensor",
"setter": "set_inertia_tensor",
@@ -101108,6 +102522,21 @@
]
},
{
+ "name": "set_interp_to_end",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "interp",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
"name": "is_emitting",
"is_const": true,
"is_vararg": false,
@@ -101281,6 +102710,18 @@
}
},
{
+ "name": "get_interp_to_end",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
"name": "set_draw_order",
"is_const": false,
"is_vararg": false,
@@ -101510,6 +102951,47 @@
"type": "int",
"meta": "int32"
}
+ },
+ {
+ "name": "convert_from_particles",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1078189570,
+ "arguments": [
+ {
+ "name": "particles",
+ "type": "Node"
+ }
+ ]
+ },
+ {
+ "name": "set_amount_ratio",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "ratio",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_amount_ratio",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
}
],
"signals": [
@@ -101531,6 +103013,12 @@
"getter": "get_amount"
},
{
+ "type": "float",
+ "name": "amount_ratio",
+ "setter": "set_amount_ratio",
+ "getter": "get_amount_ratio"
+ },
+ {
"type": "NodePath",
"name": "sub_emitter",
"setter": "set_sub_emitter",
@@ -101604,6 +103092,12 @@
},
{
"type": "float",
+ "name": "interp_to_end",
+ "setter": "set_interp_to_end",
+ "getter": "get_interp_to_end"
+ },
+ {
+ "type": "float",
"name": "collision_base_size",
"setter": "set_collision_base_size",
"getter": "get_collision_base_size"
@@ -101956,6 +103450,21 @@
]
},
{
+ "name": "set_interp_to_end",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "interp",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
"name": "is_emitting",
"is_const": true,
"is_vararg": false,
@@ -102129,6 +103638,18 @@
}
},
{
+ "name": "get_interp_to_end",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
"name": "set_draw_order",
"is_const": false,
"is_vararg": false,
@@ -102393,6 +103914,47 @@
"return_value": {
"type": "enum::GPUParticles3D.TransformAlign"
}
+ },
+ {
+ "name": "convert_from_particles",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1078189570,
+ "arguments": [
+ {
+ "name": "particles",
+ "type": "Node"
+ }
+ ]
+ },
+ {
+ "name": "set_amount_ratio",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "ratio",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_amount_ratio",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
}
],
"signals": [
@@ -102414,6 +103976,12 @@
"getter": "get_amount"
},
{
+ "type": "float",
+ "name": "amount_ratio",
+ "setter": "set_amount_ratio",
+ "getter": "get_amount_ratio"
+ },
+ {
"type": "NodePath",
"name": "sub_emitter",
"setter": "set_sub_emitter",
@@ -102426,6 +103994,12 @@
"getter": "get_lifetime"
},
{
+ "type": "float",
+ "name": "interp_to_end",
+ "setter": "set_interp_to_end",
+ "getter": "get_interp_to_end"
+ },
+ {
"type": "bool",
"name": "one_shot",
"setter": "set_one_shot",
@@ -104318,7 +105892,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3837618924,
+ "hash": 1275354010,
+ "hash_compatibility": [
+ 3837618924
+ ],
"return_value": {
"type": "typedarray::PackedVector2Array"
},
@@ -104345,7 +105922,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 328033063,
+ "hash": 2328231778,
+ "hash_compatibility": [
+ 328033063
+ ],
"return_value": {
"type": "typedarray::PackedVector2Array"
},
@@ -104398,6 +105978,23 @@
"api_type": "core",
"methods": [
{
+ "name": "compute_convex_mesh_points",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1936902142,
+ "return_value": {
+ "type": "PackedVector3Array"
+ },
+ "arguments": [
+ {
+ "name": "planes",
+ "type": "typedarray::Plane"
+ }
+ ]
+ },
+ {
"name": "build_box_planes",
"is_const": false,
"is_vararg": false,
@@ -104420,7 +106017,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3142160516,
+ "hash": 449920067,
+ "hash_compatibility": [
+ 3142160516
+ ],
"return_value": {
"type": "typedarray::Plane"
},
@@ -104453,7 +106053,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 410870045,
+ "hash": 2113592876,
+ "hash_compatibility": [
+ 410870045
+ ],
"return_value": {
"type": "typedarray::Plane"
},
@@ -105380,20 +106983,6 @@
]
},
{
- "name": "GodotPhysicsServer2D",
- "is_refcounted": false,
- "is_instantiable": false,
- "inherits": "PhysicsServer2D",
- "api_type": "core"
- },
- {
- "name": "GodotPhysicsServer3D",
- "is_refcounted": false,
- "is_instantiable": false,
- "inherits": "PhysicsServer3D",
- "api_type": "core"
- },
- {
"name": "Gradient",
"is_refcounted": true,
"is_instantiable": true,
@@ -106661,31 +108250,6 @@
}
},
{
- "name": "set_show_zoom_label",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2586408642,
- "arguments": [
- {
- "name": "enable",
- "type": "bool"
- }
- ]
- },
- {
- "name": "is_showing_zoom_label",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 36873697,
- "return_value": {
- "type": "bool"
- }
- },
- {
"name": "set_show_grid",
"is_const": false,
"is_vararg": false,
@@ -106919,7 +108483,32 @@
}
},
{
- "name": "set_arrange_nodes_button_hidden",
+ "name": "set_show_menu",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "hidden",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_showing_menu",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_show_zoom_label",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -106933,7 +108522,107 @@
]
},
{
- "name": "is_arrange_nodes_button_hidden",
+ "name": "is_showing_zoom_label",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_show_grid_buttons",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "hidden",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_showing_grid_buttons",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_show_zoom_buttons",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "hidden",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_showing_zoom_buttons",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_show_minimap_button",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "hidden",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_showing_minimap_button",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_show_arrange_button",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "hidden",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_showing_arrange_button",
"is_const": true,
"is_vararg": false,
"is_static": false,
@@ -107046,42 +108735,6 @@
]
},
{
- "name": "popup_request",
- "arguments": [
- {
- "name": "position",
- "type": "Vector2"
- }
- ]
- },
- {
- "name": "duplicate_nodes_request"
- },
- {
- "name": "copy_nodes_request"
- },
- {
- "name": "paste_nodes_request"
- },
- {
- "name": "node_selected",
- "arguments": [
- {
- "name": "node",
- "type": "Node"
- }
- ]
- },
- {
- "name": "node_deselected",
- "arguments": [
- {
- "name": "node",
- "type": "Node"
- }
- ]
- },
- {
"name": "connection_to_empty",
"arguments": [
{
@@ -107116,58 +108769,88 @@
]
},
{
- "name": "delete_nodes_request",
+ "name": "connection_drag_started",
"arguments": [
{
- "name": "nodes",
- "type": "typedarray::StringName"
+ "name": "from_node",
+ "type": "StringName"
+ },
+ {
+ "name": "from_port",
+ "type": "int"
+ },
+ {
+ "name": "is_output",
+ "type": "bool"
}
]
},
{
- "name": "begin_node_move"
+ "name": "connection_drag_ended"
},
{
- "name": "end_node_move"
+ "name": "copy_nodes_request"
},
{
- "name": "scroll_offset_changed",
+ "name": "paste_nodes_request"
+ },
+ {
+ "name": "duplicate_nodes_request"
+ },
+ {
+ "name": "delete_nodes_request",
"arguments": [
{
- "name": "offset",
- "type": "Vector2"
+ "name": "nodes",
+ "type": "typedarray::StringName"
}
]
},
{
- "name": "connection_drag_started",
+ "name": "node_selected",
"arguments": [
{
- "name": "from_node",
- "type": "StringName"
- },
+ "name": "node",
+ "type": "Node"
+ }
+ ]
+ },
+ {
+ "name": "node_deselected",
+ "arguments": [
{
- "name": "from_port",
- "type": "int"
- },
+ "name": "node",
+ "type": "Node"
+ }
+ ]
+ },
+ {
+ "name": "popup_request",
+ "arguments": [
{
- "name": "is_output",
- "type": "bool"
+ "name": "position",
+ "type": "Vector2"
}
]
},
{
- "name": "connection_drag_ended"
+ "name": "begin_node_move"
+ },
+ {
+ "name": "end_node_move"
+ },
+ {
+ "name": "scroll_offset_changed",
+ "arguments": [
+ {
+ "name": "offset",
+ "type": "Vector2"
+ }
+ ]
}
],
"properties": [
{
- "type": "bool",
- "name": "right_disconnects",
- "setter": "set_right_disconnects",
- "getter": "is_right_disconnects_enabled"
- },
- {
"type": "Vector2",
"name": "scroll_offset",
"setter": "set_scroll_offset",
@@ -107198,6 +108881,12 @@
"getter": "get_panning_scheme"
},
{
+ "type": "bool",
+ "name": "right_disconnects",
+ "setter": "set_right_disconnects",
+ "getter": "is_right_disconnects_enabled"
+ },
+ {
"type": "float",
"name": "connection_lines_curvature",
"setter": "set_connection_lines_curvature",
@@ -107241,12 +108930,6 @@
},
{
"type": "bool",
- "name": "show_zoom_label",
- "setter": "set_show_zoom_label",
- "getter": "is_showing_zoom_label"
- },
- {
- "type": "bool",
"name": "minimap_enabled",
"setter": "set_minimap_enabled",
"getter": "is_minimap_enabled"
@@ -107265,91 +108948,282 @@
},
{
"type": "bool",
- "name": "arrange_nodes_button_hidden",
- "setter": "set_arrange_nodes_button_hidden",
- "getter": "is_arrange_nodes_button_hidden"
+ "name": "show_menu",
+ "setter": "set_show_menu",
+ "getter": "is_showing_menu"
+ },
+ {
+ "type": "bool",
+ "name": "show_zoom_label",
+ "setter": "set_show_zoom_label",
+ "getter": "is_showing_zoom_label"
+ },
+ {
+ "type": "bool",
+ "name": "show_zoom_buttons",
+ "setter": "set_show_zoom_buttons",
+ "getter": "is_showing_zoom_buttons"
+ },
+ {
+ "type": "bool",
+ "name": "show_grid_buttons",
+ "setter": "set_show_grid_buttons",
+ "getter": "is_showing_grid_buttons"
+ },
+ {
+ "type": "bool",
+ "name": "show_minimap_button",
+ "setter": "set_show_minimap_button",
+ "getter": "is_showing_minimap_button"
+ },
+ {
+ "type": "bool",
+ "name": "show_arrange_button",
+ "setter": "set_show_arrange_button",
+ "getter": "is_showing_arrange_button"
}
]
},
{
- "name": "GraphNode",
+ "name": "GraphElement",
"is_refcounted": false,
"is_instantiable": true,
"inherits": "Container",
"api_type": "core",
- "enums": [
+ "methods": [
{
- "name": "Overlay",
- "is_bitfield": false,
- "values": [
+ "name": "set_resizable",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
{
- "name": "OVERLAY_DISABLED",
- "value": 0
- },
+ "name": "resizable",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_resizable",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_draggable",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
{
- "name": "OVERLAY_BREAKPOINT",
- "value": 1
- },
+ "name": "draggable",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_draggable",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_selectable",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
{
- "name": "OVERLAY_POSITION",
- "value": 2
+ "name": "selectable",
+ "type": "bool"
}
]
- }
- ],
- "methods": [
+ },
{
- "name": "set_title",
+ "name": "is_selectable",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 83702148,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_selected",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
"arguments": [
{
- "name": "title",
- "type": "String"
+ "name": "selected",
+ "type": "bool"
}
]
},
{
- "name": "get_title",
- "is_const": true,
+ "name": "is_selected",
+ "is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 201670096,
+ "hash": 2240911060,
"return_value": {
- "type": "String"
+ "type": "bool"
}
},
{
- "name": "set_text_direction",
+ "name": "set_position_offset",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 119160795,
+ "hash": 743155724,
"arguments": [
{
- "name": "direction",
- "type": "enum::Control.TextDirection"
+ "name": "offset",
+ "type": "Vector2"
}
]
},
{
- "name": "get_text_direction",
+ "name": "get_position_offset",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 797257663,
+ "hash": 3341600327,
"return_value": {
- "type": "enum::Control.TextDirection"
+ "type": "Vector2"
}
+ }
+ ],
+ "signals": [
+ {
+ "name": "node_selected"
},
{
- "name": "set_language",
+ "name": "node_deselected"
+ },
+ {
+ "name": "raise_request"
+ },
+ {
+ "name": "delete_request"
+ },
+ {
+ "name": "resize_request",
+ "arguments": [
+ {
+ "name": "new_minsize",
+ "type": "Vector2"
+ }
+ ]
+ },
+ {
+ "name": "dragged",
+ "arguments": [
+ {
+ "name": "from",
+ "type": "Vector2"
+ },
+ {
+ "name": "to",
+ "type": "Vector2"
+ }
+ ]
+ },
+ {
+ "name": "position_offset_changed"
+ }
+ ],
+ "properties": [
+ {
+ "type": "Vector2",
+ "name": "position_offset",
+ "setter": "set_position_offset",
+ "getter": "get_position_offset"
+ },
+ {
+ "type": "bool",
+ "name": "resizable",
+ "setter": "set_resizable",
+ "getter": "is_resizable"
+ },
+ {
+ "type": "bool",
+ "name": "draggable",
+ "setter": "set_draggable",
+ "getter": "is_draggable"
+ },
+ {
+ "type": "bool",
+ "name": "selectable",
+ "setter": "set_selectable",
+ "getter": "is_selectable"
+ },
+ {
+ "type": "bool",
+ "name": "selected",
+ "setter": "set_selected",
+ "getter": "is_selected"
+ }
+ ]
+ },
+ {
+ "name": "GraphNode",
+ "is_refcounted": false,
+ "is_instantiable": true,
+ "inherits": "GraphElement",
+ "api_type": "core",
+ "methods": [
+ {
+ "name": "_draw_port",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "arguments": [
+ {
+ "name": "slot_index",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "position",
+ "type": "Vector2i"
+ },
+ {
+ "name": "left",
+ "type": "bool"
+ },
+ {
+ "name": "color",
+ "type": "Color"
+ }
+ ]
+ },
+ {
+ "name": "set_title",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -107357,13 +109231,13 @@
"hash": 83702148,
"arguments": [
{
- "name": "language",
+ "name": "title",
"type": "String"
}
]
},
{
- "name": "get_language",
+ "name": "get_title",
"is_const": true,
"is_vararg": false,
"is_static": false,
@@ -107374,12 +109248,26 @@
}
},
{
+ "name": "get_titlebar_hbox",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3590609951,
+ "return_value": {
+ "type": "HBoxContainer"
+ }
+ },
+ {
"name": "set_slot",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 902131739,
+ "hash": 2873310869,
+ "hash_compatibility": [
+ 902131739
+ ],
"arguments": [
{
"name": "slot_index",
@@ -107453,39 +109341,39 @@
"hash": 3218959716
},
{
- "name": "set_slot_enabled_left",
- "is_const": false,
+ "name": "is_slot_enabled_left",
+ "is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 300928843,
+ "hash": 1116898809,
+ "return_value": {
+ "type": "bool"
+ },
"arguments": [
{
"name": "slot_index",
"type": "int",
"meta": "int32"
- },
- {
- "name": "enable",
- "type": "bool"
}
]
},
{
- "name": "is_slot_enabled_left",
- "is_const": true,
+ "name": "set_slot_enabled_left",
+ "is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1116898809,
- "return_value": {
- "type": "bool"
- },
+ "hash": 300928843,
"arguments": [
{
"name": "slot_index",
"type": "int",
"meta": "int32"
+ },
+ {
+ "name": "enable",
+ "type": "bool"
}
]
},
@@ -107566,39 +109454,39 @@
]
},
{
- "name": "set_slot_enabled_right",
- "is_const": false,
+ "name": "is_slot_enabled_right",
+ "is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 300928843,
+ "hash": 1116898809,
+ "return_value": {
+ "type": "bool"
+ },
"arguments": [
{
"name": "slot_index",
"type": "int",
"meta": "int32"
- },
- {
- "name": "enable",
- "type": "bool"
}
]
},
{
- "name": "is_slot_enabled_right",
- "is_const": true,
+ "name": "set_slot_enabled_right",
+ "is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1116898809,
- "return_value": {
- "type": "bool"
- },
+ "hash": 300928843,
"arguments": [
{
"name": "slot_index",
"type": "int",
"meta": "int32"
+ },
+ {
+ "name": "enable",
+ "type": "bool"
}
]
},
@@ -107716,132 +109604,7 @@
]
},
{
- "name": "set_position_offset",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 743155724,
- "arguments": [
- {
- "name": "offset",
- "type": "Vector2"
- }
- ]
- },
- {
- "name": "get_position_offset",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3341600327,
- "return_value": {
- "type": "Vector2"
- }
- },
- {
- "name": "set_resizable",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2586408642,
- "arguments": [
- {
- "name": "resizable",
- "type": "bool"
- }
- ]
- },
- {
- "name": "is_resizable",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 36873697,
- "return_value": {
- "type": "bool"
- }
- },
- {
- "name": "set_draggable",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2586408642,
- "arguments": [
- {
- "name": "draggable",
- "type": "bool"
- }
- ]
- },
- {
- "name": "is_draggable",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2240911060,
- "return_value": {
- "type": "bool"
- }
- },
- {
- "name": "set_selectable",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2586408642,
- "arguments": [
- {
- "name": "selectable",
- "type": "bool"
- }
- ]
- },
- {
- "name": "is_selectable",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2240911060,
- "return_value": {
- "type": "bool"
- }
- },
- {
- "name": "set_selected",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2586408642,
- "arguments": [
- {
- "name": "selected",
- "type": "bool"
- }
- ]
- },
- {
- "name": "is_selected",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2240911060,
- "return_value": {
- "type": "bool"
- }
- },
- {
- "name": "get_connection_input_count",
+ "name": "get_input_port_count",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -107853,26 +109616,7 @@
}
},
{
- "name": "get_connection_input_height",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3744713108,
- "return_value": {
- "type": "int",
- "meta": "int32"
- },
- "arguments": [
- {
- "name": "port",
- "type": "int",
- "meta": "int32"
- }
- ]
- },
- {
- "name": "get_connection_input_position",
+ "name": "get_input_port_position",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -107883,14 +109627,14 @@
},
"arguments": [
{
- "name": "port",
+ "name": "port_idx",
"type": "int",
"meta": "int32"
}
]
},
{
- "name": "get_connection_input_type",
+ "name": "get_input_port_type",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -107902,14 +109646,14 @@
},
"arguments": [
{
- "name": "port",
+ "name": "port_idx",
"type": "int",
"meta": "int32"
}
]
},
{
- "name": "get_connection_input_color",
+ "name": "get_input_port_color",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -107920,14 +109664,14 @@
},
"arguments": [
{
- "name": "port",
+ "name": "port_idx",
"type": "int",
"meta": "int32"
}
]
},
{
- "name": "get_connection_input_slot",
+ "name": "get_input_port_slot",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -107939,14 +109683,14 @@
},
"arguments": [
{
- "name": "port",
+ "name": "port_idx",
"type": "int",
"meta": "int32"
}
]
},
{
- "name": "get_connection_output_count",
+ "name": "get_output_port_count",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -107958,26 +109702,7 @@
}
},
{
- "name": "get_connection_output_height",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3744713108,
- "return_value": {
- "type": "int",
- "meta": "int32"
- },
- "arguments": [
- {
- "name": "port",
- "type": "int",
- "meta": "int32"
- }
- ]
- },
- {
- "name": "get_connection_output_position",
+ "name": "get_output_port_position",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -107988,14 +109713,14 @@
},
"arguments": [
{
- "name": "port",
+ "name": "port_idx",
"type": "int",
"meta": "int32"
}
]
},
{
- "name": "get_connection_output_type",
+ "name": "get_output_port_type",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -108007,14 +109732,14 @@
},
"arguments": [
{
- "name": "port",
+ "name": "port_idx",
"type": "int",
"meta": "int32"
}
]
},
{
- "name": "get_connection_output_color",
+ "name": "get_output_port_color",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -108025,14 +109750,14 @@
},
"arguments": [
{
- "name": "port",
+ "name": "port_idx",
"type": "int",
"meta": "int32"
}
]
},
{
- "name": "get_connection_output_slot",
+ "name": "get_output_port_slot",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -108044,109 +109769,22 @@
},
"arguments": [
{
- "name": "port",
+ "name": "port_idx",
"type": "int",
"meta": "int32"
}
]
- },
- {
- "name": "set_show_close_button",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2586408642,
- "arguments": [
- {
- "name": "show",
- "type": "bool"
- }
- ]
- },
- {
- "name": "is_close_button_visible",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 36873697,
- "return_value": {
- "type": "bool"
- }
- },
- {
- "name": "set_overlay",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3144190109,
- "arguments": [
- {
- "name": "overlay",
- "type": "enum::GraphNode.Overlay"
- }
- ]
- },
- {
- "name": "get_overlay",
- "is_const": true,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 2854257040,
- "return_value": {
- "type": "enum::GraphNode.Overlay"
- }
}
],
"signals": [
{
- "name": "position_offset_changed"
- },
- {
- "name": "node_selected"
- },
- {
- "name": "node_deselected"
- },
- {
"name": "slot_updated",
"arguments": [
{
- "name": "idx",
+ "name": "slot_index",
"type": "int"
}
]
- },
- {
- "name": "dragged",
- "arguments": [
- {
- "name": "from",
- "type": "Vector2"
- },
- {
- "name": "to",
- "type": "Vector2"
- }
- ]
- },
- {
- "name": "raise_request"
- },
- {
- "name": "close_request"
- },
- {
- "name": "resize_request",
- "arguments": [
- {
- "name": "new_minsize",
- "type": "Vector2"
- }
- ]
}
],
"properties": [
@@ -108155,60 +109793,6 @@
"name": "title",
"setter": "set_title",
"getter": "get_title"
- },
- {
- "type": "Vector2",
- "name": "position_offset",
- "setter": "set_position_offset",
- "getter": "get_position_offset"
- },
- {
- "type": "bool",
- "name": "show_close",
- "setter": "set_show_close_button",
- "getter": "is_close_button_visible"
- },
- {
- "type": "bool",
- "name": "resizable",
- "setter": "set_resizable",
- "getter": "is_resizable"
- },
- {
- "type": "bool",
- "name": "draggable",
- "setter": "set_draggable",
- "getter": "is_draggable"
- },
- {
- "type": "bool",
- "name": "selectable",
- "setter": "set_selectable",
- "getter": "is_selectable"
- },
- {
- "type": "bool",
- "name": "selected",
- "setter": "set_selected",
- "getter": "is_selected"
- },
- {
- "type": "int",
- "name": "overlay",
- "setter": "set_overlay",
- "getter": "get_overlay"
- },
- {
- "type": "int",
- "name": "text_direction",
- "setter": "set_text_direction",
- "getter": "get_text_direction"
- },
- {
- "type": "String",
- "name": "language",
- "setter": "set_language",
- "getter": "get_language"
}
]
},
@@ -108609,7 +110193,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4177201334,
+ "hash": 3449088946,
+ "hash_compatibility": [
+ 4177201334
+ ],
"arguments": [
{
"name": "position",
@@ -108956,6 +110543,9 @@
"type": "Vector3"
}
]
+ },
+ {
+ "name": "changed"
}
],
"properties": [
@@ -109567,7 +111157,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1970282951,
+ "hash": 504540374,
+ "hash_compatibility": [
+ 1970282951
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -109649,7 +111242,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3249905507,
+ "hash": 3778990155,
+ "hash_compatibility": [
+ 3249905507
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -109988,7 +111584,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2720304520,
+ "hash": 3215244323,
+ "hash_compatibility": [
+ 2720304520
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -110020,7 +111619,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4282724657,
+ "hash": 2714829993,
+ "hash_compatibility": [
+ 4282724657
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -110787,7 +112389,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 396864159,
+ "hash": 4283295457,
+ "hash_compatibility": [
+ 396864159
+ ],
"return_value": {
"type": "String"
},
@@ -110809,7 +112414,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3462780090,
+ "hash": 773767525,
+ "hash_compatibility": [
+ 3462780090
+ ],
"return_value": {
"type": "PackedStringArray"
},
@@ -110831,7 +112439,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3936392508,
+ "hash": 1749894742,
+ "hash_compatibility": [
+ 3936392508
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -110957,13 +112568,6 @@
]
},
{
- "name": "IPUnix",
- "is_refcounted": false,
- "is_instantiable": false,
- "inherits": "IP",
- "api_type": "core"
- },
- {
"name": "Image",
"is_refcounted": true,
"is_instantiable": true,
@@ -111367,6 +112971,18 @@
]
},
{
+ "name": "get_mipmap_count",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3905245786,
+ "return_value": {
+ "type": "int",
+ "meta": "int32"
+ }
+ },
+ {
"name": "get_mipmap_offset",
"is_const": true,
"is_vararg": false,
@@ -111411,7 +113027,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2461393748,
+ "hash": 994498151,
+ "hash_compatibility": [
+ 2461393748
+ ],
"arguments": [
{
"name": "width",
@@ -111677,7 +113296,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 578836491,
+ "hash": 2800019068,
+ "hash_compatibility": [
+ 578836491
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -111759,7 +113381,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3594949219,
+ "hash": 2781156876,
+ "hash_compatibility": [
+ 3594949219
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -111851,7 +113476,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4094210332,
+ "hash": 2975424957,
+ "hash_compatibility": [
+ 4094210332
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -111878,7 +113506,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 279105990,
+ "hash": 4212890953,
+ "hash_compatibility": [
+ 279105990
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -112385,7 +114016,7 @@
]
},
{
- "name": "load_dds_from_buffer",
+ "name": "load_ktx_from_buffer",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -112407,7 +114038,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1822513750,
+ "hash": 311853421,
+ "hash_compatibility": [
+ 1822513750
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -112430,7 +114064,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1461766635,
+ "hash": 3254053600,
+ "hash_compatibility": [
+ 1461766635
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -112748,7 +114385,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3716480242,
+ "hash": 2794442543,
+ "hash_compatibility": [
+ 3716480242
+ ],
"arguments": [
{
"name": "primitive",
@@ -112959,7 +114599,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4122361985,
+ "hash": 1740448849,
+ "hash_compatibility": [
+ 4122361985
+ ],
"arguments": [
{
"name": "primitive",
@@ -112992,7 +114635,7 @@
{
"name": "flags",
"type": "int",
- "meta": "uint32",
+ "meta": "uint64",
"default_value": "0"
}
]
@@ -113179,7 +114822,7 @@
"hash": 923996154,
"return_value": {
"type": "int",
- "meta": "uint32"
+ "meta": "uint64"
},
"arguments": [
{
@@ -113385,6 +115028,191 @@
"return_value": {
"type": "NodePath"
}
+ },
+ {
+ "name": "set_layer_mask",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1286410249,
+ "arguments": [
+ {
+ "name": "layer_mask",
+ "type": "int",
+ "meta": "uint32"
+ }
+ ]
+ },
+ {
+ "name": "get_layer_mask",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3905245786,
+ "return_value": {
+ "type": "int",
+ "meta": "uint32"
+ }
+ },
+ {
+ "name": "set_cast_shadows_setting",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 856677339,
+ "arguments": [
+ {
+ "name": "shadow_casting_setting",
+ "type": "enum::GeometryInstance3D.ShadowCastingSetting"
+ }
+ ]
+ },
+ {
+ "name": "get_cast_shadows_setting",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3383019359,
+ "return_value": {
+ "type": "enum::GeometryInstance3D.ShadowCastingSetting"
+ }
+ },
+ {
+ "name": "set_visibility_range_end_margin",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "distance",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_visibility_range_end_margin",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
+ "name": "set_visibility_range_end",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "distance",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_visibility_range_end",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
+ "name": "set_visibility_range_begin_margin",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "distance",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_visibility_range_begin_margin",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
+ "name": "set_visibility_range_begin",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "distance",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_visibility_range_begin",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
+ "name": "set_visibility_range_fade_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1440117808,
+ "arguments": [
+ {
+ "name": "mode",
+ "type": "enum::GeometryInstance3D.VisibilityRangeFadeMode"
+ }
+ ]
+ },
+ {
+ "name": "get_visibility_range_fade_mode",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2067221882,
+ "return_value": {
+ "type": "enum::GeometryInstance3D.VisibilityRangeFadeMode"
+ }
}
],
"properties": [
@@ -113405,6 +115233,48 @@
"name": "skeleton_path",
"setter": "set_skeleton_path",
"getter": "get_skeleton_path"
+ },
+ {
+ "type": "int",
+ "name": "layer_mask",
+ "setter": "set_layer_mask",
+ "getter": "get_layer_mask"
+ },
+ {
+ "type": "int",
+ "name": "cast_shadow",
+ "setter": "set_cast_shadows_setting",
+ "getter": "get_cast_shadows_setting"
+ },
+ {
+ "type": "float",
+ "name": "visibility_range_begin",
+ "setter": "set_visibility_range_begin",
+ "getter": "get_visibility_range_begin"
+ },
+ {
+ "type": "float",
+ "name": "visibility_range_begin_margin",
+ "setter": "set_visibility_range_begin_margin",
+ "getter": "get_visibility_range_begin_margin"
+ },
+ {
+ "type": "float",
+ "name": "visibility_range_end",
+ "setter": "set_visibility_range_end",
+ "getter": "get_visibility_range_end"
+ },
+ {
+ "type": "float",
+ "name": "visibility_range_end_margin",
+ "setter": "set_visibility_range_end_margin",
+ "getter": "get_visibility_range_end_margin"
+ },
+ {
+ "type": "int",
+ "name": "visibility_range_fade_mode",
+ "setter": "set_visibility_range_fade_mode",
+ "getter": "get_visibility_range_fade_mode"
}
]
},
@@ -113758,7 +115628,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1517139831,
+ "hash": 2479607902,
+ "hash_compatibility": [
+ 1517139831
+ ],
"return_value": {
"type": "Vector2"
},
@@ -113992,7 +115865,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1890603622,
+ "hash": 2576575033,
+ "hash_compatibility": [
+ 1890603622
+ ],
"arguments": [
{
"name": "device",
@@ -114215,7 +116091,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 573731101,
+ "hash": 1713091165,
+ "hash_compatibility": [
+ 573731101
+ ],
"arguments": [
{
"name": "action",
@@ -114275,7 +116154,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3489634142,
+ "hash": 703945977,
+ "hash_compatibility": [
+ 3489634142
+ ],
"arguments": [
{
"name": "image",
@@ -114560,7 +116442,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3392494811,
+ "hash": 1754951977,
+ "hash_compatibility": [
+ 3392494811
+ ],
"return_value": {
"type": "bool"
},
@@ -114610,7 +116495,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2747409789,
+ "hash": 1282766827,
+ "hash_compatibility": [
+ 2747409789
+ ],
"return_value": {
"type": "InputEvent"
},
@@ -116654,7 +118542,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 573731101,
+ "hash": 4100757082,
+ "hash_compatibility": [
+ 573731101
+ ],
"arguments": [
{
"name": "action",
@@ -116954,7 +118845,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4086250691,
+ "hash": 359861678,
+ "hash_compatibility": [
+ 4086250691
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -116982,7 +118876,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3332687421,
+ "hash": 4256579627,
+ "hash_compatibility": [
+ 3332687421
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -117449,7 +119346,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1501513492,
+ "hash": 159227807,
+ "hash_compatibility": [
+ 1501513492
+ ],
"return_value": {
"type": "Rect2"
},
@@ -117546,7 +119446,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4023243586,
+ "hash": 972357352,
+ "hash_compatibility": [
+ 4023243586
+ ],
"arguments": [
{
"name": "idx",
@@ -118075,6 +119978,14 @@
"return_value": {
"type": "enum::TextServer.OverrunBehavior"
}
+ },
+ {
+ "name": "force_update_list_size",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3218959716
}
],
"signals": [
@@ -118247,7 +120158,10 @@
"is_vararg": false,
"is_static": true,
"is_virtual": false,
- "hash": 2656701787,
+ "hash": 462733549,
+ "hash_compatibility": [
+ 2656701787
+ ],
"return_value": {
"type": "String"
},
@@ -118688,7 +120602,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4123979296,
+ "hash": 3352272093,
+ "hash_compatibility": [
+ 4123979296
+ ],
"arguments": [
{
"name": "buffer",
@@ -118857,6 +120774,17 @@
"return_value": {
"type": "bool"
}
+ },
+ {
+ "name": "get_rid",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2944877500,
+ "return_value": {
+ "type": "RID"
+ }
}
],
"properties": [
@@ -118994,6 +120922,17 @@
"return_value": {
"type": "bool"
}
+ },
+ {
+ "name": "get_rid",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2944877500,
+ "return_value": {
+ "type": "RID"
+ }
}
],
"properties": [
@@ -122858,6 +124797,10 @@
{
"name": "BAKE_ERROR_USER_ABORTED",
"value": 8
+ },
+ {
+ "name": "BAKE_ERROR_TEXTURE_SIZE_TOO_SMALL",
+ "value": 9
}
]
},
@@ -122963,6 +124906,33 @@
}
},
{
+ "name": "set_bounce_indirect_energy",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "bounce_indirect_energy",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_bounce_indirect_energy",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
"name": "set_generate_probes",
"is_const": false,
"is_vararg": false,
@@ -123169,6 +125139,33 @@
}
},
{
+ "name": "set_denoiser_strength",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "denoiser_strength",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_denoiser_strength",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
"name": "set_interior",
"is_const": false,
"is_vararg": false,
@@ -123219,6 +125216,31 @@
}
},
{
+ "name": "set_use_texture_for_bounces",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "use_texture_for_bounces",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_using_texture_for_bounces",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
"name": "set_camera_attributes",
"is_const": false,
"is_vararg": false,
@@ -123258,6 +125280,12 @@
"getter": "get_bounces"
},
{
+ "type": "float",
+ "name": "bounce_indirect_energy",
+ "setter": "set_bounce_indirect_energy",
+ "getter": "get_bounce_indirect_energy"
+ },
+ {
"type": "bool",
"name": "directional",
"setter": "set_directional",
@@ -123265,6 +125293,12 @@
},
{
"type": "bool",
+ "name": "use_texture_for_bounces",
+ "setter": "set_use_texture_for_bounces",
+ "getter": "is_using_texture_for_bounces"
+ },
+ {
+ "type": "bool",
"name": "interior",
"setter": "set_interior",
"getter": "is_interior"
@@ -123277,6 +125311,12 @@
},
{
"type": "float",
+ "name": "denoiser_strength",
+ "setter": "set_denoiser_strength",
+ "getter": "get_denoiser_strength"
+ },
+ {
+ "type": "float",
"name": "bias",
"setter": "set_bias",
"getter": "get_bias"
@@ -123652,7 +125692,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 468506575,
+ "hash": 2654014372,
+ "hash_compatibility": [
+ 468506575
+ ],
"arguments": [
{
"name": "position",
@@ -123690,6 +125733,31 @@
"hash": 3218959716
},
{
+ "name": "set_closed",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "closed",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_closed",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
"name": "set_width",
"is_const": false,
"is_vararg": false,
@@ -124004,6 +126072,12 @@
"getter": "get_points"
},
{
+ "type": "bool",
+ "name": "closed",
+ "setter": "set_closed",
+ "getter": "is_closed"
+ },
+ {
"type": "float",
"name": "width",
"setter": "set_width",
@@ -125256,18 +127330,6 @@
},
{
"type": "bool",
- "name": "secret",
- "setter": "set_secret",
- "getter": "is_secret"
- },
- {
- "type": "String",
- "name": "secret_character",
- "setter": "set_secret_character",
- "getter": "get_secret_character"
- },
- {
- "type": "bool",
"name": "expand_to_text_length",
"setter": "set_expand_to_text_length_enabled",
"getter": "is_expand_to_text_length_enabled"
@@ -125381,6 +127443,18 @@
"getter": "is_caret_mid_grapheme_enabled"
},
{
+ "type": "bool",
+ "name": "secret",
+ "setter": "set_secret",
+ "getter": "is_secret"
+ },
+ {
+ "type": "String",
+ "name": "secret_character",
+ "setter": "set_secret_character",
+ "getter": "get_secret_character"
+ },
+ {
"type": "int",
"name": "text_direction",
"setter": "set_text_direction",
@@ -127838,7 +129912,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3521099812,
+ "hash": 2021686445,
+ "hash_compatibility": [
+ 3521099812
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -127846,6 +129923,12 @@
{
"name": "mesh",
"type": "ArrayMesh"
+ },
+ {
+ "name": "compression_flags",
+ "type": "int",
+ "meta": "uint64",
+ "default_value": "0"
}
]
},
@@ -127858,7 +129941,7 @@
"hash": 3905245786,
"return_value": {
"type": "int",
- "meta": "int32"
+ "meta": "uint64"
}
},
{
@@ -129896,20 +131979,6 @@
]
},
{
- "name": "MovieWriterMJPEG",
- "is_refcounted": false,
- "is_instantiable": false,
- "inherits": "MovieWriter",
- "api_type": "core"
- },
- {
- "name": "MovieWriterPNGWAV",
- "is_refcounted": false,
- "is_instantiable": false,
- "inherits": "MovieWriter",
- "api_type": "core"
- },
- {
"name": "MultiMesh",
"is_refcounted": true,
"is_instantiable": true,
@@ -130575,7 +132644,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1833408346,
+ "hash": 2077486355,
+ "hash_compatibility": [
+ 1833408346
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -135905,7 +137977,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3703028813,
+ "hash": 685862123,
+ "hash_compatibility": [
+ 3703028813
+ ],
"arguments": [
{
"name": "navigation_mesh",
@@ -135932,7 +138007,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3669016597,
+ "hash": 2469318639,
+ "hash_compatibility": [
+ 3669016597
+ ],
"arguments": [
{
"name": "navigation_mesh",
@@ -135952,6 +138030,126 @@
]
},
{
+ "name": "NavigationMeshSourceGeometryData2D",
+ "is_refcounted": true,
+ "is_instantiable": true,
+ "inherits": "Resource",
+ "api_type": "core",
+ "methods": [
+ {
+ "name": "clear",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3218959716
+ },
+ {
+ "name": "has_data",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_traversable_outlines",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 381264803,
+ "arguments": [
+ {
+ "name": "traversable_outlines",
+ "type": "typedarray::PackedVector2Array"
+ }
+ ]
+ },
+ {
+ "name": "get_traversable_outlines",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3995934104,
+ "return_value": {
+ "type": "typedarray::PackedVector2Array"
+ }
+ },
+ {
+ "name": "set_obstruction_outlines",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 381264803,
+ "arguments": [
+ {
+ "name": "obstruction_outlines",
+ "type": "typedarray::PackedVector2Array"
+ }
+ ]
+ },
+ {
+ "name": "get_obstruction_outlines",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3995934104,
+ "return_value": {
+ "type": "typedarray::PackedVector2Array"
+ }
+ },
+ {
+ "name": "add_traversable_outline",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1509147220,
+ "arguments": [
+ {
+ "name": "shape_outline",
+ "type": "PackedVector2Array"
+ }
+ ]
+ },
+ {
+ "name": "add_obstruction_outline",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1509147220,
+ "arguments": [
+ {
+ "name": "shape_outline",
+ "type": "PackedVector2Array"
+ }
+ ]
+ }
+ ],
+ "properties": [
+ {
+ "type": "Array",
+ "name": "traversable_outlines",
+ "setter": "set_traversable_outlines",
+ "getter": "get_traversable_outlines"
+ },
+ {
+ "type": "Array",
+ "name": "obstruction_outlines",
+ "setter": "set_obstruction_outlines",
+ "getter": "get_obstruction_outlines"
+ }
+ ]
+ },
+ {
"name": "NavigationMeshSourceGeometryData3D",
"is_refcounted": true,
"is_instantiable": true,
@@ -137535,6 +139733,52 @@
"is_instantiable": true,
"inherits": "Resource",
"api_type": "core",
+ "enums": [
+ {
+ "name": "ParsedGeometryType",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "PARSED_GEOMETRY_MESH_INSTANCES",
+ "value": 0
+ },
+ {
+ "name": "PARSED_GEOMETRY_STATIC_COLLIDERS",
+ "value": 1
+ },
+ {
+ "name": "PARSED_GEOMETRY_BOTH",
+ "value": 2
+ },
+ {
+ "name": "PARSED_GEOMETRY_MAX",
+ "value": 3
+ }
+ ]
+ },
+ {
+ "name": "SourceGeometryMode",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "SOURCE_GEOMETRY_ROOT_NODE_CHILDREN",
+ "value": 0
+ },
+ {
+ "name": "SOURCE_GEOMETRY_GROUPS_WITH_CHILDREN",
+ "value": 1
+ },
+ {
+ "name": "SOURCE_GEOMETRY_GROUPS_EXPLICIT",
+ "value": 2
+ },
+ {
+ "name": "SOURCE_GEOMETRY_MAX",
+ "value": 3
+ }
+ ]
+ }
+ ],
"methods": [
{
"name": "set_vertices",
@@ -137765,6 +140009,172 @@
}
},
{
+ "name": "set_parsed_geometry_type",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2507971764,
+ "arguments": [
+ {
+ "name": "geometry_type",
+ "type": "enum::NavigationPolygon.ParsedGeometryType"
+ }
+ ]
+ },
+ {
+ "name": "get_parsed_geometry_type",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1073219508,
+ "return_value": {
+ "type": "enum::NavigationPolygon.ParsedGeometryType"
+ }
+ },
+ {
+ "name": "set_parsed_collision_mask",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1286410249,
+ "arguments": [
+ {
+ "name": "mask",
+ "type": "int",
+ "meta": "uint32"
+ }
+ ]
+ },
+ {
+ "name": "get_parsed_collision_mask",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3905245786,
+ "return_value": {
+ "type": "int",
+ "meta": "uint32"
+ }
+ },
+ {
+ "name": "set_parsed_collision_mask_value",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 300928843,
+ "arguments": [
+ {
+ "name": "layer_number",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "value",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "get_parsed_collision_mask_value",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1116898809,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "layer_number",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
+ "name": "set_source_geometry_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 4002316705,
+ "arguments": [
+ {
+ "name": "geometry_mode",
+ "type": "enum::NavigationPolygon.SourceGeometryMode"
+ }
+ ]
+ },
+ {
+ "name": "get_source_geometry_mode",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 459686762,
+ "return_value": {
+ "type": "enum::NavigationPolygon.SourceGeometryMode"
+ }
+ },
+ {
+ "name": "set_source_geometry_group_name",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3304788590,
+ "arguments": [
+ {
+ "name": "group_name",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
+ "name": "get_source_geometry_group_name",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2002593661,
+ "return_value": {
+ "type": "StringName"
+ }
+ },
+ {
+ "name": "set_agent_radius",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "agent_radius",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_agent_radius",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
"name": "clear",
"is_const": false,
"is_vararg": false,
@@ -137793,10 +140203,40 @@
"getter": "_get_outlines"
},
{
+ "type": "int",
+ "name": "parsed_geometry_type",
+ "setter": "set_parsed_geometry_type",
+ "getter": "get_parsed_geometry_type"
+ },
+ {
+ "type": "int",
+ "name": "parsed_collision_mask",
+ "setter": "set_parsed_collision_mask",
+ "getter": "get_parsed_collision_mask"
+ },
+ {
+ "type": "int",
+ "name": "source_geometry_mode",
+ "setter": "set_source_geometry_mode",
+ "getter": "get_source_geometry_mode"
+ },
+ {
+ "type": "String",
+ "name": "source_geometry_group_name",
+ "setter": "set_source_geometry_group_name",
+ "getter": "get_source_geometry_group_name"
+ },
+ {
"type": "float",
"name": "cell_size",
"setter": "set_cell_size",
"getter": "get_cell_size"
+ },
+ {
+ "type": "float",
+ "name": "agent_radius",
+ "setter": "set_agent_radius",
+ "getter": "get_agent_radius"
}
]
},
@@ -138124,6 +140564,29 @@
"type": "float",
"meta": "float"
}
+ },
+ {
+ "name": "bake_navigation_polygon",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3216645846,
+ "arguments": [
+ {
+ "name": "on_thread",
+ "type": "bool",
+ "default_value": "true"
+ }
+ ]
+ }
+ ],
+ "signals": [
+ {
+ "name": "navigation_polygon_changed"
+ },
+ {
+ "name": "bake_finished"
}
],
"properties": [
@@ -138692,7 +141155,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 56240621,
+ "hash": 3146466012,
+ "hash_compatibility": [
+ 56240621
+ ],
"return_value": {
"type": "PackedVector2Array"
},
@@ -140165,6 +142631,79 @@
]
},
{
+ "name": "parse_source_geometry_data",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1176164995,
+ "arguments": [
+ {
+ "name": "navigation_polygon",
+ "type": "NavigationPolygon"
+ },
+ {
+ "name": "source_geometry_data",
+ "type": "NavigationMeshSourceGeometryData2D"
+ },
+ {
+ "name": "root_node",
+ "type": "Node"
+ },
+ {
+ "name": "callback",
+ "type": "Callable",
+ "default_value": "Callable()"
+ }
+ ]
+ },
+ {
+ "name": "bake_from_source_geometry_data",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2909414286,
+ "arguments": [
+ {
+ "name": "navigation_polygon",
+ "type": "NavigationPolygon"
+ },
+ {
+ "name": "source_geometry_data",
+ "type": "NavigationMeshSourceGeometryData2D"
+ },
+ {
+ "name": "callback",
+ "type": "Callable",
+ "default_value": "Callable()"
+ }
+ ]
+ },
+ {
+ "name": "bake_from_source_geometry_data_async",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2909414286,
+ "arguments": [
+ {
+ "name": "navigation_polygon",
+ "type": "NavigationPolygon"
+ },
+ {
+ "name": "source_geometry_data",
+ "type": "NavigationMeshSourceGeometryData2D"
+ },
+ {
+ "name": "callback",
+ "type": "Callable",
+ "default_value": "Callable()"
+ }
+ ]
+ },
+ {
"name": "free_rid",
"is_const": false,
"is_vararg": false,
@@ -140551,7 +143090,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2121045993,
+ "hash": 1187418690,
+ "hash_compatibility": [
+ 2121045993
+ ],
"return_value": {
"type": "PackedVector3Array"
},
@@ -142206,7 +144748,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3703028813,
+ "hash": 685862123,
+ "hash_compatibility": [
+ 3703028813
+ ],
"arguments": [
{
"name": "navigation_mesh",
@@ -142233,7 +144778,36 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3669016597,
+ "hash": 2469318639,
+ "hash_compatibility": [
+ 3669016597
+ ],
+ "arguments": [
+ {
+ "name": "navigation_mesh",
+ "type": "NavigationMesh"
+ },
+ {
+ "name": "source_geometry_data",
+ "type": "NavigationMeshSourceGeometryData3D"
+ },
+ {
+ "name": "callback",
+ "type": "Callable",
+ "default_value": "Callable()"
+ }
+ ]
+ },
+ {
+ "name": "bake_from_source_geometry_data_async",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2469318639,
+ "hash_compatibility": [
+ 3669016597
+ ],
"arguments": [
{
"name": "navigation_mesh",
@@ -143050,7 +145624,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3070154285,
+ "hash": 3863233950,
+ "hash_compatibility": [
+ 3070154285
+ ],
"arguments": [
{
"name": "node",
@@ -143088,7 +145665,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2570952461,
+ "hash": 3685795103,
+ "hash_compatibility": [
+ 2570952461
+ ],
"arguments": [
{
"name": "new_parent",
@@ -143229,7 +145809,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4253159453,
+ "hash": 2008217037,
+ "hash_compatibility": [
+ 4253159453
+ ],
"return_value": {
"type": "Node"
},
@@ -143256,7 +145839,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1585018254,
+ "hash": 2560337219,
+ "hash_compatibility": [
+ 1585018254
+ ],
"return_value": {
"type": "typedarray::Node"
},
@@ -143552,6 +146138,28 @@
"hash": 3218959716
},
{
+ "name": "get_tree_string",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2841200299,
+ "return_value": {
+ "type": "String"
+ }
+ },
+ {
+ "name": "get_tree_string_pretty",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2841200299,
+ "return_value": {
+ "type": "String"
+ }
+ },
+ {
"name": "set_scene_file_path",
"is_const": false,
"is_vararg": false,
@@ -143597,7 +146205,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1667910434,
+ "hash": 1871007965,
+ "hash_compatibility": [
+ 1667910434
+ ],
"arguments": [
{
"name": "method",
@@ -144217,7 +146828,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4023243586,
+ "hash": 972357352,
+ "hash_compatibility": [
+ 4023243586
+ ],
"arguments": [
{
"name": "id",
@@ -145479,6 +148093,31 @@
}
},
{
+ "name": "set_global_basis",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1055510324,
+ "arguments": [
+ {
+ "name": "basis",
+ "type": "Basis"
+ }
+ ]
+ },
+ {
+ "name": "get_global_basis",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2716978435,
+ "return_value": {
+ "type": "Basis"
+ }
+ },
+ {
"name": "set_global_rotation",
"is_const": false,
"is_vararg": false,
@@ -146015,7 +148654,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3123400617,
+ "hash": 2882425029,
+ "hash_compatibility": [
+ 3123400617
+ ],
"arguments": [
{
"name": "target",
@@ -146039,7 +148681,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4067663783,
+ "hash": 2086826090,
+ "hash_compatibility": [
+ 4067663783
+ ],
"arguments": [
{
"name": "position",
@@ -146175,6 +148820,12 @@
"getter": "get_global_position"
},
{
+ "type": "Basis",
+ "name": "global_basis",
+ "setter": "set_global_basis",
+ "getter": "get_global_basis"
+ },
+ {
"type": "Vector3",
"name": "global_rotation",
"setter": "set_global_rotation",
@@ -146328,7 +148979,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2569233413,
+ "hash": 3180683109,
+ "hash_compatibility": [
+ 2569233413
+ ],
"return_value": {
"type": "Image"
},
@@ -146366,7 +149020,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2210827790,
+ "hash": 2770743602,
+ "hash_compatibility": [
+ 2210827790
+ ],
"return_value": {
"type": "Image"
},
@@ -146410,7 +149067,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2358868431,
+ "hash": 3977814329,
+ "hash_compatibility": [
+ 2358868431
+ ],
"return_value": {
"type": "typedarray::Image"
},
@@ -146448,7 +149108,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3328694319,
+ "hash": 451006340,
+ "hash_compatibility": [
+ 3328694319
+ ],
"return_value": {
"type": "typedarray::Image"
},
@@ -147218,7 +149881,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 233059325,
+ "hash": 1783970740,
+ "hash_compatibility": [
+ 233059325
+ ],
"arguments": [
{
"name": "text",
@@ -147362,7 +150028,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2262142305,
+ "hash": 626580860,
+ "hash_compatibility": [
+ 2262142305
+ ],
"return_value": {
"type": "String"
},
@@ -147396,7 +150065,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3824042574,
+ "hash": 197317981,
+ "hash_compatibility": [
+ 3824042574
+ ],
"return_value": {
"type": "PackedStringArray"
},
@@ -147466,7 +150138,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2881709059,
+ "hash": 1488299882,
+ "hash_compatibility": [
+ 2881709059
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -147583,7 +150258,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 885841341,
+ "hash": 3565188097,
+ "hash_compatibility": [
+ 885841341
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -147767,7 +150445,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 611198603,
+ "hash": 3331453935,
+ "hash_compatibility": [
+ 611198603
+ ],
"arguments": [
{
"name": "restart",
@@ -147967,7 +150648,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1965199849,
+ "hash": 3073895123,
+ "hash_compatibility": [
+ 1965199849
+ ],
"return_value": {
"type": "String"
},
@@ -148580,7 +151264,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3780025912,
+ "hash": 85656714,
+ "hash_compatibility": [
+ 3780025912
+ ],
"arguments": [
{
"name": "signal",
@@ -148779,7 +151466,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1469446357,
+ "hash": 1518946055,
+ "hash_compatibility": [
+ 1469446357
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -148903,7 +151593,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2475554935,
+ "hash": 1195764410,
+ "hash_compatibility": [
+ 2475554935
+ ],
"return_value": {
"type": "String"
},
@@ -148925,7 +151618,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4021311862,
+ "hash": 162698058,
+ "hash_compatibility": [
+ 4021311862
+ ],
"return_value": {
"type": "String"
},
@@ -150828,11 +153524,302 @@
]
},
{
+ "name": "OpenXRInteractionProfileMetadata",
+ "is_refcounted": false,
+ "is_instantiable": true,
+ "inherits": "Object",
+ "api_type": "core",
+ "methods": [
+ {
+ "name": "register_profile_rename",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3186203200,
+ "arguments": [
+ {
+ "name": "old_name",
+ "type": "String"
+ },
+ {
+ "name": "new_name",
+ "type": "String"
+ }
+ ]
+ },
+ {
+ "name": "register_top_level_path",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 254767734,
+ "arguments": [
+ {
+ "name": "display_name",
+ "type": "String"
+ },
+ {
+ "name": "openxr_path",
+ "type": "String"
+ },
+ {
+ "name": "openxr_extension_name",
+ "type": "String"
+ }
+ ]
+ },
+ {
+ "name": "register_interaction_profile",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 254767734,
+ "arguments": [
+ {
+ "name": "display_name",
+ "type": "String"
+ },
+ {
+ "name": "openxr_path",
+ "type": "String"
+ },
+ {
+ "name": "openxr_extension_name",
+ "type": "String"
+ }
+ ]
+ },
+ {
+ "name": "register_io_path",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3443511926,
+ "arguments": [
+ {
+ "name": "interaction_profile",
+ "type": "String"
+ },
+ {
+ "name": "display_name",
+ "type": "String"
+ },
+ {
+ "name": "toplevel_path",
+ "type": "String"
+ },
+ {
+ "name": "openxr_path",
+ "type": "String"
+ },
+ {
+ "name": "openxr_extension_name",
+ "type": "String"
+ },
+ {
+ "name": "action_type",
+ "type": "enum::OpenXRAction.ActionType"
+ }
+ ]
+ }
+ ]
+ },
+ {
"name": "OpenXRInterface",
"is_refcounted": true,
"is_instantiable": true,
"inherits": "XRInterface",
"api_type": "core",
+ "enums": [
+ {
+ "name": "Hand",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "HAND_LEFT",
+ "value": 0
+ },
+ {
+ "name": "HAND_RIGHT",
+ "value": 1
+ },
+ {
+ "name": "HAND_MAX",
+ "value": 2
+ }
+ ]
+ },
+ {
+ "name": "HandMotionRange",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "HAND_MOTION_RANGE_UNOBSTRUCTED",
+ "value": 0
+ },
+ {
+ "name": "HAND_MOTION_RANGE_CONFORM_TO_CONTROLLER",
+ "value": 1
+ },
+ {
+ "name": "HAND_MOTION_RANGE_MAX",
+ "value": 2
+ }
+ ]
+ },
+ {
+ "name": "HandJoints",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "HAND_JOINT_PALM",
+ "value": 0
+ },
+ {
+ "name": "HAND_JOINT_WRIST",
+ "value": 1
+ },
+ {
+ "name": "HAND_JOINT_THUMB_METACARPAL",
+ "value": 2
+ },
+ {
+ "name": "HAND_JOINT_THUMB_PROXIMAL",
+ "value": 3
+ },
+ {
+ "name": "HAND_JOINT_THUMB_DISTAL",
+ "value": 4
+ },
+ {
+ "name": "HAND_JOINT_THUMB_TIP",
+ "value": 5
+ },
+ {
+ "name": "HAND_JOINT_INDEX_METACARPAL",
+ "value": 6
+ },
+ {
+ "name": "HAND_JOINT_INDEX_PROXIMAL",
+ "value": 7
+ },
+ {
+ "name": "HAND_JOINT_INDEX_INTERMEDIATE",
+ "value": 8
+ },
+ {
+ "name": "HAND_JOINT_INDEX_DISTAL",
+ "value": 9
+ },
+ {
+ "name": "HAND_JOINT_INDEX_TIP",
+ "value": 10
+ },
+ {
+ "name": "HAND_JOINT_MIDDLE_METACARPAL",
+ "value": 11
+ },
+ {
+ "name": "HAND_JOINT_MIDDLE_PROXIMAL",
+ "value": 12
+ },
+ {
+ "name": "HAND_JOINT_MIDDLE_INTERMEDIATE",
+ "value": 13
+ },
+ {
+ "name": "HAND_JOINT_MIDDLE_DISTAL",
+ "value": 14
+ },
+ {
+ "name": "HAND_JOINT_MIDDLE_TIP",
+ "value": 15
+ },
+ {
+ "name": "HAND_JOINT_RING_METACARPAL",
+ "value": 16
+ },
+ {
+ "name": "HAND_JOINT_RING_PROXIMAL",
+ "value": 17
+ },
+ {
+ "name": "HAND_JOINT_RING_INTERMEDIATE",
+ "value": 18
+ },
+ {
+ "name": "HAND_JOINT_RING_DISTAL",
+ "value": 19
+ },
+ {
+ "name": "HAND_JOINT_RING_TIP",
+ "value": 20
+ },
+ {
+ "name": "HAND_JOINT_LITTLE_METACARPAL",
+ "value": 21
+ },
+ {
+ "name": "HAND_JOINT_LITTLE_PROXIMAL",
+ "value": 22
+ },
+ {
+ "name": "HAND_JOINT_LITTLE_INTERMEDIATE",
+ "value": 23
+ },
+ {
+ "name": "HAND_JOINT_LITTLE_DISTAL",
+ "value": 24
+ },
+ {
+ "name": "HAND_JOINT_LITTLE_TIP",
+ "value": 25
+ },
+ {
+ "name": "HAND_JOINT_MAX",
+ "value": 26
+ }
+ ]
+ },
+ {
+ "name": "HandJointFlags",
+ "is_bitfield": true,
+ "values": [
+ {
+ "name": "HAND_JOINT_NONE",
+ "value": 0
+ },
+ {
+ "name": "HAND_JOINT_ORIENTATION_VALID",
+ "value": 1
+ },
+ {
+ "name": "HAND_JOINT_ORIENTATION_TRACKED",
+ "value": 2
+ },
+ {
+ "name": "HAND_JOINT_POSITION_VALID",
+ "value": 4
+ },
+ {
+ "name": "HAND_JOINT_POSITION_TRACKED",
+ "value": 8
+ },
+ {
+ "name": "HAND_JOINT_LINEAR_VELOCITY_VALID",
+ "value": 16
+ },
+ {
+ "name": "HAND_JOINT_ANGULAR_VELOCITY_VALID",
+ "value": 32
+ }
+ ]
+ }
+ ],
"methods": [
{
"name": "get_display_refresh_rate",
@@ -150889,6 +153876,69 @@
]
},
{
+ "name": "is_foveation_supported",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "get_foveation_level",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3905245786,
+ "return_value": {
+ "type": "int",
+ "meta": "int32"
+ }
+ },
+ {
+ "name": "set_foveation_level",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1286410249,
+ "arguments": [
+ {
+ "name": "foveation_level",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
+ "name": "get_foveation_dynamic",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_foveation_dynamic",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "foveation_dynamic",
+ "type": "bool"
+ }
+ ]
+ },
+ {
"name": "is_action_set_active",
"is_const": true,
"is_vararg": false,
@@ -150944,6 +153994,190 @@
"return_value": {
"type": "Array"
}
+ },
+ {
+ "name": "set_motion_range",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 855158159,
+ "arguments": [
+ {
+ "name": "hand",
+ "type": "enum::OpenXRInterface.Hand"
+ },
+ {
+ "name": "motion_range",
+ "type": "enum::OpenXRInterface.HandMotionRange"
+ }
+ ]
+ },
+ {
+ "name": "get_motion_range",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3955838114,
+ "return_value": {
+ "type": "enum::OpenXRInterface.HandMotionRange"
+ },
+ "arguments": [
+ {
+ "name": "hand",
+ "type": "enum::OpenXRInterface.Hand"
+ }
+ ]
+ },
+ {
+ "name": "get_hand_joint_flags",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 720567706,
+ "return_value": {
+ "type": "bitfield::OpenXRInterface.HandJointFlags"
+ },
+ "arguments": [
+ {
+ "name": "hand",
+ "type": "enum::OpenXRInterface.Hand"
+ },
+ {
+ "name": "joint",
+ "type": "enum::OpenXRInterface.HandJoints"
+ }
+ ]
+ },
+ {
+ "name": "get_hand_joint_rotation",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1974618321,
+ "return_value": {
+ "type": "Quaternion"
+ },
+ "arguments": [
+ {
+ "name": "hand",
+ "type": "enum::OpenXRInterface.Hand"
+ },
+ {
+ "name": "joint",
+ "type": "enum::OpenXRInterface.HandJoints"
+ }
+ ]
+ },
+ {
+ "name": "get_hand_joint_position",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3529194242,
+ "return_value": {
+ "type": "Vector3"
+ },
+ "arguments": [
+ {
+ "name": "hand",
+ "type": "enum::OpenXRInterface.Hand"
+ },
+ {
+ "name": "joint",
+ "type": "enum::OpenXRInterface.HandJoints"
+ }
+ ]
+ },
+ {
+ "name": "get_hand_joint_radius",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 901522724,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ },
+ "arguments": [
+ {
+ "name": "hand",
+ "type": "enum::OpenXRInterface.Hand"
+ },
+ {
+ "name": "joint",
+ "type": "enum::OpenXRInterface.HandJoints"
+ }
+ ]
+ },
+ {
+ "name": "get_hand_joint_linear_velocity",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3529194242,
+ "return_value": {
+ "type": "Vector3"
+ },
+ "arguments": [
+ {
+ "name": "hand",
+ "type": "enum::OpenXRInterface.Hand"
+ },
+ {
+ "name": "joint",
+ "type": "enum::OpenXRInterface.HandJoints"
+ }
+ ]
+ },
+ {
+ "name": "get_hand_joint_angular_velocity",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3529194242,
+ "return_value": {
+ "type": "Vector3"
+ },
+ "arguments": [
+ {
+ "name": "hand",
+ "type": "enum::OpenXRInterface.Hand"
+ },
+ {
+ "name": "joint",
+ "type": "enum::OpenXRInterface.HandJoints"
+ }
+ ]
+ },
+ {
+ "name": "is_hand_tracking_supported",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "is_eye_gaze_interaction_supported",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
}
],
"signals": [
@@ -150975,6 +154209,18 @@
"name": "render_target_size_multiplier",
"setter": "set_render_target_size_multiplier",
"getter": "get_render_target_size_multiplier"
+ },
+ {
+ "type": "int",
+ "name": "foveation_level",
+ "setter": "set_foveation_level",
+ "getter": "get_foveation_level"
+ },
+ {
+ "type": "bool",
+ "name": "foveation_dynamic",
+ "setter": "set_foveation_dynamic",
+ "getter": "get_foveation_dynamic"
}
]
},
@@ -151014,7 +154260,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3043792800,
+ "hash": 2697778442,
+ "hash_compatibility": [
+ 3043792800
+ ],
"arguments": [
{
"name": "label",
@@ -151034,7 +154283,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3944051090,
+ "hash": 3781678508,
+ "hash_compatibility": [
+ 3944051090
+ ],
"arguments": [
{
"name": "texture",
@@ -151526,6 +154778,20 @@
"return_value": {
"type": "bool"
}
+ },
+ {
+ "name": "set_disable_shortcuts",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "disabled",
+ "type": "bool"
+ }
+ ]
}
],
"signals": [
@@ -151588,7 +154854,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3232891339,
+ "hash": 508410629,
+ "hash_compatibility": [
+ 3232891339
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -151994,7 +155263,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1801538152,
+ "hash": 2880188099,
+ "hash_compatibility": [
+ 1801538152
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -152228,7 +155500,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4290438434,
+ "hash": 4051239242,
+ "hash_compatibility": [
+ 4290438434
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -152877,10 +156152,22 @@
"value": 11
},
{
- "name": "PARAM_MAX",
+ "name": "PARAM_RADIAL_VELOCITY",
"value": 15
},
{
+ "name": "PARAM_DIRECTIONAL_VELOCITY",
+ "value": 16
+ },
+ {
+ "name": "PARAM_SCALE_OVER_VELOCITY",
+ "value": 17
+ },
+ {
+ "name": "PARAM_MAX",
+ "value": 18
+ },
+ {
"name": "PARAM_TURB_VEL_INFLUENCE",
"value": 13
},
@@ -152911,8 +156198,12 @@
"value": 2
},
{
- "name": "PARTICLE_FLAG_MAX",
+ "name": "PARTICLE_FLAG_DAMPING_AS_FRICTION",
"value": 3
+ },
+ {
+ "name": "PARTICLE_FLAG_MAX",
+ "value": 4
}
]
},
@@ -153030,6 +156321,33 @@
}
},
{
+ "name": "set_inherit_velocity_ratio",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "ratio",
+ "type": "float",
+ "meta": "double"
+ }
+ ]
+ },
+ {
+ "name": "get_inherit_velocity_ratio",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 191475506,
+ "return_value": {
+ "type": "float",
+ "meta": "double"
+ }
+ },
+ {
"name": "set_spread",
"is_const": false,
"is_vararg": false,
@@ -153243,6 +156561,56 @@
}
},
{
+ "name": "set_alpha_curve",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 4051416890,
+ "arguments": [
+ {
+ "name": "curve",
+ "type": "Texture2D"
+ }
+ ]
+ },
+ {
+ "name": "get_alpha_curve",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3635182373,
+ "return_value": {
+ "type": "Texture2D"
+ }
+ },
+ {
+ "name": "set_emission_curve",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 4051416890,
+ "arguments": [
+ {
+ "name": "curve",
+ "type": "Texture2D"
+ }
+ ]
+ },
+ {
+ "name": "get_emission_curve",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3635182373,
+ "return_value": {
+ "type": "Texture2D"
+ }
+ },
+ {
"name": "set_color_initial_ramp",
"is_const": false,
"is_vararg": false,
@@ -153268,6 +156636,31 @@
}
},
{
+ "name": "set_velocity_limit_curve",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 4051416890,
+ "arguments": [
+ {
+ "name": "curve",
+ "type": "Texture2D"
+ }
+ ]
+ },
+ {
+ "name": "get_velocity_limit_curve",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3635182373,
+ "return_value": {
+ "type": "Texture2D"
+ }
+ },
+ {
"name": "set_particle_flag",
"is_const": false,
"is_vararg": false,
@@ -153303,6 +156696,31 @@
]
},
{
+ "name": "set_velocity_pivot",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3460891852,
+ "arguments": [
+ {
+ "name": "pivot",
+ "type": "Vector3"
+ }
+ ]
+ },
+ {
+ "name": "get_velocity_pivot",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3783033775,
+ "return_value": {
+ "type": "Vector3"
+ }
+ },
+ {
"name": "set_emission_shape",
"is_const": false,
"is_vararg": false,
@@ -153588,6 +157006,56 @@
}
},
{
+ "name": "set_emission_shape_offset",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3460891852,
+ "arguments": [
+ {
+ "name": "emission_shape_offset",
+ "type": "Vector3"
+ }
+ ]
+ },
+ {
+ "name": "get_emission_shape_offset",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3360562783,
+ "return_value": {
+ "type": "Vector3"
+ }
+ },
+ {
+ "name": "set_emission_shape_scale",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3460891852,
+ "arguments": [
+ {
+ "name": "emission_shape_scale",
+ "type": "Vector3"
+ }
+ ]
+ },
+ {
+ "name": "get_emission_shape_scale",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3360562783,
+ "return_value": {
+ "type": "Vector3"
+ }
+ },
+ {
"name": "get_turbulence_enabled",
"is_const": true,
"is_vararg": false,
@@ -154039,6 +157507,46 @@
"getter": "get_lifetime_randomness"
},
{
+ "type": "bool",
+ "name": "particle_flag_align_y",
+ "setter": "set_particle_flag",
+ "getter": "get_particle_flag",
+ "index": 0
+ },
+ {
+ "type": "bool",
+ "name": "particle_flag_rotate_y",
+ "setter": "set_particle_flag",
+ "getter": "get_particle_flag",
+ "index": 1
+ },
+ {
+ "type": "bool",
+ "name": "particle_flag_disable_z",
+ "setter": "set_particle_flag",
+ "getter": "get_particle_flag",
+ "index": 2
+ },
+ {
+ "type": "bool",
+ "name": "particle_flag_damping_as_friction",
+ "setter": "set_particle_flag",
+ "getter": "get_particle_flag",
+ "index": 3
+ },
+ {
+ "type": "Vector3",
+ "name": "emission_shape_offset",
+ "setter": "set_emission_shape_offset",
+ "getter": "get_emission_shape_offset"
+ },
+ {
+ "type": "Vector3",
+ "name": "emission_shape_scale",
+ "setter": "set_emission_shape_scale",
+ "getter": "get_emission_shape_scale"
+ },
+ {
"type": "int",
"name": "emission_shape",
"setter": "set_emission_shape",
@@ -154105,25 +157613,37 @@
"getter": "get_emission_ring_inner_radius"
},
{
- "type": "bool",
- "name": "particle_flag_align_y",
- "setter": "set_particle_flag",
- "getter": "get_particle_flag",
- "index": 0
+ "type": "float",
+ "name": "angle_min",
+ "setter": "set_param_min",
+ "getter": "get_param_min",
+ "index": 7
},
{
- "type": "bool",
- "name": "particle_flag_rotate_y",
- "setter": "set_particle_flag",
- "getter": "get_particle_flag",
- "index": 1
+ "type": "float",
+ "name": "angle_max",
+ "setter": "set_param_max",
+ "getter": "get_param_max",
+ "index": 7
},
{
- "type": "bool",
- "name": "particle_flag_disable_z",
- "setter": "set_particle_flag",
- "getter": "get_particle_flag",
- "index": 2
+ "type": "CurveTexture",
+ "name": "angle_curve",
+ "setter": "set_param_texture",
+ "getter": "get_param_texture",
+ "index": 7
+ },
+ {
+ "type": "float",
+ "name": "inherit_velocity_ratio",
+ "setter": "set_inherit_velocity_ratio",
+ "getter": "get_inherit_velocity_ratio"
+ },
+ {
+ "type": "Vector3",
+ "name": "velocity_pivot",
+ "setter": "set_velocity_pivot",
+ "getter": "get_velocity_pivot"
},
{
"type": "Vector3",
@@ -154144,12 +157664,6 @@
"getter": "get_flatness"
},
{
- "type": "Vector3",
- "name": "gravity",
- "setter": "set_gravity",
- "getter": "get_gravity"
- },
- {
"type": "float",
"name": "initial_velocity_min",
"setter": "set_param_min",
@@ -154186,6 +157700,27 @@
},
{
"type": "float",
+ "name": "directional_velocity_min",
+ "setter": "set_param_min",
+ "getter": "get_param_min",
+ "index": 16
+ },
+ {
+ "type": "float",
+ "name": "directional_velocity_max",
+ "setter": "set_param_max",
+ "getter": "get_param_max",
+ "index": 16
+ },
+ {
+ "type": "CurveXYZTexture",
+ "name": "directional_velocity_curve",
+ "setter": "set_param_texture",
+ "getter": "get_param_texture",
+ "index": 16
+ },
+ {
+ "type": "float",
"name": "orbit_velocity_min",
"setter": "set_param_min",
"getter": "get_param_min",
@@ -154199,7 +157734,7 @@
"index": 2
},
{
- "type": "CurveTexture",
+ "type": "CurveTexture,CurveXYZTexture",
"name": "orbit_velocity_curve",
"setter": "set_param_texture",
"getter": "get_param_texture",
@@ -154207,6 +157742,39 @@
},
{
"type": "float",
+ "name": "radial_velocity_min",
+ "setter": "set_param_min",
+ "getter": "get_param_min",
+ "index": 15
+ },
+ {
+ "type": "float",
+ "name": "radial_velocity_max",
+ "setter": "set_param_max",
+ "getter": "get_param_max",
+ "index": 15
+ },
+ {
+ "type": "CurveTexture",
+ "name": "radial_velocity_curve",
+ "setter": "set_param_texture",
+ "getter": "get_param_texture",
+ "index": 15
+ },
+ {
+ "type": "CurveTexture",
+ "name": "velocity_limit_curve",
+ "setter": "set_velocity_limit_curve",
+ "getter": "get_velocity_limit_curve"
+ },
+ {
+ "type": "Vector3",
+ "name": "gravity",
+ "setter": "set_gravity",
+ "getter": "get_gravity"
+ },
+ {
+ "type": "float",
"name": "linear_accel_min",
"setter": "set_param_min",
"getter": "get_param_min",
@@ -154290,46 +157858,52 @@
"index": 6
},
{
+ "type": "bool",
+ "name": "attractor_interaction_enabled",
+ "setter": "set_attractor_interaction_enabled",
+ "getter": "is_attractor_interaction_enabled"
+ },
+ {
"type": "float",
- "name": "angle_min",
+ "name": "scale_min",
"setter": "set_param_min",
"getter": "get_param_min",
- "index": 7
+ "index": 8
},
{
"type": "float",
- "name": "angle_max",
+ "name": "scale_max",
"setter": "set_param_max",
"getter": "get_param_max",
- "index": 7
+ "index": 8
},
{
- "type": "CurveTexture",
- "name": "angle_curve",
+ "type": "CurveTexture,CurveXYZTexture",
+ "name": "scale_curve",
"setter": "set_param_texture",
"getter": "get_param_texture",
- "index": 7
+ "index": 8
},
{
"type": "float",
- "name": "scale_min",
+ "name": "scale_over_velocity_min",
"setter": "set_param_min",
"getter": "get_param_min",
- "index": 8
+ "index": 17
},
{
"type": "float",
- "name": "scale_max",
+ "name": "scale_over_velocity_max",
"setter": "set_param_max",
"getter": "get_param_max",
- "index": 8
+ "index": 17
},
{
"type": "CurveTexture,CurveXYZTexture",
- "name": "scale_curve",
+ "name": "scale_over_velocity_curve",
"setter": "set_param_texture",
"getter": "get_param_texture",
- "index": 8
+ "index": 17
},
{
"type": "Color",
@@ -154350,6 +157924,18 @@
"getter": "get_color_initial_ramp"
},
{
+ "type": "CurveTexture",
+ "name": "alpha_curve",
+ "setter": "set_alpha_curve",
+ "getter": "get_alpha_curve"
+ },
+ {
+ "type": "CurveTexture",
+ "name": "emission_curve",
+ "setter": "set_emission_curve",
+ "getter": "get_emission_curve"
+ },
+ {
"type": "float",
"name": "hue_variation_min",
"setter": "set_param_min",
@@ -154371,6 +157957,48 @@
"index": 9
},
{
+ "type": "float",
+ "name": "anim_speed_min",
+ "setter": "set_param_min",
+ "getter": "get_param_min",
+ "index": 10
+ },
+ {
+ "type": "float",
+ "name": "anim_speed_max",
+ "setter": "set_param_max",
+ "getter": "get_param_max",
+ "index": 10
+ },
+ {
+ "type": "CurveTexture",
+ "name": "anim_speed_curve",
+ "setter": "set_param_texture",
+ "getter": "get_param_texture",
+ "index": 10
+ },
+ {
+ "type": "float",
+ "name": "anim_offset_min",
+ "setter": "set_param_min",
+ "getter": "get_param_min",
+ "index": 11
+ },
+ {
+ "type": "float",
+ "name": "anim_offset_max",
+ "setter": "set_param_max",
+ "getter": "get_param_max",
+ "index": 11
+ },
+ {
+ "type": "CurveTexture",
+ "name": "anim_offset_curve",
+ "setter": "set_param_texture",
+ "getter": "get_param_texture",
+ "index": 11
+ },
+ {
"type": "bool",
"name": "turbulence_enabled",
"setter": "set_turbulence_enabled",
@@ -154436,46 +158064,28 @@
"index": 12
},
{
- "type": "float",
- "name": "anim_speed_min",
- "setter": "set_param_min",
- "getter": "get_param_min",
- "index": 10
- },
- {
- "type": "float",
- "name": "anim_speed_max",
- "setter": "set_param_max",
- "getter": "get_param_max",
- "index": 10
- },
- {
- "type": "CurveTexture",
- "name": "anim_speed_curve",
- "setter": "set_param_texture",
- "getter": "get_param_texture",
- "index": 10
+ "type": "int",
+ "name": "collision_mode",
+ "setter": "set_collision_mode",
+ "getter": "get_collision_mode"
},
{
"type": "float",
- "name": "anim_offset_min",
- "setter": "set_param_min",
- "getter": "get_param_min",
- "index": 11
+ "name": "collision_friction",
+ "setter": "set_collision_friction",
+ "getter": "get_collision_friction"
},
{
"type": "float",
- "name": "anim_offset_max",
- "setter": "set_param_max",
- "getter": "get_param_max",
- "index": 11
+ "name": "collision_bounce",
+ "setter": "set_collision_bounce",
+ "getter": "get_collision_bounce"
},
{
- "type": "CurveTexture",
- "name": "anim_offset_curve",
- "setter": "set_param_texture",
- "getter": "get_param_texture",
- "index": 11
+ "type": "bool",
+ "name": "collision_use_scale",
+ "setter": "set_collision_use_scale",
+ "getter": "is_collision_using_scale"
},
{
"type": "int",
@@ -154506,36 +158116,6 @@
"name": "sub_emitter_keep_velocity",
"setter": "set_sub_emitter_keep_velocity",
"getter": "get_sub_emitter_keep_velocity"
- },
- {
- "type": "bool",
- "name": "attractor_interaction_enabled",
- "setter": "set_attractor_interaction_enabled",
- "getter": "is_attractor_interaction_enabled"
- },
- {
- "type": "int",
- "name": "collision_mode",
- "setter": "set_collision_mode",
- "getter": "get_collision_mode"
- },
- {
- "type": "float",
- "name": "collision_friction",
- "setter": "set_collision_friction",
- "getter": "get_collision_friction"
- },
- {
- "type": "float",
- "name": "collision_bounce",
- "setter": "set_collision_bounce",
- "getter": "get_collision_bounce"
- },
- {
- "type": "bool",
- "name": "collision_use_scale",
- "setter": "set_collision_use_scale",
- "getter": "is_collision_using_scale"
}
]
},
@@ -155386,7 +158966,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2865980031,
+ "hash": 4099036814,
+ "hash_compatibility": [
+ 2865980031
+ ],
"arguments": [
{
"name": "id",
@@ -155752,7 +159335,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1002852006,
+ "hash": 2754756483,
+ "hash_compatibility": [
+ 1002852006
+ ],
"arguments": [
{
"name": "impulse",
@@ -156688,7 +160274,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1529961754,
+ "hash": 3681923724,
+ "hash_compatibility": [
+ 1529961754
+ ],
"return_value": {
"type": "KinematicCollision2D"
},
@@ -156721,7 +160310,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1369208982,
+ "hash": 3324464701,
+ "hash_compatibility": [
+ 1369208982
+ ],
"return_value": {
"type": "bool"
},
@@ -156806,7 +160398,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2825704414,
+ "hash": 3208792678,
+ "hash_compatibility": [
+ 2825704414
+ ],
"return_value": {
"type": "KinematicCollision3D"
},
@@ -156845,7 +160440,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 680299713,
+ "hash": 2481691619,
+ "hash_compatibility": [
+ 680299713
+ ],
"return_value": {
"type": "bool"
},
@@ -157219,7 +160817,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 496058220,
+ "hash": 4288681949,
+ "hash_compatibility": [
+ 496058220
+ ],
"arguments": [
{
"name": "impulse",
@@ -157253,7 +160854,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 496058220,
+ "hash": 4288681949,
+ "hash_compatibility": [
+ 496058220
+ ],
"arguments": [
{
"name": "force",
@@ -157302,7 +160906,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 496058220,
+ "hash": 4288681949,
+ "hash_compatibility": [
+ 496058220
+ ],
"arguments": [
{
"name": "force",
@@ -158543,7 +162150,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1002852006,
+ "hash": 2754756483,
+ "hash_compatibility": [
+ 1002852006
+ ],
"arguments": [
{
"name": "impulse",
@@ -158591,7 +162201,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1002852006,
+ "hash": 2754756483,
+ "hash_compatibility": [
+ 1002852006
+ ],
"arguments": [
{
"name": "force",
@@ -158639,7 +162252,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1002852006,
+ "hash": 2754756483,
+ "hash_compatibility": [
+ 1002852006
+ ],
"arguments": [
{
"name": "force",
@@ -159690,7 +163306,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3278207904,
+ "hash": 2118456068,
+ "hash_compatibility": [
+ 3278207904
+ ],
"return_value": {
"type": "typedarray::Dictionary"
},
@@ -159730,7 +163349,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3803848594,
+ "hash": 2488867228,
+ "hash_compatibility": [
+ 3803848594
+ ],
"return_value": {
"type": "typedarray::Dictionary"
},
@@ -159770,7 +163392,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3803848594,
+ "hash": 2488867228,
+ "hash_compatibility": [
+ 3803848594
+ ],
"return_value": {
"type": "typedarray::Vector2"
},
@@ -160133,7 +163758,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 45993382,
+ "hash": 975173756,
+ "hash_compatibility": [
+ 45993382
+ ],
"return_value": {
"type": "typedarray::Dictionary"
},
@@ -160173,7 +163801,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 550215980,
+ "hash": 3762137681,
+ "hash_compatibility": [
+ 550215980
+ ],
"return_value": {
"type": "typedarray::Dictionary"
},
@@ -160213,7 +163844,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 550215980,
+ "hash": 3762137681,
+ "hash_compatibility": [
+ 550215980
+ ],
"return_value": {
"type": "typedarray::Vector3"
},
@@ -161111,7 +164745,10 @@
"is_vararg": false,
"is_static": true,
"is_virtual": false,
- "hash": 1118143851,
+ "hash": 3196569324,
+ "hash_compatibility": [
+ 1118143851
+ ],
"return_value": {
"type": "PhysicsRayQueryParameters2D"
},
@@ -161373,7 +165010,10 @@
"is_vararg": false,
"is_static": true,
"is_virtual": false,
- "hash": 680321959,
+ "hash": 3110599579,
+ "hash_compatibility": [
+ 680321959
+ ],
"return_value": {
"type": "PhysicsRayQueryParameters3D"
},
@@ -161975,6 +165615,32 @@
{
"name": "PIN_JOINT_SOFTNESS",
"value": 0
+ },
+ {
+ "name": "PIN_JOINT_LIMIT_UPPER",
+ "value": 1
+ },
+ {
+ "name": "PIN_JOINT_LIMIT_LOWER",
+ "value": 2
+ },
+ {
+ "name": "PIN_JOINT_MOTOR_TARGET_VELOCITY",
+ "value": 3
+ }
+ ]
+ },
+ {
+ "name": "PinJointFlag",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "PIN_JOINT_FLAG_ANGULAR_LIMIT_ENABLED",
+ "value": 0
+ },
+ {
+ "name": "PIN_JOINT_FLAG_MOTOR_ENABLED",
+ "value": 1
}
]
},
@@ -162348,7 +166014,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 754862190,
+ "hash": 339056240,
+ "hash_compatibility": [
+ 754862190
+ ],
"arguments": [
{
"name": "area",
@@ -162901,7 +166570,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 754862190,
+ "hash": 339056240,
+ "hash_compatibility": [
+ 754862190
+ ],
"arguments": [
{
"name": "body",
@@ -163478,7 +167150,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 34330743,
+ "hash": 205485391,
+ "hash_compatibility": [
+ 34330743
+ ],
"arguments": [
{
"name": "body",
@@ -163519,7 +167194,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 34330743,
+ "hash": 205485391,
+ "hash_compatibility": [
+ 34330743
+ ],
"arguments": [
{
"name": "body",
@@ -163579,7 +167257,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 34330743,
+ "hash": 205485391,
+ "hash_compatibility": [
+ 34330743
+ ],
"arguments": [
{
"name": "body",
@@ -163990,7 +167671,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2288600450,
+ "hash": 1612646186,
+ "hash_compatibility": [
+ 2288600450
+ ],
"arguments": [
{
"name": "joint",
@@ -164017,7 +167701,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3573265764,
+ "hash": 481430435,
+ "hash_compatibility": [
+ 3573265764
+ ],
"arguments": [
{
"name": "joint",
@@ -164053,7 +167740,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 206603952,
+ "hash": 1994657646,
+ "hash_compatibility": [
+ 206603952
+ ],
"arguments": [
{
"name": "joint",
@@ -164079,6 +167769,49 @@
]
},
{
+ "name": "pin_joint_set_flag",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3520002352,
+ "arguments": [
+ {
+ "name": "joint",
+ "type": "RID"
+ },
+ {
+ "name": "flag",
+ "type": "enum::PhysicsServer2D.PinJointFlag"
+ },
+ {
+ "name": "enabled",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "pin_joint_get_flag",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2647867364,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "joint",
+ "type": "RID"
+ },
+ {
+ "name": "flag",
+ "type": "enum::PhysicsServer2D.PinJointFlag"
+ }
+ ]
+ },
+ {
"name": "pin_joint_set_param",
"is_const": false,
"is_vararg": false,
@@ -166450,6 +170183,47 @@
]
},
{
+ "name": "_pin_joint_set_flag",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "arguments": [
+ {
+ "name": "joint",
+ "type": "RID"
+ },
+ {
+ "name": "flag",
+ "type": "enum::PhysicsServer2D.PinJointFlag"
+ },
+ {
+ "name": "enabled",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "_pin_joint_get_flag",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "joint",
+ "type": "RID"
+ },
+ {
+ "name": "flag",
+ "type": "enum::PhysicsServer2D.PinJointFlag"
+ }
+ ]
+ },
+ {
"name": "_pin_joint_set_param",
"is_const": false,
"is_static": false,
@@ -167733,7 +171507,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4040559639,
+ "hash": 3711419014,
+ "hash_compatibility": [
+ 4040559639
+ ],
"arguments": [
{
"name": "area",
@@ -168378,7 +172155,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4040559639,
+ "hash": 3711419014,
+ "hash_compatibility": [
+ 4040559639
+ ],
"arguments": [
{
"name": "body",
@@ -168760,7 +172540,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 110375048,
+ "hash": 390416203,
+ "hash_compatibility": [
+ 110375048
+ ],
"arguments": [
{
"name": "body",
@@ -168819,7 +172602,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 110375048,
+ "hash": 390416203,
+ "hash_compatibility": [
+ 110375048
+ ],
"arguments": [
{
"name": "body",
@@ -168878,7 +172664,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 110375048,
+ "hash": 390416203,
+ "hash_compatibility": [
+ 110375048
+ ],
"arguments": [
{
"name": "body",
@@ -173401,8 +177190,8 @@
"meta": "int32"
},
{
- "name": "vertices",
- "type": "const void*"
+ "name": "vertex",
+ "type": "Vector3"
}
]
},
@@ -173419,8 +177208,8 @@
"meta": "int32"
},
{
- "name": "normals",
- "type": "const void*"
+ "name": "normal",
+ "type": "Vector3"
}
]
},
@@ -173436,6 +177225,58 @@
"type": "AABB"
}
]
+ },
+ {
+ "name": "set_vertex",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1530502735,
+ "arguments": [
+ {
+ "name": "vertex_id",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "vertex",
+ "type": "Vector3"
+ }
+ ]
+ },
+ {
+ "name": "set_normal",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1530502735,
+ "arguments": [
+ {
+ "name": "vertex_id",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "normal",
+ "type": "Vector3"
+ }
+ ]
+ },
+ {
+ "name": "set_aabb",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 259215842,
+ "arguments": [
+ {
+ "name": "aabb",
+ "type": "AABB"
+ }
+ ]
}
]
},
@@ -174953,6 +178794,137 @@
"type": "float",
"meta": "float"
}
+ },
+ {
+ "name": "set_angular_limit_lower",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "angular_limit_lower",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_angular_limit_lower",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
+ "name": "set_angular_limit_upper",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "angular_limit_upper",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_angular_limit_upper",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
+ "name": "set_motor_target_velocity",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 373806689,
+ "arguments": [
+ {
+ "name": "motor_target_velocity",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "get_motor_target_velocity",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1740695150,
+ "return_value": {
+ "type": "float",
+ "meta": "float"
+ }
+ },
+ {
+ "name": "set_motor_enabled",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "enabled",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_motor_enabled",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "set_angular_limit_enabled",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "enabled",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_angular_limit_enabled",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
}
],
"properties": [
@@ -174961,6 +178933,36 @@
"name": "softness",
"setter": "set_softness",
"getter": "get_softness"
+ },
+ {
+ "type": "bool",
+ "name": "angular_limit_enabled",
+ "setter": "set_angular_limit_enabled",
+ "getter": "is_angular_limit_enabled"
+ },
+ {
+ "type": "float",
+ "name": "angular_limit_lower",
+ "setter": "set_angular_limit_lower",
+ "getter": "get_angular_limit_lower"
+ },
+ {
+ "type": "float",
+ "name": "angular_limit_upper",
+ "setter": "set_angular_limit_upper",
+ "getter": "get_angular_limit_upper"
+ },
+ {
+ "type": "bool",
+ "name": "motor_enabled",
+ "setter": "set_motor_enabled",
+ "getter": "is_motor_enabled"
+ },
+ {
+ "type": "float",
+ "name": "motor_target_velocity",
+ "setter": "set_motor_target_velocity",
+ "getter": "get_motor_target_velocity"
}
]
},
@@ -176372,12 +180374,37 @@
"api_type": "core",
"methods": [
{
+ "name": "activate_item_by_event",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3716412023,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "event",
+ "type": "InputEvent"
+ },
+ {
+ "name": "for_global_only",
+ "type": "bool",
+ "default_value": "false"
+ }
+ ]
+ },
+ {
"name": "add_item",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3224536192,
+ "hash": 3674230041,
+ "hash_compatibility": [
+ 3224536192
+ ],
"arguments": [
{
"name": "label",
@@ -176402,7 +180429,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1200674553,
+ "hash": 1086190128,
+ "hash_compatibility": [
+ 1200674553
+ ],
"arguments": [
{
"name": "texture",
@@ -176431,7 +180461,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3224536192,
+ "hash": 3674230041,
+ "hash_compatibility": [
+ 3224536192
+ ],
"arguments": [
{
"name": "label",
@@ -176456,7 +180489,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1200674553,
+ "hash": 1086190128,
+ "hash_compatibility": [
+ 1200674553
+ ],
"arguments": [
{
"name": "texture",
@@ -176485,7 +180521,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3224536192,
+ "hash": 3674230041,
+ "hash_compatibility": [
+ 3224536192
+ ],
"arguments": [
{
"name": "label",
@@ -176510,7 +180549,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1200674553,
+ "hash": 1086190128,
+ "hash_compatibility": [
+ 1200674553
+ ],
"arguments": [
{
"name": "texture",
@@ -176539,7 +180581,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1585218420,
+ "hash": 150780458,
+ "hash_compatibility": [
+ 1585218420
+ ],
"arguments": [
{
"name": "label",
@@ -176575,7 +180620,12 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2168272394,
+ "hash": 3451850107,
+ "hash_compatibility": [
+ 1642193386,
+ 2482211467,
+ 2168272394
+ ],
"arguments": [
{
"name": "shortcut",
@@ -176591,6 +180641,11 @@
"name": "global",
"type": "bool",
"default_value": "false"
+ },
+ {
+ "name": "allow_echo",
+ "type": "bool",
+ "default_value": "false"
}
]
},
@@ -176600,7 +180655,12 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 68101841,
+ "hash": 2997871092,
+ "hash_compatibility": [
+ 3856247530,
+ 3060251822,
+ 68101841
+ ],
"arguments": [
{
"name": "texture",
@@ -176620,6 +180680,11 @@
"name": "global",
"type": "bool",
"default_value": "false"
+ },
+ {
+ "name": "allow_echo",
+ "type": "bool",
+ "default_value": "false"
}
]
},
@@ -176629,7 +180694,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2168272394,
+ "hash": 1642193386,
+ "hash_compatibility": [
+ 2168272394
+ ],
"arguments": [
{
"name": "shortcut",
@@ -176654,7 +180722,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 68101841,
+ "hash": 3856247530,
+ "hash_compatibility": [
+ 68101841
+ ],
"arguments": [
{
"name": "texture",
@@ -176683,7 +180754,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2168272394,
+ "hash": 1642193386,
+ "hash_compatibility": [
+ 2168272394
+ ],
"arguments": [
{
"name": "shortcut",
@@ -176708,7 +180782,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 68101841,
+ "hash": 3856247530,
+ "hash_compatibility": [
+ 68101841
+ ],
"arguments": [
{
"name": "texture",
@@ -176737,7 +180814,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3728518296,
+ "hash": 2979222410,
+ "hash_compatibility": [
+ 3728518296
+ ],
"arguments": [
{
"name": "label",
@@ -177649,7 +181729,17 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3218959716
+ "hash": 107499316,
+ "hash_compatibility": [
+ 3218959716
+ ],
+ "arguments": [
+ {
+ "name": "free_submenus",
+ "type": "bool",
+ "default_value": "false"
+ }
+ ]
},
{
"name": "set_hide_on_item_selection",
@@ -177902,7 +181992,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 97251393,
+ "hash": 3679243433,
+ "hash_compatibility": [
+ 97251393
+ ],
"arguments": [
{
"name": "image",
@@ -179206,7 +183299,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3001721055,
+ "hash": 708980503,
+ "hash_compatibility": [
+ 3001721055
+ ],
"return_value": {
"type": "bool"
},
@@ -179245,6 +183341,11 @@
}
]
}
+ ],
+ "signals": [
+ {
+ "name": "settings_changed"
+ }
]
},
{
@@ -185311,7 +189412,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4087180739,
+ "hash": 3365977994,
+ "hash_compatibility": [
+ 4087180739
+ ],
"return_value": {
"type": "RegExMatch"
},
@@ -185340,7 +189444,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3354100289,
+ "hash": 849021363,
+ "hash_compatibility": [
+ 3354100289
+ ],
"return_value": {
"type": "typedarray::RegExMatch"
},
@@ -185369,7 +189476,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 758293621,
+ "hash": 54019702,
+ "hash_compatibility": [
+ 758293621
+ ],
"return_value": {
"type": "String"
},
@@ -186531,6 +190641,51 @@
]
},
{
+ "name": "get_texture_slice_view",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 682451778,
+ "return_value": {
+ "type": "RID"
+ },
+ "arguments": [
+ {
+ "name": "context",
+ "type": "StringName"
+ },
+ {
+ "name": "name",
+ "type": "StringName"
+ },
+ {
+ "name": "layer",
+ "type": "int",
+ "meta": "uint32"
+ },
+ {
+ "name": "mipmap",
+ "type": "int",
+ "meta": "uint32"
+ },
+ {
+ "name": "layers",
+ "type": "int",
+ "meta": "uint32"
+ },
+ {
+ "name": "mipmaps",
+ "type": "int",
+ "meta": "uint32"
+ },
+ {
+ "name": "view",
+ "type": "RDTextureView"
+ }
+ ]
+ },
+ {
"name": "get_texture_slice_size",
"is_const": false,
"is_vararg": false,
@@ -188781,7 +192936,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3011278298,
+ "hash": 3709173589,
+ "hash_compatibility": [
+ 3011278298
+ ],
"return_value": {
"type": "RID"
},
@@ -188828,7 +192986,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 864132525,
+ "hash": 1808971279,
+ "hash_compatibility": [
+ 864132525
+ ],
"return_value": {
"type": "RID"
},
@@ -188865,12 +193026,69 @@
]
},
{
+ "name": "texture_create_from_extension",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1397171480,
+ "return_value": {
+ "type": "RID"
+ },
+ "arguments": [
+ {
+ "name": "type",
+ "type": "enum::RenderingDevice.TextureType"
+ },
+ {
+ "name": "format",
+ "type": "enum::RenderingDevice.DataFormat"
+ },
+ {
+ "name": "samples",
+ "type": "enum::RenderingDevice.TextureSamples"
+ },
+ {
+ "name": "usage_flags",
+ "type": "bitfield::RenderingDevice.TextureUsageBits"
+ },
+ {
+ "name": "image",
+ "type": "int",
+ "meta": "uint64"
+ },
+ {
+ "name": "width",
+ "type": "int",
+ "meta": "uint64"
+ },
+ {
+ "name": "height",
+ "type": "int",
+ "meta": "uint64"
+ },
+ {
+ "name": "depth",
+ "type": "int",
+ "meta": "uint64"
+ },
+ {
+ "name": "layers",
+ "type": "int",
+ "meta": "uint64"
+ }
+ ]
+ },
+ {
"name": "texture_update",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2736912341,
+ "hash": 2096463824,
+ "hash_compatibility": [
+ 2736912341
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -188978,7 +193196,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3741367532,
+ "hash": 2339493201,
+ "hash_compatibility": [
+ 3741367532
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -189036,7 +193257,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3423681478,
+ "hash": 3396867530,
+ "hash_compatibility": [
+ 3423681478
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -189082,7 +193306,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2126834943,
+ "hash": 594679454,
+ "hash_compatibility": [
+ 2126834943
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -189143,7 +193370,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2635475316,
+ "hash": 697032759,
+ "hash_compatibility": [
+ 2635475316
+ ],
"return_value": {
"type": "int",
"meta": "int64"
@@ -189167,7 +193397,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1992489524,
+ "hash": 2647479094,
+ "hash_compatibility": [
+ 1992489524
+ ],
"return_value": {
"type": "int",
"meta": "int64"
@@ -189214,7 +193447,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1036806638,
+ "hash": 4223391010,
+ "hash_compatibility": [
+ 1036806638
+ ],
"return_value": {
"type": "enum::RenderingDevice.TextureSamples"
},
@@ -189238,7 +193474,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1884747791,
+ "hash": 3284231055,
+ "hash_compatibility": [
+ 1884747791
+ ],
"return_value": {
"type": "RID"
},
@@ -189267,7 +193506,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 452534725,
+ "hash": 1750306695,
+ "hash_compatibility": [
+ 452534725
+ ],
"return_value": {
"type": "RID"
},
@@ -189300,7 +193542,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 382373098,
+ "hash": 3058360618,
+ "hash_compatibility": [
+ 382373098
+ ],
"return_value": {
"type": "RID"
},
@@ -189401,7 +193646,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3491282828,
+ "hash": 3410049843,
+ "hash_compatibility": [
+ 3491282828
+ ],
"return_value": {
"type": "RID"
},
@@ -189447,7 +193695,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3137892244,
+ "hash": 3799816279,
+ "hash_compatibility": [
+ 3137892244
+ ],
"return_value": {
"type": "RID"
},
@@ -189479,7 +193730,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 975915977,
+ "hash": 3935920523,
+ "hash_compatibility": [
+ 975915977
+ ],
"return_value": {
"type": "RID"
},
@@ -189538,7 +193792,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3459523685,
+ "hash": 1178973306,
+ "hash_compatibility": [
+ 3459523685
+ ],
"return_value": {
"type": "RDShaderSPIRV"
},
@@ -189560,7 +193817,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1395027180,
+ "hash": 134910450,
+ "hash_compatibility": [
+ 1395027180
+ ],
"return_value": {
"type": "PackedByteArray"
},
@@ -189582,7 +193842,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3297482566,
+ "hash": 342949005,
+ "hash_compatibility": [
+ 3297482566
+ ],
"return_value": {
"type": "RID"
},
@@ -189604,9 +193867,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2078349841,
+ "hash": 1687031350,
"hash_compatibility": [
- 3049171473
+ 3049171473,
+ 2078349841
],
"return_value": {
"type": "RID"
@@ -189643,7 +193907,7 @@
"hash": 3917799429,
"return_value": {
"type": "int",
- "meta": "uint32"
+ "meta": "uint64"
},
"arguments": [
{
@@ -189658,7 +193922,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1453158401,
+ "hash": 34556762,
+ "hash_compatibility": [
+ 1453158401
+ ],
"return_value": {
"type": "RID"
},
@@ -189681,7 +193948,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1173156076,
+ "hash": 2316365934,
+ "hash_compatibility": [
+ 1173156076
+ ],
"return_value": {
"type": "RID"
},
@@ -189709,7 +193979,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2344087557,
+ "hash": 1470338698,
+ "hash_compatibility": [
+ 2344087557
+ ],
"return_value": {
"type": "RID"
},
@@ -189779,7 +194052,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 652628289,
+ "hash": 3793150683,
+ "hash_compatibility": [
+ 652628289
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -189815,7 +194091,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1645170096,
+ "hash": 2797041220,
+ "hash_compatibility": [
+ 1645170096
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -189847,7 +194126,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 125363422,
+ "hash": 3101830688,
+ "hash_compatibility": [
+ 125363422
+ ],
"return_value": {
"type": "PackedByteArray"
},
@@ -189876,7 +194158,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2911419500,
+ "hash": 2385451958,
+ "hash_compatibility": [
+ 2911419500
+ ],
"return_value": {
"type": "RID"
},
@@ -189956,7 +194241,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 403593840,
+ "hash": 1448838280,
+ "hash_compatibility": [
+ 403593840
+ ],
"return_value": {
"type": "RID"
},
@@ -190072,7 +194360,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4252992020,
+ "hash": 2468082605,
+ "hash_compatibility": [
+ 4252992020
+ ],
"return_value": {
"type": "int",
"meta": "int64"
@@ -190133,7 +194424,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 832527510,
+ "hash": 2406300660,
+ "hash_compatibility": [
+ 832527510
+ ],
"return_value": {
"type": "PackedInt64Array"
},
@@ -190322,7 +194616,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3710874499,
+ "hash": 4230067973,
+ "hash_compatibility": [
+ 3710874499
+ ],
"arguments": [
{
"name": "draw_list",
@@ -190352,7 +194649,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 338791288,
+ "hash": 244650101,
+ "hash_compatibility": [
+ 338791288
+ ],
"arguments": [
{
"name": "draw_list",
@@ -190418,6 +194718,9 @@
"is_static": false,
"is_virtual": false,
"hash": 3920951950,
+ "hash_compatibility": [
+ 422991495
+ ],
"arguments": [
{
"name": "post_barrier",
@@ -190564,6 +194867,9 @@
"is_static": false,
"is_virtual": false,
"hash": 3920951950,
+ "hash_compatibility": [
+ 422991495
+ ],
"arguments": [
{
"name": "post_barrier",
@@ -190733,6 +195039,9 @@
"is_static": false,
"is_virtual": false,
"hash": 3718155691,
+ "hash_compatibility": [
+ 266666049
+ ],
"arguments": [
{
"name": "from",
@@ -191265,6 +195574,34 @@
{
"name": "ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY",
"value": 268435456
+ },
+ {
+ "name": "ARRAY_FLAG_COMPRESS_ATTRIBUTES",
+ "value": 536870912
+ },
+ {
+ "name": "ARRAY_FLAG_FORMAT_VERSION_BASE",
+ "value": 35
+ },
+ {
+ "name": "ARRAY_FLAG_FORMAT_VERSION_SHIFT",
+ "value": 35
+ },
+ {
+ "name": "ARRAY_FLAG_FORMAT_VERSION_1",
+ "value": 0
+ },
+ {
+ "name": "ARRAY_FLAG_FORMAT_VERSION_2",
+ "value": 34359738368
+ },
+ {
+ "name": "ARRAY_FLAG_FORMAT_CURRENT_VERSION",
+ "value": 34359738368
+ },
+ {
+ "name": "ARRAY_FLAG_FORMAT_VERSION_MASK",
+ "value": 255
}
]
},
@@ -191841,8 +196178,12 @@
"value": 1
},
{
- "name": "VIEWPORT_SCALING_3D_MODE_MAX",
+ "name": "VIEWPORT_SCALING_3D_MODE_FSR2",
"value": 2
+ },
+ {
+ "name": "VIEWPORT_SCALING_3D_MODE_MAX",
+ "value": 3
}
]
},
@@ -192169,6 +196510,10 @@
{
"name": "VIEWPORT_DEBUG_DRAW_MOTION_VECTORS",
"value": 25
+ },
+ {
+ "name": "VIEWPORT_DEBUG_DRAW_INTERNAL_BUFFER",
+ "value": 26
}
]
},
@@ -193477,7 +197822,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3291180269,
+ "hash": 1434128712,
+ "hash_compatibility": [
+ 3291180269
+ ],
"return_value": {
"type": "RID"
},
@@ -193646,7 +197994,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3864903085,
+ "hash": 4094001817,
+ "hash_compatibility": [
+ 3864903085
+ ],
"arguments": [
{
"name": "shader",
@@ -193674,7 +198025,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2523186822,
+ "hash": 1464608890,
+ "hash_compatibility": [
+ 2523186822
+ ],
"return_value": {
"type": "RID"
},
@@ -193810,7 +198164,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4007581507,
+ "hash": 4291747531,
+ "hash_compatibility": [
+ 4007581507
+ ],
"return_value": {
"type": "RID"
},
@@ -193890,6 +198247,29 @@
]
},
{
+ "name": "mesh_surface_get_format_normal_tangent_stride",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3188363337,
+ "return_value": {
+ "type": "int",
+ "meta": "uint32"
+ },
+ "arguments": [
+ {
+ "name": "format",
+ "type": "bitfield::RenderingServer.ArrayFormat"
+ },
+ {
+ "name": "vertex_count",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
"name": "mesh_surface_get_format_attribute_stride",
"is_const": true,
"is_vararg": false,
@@ -193959,7 +198339,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1247008646,
+ "hash": 2342446560,
+ "hash_compatibility": [
+ 1247008646
+ ],
"arguments": [
{
"name": "mesh",
@@ -196316,6 +200699,25 @@
]
},
{
+ "name": "particles_set_amount_ratio",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1794382983,
+ "arguments": [
+ {
+ "name": "particles",
+ "type": "RID"
+ },
+ {
+ "name": "ratio",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
"name": "particles_set_lifetime",
"is_const": false,
"is_vararg": false,
@@ -196410,6 +200812,43 @@
]
},
{
+ "name": "particles_set_interp_to_end",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1794382983,
+ "arguments": [
+ {
+ "name": "particles",
+ "type": "RID"
+ },
+ {
+ "name": "factor",
+ "type": "float",
+ "meta": "float"
+ }
+ ]
+ },
+ {
+ "name": "particles_set_emitter_velocity",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3227306858,
+ "arguments": [
+ {
+ "name": "particles",
+ "type": "RID"
+ },
+ {
+ "name": "velocity",
+ "type": "Vector3"
+ }
+ ]
+ },
+ {
"name": "particles_set_custom_aabb",
"is_const": false,
"is_vararg": false,
@@ -197437,7 +201876,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1278520651,
+ "hash": 1062245816,
+ "hash_compatibility": [
+ 1278520651
+ ],
"arguments": [
{
"name": "viewport",
@@ -198528,7 +202970,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 491659071,
+ "hash": 1214961493,
+ "hash_compatibility": [
+ 491659071
+ ],
"arguments": [
{
"name": "env",
@@ -200038,7 +204483,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2031554939,
+ "hash": 2570105777,
+ "hash_compatibility": [
+ 2031554939
+ ],
"return_value": {
"type": "PackedInt64Array"
},
@@ -200060,7 +204508,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3388524336,
+ "hash": 2208759584,
+ "hash_compatibility": [
+ 3388524336
+ ],
"return_value": {
"type": "PackedInt64Array"
},
@@ -200086,7 +204537,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3690700105,
+ "hash": 2488539944,
+ "hash_compatibility": [
+ 3690700105
+ ],
"return_value": {
"type": "PackedInt64Array"
},
@@ -200465,7 +204919,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2180266943,
+ "hash": 1333997032,
+ "hash_compatibility": [
+ 2180266943
+ ],
"arguments": [
{
"name": "item",
@@ -200542,7 +204999,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2843922985,
+ "hash": 1819681853,
+ "hash_compatibility": [
+ 2843922985
+ ],
"arguments": [
{
"name": "item",
@@ -200579,7 +205039,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3438017257,
+ "hash": 3098767073,
+ "hash_compatibility": [
+ 3438017257
+ ],
"arguments": [
{
"name": "item",
@@ -200612,7 +205075,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3176074788,
+ "hash": 2088642721,
+ "hash_compatibility": [
+ 3176074788
+ ],
"arguments": [
{
"name": "item",
@@ -200689,7 +205155,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3205360868,
+ "hash": 324864032,
+ "hash_compatibility": [
+ 3205360868
+ ],
"arguments": [
{
"name": "item",
@@ -200726,7 +205195,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 349157222,
+ "hash": 97408773,
+ "hash_compatibility": [
+ 349157222
+ ],
"arguments": [
{
"name": "item",
@@ -200805,7 +205277,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2782979504,
+ "hash": 485157892,
+ "hash_compatibility": [
+ 2782979504
+ ],
"arguments": [
{
"name": "item",
@@ -200846,7 +205321,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 904428547,
+ "hash": 389957886,
+ "hash_compatibility": [
+ 904428547
+ ],
"arguments": [
{
"name": "item",
@@ -200930,7 +205408,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2907936855,
+ "hash": 3580000528,
+ "hash_compatibility": [
+ 2907936855
+ ],
"arguments": [
{
"name": "item",
@@ -200962,7 +205443,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 749685193,
+ "hash": 660261329,
+ "hash_compatibility": [
+ 749685193
+ ],
"arguments": [
{
"name": "item",
@@ -201014,7 +205498,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3548053052,
+ "hash": 316450961,
+ "hash_compatibility": [
+ 3548053052
+ ],
"arguments": [
{
"name": "item",
@@ -201047,7 +205534,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1541595251,
+ "hash": 2131855138,
+ "hash_compatibility": [
+ 1541595251
+ ],
"arguments": [
{
"name": "item",
@@ -201128,7 +205618,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4107531031,
+ "hash": 2646834499,
+ "hash_compatibility": [
+ 4107531031
+ ],
"arguments": [
{
"name": "item",
@@ -201339,7 +205832,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 41973386,
+ "hash": 3973586316,
+ "hash_compatibility": [
+ 41973386
+ ],
"arguments": [
{
"name": "item",
@@ -202215,7 +206711,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2244367877,
+ "hash": 3759744527,
+ "hash_compatibility": [
+ 2244367877
+ ],
"arguments": [
{
"name": "image",
@@ -202437,6 +206936,13 @@
"api_type": "core",
"methods": [
{
+ "name": "_setup_local_to_scene",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true
+ },
+ {
"name": "set_path",
"is_const": false,
"is_vararg": false,
@@ -202612,13 +207118,6 @@
]
},
{
- "name": "ResourceFormatImporterSaver",
- "is_refcounted": true,
- "is_instantiable": false,
- "inherits": "ResourceFormatSaver",
- "api_type": "core"
- },
- {
"name": "ResourceFormatLoader",
"is_refcounted": true,
"is_instantiable": true,
@@ -202976,49 +207475,49 @@
{
"name": "ResourceImporterBMFont",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterBitMap",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterCSVTranslation",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterDynamicFont",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterImage",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterImageFont",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterLayeredTexture",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
@@ -203032,7 +207531,7 @@
{
"name": "ResourceImporterOBJ",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
@@ -203082,35 +207581,35 @@
{
"name": "ResourceImporterScene",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterShaderFile",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterTexture",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterTextureAtlas",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
{
"name": "ResourceImporterWAV",
"is_refcounted": true,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ResourceImporter",
"api_type": "editor"
},
@@ -203169,7 +207668,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1939848623,
+ "hash": 3614384323,
+ "hash_compatibility": [
+ 1939848623
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -203201,7 +207703,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3931021148,
+ "hash": 4137685479,
+ "hash_compatibility": [
+ 3931021148
+ ],
"return_value": {
"type": "enum::ResourceLoader.ThreadLoadStatus"
},
@@ -203240,7 +207745,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2622212233,
+ "hash": 3358495409,
+ "hash_compatibility": [
+ 2622212233
+ ],
"return_value": {
"type": "Resource"
},
@@ -203365,7 +207873,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2220807150,
+ "hash": 4185558881,
+ "hash_compatibility": [
+ 2220807150
+ ],
"return_value": {
"type": "bool"
},
@@ -203566,7 +208077,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2303056517,
+ "hash": 2983274697,
+ "hash_compatibility": [
+ 2303056517
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -204083,6 +208597,44 @@
"value": 2
}
]
+ },
+ {
+ "name": "ImageUpdateMask",
+ "is_bitfield": true,
+ "values": [
+ {
+ "name": "UPDATE_TEXTURE",
+ "value": 1
+ },
+ {
+ "name": "UPDATE_SIZE",
+ "value": 2
+ },
+ {
+ "name": "UPDATE_COLOR",
+ "value": 4
+ },
+ {
+ "name": "UPDATE_ALIGNMENT",
+ "value": 8
+ },
+ {
+ "name": "UPDATE_REGION",
+ "value": 16
+ },
+ {
+ "name": "UPDATE_PAD",
+ "value": 32
+ },
+ {
+ "name": "UPDATE_TOOLTIP",
+ "value": 64
+ },
+ {
+ "name": "UPDATE_WIDTH_IN_PERCENT",
+ "value": 128
+ }
+ ]
}
],
"methods": [
@@ -204131,9 +208683,82 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3346058748,
+ "hash": 3017663154,
+ "hash_compatibility": [
+ 3580801207,
+ 3346058748
+ ],
+ "arguments": [
+ {
+ "name": "image",
+ "type": "Texture2D"
+ },
+ {
+ "name": "width",
+ "type": "int",
+ "meta": "int32",
+ "default_value": "0"
+ },
+ {
+ "name": "height",
+ "type": "int",
+ "meta": "int32",
+ "default_value": "0"
+ },
+ {
+ "name": "color",
+ "type": "Color",
+ "default_value": "Color(1, 1, 1, 1)"
+ },
+ {
+ "name": "inline_align",
+ "type": "enum::InlineAlignment",
+ "default_value": "5"
+ },
+ {
+ "name": "region",
+ "type": "Rect2",
+ "default_value": "Rect2(0, 0, 0, 0)"
+ },
+ {
+ "name": "key",
+ "type": "Variant",
+ "default_value": "null"
+ },
+ {
+ "name": "pad",
+ "type": "bool",
+ "default_value": "false"
+ },
+ {
+ "name": "tooltip",
+ "type": "String",
+ "default_value": "\"\""
+ },
+ {
+ "name": "size_in_percent",
+ "type": "bool",
+ "default_value": "false"
+ }
+ ]
+ },
+ {
+ "name": "update_image",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 815048486,
"arguments": [
{
+ "name": "key",
+ "type": "Variant"
+ },
+ {
+ "name": "mask",
+ "type": "bitfield::RichTextLabel.ImageUpdateMask"
+ },
+ {
"name": "image",
"type": "Texture2D"
},
@@ -204163,6 +208788,21 @@
"name": "region",
"type": "Rect2",
"default_value": "Rect2(0, 0, 0, 0)"
+ },
+ {
+ "name": "pad",
+ "type": "bool",
+ "default_value": "false"
+ },
+ {
+ "name": "tooltip",
+ "type": "String",
+ "default_value": "\"\""
+ },
+ {
+ "name": "size_in_percent",
+ "type": "bool",
+ "default_value": "false"
}
]
},
@@ -204198,9 +208838,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 814287596,
+ "hash": 2347424842,
"hash_compatibility": [
- 3014009009
+ 3014009009,
+ 814287596
],
"arguments": [
{
@@ -204319,7 +208960,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3218895358,
+ "hash": 3089306873,
+ "hash_compatibility": [
+ 3218895358
+ ],
"arguments": [
{
"name": "alignment",
@@ -204373,7 +209017,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4036303897,
+ "hash": 3017143144,
+ "hash_compatibility": [
+ 4036303897
+ ],
"arguments": [
{
"name": "level",
@@ -204424,6 +209071,20 @@
]
},
{
+ "name": "push_language",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 83702148,
+ "arguments": [
+ {
+ "name": "language",
+ "type": "String"
+ }
+ ]
+ },
+ {
"name": "push_underline",
"is_const": false,
"is_vararg": false,
@@ -204445,7 +209106,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1125058220,
+ "hash": 2623499273,
+ "hash_compatibility": [
+ 1125058220
+ ],
"arguments": [
{
"name": "columns",
@@ -204471,7 +209135,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 311501835,
+ "hash": 4061635501,
+ "hash_compatibility": [
+ 311501835
+ ],
"arguments": [
{
"name": "string",
@@ -204515,9 +209182,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4132157579,
+ "hash": 2185176273,
"hash_compatibility": [
- 4258957458
+ 4258957458,
+ 4132157579
],
"arguments": [
{
@@ -206379,7 +211047,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 496058220,
+ "hash": 4288681949,
+ "hash_compatibility": [
+ 496058220
+ ],
"arguments": [
{
"name": "impulse",
@@ -206427,7 +211098,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 496058220,
+ "hash": 4288681949,
+ "hash_compatibility": [
+ 496058220
+ ],
"arguments": [
{
"name": "force",
@@ -206475,7 +211149,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 496058220,
+ "hash": 4288681949,
+ "hash_compatibility": [
+ 496058220
+ ],
"arguments": [
{
"name": "force",
@@ -206765,24 +211442,6 @@
"getter": "get_mass"
},
{
- "type": "float",
- "name": "inertia",
- "setter": "set_inertia",
- "getter": "get_inertia"
- },
- {
- "type": "int",
- "name": "center_of_mass_mode",
- "setter": "set_center_of_mass_mode",
- "getter": "get_center_of_mass_mode"
- },
- {
- "type": "Vector2",
- "name": "center_of_mass",
- "setter": "set_center_of_mass",
- "getter": "get_center_of_mass"
- },
- {
"type": "PhysicsMaterial",
"name": "physics_material_override",
"setter": "set_physics_material_override",
@@ -206795,28 +211454,22 @@
"getter": "get_gravity_scale"
},
{
- "type": "bool",
- "name": "custom_integrator",
- "setter": "set_use_custom_integrator",
- "getter": "is_using_custom_integrator"
- },
- {
"type": "int",
- "name": "continuous_cd",
- "setter": "set_continuous_collision_detection_mode",
- "getter": "get_continuous_collision_detection_mode"
+ "name": "center_of_mass_mode",
+ "setter": "set_center_of_mass_mode",
+ "getter": "get_center_of_mass_mode"
},
{
- "type": "int",
- "name": "max_contacts_reported",
- "setter": "set_max_contacts_reported",
- "getter": "get_max_contacts_reported"
+ "type": "Vector2",
+ "name": "center_of_mass",
+ "setter": "set_center_of_mass",
+ "getter": "get_center_of_mass"
},
{
- "type": "bool",
- "name": "contact_monitor",
- "setter": "set_contact_monitor",
- "getter": "is_contact_monitor_enabled"
+ "type": "float",
+ "name": "inertia",
+ "setter": "set_inertia",
+ "getter": "get_inertia"
},
{
"type": "bool",
@@ -206849,6 +211502,30 @@
"getter": "get_freeze_mode"
},
{
+ "type": "bool",
+ "name": "custom_integrator",
+ "setter": "set_use_custom_integrator",
+ "getter": "is_using_custom_integrator"
+ },
+ {
+ "type": "int",
+ "name": "continuous_cd",
+ "setter": "set_continuous_collision_detection_mode",
+ "getter": "get_continuous_collision_detection_mode"
+ },
+ {
+ "type": "int",
+ "name": "max_contacts_reported",
+ "setter": "set_max_contacts_reported",
+ "getter": "get_max_contacts_reported"
+ },
+ {
+ "type": "bool",
+ "name": "contact_monitor",
+ "setter": "set_contact_monitor",
+ "getter": "is_contact_monitor_enabled"
+ },
+ {
"type": "Vector2",
"name": "linear_velocity",
"setter": "set_linear_velocity",
@@ -207429,7 +212106,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1002852006,
+ "hash": 2754756483,
+ "hash_compatibility": [
+ 1002852006
+ ],
"arguments": [
{
"name": "impulse",
@@ -207476,7 +212156,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1002852006,
+ "hash": 2754756483,
+ "hash_compatibility": [
+ 1002852006
+ ],
"arguments": [
{
"name": "force",
@@ -207523,7 +212206,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1002852006,
+ "hash": 2754756483,
+ "hash_compatibility": [
+ 1002852006
+ ],
"arguments": [
{
"name": "force",
@@ -207810,24 +212496,6 @@
"getter": "get_mass"
},
{
- "type": "Vector3",
- "name": "inertia",
- "setter": "set_inertia",
- "getter": "get_inertia"
- },
- {
- "type": "int",
- "name": "center_of_mass_mode",
- "setter": "set_center_of_mass_mode",
- "getter": "get_center_of_mass_mode"
- },
- {
- "type": "Vector3",
- "name": "center_of_mass",
- "setter": "set_center_of_mass",
- "getter": "get_center_of_mass"
- },
- {
"type": "PhysicsMaterial",
"name": "physics_material_override",
"setter": "set_physics_material_override",
@@ -207840,28 +212508,22 @@
"getter": "get_gravity_scale"
},
{
- "type": "bool",
- "name": "custom_integrator",
- "setter": "set_use_custom_integrator",
- "getter": "is_using_custom_integrator"
- },
- {
- "type": "bool",
- "name": "continuous_cd",
- "setter": "set_use_continuous_collision_detection",
- "getter": "is_using_continuous_collision_detection"
+ "type": "int",
+ "name": "center_of_mass_mode",
+ "setter": "set_center_of_mass_mode",
+ "getter": "get_center_of_mass_mode"
},
{
- "type": "int",
- "name": "max_contacts_reported",
- "setter": "set_max_contacts_reported",
- "getter": "get_max_contacts_reported"
+ "type": "Vector3",
+ "name": "center_of_mass",
+ "setter": "set_center_of_mass",
+ "getter": "get_center_of_mass"
},
{
- "type": "bool",
- "name": "contact_monitor",
- "setter": "set_contact_monitor",
- "getter": "is_contact_monitor_enabled"
+ "type": "Vector3",
+ "name": "inertia",
+ "setter": "set_inertia",
+ "getter": "get_inertia"
},
{
"type": "bool",
@@ -207894,6 +212556,30 @@
"getter": "get_freeze_mode"
},
{
+ "type": "bool",
+ "name": "custom_integrator",
+ "setter": "set_use_custom_integrator",
+ "getter": "is_using_custom_integrator"
+ },
+ {
+ "type": "bool",
+ "name": "continuous_cd",
+ "setter": "set_use_continuous_collision_detection",
+ "getter": "is_using_continuous_collision_detection"
+ },
+ {
+ "type": "int",
+ "name": "max_contacts_reported",
+ "setter": "set_max_contacts_reported",
+ "getter": "get_max_contacts_reported"
+ },
+ {
+ "type": "bool",
+ "name": "contact_monitor",
+ "setter": "set_contact_monitor",
+ "getter": "is_contact_monitor_enabled"
+ },
+ {
"type": "Vector3",
"name": "linear_velocity",
"setter": "set_linear_velocity",
@@ -208352,7 +213038,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2742700601,
+ "hash": 1307428718,
+ "hash_compatibility": [
+ 2742700601
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -208525,6 +213214,26 @@
"is_instantiable": true,
"inherits": "Resource",
"api_type": "core",
+ "enums": [
+ {
+ "name": "ReplicationMode",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "REPLICATION_MODE_NEVER",
+ "value": 0
+ },
+ {
+ "name": "REPLICATION_MODE_ALWAYS",
+ "value": 1
+ },
+ {
+ "name": "REPLICATION_MODE_ON_CHANGE",
+ "value": 2
+ }
+ ]
+ }
+ ],
"methods": [
{
"name": "get_properties",
@@ -208543,7 +213252,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3818401521,
+ "hash": 4094619021,
+ "hash_compatibility": [
+ 3818401521
+ ],
"arguments": [
{
"name": "path",
@@ -208642,6 +213354,41 @@
]
},
{
+ "name": "property_get_replication_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2870606336,
+ "return_value": {
+ "type": "enum::SceneReplicationConfig.ReplicationMode"
+ },
+ "arguments": [
+ {
+ "name": "path",
+ "type": "NodePath"
+ }
+ ]
+ },
+ {
+ "name": "property_set_replication_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3200083865,
+ "arguments": [
+ {
+ "name": "path",
+ "type": "NodePath"
+ },
+ {
+ "name": "mode",
+ "type": "enum::SceneReplicationConfig.ReplicationMode"
+ }
+ ]
+ },
+ {
"name": "property_get_sync",
"is_const": false,
"is_vararg": false,
@@ -209371,7 +214118,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1780978058,
+ "hash": 2709170273,
+ "hash_compatibility": [
+ 1780978058
+ ],
"return_value": {
"type": "SceneTreeTimer"
},
@@ -210141,6 +214891,17 @@
"return_value": {
"type": "bool"
}
+ },
+ {
+ "name": "is_abstract",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
}
],
"properties": [
@@ -210155,7 +214916,7 @@
{
"name": "ScriptCreateDialog",
"is_refcounted": false,
- "is_instantiable": false,
+ "is_instantiable": true,
"inherits": "ConfirmationDialog",
"api_type": "editor",
"methods": [
@@ -210165,7 +214926,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4210001628,
+ "hash": 869314288,
+ "hash_compatibility": [
+ 4210001628
+ ],
"arguments": [
{
"name": "inherits",
@@ -210635,6 +215399,16 @@
}
},
{
+ "name": "_get_class_icon_path",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "String"
+ }
+ },
+ {
"name": "_has_method",
"is_const": true,
"is_static": false,
@@ -210651,6 +215425,22 @@
]
},
{
+ "name": "_has_static_method",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "method",
+ "type": "StringName"
+ }
+ ]
+ },
+ {
"name": "_get_method_info",
"is_const": true,
"is_static": false,
@@ -210687,6 +215477,16 @@
}
},
{
+ "name": "_is_abstract",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
"name": "_get_language",
"is_const": true,
"is_static": false,
@@ -211055,6 +215855,16 @@
}
},
{
+ "name": "_get_doc_comment_delimiters",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "PackedStringArray"
+ }
+ },
+ {
"name": "_get_string_delimiters",
"is_const": true,
"is_static": false,
@@ -212518,7 +217328,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1628453603,
+ "hash": 2750740428,
+ "hash_compatibility": [
+ 1628453603
+ ],
"arguments": [
{
"name": "name",
@@ -212542,7 +217355,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3823812009,
+ "hash": 3090538643,
+ "hash_compatibility": [
+ 3823812009
+ ],
"return_value": {
"type": "Texture2D"
},
@@ -214822,7 +219638,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4023243586,
+ "hash": 972357352,
+ "hash_compatibility": [
+ 4023243586
+ ],
"arguments": [
{
"name": "bone_idx",
@@ -221912,7 +226731,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 407562921,
+ "hash": 1351332740,
+ "hash_compatibility": [
+ 407562921
+ ],
"arguments": [
{
"name": "anim",
@@ -221942,7 +226764,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3155743884,
+ "hash": 56804795,
+ "hash_compatibility": [
+ 3155743884
+ ],
"arguments": [
{
"name": "anim",
@@ -223141,7 +227966,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4025329869,
+ "hash": 3167955072,
+ "hash_compatibility": [
+ 4025329869
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -223331,7 +228159,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1325480781,
+ "hash": 57169517,
+ "hash_compatibility": [
+ 1325480781
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -225013,6 +229844,22 @@
"api_type": "core",
"methods": [
{
+ "name": "_propagate_input_event",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "event",
+ "type": "InputEvent"
+ }
+ ]
+ },
+ {
"name": "set_stretch",
"is_const": false,
"is_vararg": false,
@@ -225373,7 +230220,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 297960074,
+ "hash": 2235017613,
+ "hash_compatibility": [
+ 297960074
+ ],
"arguments": [
{
"name": "vertices",
@@ -225485,7 +230335,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1894448909,
+ "hash": 1938056459,
+ "hash_compatibility": [
+ 1894448909
+ ],
"return_value": {
"type": "PackedInt32Array"
},
@@ -225620,7 +230473,7 @@
{
"name": "flags",
"type": "int",
- "meta": "uint32",
+ "meta": "uint64",
"default_value": "0"
}
]
@@ -226167,7 +231020,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4025329869,
+ "hash": 3167955072,
+ "hash_compatibility": [
+ 4025329869
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -226430,6 +231286,28 @@
}
},
{
+ "name": "select_previous_available",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "select_next_available",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
"name": "set_tab_title",
"is_const": false,
"is_vararg": false,
@@ -227333,6 +232211,28 @@
}
},
{
+ "name": "select_previous_available",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "select_next_available",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
"name": "get_current_tab_control",
"is_const": true,
"is_vararg": false,
@@ -227344,6 +232244,17 @@
}
},
{
+ "name": "get_tab_bar",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1865451809,
+ "return_value": {
+ "type": "TabBar"
+ }
+ },
+ {
"name": "get_tab_control",
"is_const": true,
"is_vararg": false,
@@ -227820,6 +232731,31 @@
"return_value": {
"type": "bool"
}
+ },
+ {
+ "name": "set_tab_focus_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3232914922,
+ "arguments": [
+ {
+ "name": "focus_mode",
+ "type": "enum::Control.FocusMode"
+ }
+ ]
+ },
+ {
+ "name": "get_tab_focus_mode",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2132829277,
+ "return_value": {
+ "type": "enum::Control.FocusMode"
+ }
}
],
"signals": [
@@ -227929,6 +232865,12 @@
"name": "use_hidden_tabs_for_min_size",
"setter": "set_use_hidden_tabs_for_min_size",
"getter": "get_use_hidden_tabs_for_min_size"
+ },
+ {
+ "type": "int",
+ "name": "tab_focus_mode",
+ "setter": "set_tab_focus_mode",
+ "getter": "get_tab_focus_mode"
}
]
},
@@ -228673,7 +233615,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3294126239,
+ "hash": 688195400,
+ "hash_compatibility": [
+ 3294126239
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -228787,7 +233732,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3043792800,
+ "hash": 2697778442,
+ "hash_compatibility": [
+ 3043792800
+ ],
"arguments": [
{
"name": "text",
@@ -229200,7 +234148,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 850652858,
+ "hash": 239517838,
+ "hash_compatibility": [
+ 850652858
+ ],
"return_value": {
"type": "Vector2i"
},
@@ -229297,7 +234248,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1099474134,
+ "hash": 1840282309,
+ "hash_compatibility": [
+ 1099474134
+ ],
"return_value": {
"type": "bool"
},
@@ -229662,7 +234616,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1413195636,
+ "hash": 1302582944,
+ "hash_compatibility": [
+ 1413195636
+ ],
"arguments": [
{
"name": "line",
@@ -229719,7 +234676,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1071284433,
+ "hash": 3796796178,
+ "hash_compatibility": [
+ 1071284433
+ ],
"arguments": [
{
"name": "column",
@@ -229879,7 +234839,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2920622473,
+ "hash": 1443345937,
+ "hash_compatibility": [
+ 2920622473
+ ],
"arguments": [
{
"name": "mode",
@@ -229954,7 +234917,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4269665324,
+ "hash": 2560984452,
+ "hash_compatibility": [
+ 4269665324
+ ],
"arguments": [
{
"name": "from_line",
@@ -230487,7 +235453,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3274652423,
+ "hash": 3929084198,
+ "hash_compatibility": [
+ 3274652423
+ ],
"return_value": {
"type": "float",
"meta": "double"
@@ -230512,7 +235481,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3023605688,
+ "hash": 2230941749,
+ "hash_compatibility": [
+ 3023605688
+ ],
"arguments": [
{
"name": "line",
@@ -230545,7 +235517,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3023605688,
+ "hash": 2230941749,
+ "hash_compatibility": [
+ 3023605688
+ ],
"arguments": [
{
"name": "line",
@@ -230566,7 +235541,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3023605688,
+ "hash": 2230941749,
+ "hash_compatibility": [
+ 3023605688
+ ],
"arguments": [
{
"name": "line",
@@ -231645,42 +236623,6 @@
},
{
"type": "bool",
- "name": "highlight_all_occurrences",
- "setter": "set_highlight_all_occurrences",
- "getter": "is_highlight_all_occurrences_enabled"
- },
- {
- "type": "bool",
- "name": "highlight_current_line",
- "setter": "set_highlight_current_line",
- "getter": "is_highlight_current_line_enabled"
- },
- {
- "type": "bool",
- "name": "draw_control_chars",
- "setter": "set_draw_control_chars",
- "getter": "get_draw_control_chars"
- },
- {
- "type": "bool",
- "name": "draw_tabs",
- "setter": "set_draw_tabs",
- "getter": "is_drawing_tabs"
- },
- {
- "type": "bool",
- "name": "draw_spaces",
- "setter": "set_draw_spaces",
- "getter": "is_drawing_spaces"
- },
- {
- "type": "SyntaxHighlighter",
- "name": "syntax_highlighter",
- "setter": "set_syntax_highlighter",
- "getter": "get_syntax_highlighter"
- },
- {
- "type": "bool",
"name": "scroll_smooth",
"setter": "set_smooth_scroll_enabled",
"getter": "is_smooth_scroll_enabled"
@@ -231770,6 +236712,42 @@
"getter": "is_multiple_carets_enabled"
},
{
+ "type": "SyntaxHighlighter",
+ "name": "syntax_highlighter",
+ "setter": "set_syntax_highlighter",
+ "getter": "get_syntax_highlighter"
+ },
+ {
+ "type": "bool",
+ "name": "highlight_all_occurrences",
+ "setter": "set_highlight_all_occurrences",
+ "getter": "is_highlight_all_occurrences_enabled"
+ },
+ {
+ "type": "bool",
+ "name": "highlight_current_line",
+ "setter": "set_highlight_current_line",
+ "getter": "is_highlight_current_line_enabled"
+ },
+ {
+ "type": "bool",
+ "name": "draw_control_chars",
+ "setter": "set_draw_control_chars",
+ "getter": "get_draw_control_chars"
+ },
+ {
+ "type": "bool",
+ "name": "draw_tabs",
+ "setter": "set_draw_tabs",
+ "getter": "is_drawing_tabs"
+ },
+ {
+ "type": "bool",
+ "name": "draw_spaces",
+ "setter": "set_draw_spaces",
+ "getter": "is_drawing_spaces"
+ },
+ {
"type": "int",
"name": "text_direction",
"setter": "set_text_direction",
@@ -231930,7 +236908,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 867188035,
+ "hash": 621426851,
+ "hash_compatibility": [
+ 867188035
+ ],
"return_value": {
"type": "bool"
},
@@ -231966,7 +236947,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 735420116,
+ "hash": 1316529304,
+ "hash_compatibility": [
+ 735420116
+ ],
"return_value": {
"type": "bool"
},
@@ -232004,7 +236988,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 960819067,
+ "hash": 2095776372,
+ "hash_compatibility": [
+ 960819067
+ ],
"return_value": {
"type": "bool"
},
@@ -232262,7 +237249,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1164457837,
+ "hash": 856975658,
+ "hash_compatibility": [
+ 1164457837
+ ],
"arguments": [
{
"name": "canvas",
@@ -232285,7 +237275,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1364491366,
+ "hash": 1343401456,
+ "hash_compatibility": [
+ 1364491366
+ ],
"arguments": [
{
"name": "canvas",
@@ -233120,7 +238113,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2613124475,
+ "hash": 2498990330,
+ "hash_compatibility": [
+ 2613124475
+ ],
"return_value": {
"type": "bool"
},
@@ -233164,7 +238160,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 867188035,
+ "hash": 621426851,
+ "hash_compatibility": [
+ 867188035
+ ],
"return_value": {
"type": "bool"
},
@@ -233200,7 +238199,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 735420116,
+ "hash": 1316529304,
+ "hash_compatibility": [
+ 735420116
+ ],
"return_value": {
"type": "bool"
},
@@ -233238,7 +238240,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 960819067,
+ "hash": 2095776372,
+ "hash_compatibility": [
+ 960819067
+ ],
"return_value": {
"type": "bool"
},
@@ -233706,7 +238711,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 367324453,
+ "hash": 1567802413,
+ "hash_compatibility": [
+ 367324453
+ ],
"arguments": [
{
"name": "canvas",
@@ -233734,7 +238742,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2159523405,
+ "hash": 1893131224,
+ "hash_compatibility": [
+ 2159523405
+ ],
"arguments": [
{
"name": "canvas",
@@ -233768,7 +238779,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3963848920,
+ "hash": 1242169894,
+ "hash_compatibility": [
+ 3963848920
+ ],
"arguments": [
{
"name": "canvas",
@@ -233796,7 +238810,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1814903311,
+ "hash": 2664926980,
+ "hash_compatibility": [
+ 1814903311
+ ],
"arguments": [
{
"name": "canvas",
@@ -233830,7 +238847,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1164457837,
+ "hash": 856975658,
+ "hash_compatibility": [
+ 1164457837
+ ],
"arguments": [
{
"name": "canvas",
@@ -233853,7 +238873,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1364491366,
+ "hash": 1343401456,
+ "hash_compatibility": [
+ 1364491366
+ ],
"arguments": [
{
"name": "canvas",
@@ -234498,6 +239521,24 @@
"value": 6
}
]
+ },
+ {
+ "name": "FixedSizeScaleMode",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "FIXED_SIZE_SCALE_DISABLE",
+ "value": 0
+ },
+ {
+ "name": "FIXED_SIZE_SCALE_INTEGER_ONLY",
+ "value": 1
+ },
+ {
+ "name": "FIXED_SIZE_SCALE_ENABLED",
+ "value": 2
+ }
+ ]
}
],
"methods": [
@@ -234693,6 +239734,23 @@
}
},
{
+ "name": "create_font_linked_variation",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 41030802,
+ "return_value": {
+ "type": "RID"
+ },
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ }
+ ]
+ },
+ {
"name": "font_set_data",
"is_const": false,
"is_vararg": false,
@@ -235178,6 +240236,41 @@
]
},
{
+ "name": "font_set_fixed_size_scale_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1029390307,
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ },
+ {
+ "name": "fixed_size_scale_mode",
+ "type": "enum::TextServer.FixedSizeScaleMode"
+ }
+ ]
+ },
+ {
+ "name": "font_get_fixed_size_scale_mode",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 4113120379,
+ "return_value": {
+ "type": "enum::TextServer.FixedSizeScaleMode"
+ },
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ }
+ ]
+ },
+ {
"name": "font_set_allow_system_fallback",
"is_const": false,
"is_vararg": false,
@@ -235355,6 +240448,51 @@
]
},
{
+ "name": "font_set_spacing",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1307259930,
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ },
+ {
+ "name": "spacing",
+ "type": "enum::TextServer.SpacingType"
+ },
+ {
+ "name": "value",
+ "type": "int",
+ "meta": "int64"
+ }
+ ]
+ },
+ {
+ "name": "font_get_spacing",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1213653558,
+ "return_value": {
+ "type": "int",
+ "meta": "int64"
+ },
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ },
+ {
+ "name": "spacing",
+ "type": "enum::TextServer.SpacingType"
+ }
+ ]
+ },
+ {
"name": "font_set_transform",
"is_const": false,
"is_vararg": false,
@@ -236598,7 +241736,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1821196351,
+ "hash": 1339057948,
+ "hash_compatibility": [
+ 1821196351
+ ],
"arguments": [
{
"name": "font_rid",
@@ -236635,7 +241776,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1124898203,
+ "hash": 2626165733,
+ "hash_compatibility": [
+ 1124898203
+ ],
"arguments": [
{
"name": "font_rid",
@@ -237063,7 +242207,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2616949700,
+ "hash": 1551430183,
+ "hash_compatibility": [
+ 2616949700
+ ],
"arguments": [
{
"name": "shaped",
@@ -237169,7 +242316,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 104095128,
+ "hash": 3019609126,
+ "hash_compatibility": [
+ 104095128
+ ],
"arguments": [
{
"name": "shaped",
@@ -237320,7 +242470,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2621279422,
+ "hash": 623473029,
+ "hash_compatibility": [
+ 2621279422
+ ],
"return_value": {
"type": "bool"
},
@@ -237365,7 +242518,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2838446185,
+ "hash": 3664424789,
+ "hash_compatibility": [
+ 2838446185
+ ],
"return_value": {
"type": "bool"
},
@@ -237407,7 +242563,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2353789835,
+ "hash": 790361552,
+ "hash_compatibility": [
+ 2353789835
+ ],
"return_value": {
"type": "bool"
},
@@ -237483,7 +242642,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1578983057,
+ "hash": 2022725822,
+ "hash_compatibility": [
+ 1578983057
+ ],
"arguments": [
{
"name": "shaped",
@@ -237560,7 +242722,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 603718830,
+ "hash": 530670926,
+ "hash_compatibility": [
+ 603718830
+ ],
"return_value": {
"type": "float",
"meta": "double"
@@ -237730,7 +242895,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4206849830,
+ "hash": 2376991424,
+ "hash_compatibility": [
+ 4206849830
+ ],
"return_value": {
"type": "PackedInt32Array"
},
@@ -237767,7 +242935,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 303410369,
+ "hash": 2651359741,
+ "hash_compatibility": [
+ 303410369
+ ],
"return_value": {
"type": "PackedInt32Array"
},
@@ -237800,7 +242971,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3299477123,
+ "hash": 185957063,
+ "hash_compatibility": [
+ 3299477123
+ ],
"return_value": {
"type": "PackedInt32Array"
},
@@ -237893,7 +243067,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1572579718,
+ "hash": 2723146520,
+ "hash_compatibility": [
+ 1572579718
+ ],
"arguments": [
{
"name": "shaped",
@@ -238221,12 +243398,101 @@
]
},
{
+ "name": "shaped_text_get_character_breaks",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 788230395,
+ "return_value": {
+ "type": "PackedInt32Array"
+ },
+ "arguments": [
+ {
+ "name": "shaped",
+ "type": "RID"
+ }
+ ]
+ },
+ {
+ "name": "shaped_text_next_character_pos",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1120910005,
+ "return_value": {
+ "type": "int",
+ "meta": "int64"
+ },
+ "arguments": [
+ {
+ "name": "shaped",
+ "type": "RID"
+ },
+ {
+ "name": "pos",
+ "type": "int",
+ "meta": "int64"
+ }
+ ]
+ },
+ {
+ "name": "shaped_text_prev_character_pos",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1120910005,
+ "return_value": {
+ "type": "int",
+ "meta": "int64"
+ },
+ "arguments": [
+ {
+ "name": "shaped",
+ "type": "RID"
+ },
+ {
+ "name": "pos",
+ "type": "int",
+ "meta": "int64"
+ }
+ ]
+ },
+ {
+ "name": "shaped_text_closest_character_pos",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1120910005,
+ "return_value": {
+ "type": "int",
+ "meta": "int64"
+ },
+ "arguments": [
+ {
+ "name": "shaped",
+ "type": "RID"
+ },
+ {
+ "name": "pos",
+ "type": "int",
+ "meta": "int64"
+ }
+ ]
+ },
+ {
"name": "shaped_text_draw",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 70679950,
+ "hash": 880389142,
+ "hash_compatibility": [
+ 70679950
+ ],
"arguments": [
{
"name": "shaped",
@@ -238265,7 +243531,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2673671346,
+ "hash": 2559184194,
+ "hash_compatibility": [
+ 2673671346
+ ],
"arguments": [
{
"name": "shaped",
@@ -238337,7 +243606,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2305636099,
+ "hash": 2664628024,
+ "hash_compatibility": [
+ 2305636099
+ ],
"return_value": {
"type": "String"
},
@@ -238359,7 +243631,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2305636099,
+ "hash": 2664628024,
+ "hash_compatibility": [
+ 2305636099
+ ],
"return_value": {
"type": "String"
},
@@ -238399,7 +243674,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1398910359,
+ "hash": 581857818,
+ "hash_compatibility": [
+ 1398910359
+ ],
"return_value": {
"type": "PackedInt32Array"
},
@@ -238422,6 +243700,31 @@
]
},
{
+ "name": "string_get_character_breaks",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2333794773,
+ "hash_compatibility": [
+ 1586579831
+ ],
+ "return_value": {
+ "type": "PackedInt32Array"
+ },
+ "arguments": [
+ {
+ "name": "string",
+ "type": "String"
+ },
+ {
+ "name": "language",
+ "type": "String",
+ "default_value": "\"\""
+ }
+ ]
+ },
+ {
"name": "is_confusable",
"is_const": true,
"is_vararg": false,
@@ -238500,7 +243803,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2305636099,
+ "hash": 2664628024,
+ "hash_compatibility": [
+ 2305636099
+ ],
"return_value": {
"type": "String"
},
@@ -238522,7 +243828,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2305636099,
+ "hash": 2664628024,
+ "hash_compatibility": [
+ 2305636099
+ ],
"return_value": {
"type": "String"
},
@@ -238765,6 +244074,22 @@
}
},
{
+ "name": "_create_font_linked_variation",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "RID"
+ },
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ }
+ ]
+ },
+ {
"name": "_font_set_data",
"is_const": false,
"is_static": false,
@@ -239245,6 +244570,39 @@
]
},
{
+ "name": "_font_set_fixed_size_scale_mode",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ },
+ {
+ "name": "fixed_size_scale_mode",
+ "type": "enum::TextServer.FixedSizeScaleMode"
+ }
+ ]
+ },
+ {
+ "name": "_font_get_fixed_size_scale_mode",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "enum::TextServer.FixedSizeScaleMode"
+ },
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ }
+ ]
+ },
+ {
"name": "_font_set_allow_system_fallback",
"is_const": false,
"is_static": false,
@@ -239412,6 +244770,49 @@
]
},
{
+ "name": "_font_set_spacing",
+ "is_const": false,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ },
+ {
+ "name": "spacing",
+ "type": "enum::TextServer.SpacingType"
+ },
+ {
+ "name": "value",
+ "type": "int",
+ "meta": "int64"
+ }
+ ]
+ },
+ {
+ "name": "_font_get_spacing",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "int",
+ "meta": "int64"
+ },
+ "arguments": [
+ {
+ "name": "font_rid",
+ "type": "RID"
+ },
+ {
+ "name": "spacing",
+ "type": "enum::TextServer.SpacingType"
+ }
+ ]
+ },
+ {
"name": "_font_set_transform",
"is_const": false,
"is_static": false,
@@ -242244,6 +247645,88 @@
]
},
{
+ "name": "_shaped_text_get_character_breaks",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "PackedInt32Array"
+ },
+ "arguments": [
+ {
+ "name": "shaped",
+ "type": "RID"
+ }
+ ]
+ },
+ {
+ "name": "_shaped_text_next_character_pos",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "int",
+ "meta": "int64"
+ },
+ "arguments": [
+ {
+ "name": "shaped",
+ "type": "RID"
+ },
+ {
+ "name": "pos",
+ "type": "int",
+ "meta": "int64"
+ }
+ ]
+ },
+ {
+ "name": "_shaped_text_prev_character_pos",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "int",
+ "meta": "int64"
+ },
+ "arguments": [
+ {
+ "name": "shaped",
+ "type": "RID"
+ },
+ {
+ "name": "pos",
+ "type": "int",
+ "meta": "int64"
+ }
+ ]
+ },
+ {
+ "name": "_shaped_text_closest_character_pos",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "int",
+ "meta": "int64"
+ },
+ "arguments": [
+ {
+ "name": "shaped",
+ "type": "RID"
+ },
+ {
+ "name": "pos",
+ "type": "int",
+ "meta": "int64"
+ }
+ ]
+ },
+ {
"name": "_format_number",
"is_const": true,
"is_static": false,
@@ -242357,6 +247840,26 @@
]
},
{
+ "name": "_string_get_character_breaks",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "PackedInt32Array"
+ },
+ "arguments": [
+ {
+ "name": "string",
+ "type": "String"
+ },
+ {
+ "name": "language",
+ "type": "String"
+ }
+ ]
+ },
+ {
"name": "_is_confusable",
"is_const": true,
"is_static": false,
@@ -242813,7 +248316,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1115460088,
+ "hash": 2729649137,
+ "hash_compatibility": [
+ 1115460088
+ ],
"arguments": [
{
"name": "canvas_item",
@@ -242841,7 +248347,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 575156982,
+ "hash": 3499451691,
+ "hash_compatibility": [
+ 575156982
+ ],
"arguments": [
{
"name": "canvas_item",
@@ -242873,7 +248382,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1066564656,
+ "hash": 2963678660,
+ "hash_compatibility": [
+ 1066564656
+ ],
"arguments": [
{
"name": "canvas_item",
@@ -246044,7 +251556,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2779832528,
+ "hash": 1327203254,
+ "hash_compatibility": [
+ 2779832528
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -247034,6 +252549,59 @@
]
},
{
+ "name": "set_navigation_map",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 4040184819,
+ "arguments": [
+ {
+ "name": "layer",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "map",
+ "type": "RID"
+ }
+ ]
+ },
+ {
+ "name": "get_navigation_map",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 495598643,
+ "return_value": {
+ "type": "RID"
+ },
+ "arguments": [
+ {
+ "name": "layer",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
+ "name": "force_update",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1025054187,
+ "arguments": [
+ {
+ "name": "layer",
+ "type": "int",
+ "meta": "int32",
+ "default_value": "-1"
+ }
+ ]
+ },
+ {
"name": "set_tileset",
"is_const": false,
"is_vararg": false,
@@ -247059,7 +252627,7 @@
}
},
{
- "name": "set_quadrant_size",
+ "name": "set_rendering_quadrant_size",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -247074,7 +252642,7 @@
]
},
{
- "name": "get_quadrant_size",
+ "name": "get_rendering_quadrant_size",
"is_const": true,
"is_vararg": false,
"is_static": false,
@@ -247374,12 +252942,12 @@
]
},
{
- "name": "set_layer_navigation_map",
+ "name": "set_layer_navigation_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4040184819,
+ "hash": 300928843,
"arguments": [
{
"name": "layer",
@@ -247387,20 +252955,20 @@
"meta": "int32"
},
{
- "name": "map",
- "type": "RID"
+ "name": "enabled",
+ "type": "bool"
}
]
},
{
- "name": "get_layer_navigation_map",
+ "name": "is_layer_navigation_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 495598643,
+ "hash": 1116898809,
"return_value": {
- "type": "RID"
+ "type": "bool"
},
"arguments": [
{
@@ -247411,7 +252979,7 @@
]
},
{
- "name": "set_navigation_map",
+ "name": "set_layer_navigation_map",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -247430,7 +252998,7 @@
]
},
{
- "name": "get_navigation_map",
+ "name": "get_layer_navigation_map",
"is_const": true,
"is_vararg": false,
"is_static": false,
@@ -247528,7 +253096,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1732664643,
+ "hash": 966713560,
+ "hash_compatibility": [
+ 1732664643
+ ],
"arguments": [
{
"name": "layer",
@@ -247798,7 +253369,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3072115677,
+ "hash": 3578627656,
+ "hash_compatibility": [
+ 3072115677
+ ],
"arguments": [
{
"name": "layer",
@@ -247832,7 +253406,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3072115677,
+ "hash": 3578627656,
+ "hash_compatibility": [
+ 3072115677
+ ],
"arguments": [
{
"name": "layer",
@@ -247892,7 +253469,15 @@
"hash": 3218959716
},
{
- "name": "force_update",
+ "name": "update_internals",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3218959716
+ },
+ {
+ "name": "notify_runtime_tile_data_update",
"is_const": false,
"is_vararg": false,
"is_static": false,
@@ -247948,7 +253533,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4152068407,
+ "hash": 2931012785,
+ "hash_compatibility": [
+ 4152068407
+ ],
"return_value": {
"type": "typedarray::Vector2i"
},
@@ -248061,9 +253649,9 @@
},
{
"type": "int",
- "name": "cell_quadrant_size",
- "setter": "set_quadrant_size",
- "getter": "get_quadrant_size"
+ "name": "rendering_quadrant_size",
+ "setter": "set_rendering_quadrant_size",
+ "getter": "get_rendering_quadrant_size"
},
{
"type": "bool",
@@ -248098,7 +253686,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 634000503,
+ "hash": 2224802556,
+ "hash_compatibility": [
+ 634000503
+ ],
"arguments": [
{
"name": "coords",
@@ -248441,7 +254032,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 276991387,
+ "hash": 1059186179,
+ "hash_compatibility": [
+ 276991387
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -249128,7 +254722,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3023605688,
+ "hash": 1230568737,
+ "hash_compatibility": [
+ 3023605688
+ ],
"arguments": [
{
"name": "terrain_set",
@@ -249914,7 +255511,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3009264082,
+ "hash": 763712015,
+ "hash_compatibility": [
+ 3009264082
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -250018,6 +255618,20 @@
"is_instantiable": true,
"inherits": "TileSetSource",
"api_type": "core",
+ "constants": [
+ {
+ "name": "TRANSFORM_FLIP_H",
+ "value": 4096
+ },
+ {
+ "name": "TRANSFORM_FLIP_V",
+ "value": 8192
+ },
+ {
+ "name": "TRANSFORM_TRANSPOSE",
+ "value": 16384
+ }
+ ],
"enums": [
{
"name": "TileAnimationMode",
@@ -250170,7 +255784,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1583819816,
+ "hash": 190528769,
+ "hash_compatibility": [
+ 1583819816
+ ],
"arguments": [
{
"name": "atlas_coords",
@@ -250203,7 +255820,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1375626516,
+ "hash": 3870111920,
+ "hash_compatibility": [
+ 1375626516
+ ],
"arguments": [
{
"name": "atlas_coords",
@@ -250244,7 +255864,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4182444377,
+ "hash": 3018597268,
+ "hash_compatibility": [
+ 4182444377
+ ],
"return_value": {
"type": "bool"
},
@@ -250325,6 +255948,25 @@
]
},
{
+ "name": "has_tiles_outside_texture",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
+ "name": "clear_tiles_outside_texture",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3218959716
+ },
+ {
"name": "set_tile_animation_columns",
"is_const": false,
"is_vararg": false,
@@ -250576,7 +256218,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3531100812,
+ "hash": 2226298068,
+ "hash_compatibility": [
+ 3531100812
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -250694,7 +256339,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1321423751,
+ "hash": 241857547,
+ "hash_compatibility": [
+ 1321423751
+ ],
"return_value": {
"type": "Rect2i"
},
@@ -250840,7 +256488,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2633389122,
+ "hash": 1117465415,
+ "hash_compatibility": [
+ 2633389122
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -252364,7 +258015,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 971803314,
+ "hash": 3898530326,
+ "hash_compatibility": [
+ 971803314
+ ],
"arguments": [
{
"name": "src_message",
@@ -252387,7 +258041,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 360316719,
+ "hash": 2356982266,
+ "hash_compatibility": [
+ 360316719
+ ],
"arguments": [
{
"name": "src_message",
@@ -252410,7 +258067,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 58037827,
+ "hash": 1829228469,
+ "hash_compatibility": [
+ 58037827
+ ],
"return_value": {
"type": "StringName"
},
@@ -252432,7 +258092,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1333931916,
+ "hash": 229954002,
+ "hash_compatibility": [
+ 1333931916
+ ],
"return_value": {
"type": "StringName"
},
@@ -252463,7 +258126,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3919944288,
+ "hash": 3959009644,
+ "hash_compatibility": [
+ 3919944288
+ ],
"arguments": [
{
"name": "src_message",
@@ -252715,7 +258381,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 58037827,
+ "hash": 1829228469,
+ "hash_compatibility": [
+ 58037827
+ ],
"return_value": {
"type": "StringName"
},
@@ -252737,7 +258406,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1333931916,
+ "hash": 229954002,
+ "hash_compatibility": [
+ 1333931916
+ ],
"return_value": {
"type": "StringName"
},
@@ -253340,7 +259012,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1235226180,
+ "hash": 47968679,
+ "hash_compatibility": [
+ 1235226180
+ ],
"return_value": {
"type": "Rect2"
},
@@ -254249,7 +259924,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4023243586,
+ "hash": 972357352,
+ "hash_compatibility": [
+ 4023243586
+ ],
"arguments": [
{
"name": "column",
@@ -254375,6 +260053,43 @@
]
},
{
+ "name": "set_text_overrun_behavior",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1940772195,
+ "arguments": [
+ {
+ "name": "column",
+ "type": "int",
+ "meta": "int32"
+ },
+ {
+ "name": "overrun_behavior",
+ "type": "enum::TextServer.OverrunBehavior"
+ }
+ ]
+ },
+ {
+ "name": "get_text_overrun_behavior",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3782727860,
+ "return_value": {
+ "type": "enum::TextServer.OverrunBehavior"
+ },
+ "arguments": [
+ {
+ "name": "column",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
"name": "set_structured_text_bidi_override",
"is_const": false,
"is_vararg": false,
@@ -255291,7 +261006,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1507727907,
+ "hash": 1688223362,
+ "hash_compatibility": [
+ 1507727907
+ ],
"arguments": [
{
"name": "column",
@@ -256840,7 +262558,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4025329869,
+ "hash": 3167955072,
+ "hash_compatibility": [
+ 4025329869
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -257234,7 +262955,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3358934458,
+ "hash": 818314583,
+ "hash_compatibility": [
+ 3358934458
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -257275,7 +262999,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 760296170,
+ "hash": 3444187325,
+ "hash_compatibility": [
+ 760296170
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -257475,7 +263202,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3358934458,
+ "hash": 818314583,
+ "hash_compatibility": [
+ 3358934458
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -257516,7 +263246,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 760296170,
+ "hash": 3444187325,
+ "hash_compatibility": [
+ 760296170
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -257757,7 +263490,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3900135403,
+ "hash": 3171901514,
+ "hash_compatibility": [
+ 3900135403
+ ],
"arguments": [
{
"name": "name",
@@ -258923,7 +264659,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1369271885,
+ "hash": 93876830,
+ "hash_compatibility": [
+ 1369271885
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -259442,8 +265181,12 @@
"value": 1
},
{
- "name": "SCALING_3D_MODE_MAX",
+ "name": "SCALING_3D_MODE_FSR2",
"value": 2
+ },
+ {
+ "name": "SCALING_3D_MODE_MAX",
+ "value": 3
}
]
},
@@ -259638,6 +265381,10 @@
{
"name": "DEBUG_DRAW_MOTION_VECTORS",
"value": 25
+ },
+ {
+ "name": "DEBUG_DRAW_INTERNAL_BUFFER",
+ "value": 26
}
]
},
@@ -260656,6 +266403,17 @@
}
},
{
+ "name": "get_embedded_subwindows",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3995934104,
+ "return_value": {
+ "type": "typedarray::Window"
+ }
+ },
+ {
"name": "set_canvas_cull_mask",
"is_const": false,
"is_vararg": false,
@@ -260919,6 +266677,31 @@
}
},
{
+ "name": "set_disable_2d",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "disable",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "is_2d_disabled",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
"name": "set_disable_3d",
"is_const": false,
"is_vararg": false,
@@ -261142,6 +266925,12 @@
"properties": [
{
"type": "bool",
+ "name": "disable_2d",
+ "setter": "set_disable_2d",
+ "getter": "is_2d_disabled"
+ },
+ {
+ "type": "bool",
"name": "disable_3d",
"setter": "set_disable_3d",
"getter": "is_3d_disabled"
@@ -263940,6 +269729,23 @@
]
},
{
+ "name": "_get_input_port_default_value",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "Variant"
+ },
+ "arguments": [
+ {
+ "name": "port",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
"name": "_get_default_input_port",
"is_const": true,
"is_static": false,
@@ -264002,6 +269808,69 @@
]
},
{
+ "name": "_get_property_count",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "int",
+ "meta": "int32"
+ }
+ },
+ {
+ "name": "_get_property_name",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "String"
+ },
+ "arguments": [
+ {
+ "name": "index",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
+ "name": "_get_property_default_index",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "int",
+ "meta": "int32"
+ },
+ "arguments": [
+ {
+ "name": "index",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
+ "name": "_get_property_options",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "PackedStringArray"
+ },
+ "arguments": [
+ {
+ "name": "index",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
+ },
+ {
"name": "_get_code",
"is_const": true,
"is_static": false,
@@ -264094,6 +269963,25 @@
"type": "enum::VisualShader.Type"
}
]
+ },
+ {
+ "name": "get_option_index",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 923996154,
+ "return_value": {
+ "type": "int",
+ "meta": "int32"
+ },
+ "arguments": [
+ {
+ "name": "option",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
}
],
"properties": [
@@ -264102,6 +269990,12 @@
"name": "initialized",
"setter": "_set_initialized",
"getter": "_is_initialized"
+ },
+ {
+ "type": "String",
+ "name": "properties",
+ "setter": "_set_properties",
+ "getter": "_get_properties"
}
]
},
@@ -270119,7 +276013,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1777354631,
+ "hash": 2641732907,
+ "hash_compatibility": [
+ 1777354631
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -270142,7 +276039,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1777354631,
+ "hash": 2641732907,
+ "hash_compatibility": [
+ 1777354631
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -270165,7 +276065,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2555866323,
+ "hash": 4078953270,
+ "hash_compatibility": [
+ 2555866323
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -270376,7 +276279,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3997447457,
+ "hash": 1288557393,
+ "hash_compatibility": [
+ 3997447457
+ ],
"return_value": {
"type": "WebRTCDataChannel"
},
@@ -270746,7 +276652,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3097527179,
+ "hash": 1966198364,
+ "hash_compatibility": [
+ 3097527179
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -270768,7 +276677,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 337374795,
+ "hash": 2400822951,
+ "hash_compatibility": [
+ 337374795
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -271094,7 +277006,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3097527179,
+ "hash": 1966198364,
+ "hash_compatibility": [
+ 3097527179
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -271133,7 +277048,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3440492527,
+ "hash": 2780360567,
+ "hash_compatibility": [
+ 3440492527
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -271996,6 +277914,20 @@
]
},
{
+ "name": "ContentScaleStretch",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "CONTENT_SCALE_STRETCH_FRACTIONAL",
+ "value": 0
+ },
+ {
+ "name": "CONTENT_SCALE_STRETCH_INTEGER",
+ "value": 1
+ }
+ ]
+ },
+ {
"name": "LayoutDirection",
"is_bitfield": false,
"values": [
@@ -272174,6 +278106,14 @@
}
},
{
+ "name": "move_to_center",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3218959716
+ },
+ {
"name": "set_size",
"is_const": false,
"is_vararg": false,
@@ -272626,6 +278566,56 @@
}
},
{
+ "name": "set_content_scale_stretch",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 349355940,
+ "arguments": [
+ {
+ "name": "stretch",
+ "type": "enum::Window.ContentScaleStretch"
+ }
+ ]
+ },
+ {
+ "name": "get_content_scale_stretch",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 536857316,
+ "return_value": {
+ "type": "enum::Window.ContentScaleStretch"
+ }
+ },
+ {
+ "name": "set_keep_title_visible",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "title_visible",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "get_keep_title_visible",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 36873697,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
"name": "set_content_scale_factor",
"is_const": false,
"is_vararg": false,
@@ -273001,7 +278991,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2336455395,
+ "hash": 3163973443,
+ "hash_compatibility": [
+ 2336455395
+ ],
"return_value": {
"type": "Texture2D"
},
@@ -273023,7 +279016,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2759935355,
+ "hash": 604739069,
+ "hash_compatibility": [
+ 2759935355
+ ],
"return_value": {
"type": "StyleBox"
},
@@ -273045,7 +279041,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 387378635,
+ "hash": 2826986490,
+ "hash_compatibility": [
+ 387378635
+ ],
"return_value": {
"type": "Font"
},
@@ -273067,7 +279066,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 229578101,
+ "hash": 1327056374,
+ "hash_compatibility": [
+ 229578101
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -273090,7 +279092,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2377051548,
+ "hash": 2798751242,
+ "hash_compatibility": [
+ 2377051548
+ ],
"return_value": {
"type": "Color"
},
@@ -273112,7 +279117,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 229578101,
+ "hash": 1327056374,
+ "hash_compatibility": [
+ 229578101
+ ],
"return_value": {
"type": "int",
"meta": "int32"
@@ -273237,7 +279245,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -273259,7 +279270,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -273281,7 +279295,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -273303,7 +279320,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -273325,7 +279345,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -273347,7 +279370,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1187511791,
+ "hash": 866386512,
+ "hash_compatibility": [
+ 1187511791
+ ],
"return_value": {
"type": "bool"
},
@@ -273546,7 +279572,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 1728044812,
+ "hash": 2134721627,
+ "hash_compatibility": [
+ 1728044812
+ ],
"arguments": [
{
"name": "from_node",
@@ -273583,7 +279612,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2561668109,
+ "hash": 3357594017,
+ "hash_compatibility": [
+ 2561668109
+ ],
"arguments": [
{
"name": "from_node",
@@ -273602,7 +279634,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 4257659513,
+ "hash": 2284776287,
+ "hash_compatibility": [
+ 4257659513
+ ],
"arguments": [
{
"name": "from_node",
@@ -273622,7 +279657,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 224798062,
+ "hash": 2612708785,
+ "hash_compatibility": [
+ 224798062
+ ],
"arguments": [
{
"name": "from_node",
@@ -273831,6 +279869,12 @@
"getter": "get_max_size"
},
{
+ "type": "bool",
+ "name": "keep_title_visible",
+ "setter": "set_keep_title_visible",
+ "getter": "get_keep_title_visible"
+ },
+ {
"type": "Vector2i",
"name": "content_scale_size",
"setter": "set_content_scale_size",
@@ -273849,6 +279893,12 @@
"getter": "get_content_scale_aspect"
},
{
+ "type": "int",
+ "name": "content_scale_stretch",
+ "setter": "set_content_scale_stretch",
+ "getter": "get_content_scale_stretch"
+ },
+ {
"type": "float",
"name": "content_scale_factor",
"setter": "set_content_scale_factor",
@@ -273887,7 +279937,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3976347598,
+ "hash": 3745067146,
+ "hash_compatibility": [
+ 3976347598
+ ],
"return_value": {
"type": "int",
"meta": "int64"
@@ -273951,7 +280004,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 2377228549,
+ "hash": 1801953219,
+ "hash_compatibility": [
+ 2377228549
+ ],
"return_value": {
"type": "int",
"meta": "int64"
@@ -275488,6 +281544,17 @@
"type": "enum::XRInterface.EnvironmentBlendMode"
}
]
+ },
+ {
+ "name": "get_environment_blend_mode",
+ "is_const": true,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1984334071,
+ "return_value": {
+ "type": "enum::XRInterface.EnvironmentBlendMode"
+ }
}
],
"signals": [
@@ -275515,6 +281582,12 @@
"getter": "get_play_area_mode"
},
{
+ "type": "int",
+ "name": "environment_blend_mode",
+ "setter": "set_environment_blend_mode",
+ "getter": "get_environment_blend_mode"
+ },
+ {
"type": "bool",
"name": "ar_is_anchor_detection_enabled",
"setter": "set_anchor_detection_is_enabled",
@@ -276160,6 +282233,17 @@
]
}
],
+ "signals": [
+ {
+ "name": "tracking_changed",
+ "arguments": [
+ {
+ "name": "tracking",
+ "type": "bool"
+ }
+ ]
+ }
+ ],
"properties": [
{
"type": "String",
@@ -276755,6 +282839,15 @@
]
},
{
+ "name": "pose_lost_tracking",
+ "arguments": [
+ {
+ "name": "pose",
+ "type": "XRPose"
+ }
+ ]
+ },
+ {
"name": "button_pressed",
"arguments": [
{
@@ -277282,7 +283375,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 3715508516,
+ "hash": 1936816515,
+ "hash_compatibility": [
+ 3715508516
+ ],
"return_value": {
"type": "enum::Error"
},
@@ -277408,7 +283504,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
- "hash": 156385007,
+ "hash": 740857591,
+ "hash_compatibility": [
+ 156385007
+ ],
"return_value": {
"type": "PackedByteArray"
},
@@ -277423,6 +283522,31 @@
"default_value": "true"
}
]
+ },
+ {
+ "name": "file_exists",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 35364943,
+ "hash_compatibility": [
+ 1676256
+ ],
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "path",
+ "type": "String"
+ },
+ {
+ "name": "case_sensitive",
+ "type": "bool",
+ "default_value": "true"
+ }
+ ]
}
]
}
@@ -277521,6 +283645,14 @@
"type": "WorkerThreadPool"
},
{
+ "name": "ThemeDB",
+ "type": "ThemeDB"
+ },
+ {
+ "name": "EditorInterface",
+ "type": "EditorInterface"
+ },
+ {
"name": "JavaClassWrapper",
"type": "JavaClassWrapper"
},
@@ -277529,10 +283661,6 @@
"type": "JavaScriptBridge"
},
{
- "name": "ThemeDB",
- "type": "ThemeDB"
- },
- {
"name": "DisplayServer",
"type": "DisplayServer"
},
@@ -277612,7 +283740,7 @@
},
{
"name": "PhysicsServer3DExtensionRayResult",
- "format": "Vector3 position;Vector3 normal;RID rid;ObjectID collider_id;Object *collider;int shape"
+ "format": "Vector3 position;Vector3 normal;RID rid;ObjectID collider_id;Object *collider;int shape;int face_index"
},
{
"name": "PhysicsServer3DExtensionShapeRestInfo",
diff --git a/gdextension/gdextension_interface.h b/gdextension/gdextension_interface.h
index 48cb288..240da6e 100644
--- a/gdextension/gdextension_interface.h
+++ b/gdextension/gdextension_interface.h
@@ -267,6 +267,7 @@ typedef void (*GDExtensionClassUnreference)(GDExtensionClassInstancePtr p_instan
typedef void (*GDExtensionClassCallVirtual)(GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret);
typedef GDExtensionObjectPtr (*GDExtensionClassCreateInstance)(void *p_class_userdata);
typedef void (*GDExtensionClassFreeInstance)(void *p_class_userdata, GDExtensionClassInstancePtr p_instance);
+typedef GDExtensionClassInstancePtr (*GDExtensionClassRecreateInstance)(void *p_class_userdata, GDExtensionObjectPtr p_object);
typedef GDExtensionClassCallVirtual (*GDExtensionClassGetVirtual)(void *p_class_userdata, GDExtensionConstStringNamePtr p_name);
typedef void *(*GDExtensionClassGetVirtualCallData)(void *p_class_userdata, GDExtensionConstStringNamePtr p_name);
typedef void (*GDExtensionClassCallVirtualWithData)(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, void *p_virtual_call_userdata, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret);
@@ -308,6 +309,7 @@ typedef struct {
GDExtensionClassUnreference unreference_func;
GDExtensionClassCreateInstance create_instance_func; // (Default) constructor; mandatory. If the class is not instantiable, consider making it virtual or abstract.
GDExtensionClassFreeInstance free_instance_func; // Destructor; mandatory.
+ GDExtensionClassRecreateInstance recreate_instance_func;
// Queries a virtual function by name and returns a callback to invoke the requested virtual function.
GDExtensionClassGetVirtual get_virtual_func;
// Paired with `call_virtual_with_data_func`, this is an alternative to `get_virtual_func` for extensions that
@@ -428,6 +430,8 @@ typedef GDExtensionBool (*GDExtensionScriptInstanceSet)(GDExtensionScriptInstanc
typedef GDExtensionBool (*GDExtensionScriptInstanceGet)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionVariantPtr r_ret);
typedef const GDExtensionPropertyInfo *(*GDExtensionScriptInstanceGetPropertyList)(GDExtensionScriptInstanceDataPtr p_instance, uint32_t *r_count);
typedef void (*GDExtensionScriptInstanceFreePropertyList)(GDExtensionScriptInstanceDataPtr p_instance, const GDExtensionPropertyInfo *p_list);
+typedef GDExtensionBool (*GDExtensionScriptInstanceGetClassCategory)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionPropertyInfo *p_class_category);
+
typedef GDExtensionVariantType (*GDExtensionScriptInstanceGetPropertyType)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionBool *r_is_valid);
typedef GDExtensionBool (*GDExtensionScriptInstanceValidateProperty)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionPropertyInfo *p_property);
@@ -506,6 +510,7 @@ typedef struct {
GDExtensionScriptInstanceGet get_func;
GDExtensionScriptInstanceGetPropertyList get_property_list_func;
GDExtensionScriptInstanceFreePropertyList free_property_list_func;
+ GDExtensionScriptInstanceGetClassCategory get_class_category_func; // Optional. Set to NULL for the default behavior.
GDExtensionScriptInstancePropertyCanRevert property_can_revert_func;
GDExtensionScriptInstancePropertyGetRevert property_get_revert_func;
@@ -585,7 +590,10 @@ typedef GDExtensionInterfaceFunctionPtr (*GDExtensionInterfaceGetProcAddress)(co
*
* For example:
*
- * GDExtensionInterfaceGetGodotVersion *get_godot_version = (GDExtensionInterfaceGetGodotVersion)p_get_proc_address("get_godot_version");
+ * GDExtensionInterfaceGetGodotVersion get_godot_version = (GDExtensionInterfaceGetGodotVersion)p_get_proc_address("get_godot_version");
+ *
+ * (Note that snippet may cause "cast between incompatible function types" on some compilers, you can
+ * silence this by adding an intermediary `void*` cast.)
*
* You can then call it like a normal function:
*
@@ -1432,7 +1440,7 @@ typedef void (*GDExtensionInterfaceStringNewWithWideChars)(GDExtensionUninitiali
*
* @param r_dest A pointer to a Variant to hold the newly created String.
* @param p_contents A pointer to a Latin-1 encoded C string.
- * @param p_size The number of characters.
+ * @param p_size The number of characters (= number of bytes).
*/
typedef void (*GDExtensionInterfaceStringNewWithLatin1CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char *p_contents, GDExtensionInt p_size);
@@ -1444,7 +1452,7 @@ typedef void (*GDExtensionInterfaceStringNewWithLatin1CharsAndLen)(GDExtensionUn
*
* @param r_dest A pointer to a Variant to hold the newly created String.
* @param p_contents A pointer to a UTF-8 encoded C string.
- * @param p_size The number of characters.
+ * @param p_size The number of bytes (not code units).
*/
typedef void (*GDExtensionInterfaceStringNewWithUtf8CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char *p_contents, GDExtensionInt p_size);
@@ -1456,9 +1464,9 @@ typedef void (*GDExtensionInterfaceStringNewWithUtf8CharsAndLen)(GDExtensionUnin
*
* @param r_dest A pointer to a Variant to hold the newly created String.
* @param p_contents A pointer to a UTF-16 encoded C string.
- * @param p_size The number of characters.
+ * @param p_size The number of characters (not bytes).
*/
-typedef void (*GDExtensionInterfaceStringNewWithUtf16CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char16_t *p_contents, GDExtensionInt p_size);
+typedef void (*GDExtensionInterfaceStringNewWithUtf16CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char16_t *p_contents, GDExtensionInt p_char_count);
/**
* @name string_new_with_utf32_chars_and_len
@@ -1468,9 +1476,9 @@ typedef void (*GDExtensionInterfaceStringNewWithUtf16CharsAndLen)(GDExtensionUni
*
* @param r_dest A pointer to a Variant to hold the newly created String.
* @param p_contents A pointer to a UTF-32 encoded C string.
- * @param p_size The number of characters.
+ * @param p_size The number of characters (not bytes).
*/
-typedef void (*GDExtensionInterfaceStringNewWithUtf32CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char32_t *p_contents, GDExtensionInt p_size);
+typedef void (*GDExtensionInterfaceStringNewWithUtf32CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char32_t *p_contents, GDExtensionInt p_char_count);
/**
* @name string_new_with_wide_chars_and_len
@@ -1480,9 +1488,9 @@ typedef void (*GDExtensionInterfaceStringNewWithUtf32CharsAndLen)(GDExtensionUni
*
* @param r_dest A pointer to a Variant to hold the newly created String.
* @param p_contents A pointer to a wide C string.
- * @param p_size The number of characters.
+ * @param p_size The number of characters (not bytes).
*/
-typedef void (*GDExtensionInterfaceStringNewWithWideCharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const wchar_t *p_contents, GDExtensionInt p_size);
+typedef void (*GDExtensionInterfaceStringNewWithWideCharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const wchar_t *p_contents, GDExtensionInt p_char_count);
/**
* @name string_to_latin1_chars
@@ -1664,6 +1672,50 @@ typedef void (*GDExtensionInterfaceStringOperatorPlusEqC32str)(GDExtensionString
*/
typedef GDExtensionInt (*GDExtensionInterfaceStringResize)(GDExtensionStringPtr p_self, GDExtensionInt p_resize);
+/* INTERFACE: StringName Utilities */
+
+/**
+ * @name string_name_new_with_latin1_chars
+ * @since 4.2
+ *
+ * Creates a StringName from a Latin-1 encoded C string.
+ *
+ * If `p_is_static` is true, then:
+ * - The StringName will reuse the `p_contents` buffer instead of copying it.
+ * You must guarantee that the buffer remains valid for the duration of the application (e.g. string literal).
+ * - You must not call a destructor for this StringName. Incrementing the initial reference once should achieve this.
+ *
+ * `p_is_static` is purely an optimization and can easily introduce undefined behavior if used wrong. In case of doubt, set it to false.
+ *
+ * @param r_dest A pointer to uninitialized storage, into which the newly created StringName is constructed.
+ * @param p_contents A pointer to a C string (null terminated and Latin-1 or ASCII encoded).
+ * @param p_is_static Whether the StringName reuses the buffer directly (see above).
+ */
+typedef void (*GDExtensionInterfaceStringNameNewWithLatin1Chars)(GDExtensionUninitializedStringNamePtr r_dest, const char *p_contents, GDExtensionBool p_is_static);
+
+/**
+ * @name string_name_new_with_utf8_chars
+ * @since 4.2
+ *
+ * Creates a StringName from a UTF-8 encoded C string.
+ *
+ * @param r_dest A pointer to uninitialized storage, into which the newly created StringName is constructed.
+ * @param p_contents A pointer to a C string (null terminated and UTF-8 encoded).
+ */
+typedef void (*GDExtensionInterfaceStringNameNewWithUtf8Chars)(GDExtensionUninitializedStringNamePtr r_dest, const char *p_contents);
+
+/**
+ * @name string_name_new_with_utf8_chars_and_len
+ * @since 4.2
+ *
+ * Creates a StringName from a UTF-8 encoded string with a given number of characters.
+ *
+ * @param r_dest A pointer to uninitialized storage, into which the newly created StringName is constructed.
+ * @param p_contents A pointer to a C string (null terminated and UTF-8 encoded).
+ * @param p_size The number of bytes (not UTF-8 code points).
+ */
+typedef void (*GDExtensionInterfaceStringNameNewWithUtf8CharsAndLen)(GDExtensionUninitializedStringNamePtr r_dest, const char *p_contents, GDExtensionInt p_size);
+
/* INTERFACE: XMLParser Utilities */
/**
@@ -2143,6 +2195,17 @@ typedef void *(*GDExtensionInterfaceObjectGetInstanceBinding)(GDExtensionObjectP
typedef void (*GDExtensionInterfaceObjectSetInstanceBinding)(GDExtensionObjectPtr p_o, void *p_token, void *p_binding, const GDExtensionInstanceBindingCallbacks *p_callbacks);
/**
+ * @name object_free_instance_binding
+ * @since 4.2
+ *
+ * Free an Object's instance binding.
+ *
+ * @param p_o A pointer to the Object.
+ * @param p_library A token the library received by the GDExtension's entry point function.
+ */
+typedef void (*GDExtensionInterfaceObjectFreeInstanceBinding)(GDExtensionObjectPtr p_o, void *p_token);
+
+/**
* @name object_set_instance
* @since 4.1
*
diff --git a/include/godot_cpp/classes/editor_plugin_registration.hpp b/include/godot_cpp/classes/editor_plugin_registration.hpp
new file mode 100644
index 0000000..1ccde31
--- /dev/null
+++ b/include/godot_cpp/classes/editor_plugin_registration.hpp
@@ -0,0 +1,62 @@
+/**************************************************************************/
+/* editor_plugin_registration.hpp */
+/**************************************************************************/
+/* This file is part of: */
+/* GODOT ENGINE */
+/* https://godotengine.org */
+/**************************************************************************/
+/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
+/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
+/* */
+/* Permission is hereby granted, free of charge, to any person obtaining */
+/* a copy of this software and associated documentation files (the */
+/* "Software"), to deal in the Software without restriction, including */
+/* without limitation the rights to use, copy, modify, merge, publish, */
+/* distribute, sublicense, and/or sell copies of the Software, and to */
+/* permit persons to whom the Software is furnished to do so, subject to */
+/* the following conditions: */
+/* */
+/* The above copyright notice and this permission notice shall be */
+/* included in all copies or substantial portions of the Software. */
+/* */
+/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
+/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
+/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
+/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
+/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
+/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
+/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
+/**************************************************************************/
+
+#ifndef GODOT_EDITOR_PLUGIN_REGISTRATION_HPP
+#define GODOT_EDITOR_PLUGIN_REGISTRATION_HPP
+
+#include <godot_cpp/templates/vector.hpp>
+
+namespace godot {
+
+class EditorPlugin;
+class StringName;
+
+class EditorPlugins {
+private:
+ static Vector<StringName> plugin_classes;
+
+public:
+ static void add_plugin_class(const StringName &p_class_name);
+ static void remove_plugin_class(const StringName &p_class_name);
+ static void deinitialize(GDExtensionInitializationLevel p_level);
+
+ template <class T>
+ static void add_by_type() {
+ add_plugin_class(T::get_class_static());
+ }
+ template <class T>
+ static void remove_by_type() {
+ remove_plugin_class(T::get_class_static());
+ }
+};
+
+} // namespace godot
+
+#endif // GODOT_EDITOR_PLUGIN_REGISTRATION_HPP
diff --git a/include/godot_cpp/classes/wrapped.hpp b/include/godot_cpp/classes/wrapped.hpp
index 91e29eb..2bbffc0 100644
--- a/include/godot_cpp/classes/wrapped.hpp
+++ b/include/godot_cpp/classes/wrapped.hpp
@@ -51,6 +51,15 @@ class Wrapped {
friend void postinitialize_handler(Wrapped *);
protected:
+#ifdef HOT_RELOAD_ENABLED
+ struct RecreateInstance {
+ GDExtensionClassInstancePtr wrapper;
+ GDExtensionObjectPtr owner;
+ RecreateInstance *next;
+ };
+ inline static RecreateInstance *recreate_instance = nullptr;
+#endif
+
virtual const StringName *_get_extension_class_name() const; // This is needed to retrieve the class name before the godot object has its _extension and _extension_instance members assigned.
virtual const GDExtensionInstanceBindingCallbacks *_get_bindings_callbacks() const = 0;
@@ -102,10 +111,37 @@ namespace internal {
GDExtensionPropertyInfo *create_c_property_list(const ::godot::List<::godot::PropertyInfo> &plist_cpp, uint32_t *r_size);
void free_c_property_list(GDExtensionPropertyInfo *plist);
+typedef void (*EngineClassRegistrationCallback)();
+void add_engine_class_registration_callback(EngineClassRegistrationCallback p_callback);
+void register_engine_class(const StringName &p_name, const GDExtensionInstanceBindingCallbacks *p_callbacks);
+void register_engine_classes();
+
+template <class T>
+struct EngineClassRegistration {
+ EngineClassRegistration() {
+ add_engine_class_registration_callback(&EngineClassRegistration<T>::callback);
+ }
+
+ static void callback() {
+ register_engine_class(T::get_class_static(), &T::_gde_binding_callbacks);
+ }
+};
+
} // namespace internal
} // namespace godot
+#ifdef HOT_RELOAD_ENABLED
+#define _GDCLASS_RECREATE(m_class, m_inherits) \
+ m_class *new_instance = (m_class *)memalloc(sizeof(m_class)); \
+ Wrapped::RecreateInstance recreate_data = { new_instance, obj, Wrapped::recreate_instance }; \
+ Wrapped::recreate_instance = &recreate_data; \
+ memnew_placement(new_instance, m_class); \
+ return new_instance;
+#else
+#define _GDCLASS_RECREATE(m_class, m_inherits) return nullptr;
+#endif
+
// Use this on top of your own classes.
// Note: the trail of `***` is to keep sane diffs in PRs, because clang-format otherwise moves every `\` which makes
// every line of the macro different
@@ -193,6 +229,10 @@ public:
return new_object->_owner; \
} \
\
+ static GDExtensionClassInstancePtr recreate(void *data, GDExtensionObjectPtr obj) { \
+ _GDCLASS_RECREATE(m_class, m_inherits); \
+ } \
+ \
static void notification_bind(GDExtensionClassInstancePtr p_instance, int32_t p_what, GDExtensionBool p_reversed) { \
if (p_instance && m_class::_get_notification()) { \
if (m_class::_get_notification() != m_inherits::_get_notification()) { \
@@ -328,6 +368,7 @@ public:
// Don't use this for your classes, use GDCLASS() instead.
#define GDEXTENSION_CLASS_ALIAS(m_class, m_alias_for, m_inherits) \
private: \
+ inline static ::godot::internal::EngineClassRegistration<m_class> _gde_engine_class_registration_helper; \
void operator=(const m_class &p_rval) {} \
\
protected: \
diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp
index c974fa4..17e093a 100644
--- a/include/godot_cpp/core/class_db.hpp
+++ b/include/godot_cpp/core/class_db.hpp
@@ -119,8 +119,10 @@ public:
static void register_abstract_class();
template <class T>
static void register_internal_class();
- template <class T>
- static void register_engine_class();
+
+ _FORCE_INLINE_ static void _register_engine_class(const StringName &p_name, const GDExtensionInstanceBindingCallbacks *p_callbacks) {
+ instance_binding_callbacks[p_name] = p_callbacks;
+ }
template <class N, class M, typename... VarArgs>
static MethodBind *bind_method(N p_method_name, M p_method, VarArgs... p_args);
@@ -201,6 +203,7 @@ void ClassDB::_register_class(bool p_virtual, bool p_exposed) {
nullptr, // GDExtensionClassUnreference unreference_func;
T::create, // GDExtensionClassCreateInstance create_instance_func; /* this one is mandatory */
T::free, // GDExtensionClassFreeInstance free_instance_func; /* this one is mandatory */
+ T::recreate, // GDExtensionClassRecreateInstance recreate_instance_func;
&ClassDB::get_virtual_func, // GDExtensionClassGetVirtual get_virtual_func;
nullptr, // GDExtensionClassGetVirtualCallData get_virtual_call_data_func;
nullptr, // GDExtensionClassCallVirtualWithData call_virtual_func;
@@ -232,11 +235,6 @@ void ClassDB::register_internal_class() {
ClassDB::_register_class<T, false>(false, false);
}
-template <class T>
-void ClassDB::register_engine_class() {
- instance_binding_callbacks[T::get_class_static()] = &T::_gde_binding_callbacks;
-}
-
template <class N, class M, typename... VarArgs>
MethodBind *ClassDB::bind_method(N p_method_name, M p_method, VarArgs... p_args) {
Variant args[sizeof...(p_args) + 1] = { p_args..., Variant() }; // +1 makes sure zero sized arrays are also supported.
diff --git a/include/godot_cpp/godot.hpp b/include/godot_cpp/godot.hpp
index 4561a75..46911dc 100644
--- a/include/godot_cpp/godot.hpp
+++ b/include/godot_cpp/godot.hpp
@@ -124,6 +124,7 @@ extern "C" GDExtensionInterfaceStringOperatorPlusEqCstr gdextension_interface_st
extern "C" GDExtensionInterfaceStringOperatorPlusEqWcstr gdextension_interface_string_operator_plus_eq_wcstr;
extern "C" GDExtensionInterfaceStringOperatorPlusEqC32str gdextension_interface_string_operator_plus_eq_c32str;
extern "C" GDExtensionInterfaceStringResize gdextension_interface_string_resize;
+extern "C" GDExtensionInterfaceStringNameNewWithLatin1Chars gdextension_interface_string_name_new_with_latin1_chars;
extern "C" GDExtensionInterfaceXmlParserOpenBuffer gdextension_interface_xml_parser_open_buffer;
extern "C" GDExtensionInterfaceFileAccessStoreBuffer gdextension_interface_file_access_store_buffer;
extern "C" GDExtensionInterfaceFileAccessGetBuffer gdextension_interface_file_access_get_buffer;
@@ -196,9 +197,6 @@ enum ModuleInitializationLevel {
};
class GDExtensionBinding {
-private:
- static void register_engine_classes();
-
public:
using Callback = void (*)(ModuleInitializationLevel p_level);
diff --git a/include/godot_cpp/variant/callable_method_pointer.hpp b/include/godot_cpp/variant/callable_method_pointer.hpp
index bd31ea1..d83bcba 100644
--- a/include/godot_cpp/variant/callable_method_pointer.hpp
+++ b/include/godot_cpp/variant/callable_method_pointer.hpp
@@ -40,6 +40,7 @@ class CallableCustomMethodPointerBase {
public:
virtual Object *get_object() const = 0;
virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const = 0;
+ virtual ~CallableCustomMethodPointerBase() {}
};
namespace internal {
diff --git a/include/godot_cpp/variant/char_string.hpp b/include/godot_cpp/variant/char_string.hpp
index f8f5169..fef6a71 100644
--- a/include/godot_cpp/variant/char_string.hpp
+++ b/include/godot_cpp/variant/char_string.hpp
@@ -120,6 +120,18 @@ protected:
void copy_from(const T *p_cstr);
};
+template <>
+const char *CharStringT<char>::get_data() const;
+
+template <>
+const char16_t *CharStringT<char16_t>::get_data() const;
+
+template <>
+const char32_t *CharStringT<char32_t>::get_data() const;
+
+template <>
+const wchar_t *CharStringT<wchar_t>::get_data() const;
+
typedef CharStringT<char> CharString;
typedef CharStringT<char16_t> Char16String;
typedef CharStringT<char32_t> Char32String;
diff --git a/src/classes/editor_plugin.cpp b/src/classes/editor_plugin_registration.cpp
index ca98a89..99819be 100644
--- a/src/classes/editor_plugin.cpp
+++ b/src/classes/editor_plugin_registration.cpp
@@ -1,5 +1,5 @@
/**************************************************************************/
-/* editor_plugin.cpp */
+/* editor_plugin_registration.cpp */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@@ -28,9 +28,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
-#include <godot_cpp/classes/editor_plugin.hpp>
+#include <godot_cpp/classes/editor_plugin_registration.hpp>
-#include <godot_cpp/variant/string_name.hpp>
+#include <godot_cpp/variant/variant.hpp>
namespace godot {
diff --git a/src/classes/wrapped.cpp b/src/classes/wrapped.cpp
index 1e9239c..37fcf65 100644
--- a/src/classes/wrapped.cpp
+++ b/src/classes/wrapped.cpp
@@ -28,12 +28,16 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
+#include <vector>
+
#include <godot_cpp/classes/wrapped.hpp>
#include <godot_cpp/variant/builtin_types.hpp>
#include <godot_cpp/classes/object.hpp>
+#include <godot_cpp/core/class_db.hpp>
+
namespace godot {
const StringName *Wrapped::_get_extension_class_name() const {
@@ -49,6 +53,25 @@ void Wrapped::_postinitialize() {
}
Wrapped::Wrapped(const StringName p_godot_class) {
+#ifdef HOT_RELOAD_ENABLED
+ if (unlikely(Wrapped::recreate_instance)) {
+ RecreateInstance *recreate_data = Wrapped::recreate_instance;
+ RecreateInstance *previous = nullptr;
+ while (recreate_data) {
+ if (recreate_data->wrapper == this) {
+ _owner = recreate_data->owner;
+ if (previous) {
+ previous->next = recreate_data->next;
+ } else {
+ Wrapped::recreate_instance = recreate_data->next;
+ }
+ return;
+ }
+ previous = recreate_data;
+ recreate_data = recreate_data->next;
+ }
+ }
+#endif
_owner = godot::internal::gdextension_interface_classdb_construct_object(reinterpret_cast<GDExtensionConstStringNamePtr>(p_godot_class._native_ptr()));
}
@@ -62,6 +85,11 @@ void postinitialize_handler(Wrapped *p_wrapped) {
namespace internal {
+std::vector<EngineClassRegistrationCallback> &get_engine_class_registration_callbacks() {
+ static std::vector<EngineClassRegistrationCallback> engine_class_registration_callbacks;
+ return engine_class_registration_callbacks;
+}
+
GDExtensionPropertyInfo *create_c_property_list(const ::godot::List<::godot::PropertyInfo> &plist_cpp, uint32_t *r_size) {
GDExtensionPropertyInfo *plist = nullptr;
// Linked list size can be expensive to get so we cache it
@@ -87,6 +115,22 @@ void free_c_property_list(GDExtensionPropertyInfo *plist) {
memfree(plist);
}
+void add_engine_class_registration_callback(EngineClassRegistrationCallback p_callback) {
+ get_engine_class_registration_callbacks().push_back(p_callback);
+}
+
+void register_engine_class(const StringName &p_name, const GDExtensionInstanceBindingCallbacks *p_callbacks) {
+ ClassDB::_register_engine_class(p_name, p_callbacks);
+}
+
+void register_engine_classes() {
+ std::vector<EngineClassRegistrationCallback> &engine_class_registration_callbacks = get_engine_class_registration_callbacks();
+ for (EngineClassRegistrationCallback cb : engine_class_registration_callbacks) {
+ cb();
+ }
+ engine_class_registration_callbacks.clear();
+}
+
} // namespace internal
} // namespace godot
diff --git a/src/core/class_db.cpp b/src/core/class_db.cpp
index 9aaacef..1f4b135 100644
--- a/src/core/class_db.cpp
+++ b/src/core/class_db.cpp
@@ -352,6 +352,7 @@ void ClassDB::initialize(GDExtensionInitializationLevel p_level) {
}
void ClassDB::deinitialize(GDExtensionInitializationLevel p_level) {
+ std::set<StringName> to_erase;
for (std::vector<StringName>::reverse_iterator i = class_register_order.rbegin(); i != class_register_order.rend(); ++i) {
const StringName &name = *i;
const ClassInfo &cl = classes[name];
@@ -362,9 +363,20 @@ void ClassDB::deinitialize(GDExtensionInitializationLevel p_level) {
internal::gdextension_interface_classdb_unregister_extension_class(internal::library, name._native_ptr());
- for (auto method : cl.method_map) {
+ for (const std::pair<const StringName, MethodBind *> &method : cl.method_map) {
memdelete(method.second);
}
+
+ classes.erase(name);
+ to_erase.insert(name);
+ }
+
+ {
+ // The following is equivalent to c++20 `std::erase_if(class_register_order, [&](const StringName& name){ return to_erase.contains(name); });`
+ std::vector<StringName>::iterator it = std::remove_if(class_register_order.begin(), class_register_order.end(), [&](const StringName &p_name) {
+ return to_erase.count(p_name) > 0;
+ });
+ class_register_order.erase(it, class_register_order.end());
}
}
diff --git a/src/godot.cpp b/src/godot.cpp
index 05413ff..7579cfd 100644
--- a/src/godot.cpp
+++ b/src/godot.cpp
@@ -30,7 +30,7 @@
#include <godot_cpp/godot.hpp>
-#include <godot_cpp/classes/editor_plugin.hpp>
+#include <godot_cpp/classes/editor_plugin_registration.hpp>
#include <godot_cpp/classes/wrapped.hpp>
#include <godot_cpp/core/class_db.hpp>
#include <godot_cpp/core/memory.hpp>
@@ -130,6 +130,7 @@ GDExtensionInterfaceStringOperatorPlusEqCstr gdextension_interface_string_operat
GDExtensionInterfaceStringOperatorPlusEqWcstr gdextension_interface_string_operator_plus_eq_wcstr = nullptr;
GDExtensionInterfaceStringOperatorPlusEqC32str gdextension_interface_string_operator_plus_eq_c32str = nullptr;
GDExtensionInterfaceStringResize gdextension_interface_string_resize = nullptr;
+GDExtensionInterfaceStringNameNewWithLatin1Chars gdextension_interface_string_name_new_with_latin1_chars = nullptr;
GDExtensionInterfaceXmlParserOpenBuffer gdextension_interface_xml_parser_open_buffer = nullptr;
GDExtensionInterfaceFileAccessStoreBuffer gdextension_interface_file_access_store_buffer = nullptr;
GDExtensionInterfaceFileAccessGetBuffer gdextension_interface_file_access_get_buffer = nullptr;
@@ -347,6 +348,7 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge
LOAD_PROC_ADDRESS(string_operator_plus_eq_wcstr, GDExtensionInterfaceStringOperatorPlusEqWcstr);
LOAD_PROC_ADDRESS(string_operator_plus_eq_c32str, GDExtensionInterfaceStringOperatorPlusEqC32str);
LOAD_PROC_ADDRESS(string_resize, GDExtensionInterfaceStringResize);
+ LOAD_PROC_ADDRESS(string_name_new_with_latin1_chars, GDExtensionInterfaceStringNameNewWithLatin1Chars);
LOAD_PROC_ADDRESS(xml_parser_open_buffer, GDExtensionInterfaceXmlParserOpenBuffer);
LOAD_PROC_ADDRESS(file_access_store_buffer, GDExtensionInterfaceFileAccessStoreBuffer);
LOAD_PROC_ADDRESS(file_access_get_buffer, GDExtensionInterfaceFileAccessGetBuffer);
@@ -416,7 +418,7 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge
ERR_FAIL_NULL_V_MSG(init_callback, false, "Initialization callback must be defined.");
Variant::init_bindings();
- register_engine_classes();
+ godot::internal::register_engine_classes();
return true;
}
diff --git a/src/variant/char_string.cpp b/src/variant/char_string.cpp
index fc8845e..a4083bf 100644
--- a/src/variant/char_string.cpp
+++ b/src/variant/char_string.cpp
@@ -458,8 +458,9 @@ String operator+(char32_t p_char, const String &p_str) {
return String::chr(p_char) + p_str;
}
-StringName::StringName(const char *from) :
- StringName(String(from)) {}
+StringName::StringName(const char *from, bool p_static) {
+ internal::gdextension_interface_string_name_new_with_latin1_chars(&opaque, from, p_static);
+}
StringName::StringName(const wchar_t *from) :
StringName(String(from)) {}
diff --git a/test/project/example.gdextension b/test/project/example.gdextension
index 99c1746..30279e6 100644
--- a/test/project/example.gdextension
+++ b/test/project/example.gdextension
@@ -21,3 +21,5 @@ android.debug.x86_64 = "res://bin/libgdexample.android.template_debug.x86_64.so"
android.release.x86_64 = "res://bin/libgdexample.android.template_release.x86_64.so"
android.debug.arm64 = "res://bin/libgdexample.android.template_debug.arm64.so"
android.release.arm64 = "res://bin/libgdexample.android.template_release.arm64.so"
+web.debug.wasm32 = "res://bin/libgdexample.web.template_debug.wasm32.wasm"
+web.release.wasm32 = "res://bin/libgdexample.web.template_release.wasm32.wasm"
diff --git a/tools/godotcpp.py b/tools/godotcpp.py
index 969f8c4..329fffc 100644
--- a/tools/godotcpp.py
+++ b/tools/godotcpp.py
@@ -33,7 +33,7 @@ def validate_parent_dir(key, val, env):
raise UserError("'%s' is not a directory: %s" % (key, os.path.dirname(val)))
-platforms = ("linux", "macos", "windows", "android", "ios", "javascript")
+platforms = ("linux", "macos", "windows", "android", "ios", "web")
# CPU architecture options.
architecture_array = [
@@ -175,6 +175,14 @@ def options(opts, env):
)
)
+ opts.Add(
+ BoolVariable(
+ key="use_hot_reload",
+ help="Enable the extra accounting required to support hot reload.",
+ default=(env.get("target", "template_debug") != "template_release"),
+ )
+ )
+
# Add platform options
for pl in platforms:
tool = Tool(pl, toolpath=["tools"])
@@ -214,7 +222,7 @@ def generate(env):
env["arch"] = "universal"
elif env["platform"] == "android":
env["arch"] = "arm64"
- elif env["platform"] == "javascript":
+ elif env["platform"] == "web":
env["arch"] = "wasm32"
else:
host_machine = platform.machine().lower()
@@ -231,6 +239,9 @@ def generate(env):
print("Building for architecture " + env["arch"] + " on platform " + env["platform"])
+ if env["use_hot_reload"]:
+ env.Append(CPPDEFINES=["HOT_RELOAD_ENABLED"])
+
tool = Tool(env["platform"], toolpath=["tools"])
if tool is None or not tool.exists(env):
@@ -263,9 +274,8 @@ def generate(env):
env["OBJSUFFIX"] = suffix + env["OBJSUFFIX"]
# compile_commands.json
- if env.get("compiledb", False):
- env.Tool("compilation_db")
- env.Alias("compiledb", env.CompilationDatabase(normalize_path(env["compiledb_file"], env)))
+ env.Tool("compilation_db")
+ env.Alias("compiledb", env.CompilationDatabase(normalize_path(env["compiledb_file"], env)))
# Builders
env.Append(BUILDERS={"GodotCPPBindings": Builder(action=scons_generate_bindings, emitter=scons_emit_files)})
@@ -273,8 +283,8 @@ def generate(env):
def _godot_cpp(env):
- api_file = normalize_path(env.get("custom_api_file", env.File("gdextension/extension_api.json").abspath), env)
extension_dir = normalize_path(env.get("gdextension_dir", env.Dir("gdextension").abspath), env)
+ api_file = normalize_path(env.get("custom_api_file", env.File(extension_dir + "/extension_api.json").abspath), env)
bindings = env.GodotCPPBindings(
env.Dir("."),
[
@@ -304,7 +314,13 @@ def _godot_cpp(env):
if env["build_library"]:
library = env.StaticLibrary(target=env.File("bin/%s" % library_name), source=sources)
- env.Default(library)
+ default_args = [library]
+
+ # Add compiledb if the option is set
+ if env.get("compiledb", False):
+ default_args += ["compiledb"]
+
+ env.Default(*default_args)
env.AppendUnique(LIBS=[env.File("bin/%s" % library_name)])
return library
diff --git a/tools/linux.py b/tools/linux.py
index cb48ae5..823b66e 100644
--- a/tools/linux.py
+++ b/tools/linux.py
@@ -14,6 +14,9 @@ def generate(env):
if env["use_llvm"]:
clang.generate(env)
clangxx.generate(env)
+ elif env["use_hot_reload"]:
+ # Required for extensions to truly unload.
+ env.Append(CXXFLAGS=["-fno-gnu-unique"])
env.Append(CCFLAGS=["-fPIC", "-Wwrite-strings"])
env.Append(LINKFLAGS=["-Wl,-R,'$$ORIGIN'"])
diff --git a/tools/javascript.py b/tools/web.py
index 1d8009e..a4620c3 100644
--- a/tools/javascript.py
+++ b/tools/web.py
@@ -1,8 +1,9 @@
import os
+from SCons.Util import WhereIs
def exists(env):
- return "EM_CONFIG" in os.environ
+ return WhereIs("emcc") is not None
def generate(env):
@@ -10,38 +11,34 @@ def generate(env):
print("Only wasm32 supported on web. Exiting.")
env.Exit(1)
- if "EM_CONFIG" in os.environ:
- env["ENV"] = os.environ
-
+ # Emscripten toolchain
env["CC"] = "emcc"
env["CXX"] = "em++"
env["AR"] = "emar"
env["RANLIB"] = "emranlib"
- env.Append(CPPFLAGS=["-s", "SIDE_MODULE=1"])
- env.Append(LINKFLAGS=["-s", "SIDE_MODULE=1"])
- env["SHOBJSUFFIX"] = ".bc"
- env["SHLIBSUFFIX"] = ".wasm"
+
# Use TempFileMunge since some AR invocations are too long for cmd.exe.
# Use POSIX-style paths, required with TempFileMunge.
env["ARCOM_POSIX"] = env["ARCOM"].replace("$TARGET", "$TARGET.posix").replace("$SOURCES", "$SOURCES.posix")
env["ARCOM"] = "${TEMPFILE(ARCOM_POSIX)}"
- # All intermediate files are just LLVM bitcode.
- env["OBJPREFIX"] = ""
- env["OBJSUFFIX"] = ".bc"
- env["PROGPREFIX"] = ""
- # Program() output consists of multiple files, so specify suffixes manually at builder.
- env["PROGSUFFIX"] = ""
+ # All intermediate files are just object files.
+ env["OBJSUFFIX"] = ".o"
+ env["SHOBJSUFFIX"] = ".o"
+
+ # Static libraries clang-style.
env["LIBPREFIX"] = "lib"
env["LIBSUFFIX"] = ".a"
- env["LIBPREFIXES"] = ["$LIBPREFIX"]
- env["LIBSUFFIXES"] = ["$LIBSUFFIX"]
- env.Replace(SHLINKFLAGS="$LINKFLAGS")
- env.Replace(SHLINKFLAGS="$LINKFLAGS")
-
- if env["target"] == "debug":
- env.Append(CCFLAGS=["-O0", "-g"])
- elif env["target"] == "release":
- env.Append(CCFLAGS=["-O3"])
+
+ # Shared library as wasm.
+ env["SHLIBSUFFIX"] = ".wasm"
+
+ # Thread support (via SharedArrayBuffer).
+ env.Append(CCFLAGS=["-s", "USE_PTHREADS=1"])
+ env.Append(LINKFLAGS=["-s", "USE_PTHREADS=1"])
+
+ # Build as side module (shared library).
+ env.Append(CPPFLAGS=["-s", "SIDE_MODULE=1"])
+ env.Append(LINKFLAGS=["-s", "SIDE_MODULE=1"])
env.Append(CPPDEFINES=["WEB_ENABLED", "UNIX_ENABLED"])