From 1345c466508c41cec8dad8e0f51c18866fe63d30 Mon Sep 17 00:00:00 2001 From: Cedric Shock Date: Wed, 10 Apr 2024 19:49:21 -0600 Subject: [PATCH 01/31] Add SCons variant_dir support, which allows specifying a target build directory. --- SConstruct | 7 ++++++- tools/godotcpp.py | 50 ++++++++++++++++++++++++++++------------------- 2 files changed, 36 insertions(+), 21 deletions(-) diff --git a/SConstruct b/SConstruct index 8acea262..77be68a1 100644 --- a/SConstruct +++ b/SConstruct @@ -1,6 +1,11 @@ #!/usr/bin/env python import os +import sys + +# Add godot-cpp folder to sys.path, so that we can import local modules. +sys.path.append(Dir(".").srcnode().abspath) + EnsureSConsVersion(4, 0) @@ -27,7 +32,7 @@ if profile: elif os.path.isfile(profile + ".py"): customs.append(profile + ".py") opts = Variables(customs, ARGUMENTS) -cpp_tool = Tool("godotcpp", toolpath=["tools"]) +cpp_tool = Tool("godotcpp", toolpath=[Dir("tools").srcnode().abspath]) cpp_tool.options(opts, env) opts.Update(env) diff --git a/tools/godotcpp.py b/tools/godotcpp.py index 58392e3a..a86109bb 100644 --- a/tools/godotcpp.py +++ b/tools/godotcpp.py @@ -14,12 +14,6 @@ from build_profile import generate_trimmed_api -def add_sources(sources, dir, extension): - for f in os.listdir(dir): - if f.endswith("." + extension): - sources.append(dir + "/" + f) - - def get_cmdline_bool(option, default): """We use `ARGUMENTS.get()` to check if options were manually overridden on the command line, and SCons' _text2bool helper to convert them to booleans, otherwise they're handled as strings. @@ -32,7 +26,12 @@ def get_cmdline_bool(option, default): def normalize_path(val, env): - return val if os.path.isabs(val) else os.path.join(env.Dir("#").abspath, val) + """Normalize a path that was provided by the user on the command line + and is thus either an absolute path, or relative to the top level directory (#) + where the command was run. + """ + # If val is an absolute path, it will not be joined. + return os.path.join(env.Dir("#").abspath, val) def validate_file(key, val, env): @@ -52,9 +51,10 @@ def validate_parent_dir(key, val, env): def get_platform_tools_paths(env): path = env.get("custom_tools", None) + tools_path = env.Dir("tools").srcnode().abspath if path is None: - return ["tools"] - return [normalize_path(path, env), "tools"] + return [tools_path] + return [normalize_path(path, env), tools_path] def get_custom_platforms(env): @@ -250,7 +250,8 @@ def options(opts, env): help="Path to a custom directory containing GDExtension interface header and API JSON file", default=env.get("gdextension_dir", None), validator=validate_dir, - ) + ), + converter=normalize_path, ) opts.Add( PathVariable( @@ -258,7 +259,8 @@ def options(opts, env): help="Path to a custom GDExtension API JSON file (takes precedence over `gdextension_dir`)", default=env.get("custom_api_file", None), validator=validate_file, - ) + ), + converter=normalize_path, ) opts.Add( BoolVariable( @@ -561,8 +563,9 @@ def generate(env): def _godot_cpp(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) + extension_dir = env.get("gdextension_dir", default=env.Dir("gdextension").srcnode().abspath) + api_file = env.get("custom_api_file", default=os.path.join(extension_dir, "extension_api.json")) + bindings = env.GodotCPPBindings( env.Dir("."), [ @@ -577,15 +580,22 @@ def _godot_cpp(env): env.NoCache(bindings) # Sources to compile - sources = [] - add_sources(sources, "src", "cpp") - add_sources(sources, "src/classes", "cpp") - add_sources(sources, "src/core", "cpp") - add_sources(sources, "src/variant", "cpp") - sources.extend([f for f in bindings if str(f).endswith(".cpp")]) + sources = [ + *env.Glob("src/*.cpp"), + *env.Glob("src/classes/*.cpp"), + *env.Glob("src/core/*.cpp"), + *env.Glob("src/variant/*.cpp"), + *tuple(f for f in bindings if str(f).endswith(".cpp")), + ] # Includes - env.AppendUnique(CPPPATH=[env.Dir(d) for d in [extension_dir, "include", "gen/include"]]) + env.AppendUnique( + CPPPATH=[ + env.Dir(extension_dir), + env.Dir("include").srcnode(), + env.Dir("gen/include"), + ] + ) library = None library_name = "libgodot-cpp" + env["suffix"] + env["LIBSUFFIX"] From 7660dd28b3ac42178bbf578fe5fcddb181a6f65a Mon Sep 17 00:00:00 2001 From: David Snopek Date: Tue, 1 Apr 2025 14:09:46 -0500 Subject: [PATCH 02/31] Stop referring to GDExtension as experimental in the README --- README.md | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 843f7b34..ac267733 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ > from Godot's `master` branch. > > For users of stable branches, switch to the branch matching your target Godot version: +> - [`4.4`](https://github.com/godotengine/godot-cpp/tree/4.4) +> - [`4.3`](https://github.com/godotengine/godot-cpp/tree/4.3) > - [`4.2`](https://github.com/godotengine/godot-cpp/tree/4.2) > - [`4.1`](https://github.com/godotengine/godot-cpp/tree/4.1) > - [`4.0`](https://github.com/godotengine/godot-cpp/tree/4.0) @@ -49,20 +51,13 @@ Godot version.** ## Compatibility -> [!WARNING] -> -> The GDExtension API is brand new in Godot 4.0, and is still -considered in **beta** stage, despite Godot 4.0 itself being released. -> -> This applies to both the GDExtension interface header, the API JSON, and this -first-party `godot-cpp` extension. -> -> Some compatibility breakage is to be expected as GDExtension and `godot-cpp` -> get more used, documented, and critical issues get resolved. See the -> [Godot issue tracker](https://github.com/godotengine/godot/issues?q=is%3Aissue+is%3Aopen+label%3Atopic%3Agdextension) -> and the [godot-cpp issue tracker](https://github.com/godotengine/godot-cpp/issues) -> for a list of known issues, and be sure to provide feedback on issues and PRs -> which affect your use of this extension. +GDExtensions targeting an earlier version of Godot should work in later minor versions, +but not vice-versa. For example, a GDExtension targeting Godot 4.2 should work just fine +in Godot 4.3, but one targeting Godot 4.3 won't work in Godot 4.2. + +There is one exception to this: extensions targeting Godot 4.0 will _not_ work with +Godot 4.1 and later. +See [Updating your GDExtension for 4.1](https://docs.godotengine.org/en/latest/tutorials/migrating/upgrading_to_godot_4.1.html#updating-your-gdextension-for-godot-4-1). ## Contributing From ddd4f2513cad5b78b8a259f395d41a9fb5f7ae47 Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 16 Apr 2025 20:26:55 +0100 Subject: [PATCH 03/31] Fixed a crash with an Array constructor --- include/godot_cpp/variant/variant.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/godot_cpp/variant/variant.hpp b/include/godot_cpp/variant/variant.hpp index 6a0264a3..16840346 100644 --- a/include/godot_cpp/variant/variant.hpp +++ b/include/godot_cpp/variant/variant.hpp @@ -408,7 +408,8 @@ Array::ConstIterator Array::end() const { return Array::ConstIterator(ptr() + size()); } -Array::Array(std::initializer_list p_init) { +Array::Array(std::initializer_list p_init) : + Array() { ERR_FAIL_COND(resize(p_init.size()) != 0); size_t i = 0; From ca5af3c86153aaa91250d7608a9d29932b38afbf Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 20 Apr 2025 20:33:26 +0100 Subject: [PATCH 04/31] Cleaned up the MethodBind class --- include/godot_cpp/core/method_bind.hpp | 100 +++++++++++++------------ src/core/method_bind.cpp | 30 ++++---- 2 files changed, 67 insertions(+), 63 deletions(-) diff --git a/include/godot_cpp/core/method_bind.hpp b/include/godot_cpp/core/method_bind.hpp index 07d51be6..b98261e5 100644 --- a/include/godot_cpp/core/method_bind.hpp +++ b/include/godot_cpp/core/method_bind.hpp @@ -47,14 +47,14 @@ namespace godot { class MethodBind { + uint32_t hint_flags = METHOD_FLAGS_DEFAULT; StringName name; StringName instance_class; int argument_count = 0; - uint32_t hint_flags = METHOD_FLAGS_DEFAULT; bool _static = false; - bool _is_const = false; - bool _has_return = false; + bool _const = false; + bool _returns = false; bool _vararg = false; std::vector argument_names; @@ -62,20 +62,20 @@ class MethodBind { std::vector default_arguments; protected: + void _set_const(bool p_const); + void _set_static(bool p_static); + void _set_returns(bool p_returns); + void _set_vararg(bool p_vararg); virtual GDExtensionVariantType gen_argument_type(int p_arg) const = 0; virtual PropertyInfo gen_argument_type_info(int p_arg) const = 0; - void generate_argument_types(int p_count); - void set_const(bool p_const); - void set_return(bool p_return); - void set_static(bool p_static); - void set_vararg(bool p_vararg); - void set_argument_count(int p_count); + void _generate_argument_types(int p_count); + + void set_argument_count(int p_count) { argument_count = p_count; } public: - StringName get_name() const; - void set_name(const StringName &p_name); - _FORCE_INLINE_ int get_default_argument_count() const { return (int)default_arguments.size(); } _FORCE_INLINE_ const std::vector &get_default_arguments() const { return default_arguments; } + _FORCE_INLINE_ int get_default_argument_count() const { return (int)default_arguments.size(); } + _FORCE_INLINE_ Variant has_default_argument(int p_arg) const { const int num_default_args = (int)(default_arguments.size()); const int idx = p_arg - (argument_count - num_default_args); @@ -96,19 +96,6 @@ class MethodBind { return default_arguments[idx]; } } - _FORCE_INLINE_ StringName get_instance_class() const { return instance_class; } - _FORCE_INLINE_ void set_instance_class(StringName p_class) { instance_class = p_class; } - - _FORCE_INLINE_ int get_argument_count() const { return argument_count; } - _FORCE_INLINE_ bool is_const() const { return _is_const; } - _FORCE_INLINE_ bool is_static() const { return _static; } - _FORCE_INLINE_ bool is_vararg() const { return _vararg; } - _FORCE_INLINE_ bool has_return() const { return _has_return; } - _FORCE_INLINE_ uint32_t get_hint_flags() const { return hint_flags | (is_const() ? GDEXTENSION_METHOD_FLAG_CONST : 0) | (is_vararg() ? GDEXTENSION_METHOD_FLAG_VARARG : 0) | (is_static() ? GDEXTENSION_METHOD_FLAG_STATIC : 0); } - _FORCE_INLINE_ void set_hint_flags(uint32_t p_hint_flags) { hint_flags = p_hint_flags; } - void set_argument_names(const std::vector &p_names); - std::vector get_argument_names() const; - void set_default_arguments(const std::vector &p_default_arguments) { default_arguments = p_default_arguments; } _FORCE_INLINE_ GDExtensionVariantType get_argument_type(int p_argument) const { ERR_FAIL_COND_V(p_argument < -1 || p_argument > argument_count, GDEXTENSION_VARIANT_TYPE_NIL); @@ -116,7 +103,6 @@ class MethodBind { } PropertyInfo get_argument_info(int p_argument) const; - virtual GDExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const = 0; std::vector get_arguments_info_list() const { std::vector vec; @@ -127,6 +113,31 @@ class MethodBind { } return vec; } + + void set_argument_names(const std::vector &p_names); + std::vector get_argument_names() const; + + virtual GDExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const = 0; + + _FORCE_INLINE_ void set_hint_flags(uint32_t p_hint_flags) { hint_flags = p_hint_flags; } + _FORCE_INLINE_ uint32_t get_hint_flags() const { return hint_flags | (is_const() ? GDEXTENSION_METHOD_FLAG_CONST : 0) | (is_vararg() ? GDEXTENSION_METHOD_FLAG_VARARG : 0) | (is_static() ? GDEXTENSION_METHOD_FLAG_STATIC : 0); } + _FORCE_INLINE_ StringName get_instance_class() const { return instance_class; } + _FORCE_INLINE_ void set_instance_class(StringName p_class) { instance_class = p_class; } + + _FORCE_INLINE_ int get_argument_count() const { return argument_count; } + + virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionCallError &r_error) const = 0; + virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_return) const = 0; + + StringName get_name() const; + void set_name(const StringName &p_name); + _FORCE_INLINE_ bool is_const() const { return _const; } + _FORCE_INLINE_ bool is_static() const { return _static; } + _FORCE_INLINE_ bool is_vararg() const { return _vararg; } + _FORCE_INLINE_ bool has_return() const { return _returns; } + + void set_default_arguments(const std::vector &p_default_arguments) { default_arguments = p_default_arguments; } + std::vector get_arguments_metadata_list() const { std::vector vec; // First element is return value @@ -137,9 +148,6 @@ class MethodBind { return vec; } - virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionCallError &r_error) const = 0; - virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_return) const = 0; - static void bind_call(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionVariantPtr r_return, GDExtensionCallError *r_error); static void bind_ptrcall(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_return); @@ -181,8 +189,8 @@ class MethodBindVarArgBase : public MethodBind { const MethodInfo &p_method_info, bool p_return_nil_is_variant) : method(p_method) { - set_vararg(true); - set_const(true); + _set_vararg(true); + _set_const(true); set_argument_count(p_method_info.arguments.size()); if (p_method_info.arguments.size()) { arguments = p_method_info.arguments; @@ -195,8 +203,8 @@ class MethodBindVarArgBase : public MethodBind { set_argument_names(names); } - generate_argument_types((int)p_method_info.arguments.size()); - set_return(should_returns); + _generate_argument_types((int)p_method_info.arguments.size()); + _set_returns(should_returns); } ~MethodBindVarArgBase() {} @@ -333,7 +341,7 @@ class MethodBindT : public MethodBind { MethodBindT(void (MB_T::*p_method)(P...)) { method = p_method; - generate_argument_types(sizeof...(P)); + _generate_argument_types(sizeof...(P)); set_argument_count(sizeof...(P)); } }; @@ -409,9 +417,9 @@ class MethodBindTC : public MethodBind { MethodBindTC(void (MB_T::*p_method)(P...) const) { method = p_method; - generate_argument_types(sizeof...(P)); + _generate_argument_types(sizeof...(P)); set_argument_count(sizeof...(P)); - set_const(true); + _set_const(true); } }; @@ -492,9 +500,9 @@ class MethodBindTR : public MethodBind { MethodBindTR(R (MB_T::*p_method)(P...)) { method = p_method; - generate_argument_types(sizeof...(P)); + _generate_argument_types(sizeof...(P)); set_argument_count(sizeof...(P)); - set_return(true); + _set_returns(true); } }; @@ -575,10 +583,10 @@ class MethodBindTRC : public MethodBind { MethodBindTRC(R (MB_T::*p_method)(P...) const) { method = p_method; - generate_argument_types(sizeof...(P)); + _generate_argument_types(sizeof...(P)); set_argument_count(sizeof...(P)); - set_return(true); - set_const(true); + _set_returns(true); + _set_const(true); } }; @@ -647,9 +655,9 @@ class MethodBindTS : public MethodBind { MethodBindTS(void (*p_function)(P...)) { function = p_function; - generate_argument_types(sizeof...(P)); + _generate_argument_types(sizeof...(P)); set_argument_count(sizeof...(P)); - set_static(true); + _set_static(true); } }; @@ -716,10 +724,10 @@ class MethodBindTRS : public MethodBind { MethodBindTRS(R (*p_function)(P...)) { function = p_function; - generate_argument_types(sizeof...(P)); + _generate_argument_types(sizeof...(P)); set_argument_count(sizeof...(P)); - set_static(true); - set_return(true); + _set_static(true); + _set_returns(true); } }; diff --git a/src/core/method_bind.cpp b/src/core/method_bind.cpp index 0b9b5eba..734b2e69 100644 --- a/src/core/method_bind.cpp +++ b/src/core/method_bind.cpp @@ -32,32 +32,28 @@ namespace godot { -StringName MethodBind::get_name() const { - return name; +void MethodBind::_set_const(bool p_const) { + _const = p_const; } -void MethodBind::set_name(const StringName &p_name) { - name = p_name; -} - -void MethodBind::set_argument_count(int p_count) { - argument_count = p_count; +void MethodBind::_set_static(bool p_static) { + _static = p_static; } -void MethodBind::set_const(bool p_const) { - _is_const = p_const; +void MethodBind::_set_returns(bool p_returns) { + _returns = p_returns; } -void MethodBind::set_return(bool p_return) { - _has_return = p_return; +void MethodBind::_set_vararg(bool p_vararg) { + _vararg = p_vararg; } -void MethodBind::set_static(bool p_static) { - _static = p_static; +StringName MethodBind::get_name() const { + return name; } -void MethodBind::set_vararg(bool p_vararg) { - _vararg = p_vararg; +void MethodBind::set_name(const StringName &p_name) { + name = p_name; } void MethodBind::set_argument_names(const std::vector &p_names) { @@ -68,7 +64,7 @@ std::vector MethodBind::get_argument_names() const { return argument_names; } -void MethodBind::generate_argument_types(int p_count) { +void MethodBind::_generate_argument_types(int p_count) { set_argument_count(p_count); if (argument_types != nullptr) { From 7fd0999b3c042a245b72e8ffab0b4145612687f6 Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Mon, 21 Apr 2025 18:45:05 -0500 Subject: [PATCH 05/31] fix iterators making unintended copies --- src/core/class_db.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/class_db.cpp b/src/core/class_db.cpp index 854a12f4..a9bfacb1 100644 --- a/src/core/class_db.cpp +++ b/src/core/class_db.cpp @@ -392,7 +392,7 @@ void ClassDB::_editor_get_classes_used_callback(GDExtensionTypePtr p_packed_stri PackedStringArray *arr = reinterpret_cast(p_packed_string_array); arr->resize(instance_binding_callbacks.size()); int index = 0; - for (const std::pair &pair : instance_binding_callbacks) { + for (const std::pair &pair : instance_binding_callbacks) { (*arr)[index++] = pair.first; } } @@ -401,7 +401,7 @@ void ClassDB::initialize_class(const ClassInfo &p_cl) { } void ClassDB::initialize(GDExtensionInitializationLevel p_level) { - for (const std::pair pair : classes) { + for (const std::pair &pair : classes) { const ClassInfo &cl = pair.second; if (cl.level != p_level) { continue; From f38c056b674b3d9eef5d92582e880a349e2ffe7b Mon Sep 17 00:00:00 2001 From: David Snopek Date: Fri, 25 Apr 2025 14:31:10 -0500 Subject: [PATCH 06/31] Fix classes without `_to_string()` always returning `"[Wrapped:0]"` --- binding_generator.py | 10 ++++++++++ include/godot_cpp/classes/wrapped.hpp | 6 +----- test/project/main.gd | 3 +-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/binding_generator.py b/binding_generator.py index 8dabe578..807aecd5 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -1723,6 +1723,16 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us result.append(f"\t~{class_name}();") result.append("") + if class_name == "Object": + result.append('\tString _to_string() const { return "<" + get_class() + "#" + itos(get_instance_id()) + ">"; }') + result.append("") + + if class_name == "Node": + result.append( + '\tString _to_string() const { return (!get_name().is_empty() ? String(get_name()) + ":" : "") + Object::_to_string(); }' + ) + result.append("") + result.append("public:") # Special cases. diff --git a/include/godot_cpp/classes/wrapped.hpp b/include/godot_cpp/classes/wrapped.hpp index 2b4a9035..647d611b 100644 --- a/include/godot_cpp/classes/wrapped.hpp +++ b/include/godot_cpp/classes/wrapped.hpp @@ -93,7 +93,7 @@ class Wrapped { bool _property_can_revert(const StringName &p_name) const { return false; } bool _property_get_revert(const StringName &p_name, Variant &r_property) const { return false; } void _validate_property(PropertyInfo &p_property) const {} - String _to_string() const { return "[" + String(get_class_static()) + ":" + itos(get_instance_id()) + "]"; } + String _to_string() const { return ""; } static void notification_bind(GDExtensionClassInstancePtr p_instance, int32_t p_what, GDExtensionBool p_reversed) {} static GDExtensionBool set_bind(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionConstVariantPtr p_value) { return false; } @@ -121,10 +121,6 @@ class Wrapped { return string_name; } - uint64_t get_instance_id() const { - return 0; - } - // Must be public but you should not touch this. GodotObject *_owner = nullptr; }; diff --git a/test/project/main.gd b/test/project/main.gd index b69ad75a..5ade7171 100644 --- a/test/project/main.gd +++ b/test/project/main.gd @@ -18,8 +18,7 @@ func _ready(): # To string. assert_equal(example.to_string(),'[ GDExtension::Example <--> Instance ID:%s ]' % example.get_instance_id()) - # It appears there's a bug with instance ids :-( - #assert_equal($Example/ExampleMin.to_string(), 'ExampleMin:[Wrapped:%s]' % $Example/ExampleMin.get_instance_id()) + assert_equal($Example/ExampleMin.to_string(), 'ExampleMin:' % $Example/ExampleMin.get_instance_id()) # Call static methods. assert_equal(Example.test_static(9, 100), 109); From 64cdf089d98e524fba114f1757c0c41d255f0ed4 Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Sat, 26 Apr 2025 12:23:07 -0500 Subject: [PATCH 07/31] CI: Various version bumps; sync with main repo --- .clang-format | 233 ++++++++++-------- .editorconfig | 3 +- .pre-commit-config.yaml | 14 +- SConstruct | 2 +- binding_generator.py | 130 +++++----- include/godot_cpp/classes/wrapped.hpp | 20 +- include/godot_cpp/core/method_bind.hpp | 12 +- .../variant/callable_method_pointer.hpp | 9 +- include/godot_cpp/variant/char_string.hpp | 2 +- include/godot_cpp/variant/variant.hpp | 2 +- pyproject.toml | 62 ++--- test/src/example.cpp | 4 +- test/src/example.h | 2 +- 13 files changed, 268 insertions(+), 227 deletions(-) diff --git a/.clang-format b/.clang-format index 1df6c35b..87731d9e 100644 --- a/.clang-format +++ b/.clang-format @@ -1,80 +1,105 @@ # Commented out parameters are those with the same value as base LLVM style. # We can uncomment them if we want to change their value, or enforce the -# chosen value in case the base style changes (last sync: Clang 14.0). ---- -### General config, applies to all languages ### -BasedOnStyle: LLVM +# chosen value in case the base style changes (last sync: Clang 17.0.6). +BasedOnStyle: LLVM AccessModifierOffset: -4 AlignAfterOpenBracket: DontAlign # AlignArrayOfStructures: None -# AlignConsecutiveMacros: None -# AlignConsecutiveAssignments: None -# AlignConsecutiveBitFields: None -# AlignConsecutiveDeclarations: None +# AlignConsecutiveAssignments: +# Enabled: false +# AcrossEmptyLines: false +# AcrossComments: false +# AlignCompound: false +# PadOperators: true +# AlignConsecutiveBitFields: +# Enabled: false +# AcrossEmptyLines: false +# AcrossComments: false +# AlignCompound: false +# PadOperators: false +# AlignConsecutiveDeclarations: +# Enabled: false +# AcrossEmptyLines: false +# AcrossComments: false +# AlignCompound: false +# PadOperators: false +# AlignConsecutiveMacros: +# Enabled: false +# AcrossEmptyLines: false +# AcrossComments: false +# AlignCompound: false +# PadOperators: false +# AlignConsecutiveShortCaseStatements: +# Enabled: false +# AcrossEmptyLines: false +# AcrossComments: false +# AlignCaseColons: false # AlignEscapedNewlines: Right -AlignOperands: DontAlign -AlignTrailingComments: false +AlignOperands: DontAlign +AlignTrailingComments: + Kind: Never + OverEmptyLines: 0 # AllowAllArgumentsOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: false -# AllowShortEnumsOnASingleLine: true # AllowShortBlocksOnASingleLine: Never # AllowShortCaseLabelsOnASingleLine: false -# AllowShortFunctionsOnASingleLine: All -# AllowShortLambdasOnASingleLine: All +# AllowShortEnumsOnASingleLine: true +AllowShortFunctionsOnASingleLine: Inline # AllowShortIfStatementsOnASingleLine: Never +# AllowShortLambdasOnASingleLine: All # AllowShortLoopsOnASingleLine: false # AlwaysBreakAfterDefinitionReturnType: None # AlwaysBreakAfterReturnType: None # AlwaysBreakBeforeMultilineStrings: false # AlwaysBreakTemplateDeclarations: MultiLine -# AttributeMacros: -# - __capability +AttributeMacros: + - _ALWAYS_INLINE_ + - _FORCE_INLINE_ + - _NO_INLINE_ # BinPackArguments: true # BinPackParameters: true +# BitFieldColonSpacing: Both # BraceWrapping: -# AfterCaseLabel: false -# AfterClass: false +# AfterCaseLabel: false +# AfterClass: false # AfterControlStatement: Never -# AfterEnum: false -# AfterFunction: false -# AfterNamespace: false +# AfterEnum: false +# AfterFunction: false +# AfterNamespace: false # AfterObjCDeclaration: false -# AfterStruct: false -# AfterUnion: false +# AfterStruct: false +# AfterUnion: false # AfterExternBlock: false -# BeforeCatch: false -# BeforeElse: false +# BeforeCatch: false +# BeforeElse: false # BeforeLambdaBody: false -# BeforeWhile: false -# IndentBraces: false +# BeforeWhile: false +# IndentBraces: false # SplitEmptyFunction: true # SplitEmptyRecord: true # SplitEmptyNamespace: true +# BreakAfterAttributes: Never +# BreakAfterJavaFieldAnnotations: false +# BreakArrays: true # BreakBeforeBinaryOperators: None -# BreakBeforeConceptDeclarations: true # BreakBeforeBraces: Attach -# BreakBeforeInheritanceComma: false -# BreakInheritanceList: BeforeColon +# BreakBeforeConceptDeclarations: Always +# BreakBeforeInlineASMColon: OnlyMultiline # BreakBeforeTernaryOperators: true -# BreakConstructorInitializersBeforeComma: false BreakConstructorInitializers: AfterColon +# BreakInheritanceList: BeforeColon # BreakStringLiterals: true -ColumnLimit: 0 -# CommentPragmas: '^ IWYU pragma:' -# QualifierAlignment: Leave +ColumnLimit: 0 +# CommentPragmas: "^ IWYU pragma:" # CompactNamespaces: false ConstructorInitializerIndentWidth: 8 ContinuationIndentWidth: 8 Cpp11BracedListStyle: false -# DeriveLineEnding: true # DerivePointerAlignment: false -# DisableFormat: false +# DisableFormat: false # EmptyLineAfterAccessModifier: Never # EmptyLineBeforeAccessModifier: LogicalBlock # ExperimentalAutoDetectBinPacking: false -# PackConstructorInitializers: BinPack -ConstructorInitializerAllOnOneLineOrOnePerLine: true -# AllowAllConstructorInitializersOnNextLine: true # FixNamespaceComments: true # ForEachMacros: # - foreach @@ -82,34 +107,61 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: true # - BOOST_FOREACH # IfMacros: # - KJ_IF_MAYBE -# IncludeBlocks: Preserve +# IncludeBlocks: Preserve IncludeCategories: - - Regex: '".*"' - Priority: 1 - - Regex: '^<.*\.h>' - Priority: 2 - - Regex: '^<.*' - Priority: 3 -# IncludeIsMainRegex: '(Test)?$' -# IncludeIsMainSourceRegex: '' + - Regex: ^".*"$ + Priority: 1 + - Regex: ^<.*\.h>$ + Priority: 2 + - Regex: ^<.*>$ + Priority: 3 +# IncludeIsMainRegex: (Test)?$ +# IncludeIsMainSourceRegex: "" # IndentAccessModifiers: false -IndentCaseLabels: true # IndentCaseBlocks: false +IndentCaseLabels: true +# IndentExternBlock: AfterExternBlock # IndentGotoLabels: true # IndentPPDirectives: None -# IndentExternBlock: AfterExternBlock -# IndentRequires: false -IndentWidth: 4 +# IndentRequiresClause: true +IndentWidth: 4 # IndentWrappedFunctionNames: false +InsertBraces: true +# InsertNewlineAtEOF: false # InsertTrailingCommas: None +# IntegerLiteralSeparator: +# Binary: 0 +# BinaryMinDigits: 0 +# Decimal: 0 +# DecimalMinDigits: 0 +# Hex: 0 +# HexMinDigits: 0 +JavaImportGroups: + - org.godotengine + - android + - androidx + - com.android + - com.google + - java + - javax # JavaScriptQuotes: Leave # JavaScriptWrapImports: true +# KeepEmptyLinesAtEOF: false KeepEmptyLinesAtTheStartOfBlocks: false # LambdaBodyIndentation: Signature -# MacroBlockBegin: '' -# MacroBlockEnd: '' +# Language: Cpp +# LineEnding: DeriveLF +# MacroBlockBegin: "" +# MacroBlockEnd: "" # MaxEmptyLinesToKeep: 1 # NamespaceIndentation: None +# ObjCBinPackProtocolList: Auto +ObjCBlockIndentWidth: 4 +# ObjCBreakBeforeNestedBlockParam: true +# ObjCSpaceAfterProperty: false +# ObjCSpaceBeforeProtocolList: true +# PPIndentWidth: -1 +PackConstructorInitializers: NextLine # PenaltyBreakAssignment: 2 # PenaltyBreakBeforeFirstCallParameter: 19 # PenaltyBreakComment: 300 @@ -118,82 +170,71 @@ KeepEmptyLinesAtTheStartOfBlocks: false # PenaltyBreakString: 1000 # PenaltyBreakTemplateDeclaration: 10 # PenaltyExcessCharacter: 1000000 -# PenaltyReturnTypeOnItsOwnLine: 60 # PenaltyIndentedWhitespace: 0 +# PenaltyReturnTypeOnItsOwnLine: 60 # PointerAlignment: Right -# PPIndentWidth: -1 +# QualifierAlignment: Leave # ReferenceAlignment: Pointer -# ReflowComments: true +# ReflowComments: true # RemoveBracesLLVM: false +# RemoveParentheses: Leave +RemoveSemicolon: true +# RequiresClausePosition: OwnLine +# RequiresExpressionIndentation: OuterScope # SeparateDefinitionBlocks: Leave # ShortNamespaceLines: 1 -# SortIncludes: CaseSensitive +# SortIncludes: CaseSensitive # SortJavaStaticImport: Before -# SortUsingDeclarations: true +# SortUsingDeclarations: LexicographicNumeric # SpaceAfterCStyleCast: false # SpaceAfterLogicalNot: false # SpaceAfterTemplateKeyword: true +# SpaceAroundPointerQualifiers: Default # SpaceBeforeAssignmentOperators: true # SpaceBeforeCaseColon: false # SpaceBeforeCpp11BracedList: false # SpaceBeforeCtorInitializerColon: true # SpaceBeforeInheritanceColon: true +# SpaceBeforeJsonColon: false # SpaceBeforeParens: ControlStatements # SpaceBeforeParensOptions: # AfterControlStatements: true # AfterForeachMacros: true -# AfterFunctionDefinitionName: false # AfterFunctionDeclarationName: false -# AfterIfMacros: true +# AfterFunctionDefinitionName: false +# AfterIfMacros: true # AfterOverloadedOperator: false +# AfterRequiresInClause: false +# AfterRequiresInExpression: false # BeforeNonEmptyParentheses: false -# SpaceAroundPointerQualifiers: Default # SpaceBeforeRangeBasedForLoopColon: true +# SpaceBeforeSquareBrackets: false # SpaceInEmptyBlock: false -# SpaceInEmptyParentheses: false # SpacesBeforeTrailingComments: 1 -# SpacesInAngles: Never -# SpacesInConditionalStatement: false +# SpacesInAngles: Never # SpacesInContainerLiterals: true -# SpacesInCStyleCastParentheses: false -## Godot TODO: We'll want to use a min of 1, but we need to see how to fix -## our comment capitalization at the same time. SpacesInLineCommentPrefix: - Minimum: 0 - Maximum: -1 -# SpacesInParentheses: false + Minimum: 0 # We want a minimum of 1 for comments, but allow 0 for disabled code. + Maximum: -1 +# SpacesInParens: Never +# SpacesInParensOptions: +# InConditionalStatements: false +# InCStyleCasts: false +# InEmptyParentheses: false +# Other: false # SpacesInSquareBrackets: false -# SpaceBeforeSquareBrackets: false -# BitFieldColonSpacing: Both +Standard: c++20 # StatementAttributeLikeMacros: # - Q_EMIT # StatementMacros: # - Q_UNUSED # - QT_REQUIRE_VERSION -TabWidth: 4 -# UseCRLF: false -UseTab: Always +TabWidth: 4 +UseTab: Always +# VerilogBreakBetweenInstancePorts: true # WhitespaceSensitiveMacros: -# - STRINGIZE -# - PP_STRINGIZE # - BOOST_PP_STRINGIZE -# - NS_SWIFT_NAME # - CF_SWIFT_NAME ---- -### C++ specific config ### -Language: Cpp -Standard: c++17 ---- -### ObjC specific config ### -Language: ObjC -# ObjCBinPackProtocolList: Auto -ObjCBlockIndentWidth: 4 -# ObjCBreakBeforeNestedBlockParam: true -# ObjCSpaceAfterProperty: false -# ObjCSpaceBeforeProtocolList: true ---- -### Java specific config ### -Language: Java -# BreakAfterJavaFieldAnnotations: false -JavaImportGroups: ['org.godotengine', 'android', 'androidx', 'com.android', 'com.google', 'java', 'javax'] -... +# - NS_SWIFT_NAME +# - PP_STRINGIZE +# - STRINGIZE diff --git a/.editorconfig b/.editorconfig index f14ac7f1..0da03e8a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,11 +6,12 @@ end_of_line = lf indent_size = 4 indent_style = tab insert_final_newline = true +max_line_length = 120 trim_trailing_whitespace = true [{*.py,SConstruct}] indent_style = space -[*.{yml,yaml}] +[{*.{yml,yaml},.clang-format}] indent_size = 2 indent_style = space diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7354ba41..e370058f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,32 +9,36 @@ exclude: | repos: - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v17.0.6 + rev: v20.1.0 hooks: - id: clang-format - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.4 + rev: v0.11.4 hooks: - id: ruff args: [--fix] + files: (\.py|SConstruct)$ + types_or: [text] - id: ruff-format + files: (\.py|SConstruct)$ + types_or: [text] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 + rev: v1.14.1 # Latest version that supports Python 3.8 hooks: - id: mypy files: \.py$ types_or: [text] - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell additional_dependencies: [tomli] - repo: https://github.com/BlankSpruce/gersemi - rev: 0.18.2 + rev: 0.19.2 hooks: - id: gersemi args: ["-i", "--no-warn-about-unknown-commands", "-l", "120"] diff --git a/SConstruct b/SConstruct index 8acea262..64d335b5 100644 --- a/SConstruct +++ b/SConstruct @@ -3,7 +3,7 @@ import os EnsureSConsVersion(4, 0) - +EnsurePythonVersion(3, 8) try: Import("env") diff --git a/binding_generator.py b/binding_generator.py index 8dabe578..134789ea 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -356,7 +356,7 @@ def generate_builtin_bindings(api, output_dir, build_config): add_header("variant_size.hpp", variant_size_source) variant_size_source.append("#pragma once") - variant_size_source.append(f'#define GODOT_CPP_VARIANT_SIZE {builtin_sizes["Variant"]}') + variant_size_source.append(f"#define GODOT_CPP_VARIANT_SIZE {builtin_sizes['Variant']}") variant_size_file.write("\n".join(variant_size_source)) @@ -601,19 +601,19 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl if "constructors" in builtin_api: for constructor in builtin_api["constructors"]: - result.append(f'\t\tGDExtensionPtrConstructor constructor_{constructor["index"]};') + result.append(f"\t\tGDExtensionPtrConstructor constructor_{constructor['index']};") if builtin_api["has_destructor"]: result.append("\t\tGDExtensionPtrDestructor destructor;") if "methods" in builtin_api: for method in builtin_api["methods"]: - result.append(f'\t\tGDExtensionPtrBuiltInMethod method_{method["name"]};') + result.append(f"\t\tGDExtensionPtrBuiltInMethod method_{method['name']};") if "members" in builtin_api: for member in builtin_api["members"]: - result.append(f'\t\tGDExtensionPtrSetter member_{member["name"]}_setter;') - result.append(f'\t\tGDExtensionPtrGetter member_{member["name"]}_getter;') + result.append(f"\t\tGDExtensionPtrSetter member_{member['name']}_setter;") + result.append(f"\t\tGDExtensionPtrGetter member_{member['name']}_getter;") if "indexing_return_type" in builtin_api: result.append("\t\tGDExtensionPtrIndexedSetter indexed_setter;") @@ -628,10 +628,10 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl for operator in builtin_api["operators"]: if "right_type" in operator: result.append( - f'\t\tGDExtensionPtrOperatorEvaluator operator_{get_operator_id_name(operator["name"])}_{operator["right_type"]};' + f"\t\tGDExtensionPtrOperatorEvaluator operator_{get_operator_id_name(operator['name'])}_{operator['right_type']};" ) else: - result.append(f'\t\tGDExtensionPtrOperatorEvaluator operator_{get_operator_id_name(operator["name"])};') + result.append(f"\t\tGDExtensionPtrOperatorEvaluator operator_{get_operator_id_name(operator['name'])};") result.append("\t} _method_bindings;") @@ -693,12 +693,12 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl if class_name == "Vector3" and constant["name"].startswith("AXIS"): if axis_constants_count == 0: result.append("\tenum Axis {") - result.append(f'\t\t{constant["name"]} = {constant["value"]},') + result.append(f"\t\t{constant['name']} = {constant['value']},") axis_constants_count += 1 if axis_constants_count == 3: result.append("\t};") else: - result.append(f'\tstatic const {correct_type(constant["type"])} {constant["name"]};') + result.append(f"\tstatic const {correct_type(constant['type'])} {constant['name']};") if builtin_api["has_destructor"]: result.append(f"\t~{class_name}();") @@ -718,13 +718,13 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl method_signature += "static " if "return_type" in method: - method_signature += f'{correct_type(method["return_type"])}' + method_signature += f"{correct_type(method['return_type'])}" if not method_signature.endswith("*"): method_signature += " " else: method_signature += "void " - method_signature += f'{method["name"]}(' + method_signature += f"{method['name']}(" method_arguments = [] if "arguments" in method: @@ -759,21 +759,21 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl if "members" in builtin_api: for member in builtin_api["members"]: - if f'get_{member["name"]}' not in method_list: - result.append(f'\t{correct_type(member["type"])} get_{member["name"]}() const;') - if f'set_{member["name"]}' not in method_list: - result.append(f'\tvoid set_{member["name"]}({type_for_parameter(member["type"])}value);') + if f"get_{member['name']}" not in method_list: + result.append(f"\t{correct_type(member['type'])} get_{member['name']}() const;") + if f"set_{member['name']}" not in method_list: + result.append(f"\tvoid set_{member['name']}({type_for_parameter(member['type'])}value);") if "operators" in builtin_api: for operator in builtin_api["operators"]: if is_valid_cpp_operator(operator["name"]): if "right_type" in operator: result.append( - f'\t{correct_type(operator["return_type"])} operator{get_operator_cpp_name(operator["name"])}({type_for_parameter(operator["right_type"])}p_other) const;' + f"\t{correct_type(operator['return_type'])} operator{get_operator_cpp_name(operator['name'])}({type_for_parameter(operator['right_type'])}p_other) const;" ) else: result.append( - f'\t{correct_type(operator["return_type"])} operator{get_operator_cpp_name(operator["name"])}() const;' + f"\t{correct_type(operator['return_type'])} operator{get_operator_cpp_name(operator['name'])}() const;" ) # Copy assignment. @@ -1041,7 +1041,7 @@ def generate_builtin_class_source(builtin_api, size, used_classes, fully_used_cl if "constructors" in builtin_api: for constructor in builtin_api["constructors"]: result.append( - f'\t_method_bindings.constructor_{constructor["index"]} = internal::gdextension_interface_variant_get_ptr_constructor({enum_type_name}, {constructor["index"]});' + f"\t_method_bindings.constructor_{constructor['index']} = internal::gdextension_interface_variant_get_ptr_constructor({enum_type_name}, {constructor['index']});" ) if builtin_api["has_destructor"]: @@ -1065,17 +1065,17 @@ def generate_builtin_class_source(builtin_api, size, used_classes, fully_used_cl # TODO: Add error check for hash mismatch. result.append(f'\t_gde_name = StringName("{method["name"]}");') result.append( - f'\t_method_bindings.method_{method["name"]} = internal::gdextension_interface_variant_get_ptr_builtin_method({enum_type_name}, _gde_name._native_ptr(), {method["hash"]});' + f"\t_method_bindings.method_{method['name']} = internal::gdextension_interface_variant_get_ptr_builtin_method({enum_type_name}, _gde_name._native_ptr(), {method['hash']});" ) if "members" in builtin_api: for member in builtin_api["members"]: result.append(f'\t_gde_name = StringName("{member["name"]}");') result.append( - f'\t_method_bindings.member_{member["name"]}_setter = internal::gdextension_interface_variant_get_ptr_setter({enum_type_name}, _gde_name._native_ptr());' + f"\t_method_bindings.member_{member['name']}_setter = internal::gdextension_interface_variant_get_ptr_setter({enum_type_name}, _gde_name._native_ptr());" ) result.append( - f'\t_method_bindings.member_{member["name"]}_getter = internal::gdextension_interface_variant_get_ptr_getter({enum_type_name}, _gde_name._native_ptr());' + f"\t_method_bindings.member_{member['name']}_getter = internal::gdextension_interface_variant_get_ptr_getter({enum_type_name}, _gde_name._native_ptr());" ) if "indexing_return_type" in builtin_api: @@ -1107,11 +1107,11 @@ def generate_builtin_class_source(builtin_api, size, used_classes, fully_used_cl f"GDEXTENSION_VARIANT_TYPE_{camel_to_snake(operator['right_type']).upper()}" ) result.append( - f'\t_method_bindings.operator_{get_operator_id_name(operator["name"])}_{operator["right_type"]} = internal::gdextension_interface_variant_get_ptr_operator_evaluator(GDEXTENSION_VARIANT_OP_{get_operator_id_name(operator["name"]).upper()}, {enum_type_name}, {right_type_variant_type});' + f"\t_method_bindings.operator_{get_operator_id_name(operator['name'])}_{operator['right_type']} = internal::gdextension_interface_variant_get_ptr_operator_evaluator(GDEXTENSION_VARIANT_OP_{get_operator_id_name(operator['name']).upper()}, {enum_type_name}, {right_type_variant_type});" ) else: result.append( - f'\t_method_bindings.operator_{get_operator_id_name(operator["name"])} = internal::gdextension_interface_variant_get_ptr_operator_evaluator(GDEXTENSION_VARIANT_OP_{get_operator_id_name(operator["name"]).upper()}, {enum_type_name}, GDEXTENSION_VARIANT_TYPE_NIL);' + f"\t_method_bindings.operator_{get_operator_id_name(operator['name'])} = internal::gdextension_interface_variant_get_ptr_operator_evaluator(GDEXTENSION_VARIANT_OP_{get_operator_id_name(operator['name']).upper()}, {enum_type_name}, GDEXTENSION_VARIANT_TYPE_NIL);" ) result.append("}") @@ -1136,7 +1136,7 @@ def generate_builtin_class_source(builtin_api, size, used_classes, fully_used_cl result.append(method_signature) method_call = ( - f'\tinternal::_call_builtin_constructor(_method_bindings.constructor_{constructor["index"]}, &opaque' + f"\tinternal::_call_builtin_constructor(_method_bindings.constructor_{constructor['index']}, &opaque" ) if "arguments" in constructor: if len(constructor["arguments"]) == 1 and constructor["arguments"][0]["type"] == class_name: @@ -1204,7 +1204,7 @@ def generate_builtin_class_source(builtin_api, size, used_classes, fully_used_cl method_call += f"return internal::_call_builtin_method_ptr_ret_obj<{return_type}>(" else: method_call += "internal::_call_builtin_method_ptr_no_ret(" - method_call += f'_method_bindings.method_{method["name"]}, ' + method_call += f"_method_bindings.method_{method['name']}, " if "is_static" in method and method["is_static"]: method_call += "nullptr" else: @@ -1233,19 +1233,19 @@ def generate_builtin_class_source(builtin_api, size, used_classes, fully_used_cl if "members" in builtin_api: for member in builtin_api["members"]: - if f'get_{member["name"]}' not in method_list: - result.append(f'{correct_type(member["type"])} {class_name}::get_{member["name"]}() const {{') + if f"get_{member['name']}" not in method_list: + result.append(f"{correct_type(member['type'])} {class_name}::get_{member['name']}() const {{") result.append( - f'\treturn internal::_call_builtin_ptr_getter<{correct_type(member["type"])}>(_method_bindings.member_{member["name"]}_getter, (GDExtensionConstTypePtr)&opaque);' + f"\treturn internal::_call_builtin_ptr_getter<{correct_type(member['type'])}>(_method_bindings.member_{member['name']}_getter, (GDExtensionConstTypePtr)&opaque);" ) result.append("}") - if f'set_{member["name"]}' not in method_list: - result.append(f'void {class_name}::set_{member["name"]}({type_for_parameter(member["type"])}value) {{') + if f"set_{member['name']}" not in method_list: + result.append(f"void {class_name}::set_{member['name']}({type_for_parameter(member['type'])}value) {{") (encode, arg_name) = get_encoded_arg("value", member["type"], None) result += encode result.append( - f'\t_method_bindings.member_{member["name"]}_setter((GDExtensionConstTypePtr)&opaque, (GDExtensionConstTypePtr){arg_name});' + f"\t_method_bindings.member_{member['name']}_setter((GDExtensionConstTypePtr)&opaque, (GDExtensionConstTypePtr){arg_name});" ) result.append("}") @@ -1256,20 +1256,20 @@ def generate_builtin_class_source(builtin_api, size, used_classes, fully_used_cl if is_valid_cpp_operator(operator["name"]): if "right_type" in operator: result.append( - f'{correct_type(operator["return_type"])} {class_name}::operator{get_operator_cpp_name(operator["name"])}({type_for_parameter(operator["right_type"])}p_other) const {{' + f"{correct_type(operator['return_type'])} {class_name}::operator{get_operator_cpp_name(operator['name'])}({type_for_parameter(operator['right_type'])}p_other) const {{" ) (encode, arg_name) = get_encoded_arg("other", operator["right_type"], None) result += encode result.append( - f'\treturn internal::_call_builtin_operator_ptr<{get_gdextension_type(correct_type(operator["return_type"]))}>(_method_bindings.operator_{get_operator_id_name(operator["name"])}_{operator["right_type"]}, (GDExtensionConstTypePtr)&opaque, (GDExtensionConstTypePtr){arg_name});' + f"\treturn internal::_call_builtin_operator_ptr<{get_gdextension_type(correct_type(operator['return_type']))}>(_method_bindings.operator_{get_operator_id_name(operator['name'])}_{operator['right_type']}, (GDExtensionConstTypePtr)&opaque, (GDExtensionConstTypePtr){arg_name});" ) result.append("}") else: result.append( - f'{correct_type(operator["return_type"])} {class_name}::operator{get_operator_cpp_name(operator["name"])}() const {{' + f"{correct_type(operator['return_type'])} {class_name}::operator{get_operator_cpp_name(operator['name'])}() const {{" ) result.append( - f'\treturn internal::_call_builtin_operator_ptr<{get_gdextension_type(correct_type(operator["return_type"]))}>(_method_bindings.operator_{get_operator_id_name(operator["name"])}, (GDExtensionConstTypePtr)&opaque, (GDExtensionConstTypePtr) nullptr);' + f"\treturn internal::_call_builtin_operator_ptr<{get_gdextension_type(correct_type(operator['return_type']))}>(_method_bindings.operator_{get_operator_id_name(operator['name'])}, (GDExtensionConstTypePtr)&opaque, (GDExtensionConstTypePtr) nullptr);" ) result.append("}") result.append("") @@ -1638,12 +1638,12 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us if "enums" in class_api: for enum_api in class_api["enums"]: if enum_api["is_bitfield"]: - result.append(f'\tenum {enum_api["name"]} : uint64_t {{') + result.append(f"\tenum {enum_api['name']} : uint64_t {{") else: - result.append(f'\tenum {enum_api["name"]} {{') + result.append(f"\tenum {enum_api['name']} {{") for value in enum_api["values"]: - result.append(f'\t\t{value["name"]} = {value["value"]},') + result.append(f"\t\t{value['name']} = {value['value']},") result.append("\t};") result.append("") @@ -1651,7 +1651,7 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us for value in class_api["constants"]: if "type" not in value: value["type"] = "int" - result.append(f'\tstatic const {value["type"]} {value["name"]} = {value["value"]};') + result.append(f"\tstatic const {value['type']} {value['name']} = {value['value']};") result.append("") if is_singleton: @@ -1774,9 +1774,9 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us if "enums" in class_api and class_name != "Object": for enum_api in class_api["enums"]: if enum_api["is_bitfield"]: - result.append(f'VARIANT_BITFIELD_CAST({class_name}::{enum_api["name"]});') + result.append(f"VARIANT_BITFIELD_CAST({class_name}::{enum_api['name']});") else: - result.append(f'VARIANT_ENUM_CAST({class_name}::{enum_api["name"]});') + result.append(f"VARIANT_ENUM_CAST({class_name}::{enum_api['name']});") result.append("") if class_name == "ClassDBSingleton": @@ -1785,12 +1785,12 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us if "enums" in class_api: for enum_api in class_api["enums"]: if enum_api["is_bitfield"]: - result.append(f'\tenum {enum_api["name"]} : uint64_t {{ \\') + result.append(f"\tenum {enum_api['name']} : uint64_t {{ \\") else: - result.append(f'\tenum {enum_api["name"]} {{ \\') + result.append(f"\tenum {enum_api['name']} {{ \\") for value in enum_api["values"]: - result.append(f'\t\t{value["name"]} = {value["value"]}, \\') + result.append(f"\t\t{value['name']} = {value['value']}, \\") result.append("\t}; \\") result.append("\t \\") @@ -1821,7 +1821,7 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us else: method_signature += "void " - method_signature += f'{method["name"]}(' + method_signature += f"{method['name']}(" method_arguments = [] if "arguments" in method: @@ -1840,7 +1840,7 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us method_body += "return " if "alias_for" in class_api and return_type.startswith(class_api["alias_for"] + "::"): method_body += f"({return_type})" - method_body += f'ClassDBSingleton::get_singleton()->{method["name"]}(' + method_body += f"ClassDBSingleton::get_singleton()->{method['name']}(" method_body += ", ".join(map(lambda x: escape_argument(x["name"]), method_arguments)) if vararg: method_body += ", p_args..." @@ -1856,9 +1856,9 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us if "enums" in class_api: for enum_api in class_api["enums"]: if enum_api["is_bitfield"]: - result.append(f'\tVARIANT_BITFIELD_CAST({class_api["alias_for"]}::{enum_api["name"]}); \\') + result.append(f"\tVARIANT_BITFIELD_CAST({class_api['alias_for']}::{enum_api['name']}); \\") else: - result.append(f'\tVARIANT_ENUM_CAST({class_api["alias_for"]}::{enum_api["name"]}); \\') + result.append(f"\tVARIANT_ENUM_CAST({class_api['alias_for']}::{enum_api['name']}); \\") result.append("\t") result.append("") @@ -1955,7 +1955,7 @@ def generate_engine_class_source(class_api, used_classes, fully_used_classes, us if has_return: result.append( - f'\tCHECK_METHOD_BIND_RET(_gde_method_bind, ({get_default_value_for_type(method["return_value"]["type"])}));' + f"\tCHECK_METHOD_BIND_RET(_gde_method_bind, ({get_default_value_for_type(method['return_value']['type'])}));" ) else: result.append("\tCHECK_METHOD_BIND(_gde_method_bind);") @@ -2037,7 +2037,7 @@ def generate_engine_class_source(class_api, used_classes, fully_used_classes, us method_signature += " {" if "return_value" in method and correct_type(method["return_value"]["type"]) != "void": result.append(method_signature) - result.append(f'\treturn {get_default_value_for_type(method["return_value"]["type"])};') + result.append(f"\treturn {get_default_value_for_type(method['return_value']['type'])};") result.append("}") else: method_signature += "}" @@ -2073,7 +2073,7 @@ def generate_global_constants(api, output_dir): if len(api["global_constants"]) > 0: for constant in api["global_constants"]: - header.append(f'const int64_t {escape_identifier(constant["name"])} = {constant["value"]};') + header.append(f"const int64_t {escape_identifier(constant['name'])} = {constant['value']};") header.append("") @@ -2082,12 +2082,12 @@ def generate_global_constants(api, output_dir): continue if enum_def["is_bitfield"]: - header.append(f'enum {enum_def["name"]} : uint64_t {{') + header.append(f"enum {enum_def['name']} : uint64_t {{") else: - header.append(f'enum {enum_def["name"]} {{') + header.append(f"enum {enum_def['name']} {{") for value in enum_def["values"]: - header.append(f'\t{value["name"]} = {value["value"]},') + header.append(f"\t{value['name']} = {value['value']},") header.append("};") header.append("") @@ -2115,8 +2115,8 @@ def generate_version_header(api, output_dir): header.append(f"#define GODOT_VERSION_MAJOR {api['header']['version_major']}") header.append(f"#define GODOT_VERSION_MINOR {api['header']['version_minor']}") header.append(f"#define GODOT_VERSION_PATCH {api['header']['version_patch']}") - header.append(f"#define GODOT_VERSION_STATUS \"{api['header']['version_status']}\"") - header.append(f"#define GODOT_VERSION_BUILD \"{api['header']['version_build']}\"") + header.append(f'#define GODOT_VERSION_STATUS "{api["header"]["version_status"]}"') + header.append(f'#define GODOT_VERSION_BUILD "{api["header"]["version_build"]}"') header.append("") @@ -2148,9 +2148,9 @@ def generate_global_constant_binds(api, output_dir): continue if enum_def["is_bitfield"]: - header.append(f'VARIANT_BITFIELD_CAST({enum_def["name"]});') + header.append(f"VARIANT_BITFIELD_CAST({enum_def['name']});") else: - header.append(f'VARIANT_ENUM_CAST({enum_def["name"]});') + header.append(f"VARIANT_ENUM_CAST({enum_def['name']});") # Variant::Type is not a global enum, but only one line, it is worth to place in this file instead of creating new file. header.append("VARIANT_ENUM_CAST(godot::Variant::Type);") @@ -2249,7 +2249,7 @@ def generate_utility_functions(api, output_dir): has_return = "return_type" in function and function["return_type"] != "void" if has_return: source.append( - f'\tCHECK_METHOD_BIND_RET(_gde_function, ({get_default_value_for_type(function["return_type"])}));' + f"\tCHECK_METHOD_BIND_RET(_gde_function, ({get_default_value_for_type(function['return_type'])}));" ) else: source.append("\tCHECK_METHOD_BIND(_gde_function);") @@ -2261,7 +2261,7 @@ def generate_utility_functions(api, output_dir): if function["return_type"] == "Object": function_call += "internal::_call_utility_ret_obj(_gde_function" else: - function_call += f'internal::_call_utility_ret<{get_gdextension_type(correct_type(function["return_type"]))}>(_gde_function' + function_call += f"internal::_call_utility_ret<{get_gdextension_type(correct_type(function['return_type']))}>(_gde_function" else: function_call += "internal::_call_utility_no_ret(_gde_function" @@ -2279,7 +2279,7 @@ def generate_utility_functions(api, output_dir): function_call += ", ".join(arguments) else: if has_return: - source.append(f'\t{get_gdextension_type(correct_type(function["return_type"]))} ret;') + source.append(f"\t{get_gdextension_type(correct_type(function['return_type']))} ret;") else: source.append("\tVariant ret;") function_call += "_gde_function(&ret, reinterpret_cast(p_args), p_arg_count" @@ -2473,7 +2473,7 @@ def make_varargs_template( if len(class_befor_signature) > 0: function_signature += class_befor_signature + "::" - function_signature += f'{escape_identifier(function_data["name"])}' + function_signature += f"{escape_identifier(function_data['name'])}" method_arguments = [] if "arguments" in function_data: @@ -2498,7 +2498,7 @@ def make_varargs_template( if argument["type"] == "Variant": args_array += escape_argument(argument["name"]) else: - args_array += f'Variant({escape_argument(argument["name"])})' + args_array += f"Variant({escape_argument(argument['name'])})" args_array += ", " args_array += "Variant(p_args)... }};" @@ -2514,7 +2514,7 @@ def make_varargs_template( if return_type != "void": call_line += "return " - call_line += f'{escape_identifier(function_data["name"])}_internal(call_args.data(), variant_args.size());' + call_line += f"{escape_identifier(function_data['name'])}_internal(call_args.data(), variant_args.size());" result.append(call_line) else: base = "(GDExtensionTypePtr)&opaque" @@ -2524,7 +2524,7 @@ def make_varargs_template( ret = "nullptr" if return_type != "void": ret = "&ret" - result.append(f'\t{correct_type(function_data["return_type"])} ret;') + result.append(f"\t{correct_type(function_data['return_type'])} ret;") function_name = function_data["name"] result.append( diff --git a/include/godot_cpp/classes/wrapped.hpp b/include/godot_cpp/classes/wrapped.hpp index 2b4a9035..15d0a492 100644 --- a/include/godot_cpp/classes/wrapped.hpp +++ b/include/godot_cpp/classes/wrapped.hpp @@ -192,7 +192,9 @@ private: friend class ::godot::Wrapped; \ \ protected: \ - virtual bool _is_extension_class() const override { return true; } \ + virtual bool _is_extension_class() const override { \ + return true; \ + } \ \ static const ::godot::StringName *_get_extension_class_name() { \ const ::godot::StringName &string_name = get_class_static(); \ @@ -204,35 +206,35 @@ protected: } \ \ static void (::godot::Wrapped::*_get_notification())(int) { \ - return (void(::godot::Wrapped::*)(int)) & m_class::_notification; \ + return (void (::godot::Wrapped::*)(int)) & m_class::_notification; \ } \ \ static bool (::godot::Wrapped::*_get_set())(const ::godot::StringName &p_name, const ::godot::Variant &p_property) { \ - return (bool(::godot::Wrapped::*)(const ::godot::StringName &p_name, const ::godot::Variant &p_property)) & m_class::_set; \ + return (bool (::godot::Wrapped::*)(const ::godot::StringName &p_name, const ::godot::Variant &p_property)) & m_class::_set; \ } \ \ static bool (::godot::Wrapped::*_get_get())(const ::godot::StringName &p_name, ::godot::Variant &r_ret) const { \ - return (bool(::godot::Wrapped::*)(const ::godot::StringName &p_name, ::godot::Variant &r_ret) const) & m_class::_get; \ + return (bool (::godot::Wrapped::*)(const ::godot::StringName &p_name, ::godot::Variant &r_ret) const) & m_class::_get; \ } \ \ static void (::godot::Wrapped::*_get_get_property_list())(::godot::List<::godot::PropertyInfo> * p_list) const { \ - return (void(::godot::Wrapped::*)(::godot::List<::godot::PropertyInfo> * p_list) const) & m_class::_get_property_list; \ + return (void (::godot::Wrapped::*)(::godot::List<::godot::PropertyInfo> * p_list) const) & m_class::_get_property_list; \ } \ \ static bool (::godot::Wrapped::*_get_property_can_revert())(const ::godot::StringName &p_name) const { \ - return (bool(::godot::Wrapped::*)(const ::godot::StringName &p_name) const) & m_class::_property_can_revert; \ + return (bool (::godot::Wrapped::*)(const ::godot::StringName &p_name) const) & m_class::_property_can_revert; \ } \ \ static bool (::godot::Wrapped::*_get_property_get_revert())(const ::godot::StringName &p_name, ::godot::Variant &) const { \ - return (bool(::godot::Wrapped::*)(const ::godot::StringName &p_name, ::godot::Variant &) const) & m_class::_property_get_revert; \ + return (bool (::godot::Wrapped::*)(const ::godot::StringName &p_name, ::godot::Variant &) const) & m_class::_property_get_revert; \ } \ \ static void (::godot::Wrapped::*_get_validate_property())(::godot::PropertyInfo & p_property) const { \ - return (void(::godot::Wrapped::*)(::godot::PropertyInfo & p_property) const) & m_class::_validate_property; \ + return (void (::godot::Wrapped::*)(::godot::PropertyInfo & p_property) const) & m_class::_validate_property; \ } \ \ static ::godot::String (::godot::Wrapped::*_get_to_string())() const { \ - return (::godot::String(::godot::Wrapped::*)() const) & m_class::_to_string; \ + return (::godot::String (::godot::Wrapped::*)() const) & m_class::_to_string; \ } \ \ template \ diff --git a/include/godot_cpp/core/method_bind.hpp b/include/godot_cpp/core/method_bind.hpp index 07d51be6..ef5ab018 100644 --- a/include/godot_cpp/core/method_bind.hpp +++ b/include/godot_cpp/core/method_bind.hpp @@ -149,8 +149,7 @@ class MethodBind { template class MethodBindVarArgBase : public MethodBind { protected: - R(T::*method) - (const Variant **, GDExtensionInt, GDExtensionCallError &); + R (T::*method)(const Variant **, GDExtensionInt, GDExtensionCallError &); std::vector arguments; public: @@ -434,8 +433,7 @@ template template #endif // TYPED_METHOD_BIND class MethodBindTR : public MethodBind { - R(MB_T::*method) - (P...); + R (MB_T::*method)(P...); protected: // GCC raises warnings in the case P = {} as the comparison is always false... @@ -517,8 +515,7 @@ template template #endif // TYPED_METHOD_BIND class MethodBindTRC : public MethodBind { - R(MB_T::*method) - (P...) const; + R (MB_T::*method)(P...) const; protected: // GCC raises warnings in the case P = {} as the comparison is always false... @@ -663,8 +660,7 @@ MethodBind *create_static_method_bind(void (*p_method)(P...)) { template class MethodBindTRS : public MethodBind { - R(*function) - (P...); + R (*function)(P...); protected: // GCC raises warnings in the case P = {} as the comparison is always false... diff --git a/include/godot_cpp/variant/callable_method_pointer.hpp b/include/godot_cpp/variant/callable_method_pointer.hpp index e9aea09b..876d1d80 100644 --- a/include/godot_cpp/variant/callable_method_pointer.hpp +++ b/include/godot_cpp/variant/callable_method_pointer.hpp @@ -104,8 +104,7 @@ template class CallableCustomMethodPointerRet : public CallableCustomMethodPointerBase { struct Data { T *instance; - R(T::*method) - (P...); + R (T::*method)(P...); } data; static_assert(sizeof(Data) % 4 == 0); @@ -146,8 +145,7 @@ template class CallableCustomMethodPointerRetC : public CallableCustomMethodPointerBase { struct Data { T *instance; - R(T::*method) - (P...) const; + R (T::*method)(P...) const; } data; static_assert(sizeof(Data) % 4 == 0); @@ -227,8 +225,7 @@ Callable create_custom_callable_static_function_pointer(void (*p_method)(P...)) template class CallableCustomStaticMethodPointerRet : public CallableCustomMethodPointerBase { struct Data { - R(*method) - (P...); + R (*method)(P...); } data; static_assert(sizeof(Data) % 4 == 0); diff --git a/include/godot_cpp/variant/char_string.hpp b/include/godot_cpp/variant/char_string.hpp index b7b795b5..908dc343 100644 --- a/include/godot_cpp/variant/char_string.hpp +++ b/include/godot_cpp/variant/char_string.hpp @@ -113,7 +113,7 @@ class CharStringT { CharStringT &operator+=(T p_char); int64_t length() const { return size() ? size() - 1 : 0; } const T *get_data() const; - operator const T *() const { return get_data(); }; + operator const T *() const { return get_data(); } protected: void copy_from(const T *p_cstr); diff --git a/include/godot_cpp/variant/variant.hpp b/include/godot_cpp/variant/variant.hpp index 6a0264a3..b1bb7b63 100644 --- a/include/godot_cpp/variant/variant.hpp +++ b/include/godot_cpp/variant/variant.hpp @@ -145,7 +145,7 @@ class Variant { static GDExtensionTypeFromVariantConstructorFunc to_type_constructor[VARIANT_MAX]; public: - _FORCE_INLINE_ GDExtensionVariantPtr _native_ptr() const { return const_cast(&opaque); } + _FORCE_INLINE_ GDExtensionVariantPtr _native_ptr() const { return const_cast(&opaque); } Variant(); Variant(std::nullptr_t n) : Variant() {} diff --git a/pyproject.toml b/pyproject.toml index 0e9c4b44..0a51b3b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,16 +5,16 @@ ignore_missing_imports = true namespace_packages = true no_implicit_optional = true pretty = true -scripts_are_modules = true show_column_numbers = true warn_redundant_casts = true warn_return_any = true warn_unreachable = true +python_version = "3.8" [tool.ruff] -extend-include = ["SConstruct"] +extend-include = ["*SConstruct"] line-length = 120 -target-version = "py37" +target-version = "py38" [tool.ruff.lint] extend-select = [ @@ -27,32 +27,32 @@ extend-select = [ ] [tool.codespell] -enable-colors = "" -write-changes = "" -check-hidden = "" +enable-colors = true +write-changes = true +check-hidden = true quiet-level = 3 -builtin = "clear,rare,en-GB_to_en-US" -ignore-words-list = """\ - breaked, - cancelled, - checkin, - curvelinear, - doubleclick, - expct, - findn, - gird, - hel, - inout, - labelin, - lod, - mis, - nd, - numer, - ot, - outin, - requestor, - te, - textin, - thirdparty, - vai -""" +builtin = ["clear", "rare", "en-GB_to_en-US"] +ignore-words-list = [ + "breaked", + "cancelled", + "checkin", + "curvelinear", + "doubleclick", + "expct", + "findn", + "gird", + "hel", + "inout", + "labelin", + "lod", + "mis", + "nd", + "numer", + "ot", + "outin", + "requestor", + "te", + "textin", + "thirdparty", + "vai", +] diff --git a/test/src/example.cpp b/test/src/example.cpp index f51c1c17..97915a0f 100644 --- a/test/src/example.cpp +++ b/test/src/example.cpp @@ -161,7 +161,7 @@ bool Example::_property_can_revert(const StringName &p_name) const { } else { return false; } -}; +} bool Example::_property_get_revert(const StringName &p_name, Variant &r_property) const { if (p_name == StringName("property_from_list")) { @@ -170,7 +170,7 @@ bool Example::_property_get_revert(const StringName &p_name, Variant &r_property } else { return false; } -}; +} void Example::_validate_property(PropertyInfo &p_property) const { String name = p_property.name; diff --git a/test/src/example.h b/test/src/example.h index b40fcab1..22e9382b 100644 --- a/test/src/example.h +++ b/test/src/example.h @@ -58,7 +58,7 @@ class ExampleMin : public Control { GDCLASS(ExampleMin, Control); protected: - static void _bind_methods(){}; + static void _bind_methods() {} }; class Example : public Control { From 42f6dc6d49cf2a9607df1d2025e44814cea29c0b Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Sat, 26 Apr 2025 12:29:50 -0500 Subject: [PATCH 08/31] CI: Ensure utf-8 support on Windows GHA --- .github/workflows/ci-scons.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-scons.yml b/.github/workflows/ci-scons.yml index b951c29c..96790bc9 100644 --- a/.github/workflows/ci-scons.yml +++ b/.github/workflows/ci-scons.yml @@ -10,6 +10,8 @@ env: # Use UTF-8 on Linux. LANG: en_US.UTF-8 LC_ALL: en_US.UTF-8 + # Use UTF-8 on Windows. + PYTHONIOENCODING: utf8 concurrency: group: ci-scons-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }} From 16e47d7ae5bc45af90caeab16beecfe9ec4802c5 Mon Sep 17 00:00:00 2001 From: Lukas Tenbrink Date: Fri, 2 May 2025 17:12:32 +0200 Subject: [PATCH 09/31] Make ndk version configurable as a command-like argument. --- tools/android.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/android.py b/tools/android.py index fee4ed25..dbd38cdf 100644 --- a/tools/android.py +++ b/tools/android.py @@ -11,6 +11,11 @@ def options(opts): "Target Android API level", "21", ) + opts.Add( + "ndk_version", + "Fully qualified version of ndk to use for compilation.", + "23.2.8568313", + ) opts.Add( "ANDROID_HOME", "Path to your Android SDK installation. By default, uses ANDROID_HOME from your defined environment variables.", @@ -22,14 +27,9 @@ def exists(env): return get_android_ndk_root(env) is not None -# This must be kept in sync with the value in https://github.com/godotengine/godot/blob/master/platform/android/detect.py#L58. -def get_ndk_version(): - return "23.2.8568313" - - def get_android_ndk_root(env): if env["ANDROID_HOME"]: - return env["ANDROID_HOME"] + "/ndk/" + get_ndk_version() + return env["ANDROID_HOME"] + "/ndk/" + env["ndk_version"] else: return os.environ.get("ANDROID_NDK_ROOT") @@ -68,7 +68,7 @@ def generate(env): if not os.path.exists(toolchain): print("ERROR: Could not find NDK toolchain at " + toolchain + ".") - print("Make sure NDK version " + get_ndk_version() + " is installed.") + print("Make sure NDK version " + env["ndk_version"] + " is installed.") env.Exit(1) env.PrependENVPath("PATH", toolchain + "/bin") # This does nothing half of the time, but we'll put it here anyways From 0871c7a93a8fd7cb0a7e4845ff1384304e016219 Mon Sep 17 00:00:00 2001 From: Pierre-Thomas Meisels Date: Mon, 5 May 2025 18:02:32 +0200 Subject: [PATCH 10/31] Expose gdextension_object_get_script_instance and gdextension_object_set_script_instance methods from engine --- gdextension/gdextension_interface.h | 43 ++++++++++++++++++++++++++--- include/godot_cpp/godot.hpp | 2 ++ src/godot.cpp | 4 +++ 3 files changed, 45 insertions(+), 4 deletions(-) diff --git a/gdextension/gdextension_interface.h b/gdextension/gdextension_interface.h index 107086fc..470fc56d 100644 --- a/gdextension/gdextension_interface.h +++ b/gdextension/gdextension_interface.h @@ -34,15 +34,16 @@ * Together with the JSON file, you should be able to generate any binder. */ +#ifndef __cplusplus #include #include -#ifndef __cplusplus typedef uint32_t char32_t; typedef uint16_t char16_t; -#endif +#else +#include +#include -#ifdef __cplusplus extern "C" { #endif @@ -792,9 +793,22 @@ typedef struct { const char *string; } GDExtensionGodotVersion; +typedef struct { + uint32_t major; + uint32_t minor; + uint32_t patch; + uint32_t hex; // Full version encoded as hexadecimal with one byte (2 hex digits) per number (e.g. for "3.1.12" it would be 0x03010C) + const char *status; // (e.g. "stable", "beta", "rc1", "rc2") + const char *build; // (e.g. "custom_build") + const char *hash; // Full Git commit hash. + uint64_t timestamp; // Git commit date UNIX timestamp in seconds, or 0 if unavailable. + const char *string; // (e.g. "Godot v3.1.4.stable.official.mono") +} GDExtensionGodotVersion2; + /** * @name get_godot_version * @since 4.1 + * @deprecated in Godot 4.5. Use `get_godot_version2` instead. * * Gets the Godot version that the GDExtension was loaded into. * @@ -802,6 +816,16 @@ typedef struct { */ typedef void (*GDExtensionInterfaceGetGodotVersion)(GDExtensionGodotVersion *r_godot_version); +/** + * @name get_godot_version2 + * @since 4.5 + * + * Gets the Godot version that the GDExtension was loaded into. + * + * @param r_godot_version A pointer to the structure to write the version information into. + */ +typedef void (*GDExtensionInterfaceGetGodotVersion2)(GDExtensionGodotVersion2 *r_godot_version); + /* INTERFACE: Memory */ /** @@ -2723,6 +2747,17 @@ typedef void (*GDExtensionInterfacePlaceHolderScriptInstanceUpdate)(GDExtensionS */ typedef GDExtensionScriptInstanceDataPtr (*GDExtensionInterfaceObjectGetScriptInstance)(GDExtensionConstObjectPtr p_object, GDExtensionObjectPtr p_language); +/** + * @name object_set_script_instance + * @since 4.5 + * + * Set the script instance data attached to this object. + * + * @param p_object A pointer to the Object. + * @param p_script_instance A pointer to the script instance data to attach to this object. + */ +typedef void (*GDExtensionInterfaceObjectSetScriptInstance)(GDExtensionObjectPtr p_object, GDExtensionScriptInstanceDataPtr p_script_instance); + /* INTERFACE: Callable */ /** @@ -3086,7 +3121,7 @@ typedef void (*GDExtensionsInterfaceEditorHelpLoadXmlFromUtf8CharsAndLen)(const * * Registers a callback that Godot can call to get the list of all classes (from ClassDB) that may be used by the calling GDExtension. * - * This is used by the editor to generate a build profiles (in "Tools" > "Engine Compilation Configuration Editor..." > "Detect from project"), + * This is used by the editor to generate a build profile (in "Tools" > "Engine Compilation Configuration Editor..." > "Detect from project"), * in order to recompile Godot with only the classes used. * In the provided callback, the GDExtension should provide the list of classes that _may_ be used statically, thus the time of invocation shouldn't matter. * If a GDExtension doesn't register a callback, Godot will assume that it could be using any classes. diff --git a/include/godot_cpp/godot.hpp b/include/godot_cpp/godot.hpp index c0bf8aee..64b41f6f 100644 --- a/include/godot_cpp/godot.hpp +++ b/include/godot_cpp/godot.hpp @@ -181,6 +181,8 @@ extern "C" GDExtensionInterfaceRefSetObject gdextension_interface_ref_set_object extern "C" GDExtensionInterfaceScriptInstanceCreate3 gdextension_interface_script_instance_create3; extern "C" GDExtensionInterfacePlaceHolderScriptInstanceCreate gdextension_interface_placeholder_script_instance_create; extern "C" GDExtensionInterfacePlaceHolderScriptInstanceUpdate gdextension_interface_placeholder_script_instance_update; +extern "C" GDExtensionInterfaceObjectGetScriptInstance gdextension_interface_object_get_script_instance; +extern "C" GDExtensionInterfaceObjectSetScriptInstance gdextension_interface_object_set_script_instance; extern "C" GDExtensionInterfaceClassdbConstructObject2 gdextension_interface_classdb_construct_object2; extern "C" GDExtensionInterfaceClassdbGetMethodBind gdextension_interface_classdb_get_method_bind; extern "C" GDExtensionInterfaceClassdbGetClassTag gdextension_interface_classdb_get_class_tag; diff --git a/src/godot.cpp b/src/godot.cpp index add05e14..06f8ca89 100644 --- a/src/godot.cpp +++ b/src/godot.cpp @@ -188,6 +188,8 @@ GDExtensionInterfaceRefSetObject gdextension_interface_ref_set_object = nullptr; GDExtensionInterfaceScriptInstanceCreate3 gdextension_interface_script_instance_create3 = nullptr; GDExtensionInterfacePlaceHolderScriptInstanceCreate gdextension_interface_placeholder_script_instance_create = nullptr; GDExtensionInterfacePlaceHolderScriptInstanceUpdate gdextension_interface_placeholder_script_instance_update = nullptr; +GDExtensionInterfaceObjectGetScriptInstance gdextension_interface_object_get_script_instance = nullptr; +GDExtensionInterfaceObjectSetScriptInstance gdextension_interface_object_set_script_instance = nullptr; GDExtensionInterfaceClassdbConstructObject2 gdextension_interface_classdb_construct_object2 = nullptr; GDExtensionInterfaceClassdbGetMethodBind gdextension_interface_classdb_get_method_bind = nullptr; GDExtensionInterfaceClassdbGetClassTag gdextension_interface_classdb_get_class_tag = nullptr; @@ -471,6 +473,8 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge LOAD_PROC_ADDRESS(script_instance_create3, GDExtensionInterfaceScriptInstanceCreate3); LOAD_PROC_ADDRESS(placeholder_script_instance_create, GDExtensionInterfacePlaceHolderScriptInstanceCreate); LOAD_PROC_ADDRESS(placeholder_script_instance_update, GDExtensionInterfacePlaceHolderScriptInstanceUpdate); + LOAD_PROC_ADDRESS(object_get_script_instance, GDExtensionInterfaceObjectGetScriptInstance); + LOAD_PROC_ADDRESS(object_set_script_instance, GDExtensionInterfaceObjectSetScriptInstance); LOAD_PROC_ADDRESS(classdb_construct_object2, GDExtensionInterfaceClassdbConstructObject2); LOAD_PROC_ADDRESS(classdb_get_method_bind, GDExtensionInterfaceClassdbGetMethodBind); LOAD_PROC_ADDRESS(classdb_get_class_tag, GDExtensionInterfaceClassdbGetClassTag); From 4879eb7bd01716587f813dd97a27238ef92f3f9f Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Wed, 21 May 2025 16:30:50 +0200 Subject: [PATCH 11/31] fix: Add iOS min SDK version link flags This is required when publishing to the App Store, and consistent with what we already do for the macOS deployment target. --- tools/ios.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ios.py b/tools/ios.py index 25c17db3..4e2a45c2 100644 --- a/tools/ios.py +++ b/tools/ios.py @@ -36,9 +36,11 @@ def generate(env): if env["ios_simulator"]: sdk_name = "iphonesimulator" env.Append(CCFLAGS=["-mios-simulator-version-min=" + env["ios_min_version"]]) + env.Append(LINKFLAGS=["-mios-simulator-version-min=" + env["ios_min_version"]]) else: sdk_name = "iphoneos" env.Append(CCFLAGS=["-miphoneos-version-min=" + env["ios_min_version"]]) + env.Append(LINKFLAGS=["-miphoneos-version-min=" + env["ios_min_version"]]) if sys.platform == "darwin": if env["IOS_SDK_PATH"] == "": From 4824aa41e82ac9de3a466c137f32d23b6fee7578 Mon Sep 17 00:00:00 2001 From: Dyllan Cole Date: Sat, 31 May 2025 19:23:50 -0400 Subject: [PATCH 12/31] Fix incorrect binding_generator_generate_bindings variable names --- cmake/GodotCPPModule.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/GodotCPPModule.cmake b/cmake/GodotCPPModule.cmake index 00e00fe5..67fc4dce 100644 --- a/cmake/GodotCPPModule.cmake +++ b/cmake/GodotCPPModule.cmake @@ -86,9 +86,9 @@ missing. ]] function( binding_generator_generate_bindings API_FILE - USE_TEMPLATE_GET_NODE, - BITS, - PRECISION, + USE_TEMPLATE_GET_NODE + BITS + PRECISION OUTPUT_DIR ) # This code snippet will be squashed into a single line From 8eac097c372ab1931f43281498dcbe57abfcbf10 Mon Sep 17 00:00:00 2001 From: "marcin.mirski" Date: Wed, 4 Jun 2025 16:54:45 -0700 Subject: [PATCH 13/31] Fix: Add STATUS to CMake message commands missing them --- cmake/common_compiler_flags.cmake | 2 +- cmake/godotcpp.cmake | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cmake/common_compiler_flags.cmake b/cmake/common_compiler_flags.cmake index 9d4894f1..8a9a41cc 100644 --- a/cmake/common_compiler_flags.cmake +++ b/cmake/common_compiler_flags.cmake @@ -47,7 +47,7 @@ by default, we need to test for it. ]] function(compiler_detection) if(${CMAKE_CXX_COMPILER_ID} STREQUAL Clang) if(${CMAKE_CXX_COMPILER_FRONTEND_VARIANT} STREQUAL MSVC) - message("Using clang-cl") + message(STATUS "Using clang-cl") set(IS_CLANG "0" PARENT_SCOPE) set(IS_MSVC "1" PARENT_SCOPE) set(NOT_MSVC "0" PARENT_SCOPE) diff --git a/cmake/godotcpp.cmake b/cmake/godotcpp.cmake index b9328054..f0dbba62 100644 --- a/cmake/godotcpp.cmake +++ b/cmake/godotcpp.cmake @@ -29,7 +29,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/windows.cmake) # Detect number of processors include(ProcessorCount) ProcessorCount(PROC_MAX) -message("Auto-detected ${PROC_MAX} CPU cores available for build parallelism.") +message(STATUS "Auto-detected ${PROC_MAX} CPU cores available for build parallelism.") # List of known platforms set(PLATFORM_LIST @@ -197,15 +197,16 @@ function(godotcpp_generate) another compiler simulating the Visual C++ cl command-line syntax. ]] if(MSVC) math(EXPR PROC_N "(${PROC_MAX}-1) | (${X}-2)>>31 & 1") - message("Using ${PROC_N} cores for multi-threaded compilation.") + message(STATUS "Using ${PROC_N} cores for multi-threaded compilation.") # TODO You can override it at configure time with ...." ) else() message( + STATUS "Using ${CMAKE_BUILD_PARALLEL_LEVEL} cores, You can override" " it at configure time by using -j or --parallel on the build" " command." ) - message(" eg. cmake --build . -j 7 ...") + message(STATUS " eg. cmake --build . -j 7 ...") endif() #[[ GODOTCPP_SYMBOL_VISIBLITY @@ -245,8 +246,8 @@ function(godotcpp_generate) # Build Profile if(GODOTCPP_BUILD_PROFILE) message(STATUS "Using build profile to trim api file") - message("\tBUILD_PROFILE = '${GODOTCPP_BUILD_PROFILE}'") - message("\tAPI_SOURCE = '${GODOTCPP_GDEXTENSION_API_FILE}'") + message(STATUS "\tBUILD_PROFILE = '${GODOTCPP_BUILD_PROFILE}'") + message(STATUS "\tAPI_SOURCE = '${GODOTCPP_GDEXTENSION_API_FILE}'") build_profile_generate_trimmed_api( "${GODOTCPP_BUILD_PROFILE}" "${GODOTCPP_GDEXTENSION_API_FILE}" From 0c2e66e41483ad73c32abd929c32ec34688bf462 Mon Sep 17 00:00:00 2001 From: "marcin.mirski" Date: Thu, 5 Jun 2025 11:48:03 -0700 Subject: [PATCH 14/31] Improve CMAKE_BUILD_PARALLEL_LEVEL message --- cmake/godotcpp.cmake | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmake/godotcpp.cmake b/cmake/godotcpp.cmake index f0dbba62..a0c544fc 100644 --- a/cmake/godotcpp.cmake +++ b/cmake/godotcpp.cmake @@ -200,10 +200,15 @@ function(godotcpp_generate) message(STATUS "Using ${PROC_N} cores for multi-threaded compilation.") # TODO You can override it at configure time with ...." ) else() + if(CMAKE_BUILD_PARALLEL_LEVEL) + set(_cores "${CMAKE_BUILD_PARALLEL_LEVEL}") + else() + set(_cores "all") + endif() message( STATUS - "Using ${CMAKE_BUILD_PARALLEL_LEVEL} cores, You can override" - " it at configure time by using -j or --parallel on the build" + "Using ${_cores} cores. You can override" + " this at configure time by using -j or --parallel in the build" " command." ) message(STATUS " eg. cmake --build . -j 7 ...") From f25c4df5c477f58d6839d6a63a3768540940862f Mon Sep 17 00:00:00 2001 From: MJacred Date: Mon, 9 Jun 2025 11:49:03 +0200 Subject: [PATCH 15/31] Fix URL to gdextension cpp example in the official docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ac267733..0b572bb9 100644 --- a/README.md +++ b/README.md @@ -140,4 +140,4 @@ See the [godot-cpp-template](https://github.com/godotengine/godot-cpp-template) generic reusable template. Or checkout the code for the [Summator example](https://github.com/paddy-exe/GDExtensionSummator) -as shown in the [official documentation](https://docs.godotengine.org/en/latest/tutorials/scripting/gdextension/gdextension_cpp_example.html). +as shown in the [official documentation](https://docs.godotengine.org/en/latest/tutorials/scripting/cpp/gdextension_cpp_example.html). From ed53a70e719ec066240207132f1281910c2e4b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Wed, 18 Jun 2025 13:18:37 +0300 Subject: [PATCH 16/31] Fix binding generation for TypedArray/TypedDictionary with refcounted elements. --- binding_generator.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/binding_generator.py b/binding_generator.py index e0bad2e8..9e945b02 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -2755,9 +2755,22 @@ def correct_type(type_name, meta=None, use_alias=True): if type_name in type_conversion: return type_conversion[type_name] if type_name.startswith("typedarray::"): - return type_name.replace("typedarray::", "TypedArray<") + ">" + arr_type_name = type_name.replace("typedarray::", "") + if is_refcounted(arr_type_name): + arr_type_name = "Ref<" + arr_type_name + ">" + return "TypedArray<" + arr_type_name + ">" if type_name.startswith("typeddictionary::"): - return type_name.replace("typeddictionary::", "TypedDictionary<").replace(";", ", ") + ">" + dict_type_name = type_name.replace("typeddictionary::", "") + dict_type_names = dict_type_name.split(";") + if is_refcounted(dict_type_names[0]): + key_name = "Ref<" + dict_type_names[0] + ">" + else: + key_name = dict_type_names[0] + if is_refcounted(dict_type_names[1]): + val_name = "Ref<" + dict_type_names[1] + ">" + else: + val_name = dict_type_names[1] + return "TypedDictionary<" + key_name + ", " + val_name + ">" if is_enum(type_name): if is_bitfield(type_name): base_class = get_enum_class(type_name) From 646ccdf4701c9efde96712c4695e55be4065ea57 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Wed, 18 Jun 2025 14:43:12 -0500 Subject: [PATCH 17/31] Files generated by SCons should depend on the `build_profile` (if given) --- tools/godotcpp.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/godotcpp.py b/tools/godotcpp.py index 63df0ad5..fa78ecd1 100644 --- a/tools/godotcpp.py +++ b/tools/godotcpp.py @@ -141,7 +141,12 @@ def scons_emit_files(target, source, env): env.Clean(target, [env.File(f) for f in get_file_list(str(source[0]), target[0].abspath, True, True)]) api = generate_trimmed_api(str(source[0]), profile_filepath) - files = [env.File(f) for f in _get_file_list(api, target[0].abspath, True, True)] + files = [] + for f in _get_file_list(api, target[0].abspath, True, True): + file = env.File(f) + if profile_filepath: + env.Depends(file, profile_filepath) + files.append(file) env["godot_cpp_gen_dir"] = target[0].abspath return files, source From 6d11a780bf6478debb37569a7243a8d325809ea3 Mon Sep 17 00:00:00 2001 From: Samuel Nicholas Date: Thu, 19 Jun 2025 10:24:48 +0930 Subject: [PATCH 18/31] added missing include .hpp and .inc detection removed redundant .py detection. --- .github/workflows/runner.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runner.yml b/.github/workflows/runner.yml index d056236a..62f9327d 100644 --- a/.github/workflows/runner.yml +++ b/.github/workflows/runner.yml @@ -34,13 +34,14 @@ jobs: - '.github/workflows/*.yml' - '**/*.py' - '**/*.cpp' + - '**/*.hpp' - '**/*.h' + - '**/*.inc' - 'test/build_profile.json' - 'gdextension/extension_api.json' scons: - '**/SConstruct' - '**/SCsub' - - '**/*.py' cmake: - '**/CMakeLists.txt' - '**/*.cmake' From 61f52cb3280ade85000c64baadf77e159a5e11fa Mon Sep 17 00:00:00 2001 From: David Snopek Date: Fri, 20 Jun 2025 12:04:19 -0500 Subject: [PATCH 19/31] gdextension: Sync with upstream commit 46c495ca21f40f57a7fb9c7cde6143738f1652d4 (4.5-beta1) --- gdextension/extension_api.json | 13782 ++++++++++++++++++++++++-- gdextension/gdextension_interface.h | 27 + 2 files changed, 13183 insertions(+), 626 deletions(-) diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json index d80c52cf..7198d554 100644 --- a/gdextension/extension_api.json +++ b/gdextension/extension_api.json @@ -1,11 +1,12 @@ { "header": { "version_major": 4, - "version_minor": 4, + "version_minor": 5, "version_patch": 0, - "version_status": "stable", + "version_status": "beta1", "version_build": "official", - "version_full_name": "Godot Engine v4.4.stable.official" + "version_full_name": "Godot Engine v4.5.beta1.official", + "precision": "single" }, "builtin_class_sizes": [ { @@ -3644,8 +3645,20 @@ "value": 40 }, { - "name": "PROPERTY_HINT_MAX", + "name": "PROPERTY_HINT_GROUP_ENABLE", "value": 42 + }, + { + "name": "PROPERTY_HINT_INPUT_NAME", + "value": 43 + }, + { + "name": "PROPERTY_HINT_FILE_PATH", + "value": 44 + }, + { + "name": "PROPERTY_HINT_MAX", + "value": 45 } ] }, @@ -7420,6 +7433,11 @@ "right_type": "NodePath", "return_type": "String" }, + { + "name": "%", + "right_type": "RID", + "return_type": "String" + }, { "name": "%", "right_type": "Object", @@ -7963,6 +7981,70 @@ } ] }, + { + "name": "replace_char", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 787537301, + "arguments": [ + { + "name": "key", + "type": "int" + }, + { + "name": "with", + "type": "int" + } + ] + }, + { + "name": "replace_chars", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3535100402, + "arguments": [ + { + "name": "keys", + "type": "String" + }, + { + "name": "with", + "type": "int" + } + ] + }, + { + "name": "remove_char", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2162347432, + "arguments": [ + { + "name": "what", + "type": "int" + } + ] + }, + { + "name": "remove_chars", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3134094431, + "arguments": [ + { + "name": "chars", + "type": "String" + } + ] + }, { "name": "repeat", "return_type": "String", @@ -8054,6 +8136,14 @@ "is_static": false, "hash": 3942272618 }, + { + "name": "to_kebab_case", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3942272618 + }, { "name": "split", "return_type": "PackedStringArray", @@ -8262,7 +8352,7 @@ "hash": 3134094431, "arguments": [ { - "name": "file", + "name": "path", "type": "String" } ] @@ -8474,6 +8564,14 @@ "is_static": false, "hash": 3942272618 }, + { + "name": "uri_file_decode", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3942272618 + }, { "name": "c_escape", "return_type": "String", @@ -8752,7 +8850,7 @@ "hash": 247621236 }, { - "name": "hex_decode", + "name": "to_wchar_buffer", "return_type": "PackedByteArray", "is_vararg": false, "is_const": true, @@ -8760,7 +8858,22 @@ "hash": 247621236 }, { - "name": "to_wchar_buffer", + "name": "to_multibyte_char_buffer", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3055765187, + "arguments": [ + { + "name": "encoding", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "hex_decode", "return_type": "PackedByteArray", "is_vararg": false, "is_const": true, @@ -8857,7 +8970,7 @@ "hash": 897497541, "arguments": [ { - "name": "char", + "name": "code", "type": "int" } ] @@ -15034,6 +15147,20 @@ } ] }, + { + "name": "scaled_local", + "return_type": "Basis", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3934786792, + "arguments": [ + { + "name": "scale", + "type": "Vector3" + } + ] + }, { "name": "get_scale", "return_type": "Vector3", @@ -16303,12 +16430,12 @@ { "name": "ALICE_BLUE", "type": "Color", - "value": "Color(0.941176, 0.972549, 1, 1)" + "value": "Color(0.9411765, 0.972549, 1, 1)" }, { "name": "ANTIQUE_WHITE", "type": "Color", - "value": "Color(0.980392, 0.921569, 0.843137, 1)" + "value": "Color(0.98039216, 0.92156863, 0.84313726, 1)" }, { "name": "AQUA", @@ -16318,22 +16445,22 @@ { "name": "AQUAMARINE", "type": "Color", - "value": "Color(0.498039, 1, 0.831373, 1)" + "value": "Color(0.49803922, 1, 0.83137256, 1)" }, { "name": "AZURE", "type": "Color", - "value": "Color(0.941176, 1, 1, 1)" + "value": "Color(0.9411765, 1, 1, 1)" }, { "name": "BEIGE", "type": "Color", - "value": "Color(0.960784, 0.960784, 0.862745, 1)" + "value": "Color(0.9607843, 0.9607843, 0.8627451, 1)" }, { "name": "BISQUE", "type": "Color", - "value": "Color(1, 0.894118, 0.768627, 1)" + "value": "Color(1, 0.89411765, 0.76862746, 1)" }, { "name": "BLACK", @@ -16343,7 +16470,7 @@ { "name": "BLANCHED_ALMOND", "type": "Color", - "value": "Color(1, 0.921569, 0.803922, 1)" + "value": "Color(1, 0.92156863, 0.8039216, 1)" }, { "name": "BLUE", @@ -16353,52 +16480,52 @@ { "name": "BLUE_VIOLET", "type": "Color", - "value": "Color(0.541176, 0.168627, 0.886275, 1)" + "value": "Color(0.5411765, 0.16862746, 0.8862745, 1)" }, { "name": "BROWN", "type": "Color", - "value": "Color(0.647059, 0.164706, 0.164706, 1)" + "value": "Color(0.64705884, 0.16470589, 0.16470589, 1)" }, { "name": "BURLYWOOD", "type": "Color", - "value": "Color(0.870588, 0.721569, 0.529412, 1)" + "value": "Color(0.87058824, 0.72156864, 0.5294118, 1)" }, { "name": "CADET_BLUE", "type": "Color", - "value": "Color(0.372549, 0.619608, 0.627451, 1)" + "value": "Color(0.37254903, 0.61960787, 0.627451, 1)" }, { "name": "CHARTREUSE", "type": "Color", - "value": "Color(0.498039, 1, 0, 1)" + "value": "Color(0.49803922, 1, 0, 1)" }, { "name": "CHOCOLATE", "type": "Color", - "value": "Color(0.823529, 0.411765, 0.117647, 1)" + "value": "Color(0.8235294, 0.4117647, 0.11764706, 1)" }, { "name": "CORAL", "type": "Color", - "value": "Color(1, 0.498039, 0.313726, 1)" + "value": "Color(1, 0.49803922, 0.3137255, 1)" }, { "name": "CORNFLOWER_BLUE", "type": "Color", - "value": "Color(0.392157, 0.584314, 0.929412, 1)" + "value": "Color(0.39215687, 0.58431375, 0.92941177, 1)" }, { "name": "CORNSILK", "type": "Color", - "value": "Color(1, 0.972549, 0.862745, 1)" + "value": "Color(1, 0.972549, 0.8627451, 1)" }, { "name": "CRIMSON", "type": "Color", - "value": "Color(0.862745, 0.0784314, 0.235294, 1)" + "value": "Color(0.8627451, 0.078431375, 0.23529412, 1)" }, { "name": "CYAN", @@ -16408,122 +16535,122 @@ { "name": "DARK_BLUE", "type": "Color", - "value": "Color(0, 0, 0.545098, 1)" + "value": "Color(0, 0, 0.54509807, 1)" }, { "name": "DARK_CYAN", "type": "Color", - "value": "Color(0, 0.545098, 0.545098, 1)" + "value": "Color(0, 0.54509807, 0.54509807, 1)" }, { "name": "DARK_GOLDENROD", "type": "Color", - "value": "Color(0.721569, 0.52549, 0.0431373, 1)" + "value": "Color(0.72156864, 0.5254902, 0.043137256, 1)" }, { "name": "DARK_GRAY", "type": "Color", - "value": "Color(0.662745, 0.662745, 0.662745, 1)" + "value": "Color(0.6627451, 0.6627451, 0.6627451, 1)" }, { "name": "DARK_GREEN", "type": "Color", - "value": "Color(0, 0.392157, 0, 1)" + "value": "Color(0, 0.39215687, 0, 1)" }, { "name": "DARK_KHAKI", "type": "Color", - "value": "Color(0.741176, 0.717647, 0.419608, 1)" + "value": "Color(0.7411765, 0.7176471, 0.41960785, 1)" }, { "name": "DARK_MAGENTA", "type": "Color", - "value": "Color(0.545098, 0, 0.545098, 1)" + "value": "Color(0.54509807, 0, 0.54509807, 1)" }, { "name": "DARK_OLIVE_GREEN", "type": "Color", - "value": "Color(0.333333, 0.419608, 0.184314, 1)" + "value": "Color(0.33333334, 0.41960785, 0.18431373, 1)" }, { "name": "DARK_ORANGE", "type": "Color", - "value": "Color(1, 0.54902, 0, 1)" + "value": "Color(1, 0.54901963, 0, 1)" }, { "name": "DARK_ORCHID", "type": "Color", - "value": "Color(0.6, 0.196078, 0.8, 1)" + "value": "Color(0.6, 0.19607843, 0.8, 1)" }, { "name": "DARK_RED", "type": "Color", - "value": "Color(0.545098, 0, 0, 1)" + "value": "Color(0.54509807, 0, 0, 1)" }, { "name": "DARK_SALMON", "type": "Color", - "value": "Color(0.913725, 0.588235, 0.478431, 1)" + "value": "Color(0.9137255, 0.5882353, 0.47843137, 1)" }, { "name": "DARK_SEA_GREEN", "type": "Color", - "value": "Color(0.560784, 0.737255, 0.560784, 1)" + "value": "Color(0.56078434, 0.7372549, 0.56078434, 1)" }, { "name": "DARK_SLATE_BLUE", "type": "Color", - "value": "Color(0.282353, 0.239216, 0.545098, 1)" + "value": "Color(0.28235295, 0.23921569, 0.54509807, 1)" }, { "name": "DARK_SLATE_GRAY", "type": "Color", - "value": "Color(0.184314, 0.309804, 0.309804, 1)" + "value": "Color(0.18431373, 0.30980393, 0.30980393, 1)" }, { "name": "DARK_TURQUOISE", "type": "Color", - "value": "Color(0, 0.807843, 0.819608, 1)" + "value": "Color(0, 0.80784315, 0.81960785, 1)" }, { "name": "DARK_VIOLET", "type": "Color", - "value": "Color(0.580392, 0, 0.827451, 1)" + "value": "Color(0.5803922, 0, 0.827451, 1)" }, { "name": "DEEP_PINK", "type": "Color", - "value": "Color(1, 0.0784314, 0.576471, 1)" + "value": "Color(1, 0.078431375, 0.5764706, 1)" }, { "name": "DEEP_SKY_BLUE", "type": "Color", - "value": "Color(0, 0.74902, 1, 1)" + "value": "Color(0, 0.7490196, 1, 1)" }, { "name": "DIM_GRAY", "type": "Color", - "value": "Color(0.411765, 0.411765, 0.411765, 1)" + "value": "Color(0.4117647, 0.4117647, 0.4117647, 1)" }, { "name": "DODGER_BLUE", "type": "Color", - "value": "Color(0.117647, 0.564706, 1, 1)" + "value": "Color(0.11764706, 0.5647059, 1, 1)" }, { "name": "FIREBRICK", "type": "Color", - "value": "Color(0.698039, 0.133333, 0.133333, 1)" + "value": "Color(0.69803923, 0.13333334, 0.13333334, 1)" }, { "name": "FLORAL_WHITE", "type": "Color", - "value": "Color(1, 0.980392, 0.941176, 1)" + "value": "Color(1, 0.98039216, 0.9411765, 1)" }, { "name": "FOREST_GREEN", "type": "Color", - "value": "Color(0.133333, 0.545098, 0.133333, 1)" + "value": "Color(0.13333334, 0.54509807, 0.13333334, 1)" }, { "name": "FUCHSIA", @@ -16533,7 +16660,7 @@ { "name": "GAINSBORO", "type": "Color", - "value": "Color(0.862745, 0.862745, 0.862745, 1)" + "value": "Color(0.8627451, 0.8627451, 0.8627451, 1)" }, { "name": "GHOST_WHITE", @@ -16543,17 +16670,17 @@ { "name": "GOLD", "type": "Color", - "value": "Color(1, 0.843137, 0, 1)" + "value": "Color(1, 0.84313726, 0, 1)" }, { "name": "GOLDENROD", "type": "Color", - "value": "Color(0.854902, 0.647059, 0.12549, 1)" + "value": "Color(0.85490197, 0.64705884, 0.1254902, 1)" }, { "name": "GRAY", "type": "Color", - "value": "Color(0.745098, 0.745098, 0.745098, 1)" + "value": "Color(0.74509805, 0.74509805, 0.74509805, 1)" }, { "name": "GREEN", @@ -16563,77 +16690,77 @@ { "name": "GREEN_YELLOW", "type": "Color", - "value": "Color(0.678431, 1, 0.184314, 1)" + "value": "Color(0.6784314, 1, 0.18431373, 1)" }, { "name": "HONEYDEW", "type": "Color", - "value": "Color(0.941176, 1, 0.941176, 1)" + "value": "Color(0.9411765, 1, 0.9411765, 1)" }, { "name": "HOT_PINK", "type": "Color", - "value": "Color(1, 0.411765, 0.705882, 1)" + "value": "Color(1, 0.4117647, 0.7058824, 1)" }, { "name": "INDIAN_RED", "type": "Color", - "value": "Color(0.803922, 0.360784, 0.360784, 1)" + "value": "Color(0.8039216, 0.36078432, 0.36078432, 1)" }, { "name": "INDIGO", "type": "Color", - "value": "Color(0.294118, 0, 0.509804, 1)" + "value": "Color(0.29411766, 0, 0.50980395, 1)" }, { "name": "IVORY", "type": "Color", - "value": "Color(1, 1, 0.941176, 1)" + "value": "Color(1, 1, 0.9411765, 1)" }, { "name": "KHAKI", "type": "Color", - "value": "Color(0.941176, 0.901961, 0.54902, 1)" + "value": "Color(0.9411765, 0.9019608, 0.54901963, 1)" }, { "name": "LAVENDER", "type": "Color", - "value": "Color(0.901961, 0.901961, 0.980392, 1)" + "value": "Color(0.9019608, 0.9019608, 0.98039216, 1)" }, { "name": "LAVENDER_BLUSH", "type": "Color", - "value": "Color(1, 0.941176, 0.960784, 1)" + "value": "Color(1, 0.9411765, 0.9607843, 1)" }, { "name": "LAWN_GREEN", "type": "Color", - "value": "Color(0.486275, 0.988235, 0, 1)" + "value": "Color(0.4862745, 0.9882353, 0, 1)" }, { "name": "LEMON_CHIFFON", "type": "Color", - "value": "Color(1, 0.980392, 0.803922, 1)" + "value": "Color(1, 0.98039216, 0.8039216, 1)" }, { "name": "LIGHT_BLUE", "type": "Color", - "value": "Color(0.678431, 0.847059, 0.901961, 1)" + "value": "Color(0.6784314, 0.84705883, 0.9019608, 1)" }, { "name": "LIGHT_CORAL", "type": "Color", - "value": "Color(0.941176, 0.501961, 0.501961, 1)" + "value": "Color(0.9411765, 0.5019608, 0.5019608, 1)" }, { "name": "LIGHT_CYAN", "type": "Color", - "value": "Color(0.878431, 1, 1, 1)" + "value": "Color(0.8784314, 1, 1, 1)" }, { "name": "LIGHT_GOLDENROD", "type": "Color", - "value": "Color(0.980392, 0.980392, 0.823529, 1)" + "value": "Color(0.98039216, 0.98039216, 0.8235294, 1)" }, { "name": "LIGHT_GRAY", @@ -16643,42 +16770,42 @@ { "name": "LIGHT_GREEN", "type": "Color", - "value": "Color(0.564706, 0.933333, 0.564706, 1)" + "value": "Color(0.5647059, 0.93333334, 0.5647059, 1)" }, { "name": "LIGHT_PINK", "type": "Color", - "value": "Color(1, 0.713726, 0.756863, 1)" + "value": "Color(1, 0.7137255, 0.75686276, 1)" }, { "name": "LIGHT_SALMON", "type": "Color", - "value": "Color(1, 0.627451, 0.478431, 1)" + "value": "Color(1, 0.627451, 0.47843137, 1)" }, { "name": "LIGHT_SEA_GREEN", "type": "Color", - "value": "Color(0.12549, 0.698039, 0.666667, 1)" + "value": "Color(0.1254902, 0.69803923, 0.6666667, 1)" }, { "name": "LIGHT_SKY_BLUE", "type": "Color", - "value": "Color(0.529412, 0.807843, 0.980392, 1)" + "value": "Color(0.5294118, 0.80784315, 0.98039216, 1)" }, { "name": "LIGHT_SLATE_GRAY", "type": "Color", - "value": "Color(0.466667, 0.533333, 0.6, 1)" + "value": "Color(0.46666667, 0.53333336, 0.6, 1)" }, { "name": "LIGHT_STEEL_BLUE", "type": "Color", - "value": "Color(0.690196, 0.768627, 0.870588, 1)" + "value": "Color(0.6901961, 0.76862746, 0.87058824, 1)" }, { "name": "LIGHT_YELLOW", "type": "Color", - "value": "Color(1, 1, 0.878431, 1)" + "value": "Color(1, 1, 0.8784314, 1)" }, { "name": "LIME", @@ -16688,12 +16815,12 @@ { "name": "LIME_GREEN", "type": "Color", - "value": "Color(0.196078, 0.803922, 0.196078, 1)" + "value": "Color(0.19607843, 0.8039216, 0.19607843, 1)" }, { "name": "LINEN", "type": "Color", - "value": "Color(0.980392, 0.941176, 0.901961, 1)" + "value": "Color(0.98039216, 0.9411765, 0.9019608, 1)" }, { "name": "MAGENTA", @@ -16703,167 +16830,167 @@ { "name": "MAROON", "type": "Color", - "value": "Color(0.690196, 0.188235, 0.376471, 1)" + "value": "Color(0.6901961, 0.1882353, 0.3764706, 1)" }, { "name": "MEDIUM_AQUAMARINE", "type": "Color", - "value": "Color(0.4, 0.803922, 0.666667, 1)" + "value": "Color(0.4, 0.8039216, 0.6666667, 1)" }, { "name": "MEDIUM_BLUE", "type": "Color", - "value": "Color(0, 0, 0.803922, 1)" + "value": "Color(0, 0, 0.8039216, 1)" }, { "name": "MEDIUM_ORCHID", "type": "Color", - "value": "Color(0.729412, 0.333333, 0.827451, 1)" + "value": "Color(0.7294118, 0.33333334, 0.827451, 1)" }, { "name": "MEDIUM_PURPLE", "type": "Color", - "value": "Color(0.576471, 0.439216, 0.858824, 1)" + "value": "Color(0.5764706, 0.4392157, 0.85882354, 1)" }, { "name": "MEDIUM_SEA_GREEN", "type": "Color", - "value": "Color(0.235294, 0.701961, 0.443137, 1)" + "value": "Color(0.23529412, 0.7019608, 0.44313726, 1)" }, { "name": "MEDIUM_SLATE_BLUE", "type": "Color", - "value": "Color(0.482353, 0.407843, 0.933333, 1)" + "value": "Color(0.48235294, 0.40784314, 0.93333334, 1)" }, { "name": "MEDIUM_SPRING_GREEN", "type": "Color", - "value": "Color(0, 0.980392, 0.603922, 1)" + "value": "Color(0, 0.98039216, 0.6039216, 1)" }, { "name": "MEDIUM_TURQUOISE", "type": "Color", - "value": "Color(0.282353, 0.819608, 0.8, 1)" + "value": "Color(0.28235295, 0.81960785, 0.8, 1)" }, { "name": "MEDIUM_VIOLET_RED", "type": "Color", - "value": "Color(0.780392, 0.0823529, 0.521569, 1)" + "value": "Color(0.78039217, 0.08235294, 0.52156866, 1)" }, { "name": "MIDNIGHT_BLUE", "type": "Color", - "value": "Color(0.0980392, 0.0980392, 0.439216, 1)" + "value": "Color(0.09803922, 0.09803922, 0.4392157, 1)" }, { "name": "MINT_CREAM", "type": "Color", - "value": "Color(0.960784, 1, 0.980392, 1)" + "value": "Color(0.9607843, 1, 0.98039216, 1)" }, { "name": "MISTY_ROSE", "type": "Color", - "value": "Color(1, 0.894118, 0.882353, 1)" + "value": "Color(1, 0.89411765, 0.88235295, 1)" }, { "name": "MOCCASIN", "type": "Color", - "value": "Color(1, 0.894118, 0.709804, 1)" + "value": "Color(1, 0.89411765, 0.70980394, 1)" }, { "name": "NAVAJO_WHITE", "type": "Color", - "value": "Color(1, 0.870588, 0.678431, 1)" + "value": "Color(1, 0.87058824, 0.6784314, 1)" }, { "name": "NAVY_BLUE", "type": "Color", - "value": "Color(0, 0, 0.501961, 1)" + "value": "Color(0, 0, 0.5019608, 1)" }, { "name": "OLD_LACE", "type": "Color", - "value": "Color(0.992157, 0.960784, 0.901961, 1)" + "value": "Color(0.99215686, 0.9607843, 0.9019608, 1)" }, { "name": "OLIVE", "type": "Color", - "value": "Color(0.501961, 0.501961, 0, 1)" + "value": "Color(0.5019608, 0.5019608, 0, 1)" }, { "name": "OLIVE_DRAB", "type": "Color", - "value": "Color(0.419608, 0.556863, 0.137255, 1)" + "value": "Color(0.41960785, 0.5568628, 0.13725491, 1)" }, { "name": "ORANGE", "type": "Color", - "value": "Color(1, 0.647059, 0, 1)" + "value": "Color(1, 0.64705884, 0, 1)" }, { "name": "ORANGE_RED", "type": "Color", - "value": "Color(1, 0.270588, 0, 1)" + "value": "Color(1, 0.27058825, 0, 1)" }, { "name": "ORCHID", "type": "Color", - "value": "Color(0.854902, 0.439216, 0.839216, 1)" + "value": "Color(0.85490197, 0.4392157, 0.8392157, 1)" }, { "name": "PALE_GOLDENROD", "type": "Color", - "value": "Color(0.933333, 0.909804, 0.666667, 1)" + "value": "Color(0.93333334, 0.9098039, 0.6666667, 1)" }, { "name": "PALE_GREEN", "type": "Color", - "value": "Color(0.596078, 0.984314, 0.596078, 1)" + "value": "Color(0.59607846, 0.9843137, 0.59607846, 1)" }, { "name": "PALE_TURQUOISE", "type": "Color", - "value": "Color(0.686275, 0.933333, 0.933333, 1)" + "value": "Color(0.6862745, 0.93333334, 0.93333334, 1)" }, { "name": "PALE_VIOLET_RED", "type": "Color", - "value": "Color(0.858824, 0.439216, 0.576471, 1)" + "value": "Color(0.85882354, 0.4392157, 0.5764706, 1)" }, { "name": "PAPAYA_WHIP", "type": "Color", - "value": "Color(1, 0.937255, 0.835294, 1)" + "value": "Color(1, 0.9372549, 0.8352941, 1)" }, { "name": "PEACH_PUFF", "type": "Color", - "value": "Color(1, 0.854902, 0.72549, 1)" + "value": "Color(1, 0.85490197, 0.7254902, 1)" }, { "name": "PERU", "type": "Color", - "value": "Color(0.803922, 0.521569, 0.247059, 1)" + "value": "Color(0.8039216, 0.52156866, 0.24705882, 1)" }, { "name": "PINK", "type": "Color", - "value": "Color(1, 0.752941, 0.796078, 1)" + "value": "Color(1, 0.7529412, 0.79607844, 1)" }, { "name": "PLUM", "type": "Color", - "value": "Color(0.866667, 0.627451, 0.866667, 1)" + "value": "Color(0.8666667, 0.627451, 0.8666667, 1)" }, { "name": "POWDER_BLUE", "type": "Color", - "value": "Color(0.690196, 0.878431, 0.901961, 1)" + "value": "Color(0.6901961, 0.8784314, 0.9019608, 1)" }, { "name": "PURPLE", "type": "Color", - "value": "Color(0.627451, 0.12549, 0.941176, 1)" + "value": "Color(0.627451, 0.1254902, 0.9411765, 1)" }, { "name": "REBECCA_PURPLE", @@ -16878,97 +17005,97 @@ { "name": "ROSY_BROWN", "type": "Color", - "value": "Color(0.737255, 0.560784, 0.560784, 1)" + "value": "Color(0.7372549, 0.56078434, 0.56078434, 1)" }, { "name": "ROYAL_BLUE", "type": "Color", - "value": "Color(0.254902, 0.411765, 0.882353, 1)" + "value": "Color(0.25490198, 0.4117647, 0.88235295, 1)" }, { "name": "SADDLE_BROWN", "type": "Color", - "value": "Color(0.545098, 0.270588, 0.0745098, 1)" + "value": "Color(0.54509807, 0.27058825, 0.07450981, 1)" }, { "name": "SALMON", "type": "Color", - "value": "Color(0.980392, 0.501961, 0.447059, 1)" + "value": "Color(0.98039216, 0.5019608, 0.44705883, 1)" }, { "name": "SANDY_BROWN", "type": "Color", - "value": "Color(0.956863, 0.643137, 0.376471, 1)" + "value": "Color(0.95686275, 0.6431373, 0.3764706, 1)" }, { "name": "SEA_GREEN", "type": "Color", - "value": "Color(0.180392, 0.545098, 0.341176, 1)" + "value": "Color(0.18039216, 0.54509807, 0.34117648, 1)" }, { "name": "SEASHELL", "type": "Color", - "value": "Color(1, 0.960784, 0.933333, 1)" + "value": "Color(1, 0.9607843, 0.93333334, 1)" }, { "name": "SIENNA", "type": "Color", - "value": "Color(0.627451, 0.321569, 0.176471, 1)" + "value": "Color(0.627451, 0.32156864, 0.1764706, 1)" }, { "name": "SILVER", "type": "Color", - "value": "Color(0.752941, 0.752941, 0.752941, 1)" + "value": "Color(0.7529412, 0.7529412, 0.7529412, 1)" }, { "name": "SKY_BLUE", "type": "Color", - "value": "Color(0.529412, 0.807843, 0.921569, 1)" + "value": "Color(0.5294118, 0.80784315, 0.92156863, 1)" }, { "name": "SLATE_BLUE", "type": "Color", - "value": "Color(0.415686, 0.352941, 0.803922, 1)" + "value": "Color(0.41568628, 0.3529412, 0.8039216, 1)" }, { "name": "SLATE_GRAY", "type": "Color", - "value": "Color(0.439216, 0.501961, 0.564706, 1)" + "value": "Color(0.4392157, 0.5019608, 0.5647059, 1)" }, { "name": "SNOW", "type": "Color", - "value": "Color(1, 0.980392, 0.980392, 1)" + "value": "Color(1, 0.98039216, 0.98039216, 1)" }, { "name": "SPRING_GREEN", "type": "Color", - "value": "Color(0, 1, 0.498039, 1)" + "value": "Color(0, 1, 0.49803922, 1)" }, { "name": "STEEL_BLUE", "type": "Color", - "value": "Color(0.27451, 0.509804, 0.705882, 1)" + "value": "Color(0.27450982, 0.50980395, 0.7058824, 1)" }, { "name": "TAN", "type": "Color", - "value": "Color(0.823529, 0.705882, 0.54902, 1)" + "value": "Color(0.8235294, 0.7058824, 0.54901963, 1)" }, { "name": "TEAL", "type": "Color", - "value": "Color(0, 0.501961, 0.501961, 1)" + "value": "Color(0, 0.5019608, 0.5019608, 1)" }, { "name": "THISTLE", "type": "Color", - "value": "Color(0.847059, 0.74902, 0.847059, 1)" + "value": "Color(0.84705883, 0.7490196, 0.84705883, 1)" }, { "name": "TOMATO", "type": "Color", - "value": "Color(1, 0.388235, 0.278431, 1)" + "value": "Color(1, 0.3882353, 0.2784314, 1)" }, { "name": "TRANSPARENT", @@ -16978,37 +17105,37 @@ { "name": "TURQUOISE", "type": "Color", - "value": "Color(0.25098, 0.878431, 0.815686, 1)" + "value": "Color(0.2509804, 0.8784314, 0.8156863, 1)" }, { "name": "VIOLET", "type": "Color", - "value": "Color(0.933333, 0.509804, 0.933333, 1)" + "value": "Color(0.93333334, 0.50980395, 0.93333334, 1)" }, { "name": "WEB_GRAY", "type": "Color", - "value": "Color(0.501961, 0.501961, 0.501961, 1)" + "value": "Color(0.5019608, 0.5019608, 0.5019608, 1)" }, { "name": "WEB_GREEN", "type": "Color", - "value": "Color(0, 0.501961, 0, 1)" + "value": "Color(0, 0.5019608, 0, 1)" }, { "name": "WEB_MAROON", "type": "Color", - "value": "Color(0.501961, 0, 0, 1)" + "value": "Color(0.5019608, 0, 0, 1)" }, { "name": "WEB_PURPLE", "type": "Color", - "value": "Color(0.501961, 0, 0.501961, 1)" + "value": "Color(0.5019608, 0, 0.5019608, 1)" }, { "name": "WHEAT", "type": "Color", - "value": "Color(0.960784, 0.870588, 0.701961, 1)" + "value": "Color(0.9607843, 0.87058824, 0.7019608, 1)" }, { "name": "WHITE", @@ -17018,7 +17145,7 @@ { "name": "WHITE_SMOKE", "type": "Color", - "value": "Color(0.960784, 0.960784, 0.960784, 1)" + "value": "Color(0.9607843, 0.9607843, 0.9607843, 1)" }, { "name": "YELLOW", @@ -17028,7 +17155,7 @@ { "name": "YELLOW_GREEN", "type": "Color", - "value": "Color(0.603922, 0.803922, 0.196078, 1)" + "value": "Color(0.6039216, 0.8039216, 0.19607843, 1)" } ], "operators": [ @@ -17762,6 +17889,11 @@ "right_type": "NodePath", "return_type": "String" }, + { + "name": "%", + "right_type": "RID", + "return_type": "String" + }, { "name": "%", "right_type": "Object", @@ -18305,6 +18437,70 @@ } ] }, + { + "name": "replace_char", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 787537301, + "arguments": [ + { + "name": "key", + "type": "int" + }, + { + "name": "with", + "type": "int" + } + ] + }, + { + "name": "replace_chars", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3535100402, + "arguments": [ + { + "name": "keys", + "type": "String" + }, + { + "name": "with", + "type": "int" + } + ] + }, + { + "name": "remove_char", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2162347432, + "arguments": [ + { + "name": "what", + "type": "int" + } + ] + }, + { + "name": "remove_chars", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3134094431, + "arguments": [ + { + "name": "chars", + "type": "String" + } + ] + }, { "name": "repeat", "return_type": "String", @@ -18396,6 +18592,14 @@ "is_static": false, "hash": 3942272618 }, + { + "name": "to_kebab_case", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3942272618 + }, { "name": "split", "return_type": "PackedStringArray", @@ -18604,7 +18808,7 @@ "hash": 3134094431, "arguments": [ { - "name": "file", + "name": "path", "type": "String" } ] @@ -18808,6 +19012,14 @@ "is_static": false, "hash": 3942272618 }, + { + "name": "uri_file_decode", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3942272618 + }, { "name": "c_escape", "return_type": "String", @@ -19086,7 +19298,7 @@ "hash": 247621236 }, { - "name": "hex_decode", + "name": "to_wchar_buffer", "return_type": "PackedByteArray", "is_vararg": false, "is_const": true, @@ -19094,7 +19306,22 @@ "hash": 247621236 }, { - "name": "to_wchar_buffer", + "name": "to_multibyte_char_buffer", + "return_type": "PackedByteArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3055765187, + "arguments": [ + { + "name": "encoding", + "type": "String", + "default_value": "\"\"" + } + ] + }, + { + "name": "hex_decode", "return_type": "PackedByteArray", "is_vararg": false, "is_const": true, @@ -20061,6 +20288,21 @@ } ] }, + { + "name": "duplicate_deep", + "return_type": "Dictionary", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2160600714, + "arguments": [ + { + "name": "deep_subresources_mode", + "type": "int", + "default_value": "1" + } + ] + }, { "name": "get", "return_type": "Variant", @@ -20827,6 +21069,21 @@ } ] }, + { + "name": "duplicate_deep", + "return_type": "Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1949240801, + "arguments": [ + { + "name": "deep_subresources_mode", + "type": "int", + "default_value": "1" + } + ] + }, { "name": "slice", "return_type": "Array", @@ -21461,6 +21718,20 @@ } ] }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 694024632, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] + }, { "name": "get_string_from_ascii", "return_type": "String", @@ -21501,6 +21772,21 @@ "is_static": false, "hash": 3942272618 }, + { + "name": "get_string_from_multibyte_char", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3134094431, + "arguments": [ + { + "name": "encoding", + "type": "String", + "default_value": "\"\"" + } + ] + }, { "name": "hex_encode", "return_type": "String", @@ -21805,6 +22091,95 @@ "is_static": false, "hash": 1627308337 }, + { + "name": "to_vector2_array", + "return_type": "PackedVector2Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 1660374357 + }, + { + "name": "to_vector3_array", + "return_type": "PackedVector3Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 4171207452 + }, + { + "name": "to_vector4_array", + "return_type": "PackedVector4Array", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 146203628 + }, + { + "name": "to_color_array", + "return_type": "PackedColorArray", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3072026941 + }, + { + "name": "bswap16", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3638975848, + "arguments": [ + { + "name": "offset", + "type": "int", + "default_value": "0" + }, + { + "name": "count", + "type": "int", + "default_value": "-1" + } + ] + }, + { + "name": "bswap32", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3638975848, + "arguments": [ + { + "name": "offset", + "type": "int", + "default_value": "0" + }, + { + "name": "count", + "type": "int", + "default_value": "-1" + } + ] + }, + { + "name": "bswap64", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3638975848, + "arguments": [ + { + "name": "offset", + "type": "int", + "default_value": "0" + }, + { + "name": "count", + "type": "int", + "default_value": "-1" + } + ] + }, { "name": "encode_u8", "is_vararg": false, @@ -22373,6 +22748,20 @@ "type": "int" } ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 694024632, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] } ], "constructors": [ @@ -22732,6 +23121,20 @@ "type": "int" } ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 694024632, + "arguments": [ + { + "name": "value", + "type": "int" + } + ] } ], "constructors": [ @@ -23091,6 +23494,20 @@ "type": "float" } ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 4094791666, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] } ], "constructors": [ @@ -23450,6 +23867,20 @@ "type": "float" } ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 4094791666, + "arguments": [ + { + "name": "value", + "type": "float" + } + ] } ], "constructors": [ @@ -23809,6 +24240,20 @@ "type": "String" } ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 816187996, + "arguments": [ + { + "name": "value", + "type": "String" + } + ] } ], "constructors": [ @@ -24173,6 +24618,20 @@ "type": "Vector2" } ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 4188891560, + "arguments": [ + { + "name": "value", + "type": "Vector2" + } + ] } ], "constructors": [ @@ -24537,6 +24996,20 @@ "type": "Vector3" } ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3295363524, + "arguments": [ + { + "name": "value", + "type": "Vector3" + } + ] } ], "constructors": [ @@ -24896,6 +25369,20 @@ "type": "Color" } ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 1007858200, + "arguments": [ + { + "name": "value", + "type": "Color" + } + ] } ], "constructors": [ @@ -25255,6 +25742,20 @@ "type": "Vector4" } ] + }, + { + "name": "erase", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3289167688, + "arguments": [ + { + "name": "value", + "type": "Vector4" + } + ] } ], "constructors": [ @@ -27389,52 +27890,217 @@ ] }, { - "name": "AnimatableBody2D", + "name": "AimModifier3D", "is_refcounted": false, "is_instantiable": true, - "inherits": "StaticBody2D", + "inherits": "BoneConstraint3D", "api_type": "core", "methods": [ { - "name": "set_sync_to_physics", + "name": "set_forward_axis", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2586408642, + "hash": 2496831085, "arguments": [ { - "name": "enable", + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "axis", + "type": "enum::SkeletonModifier3D.BoneAxis" + } + ] + }, + { + "name": "get_forward_axis", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3949866735, + "return_value": { + "type": "enum::SkeletonModifier3D.BoneAxis" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_use_euler", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", "type": "bool" } ] }, { - "name": "is_sync_to_physics_enabled", + "name": "is_using_euler", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 36873697, + "hash": 1116898809, "return_value": { "type": "bool" - } + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_primary_rotation_axis", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 776736805, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis" + } + ] + }, + { + "name": "get_primary_rotation_axis", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4131134770, + "return_value": { + "type": "enum::Vector3.Axis" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_use_secondary_rotation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_using_secondary_rotation", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] } ], "properties": [ { - "type": "bool", - "name": "sync_to_physics", - "setter": "set_sync_to_physics", - "getter": "is_sync_to_physics_enabled" + "type": "int", + "name": "setting_count", + "setter": "set_setting_count", + "getter": "get_setting_count" } ] }, { - "name": "AnimatableBody3D", + "name": "AnimatableBody2D", "is_refcounted": false, "is_instantiable": true, - "inherits": "StaticBody3D", + "inherits": "StaticBody2D", + "api_type": "core", + "methods": [ + { + "name": "set_sync_to_physics", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_sync_to_physics_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "sync_to_physics", + "setter": "set_sync_to_physics", + "getter": "is_sync_to_physics_enabled" + } + ] + }, + { + "name": "AnimatableBody3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "StaticBody3D", "api_type": "core", "methods": [ { @@ -33377,6 +34043,17 @@ } ] }, + { + "name": "get_node_list", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::StringName" + } + }, { "name": "set_node_position", "is_const": false, @@ -34025,6 +34702,17 @@ } ] }, + { + "name": "get_node_list", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::StringName" + } + }, { "name": "set_node_position", "is_const": false, @@ -34459,6 +35147,26 @@ "type": "typedarray::StringName" } } + ], + "signals": [ + { + "name": "state_started", + "arguments": [ + { + "name": "state", + "type": "StringName" + } + ] + }, + { + "name": "state_finished", + "arguments": [ + { + "name": "state", + "type": "StringName" + } + ] + } ] }, { @@ -43071,6 +43779,18 @@ "meta": "int32" } }, + { + "name": "_get_tags", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 3102165223, + "return_value": { + "type": "Dictionary" + } + }, { "name": "_get_parameter_list", "is_const": true, @@ -44436,6 +45156,31 @@ "type": "int", "meta": "int32" } + }, + { + "name": "set_tags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4155329257, + "arguments": [ + { + "name": "tags", + "type": "Dictionary" + } + ] + }, + { + "name": "get_tags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3102165223, + "return_value": { + "type": "Dictionary" + } } ], "properties": [ @@ -44463,6 +45208,12 @@ "setter": "set_bar_beats", "getter": "get_bar_beats" }, + { + "type": "Dictionary", + "name": "tags", + "setter": "set_tags", + "getter": "get_tags" + }, { "type": "bool", "name": "loop", @@ -48261,6 +49012,31 @@ "type": "bool" } }, + { + "name": "set_tags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4155329257, + "arguments": [ + { + "name": "tags", + "type": "Dictionary" + } + ] + }, + { + "name": "get_tags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3102165223, + "return_value": { + "type": "Dictionary" + } + }, { "name": "save_to_wav", "is_const": false, @@ -48321,6 +49097,12 @@ "name": "stereo", "setter": "set_stereo", "getter": "is_stereo" + }, + { + "type": "Dictionary", + "name": "tags", + "setter": "set_tags", + "getter": "get_tags" } ] }, @@ -48891,6 +49673,10 @@ "name": "TEXTURE_NORMAL", "value": 4 }, + { + "name": "TEXTURE_BENT_NORMAL", + "value": 18 + }, { "name": "TEXTURE_RIM", "value": 5 @@ -48945,7 +49731,7 @@ }, { "name": "TEXTURE_MAX", - "value": 18 + "value": 19 } ] }, @@ -49102,8 +49888,12 @@ "value": 11 }, { - "name": "FEATURE_MAX", + "name": "FEATURE_BENT_NORMAL_MAPPING", "value": 12 + }, + { + "name": "FEATURE_MAX", + "value": 13 } ] }, @@ -49169,6 +49959,20 @@ } ] }, + { + "name": "DepthTest", + "is_bitfield": false, + "values": [ + { + "name": "DEPTH_TEST_DEFAULT", + "value": 0 + }, + { + "name": "DEPTH_TEST_INVERTED", + "value": 1 + } + ] + }, { "name": "CullMode", "is_bitfield": false, @@ -49280,8 +50084,20 @@ "value": 21 }, { - "name": "FLAG_MAX", + "name": "FLAG_DISABLE_SPECULAR_OCCLUSION", "value": 22 + }, + { + "name": "FLAG_USE_Z_CLIP_SCALE", + "value": 23 + }, + { + "name": "FLAG_USE_FOV_OVERRIDE", + "value": 24 + }, + { + "name": "FLAG_MAX", + "value": 25 } ] }, @@ -49408,6 +50224,80 @@ "value": 3 } ] + }, + { + "name": "StencilMode", + "is_bitfield": false, + "values": [ + { + "name": "STENCIL_MODE_DISABLED", + "value": 0 + }, + { + "name": "STENCIL_MODE_OUTLINE", + "value": 1 + }, + { + "name": "STENCIL_MODE_XRAY", + "value": 2 + }, + { + "name": "STENCIL_MODE_CUSTOM", + "value": 3 + } + ] + }, + { + "name": "StencilFlags", + "is_bitfield": false, + "values": [ + { + "name": "STENCIL_FLAG_READ", + "value": 1 + }, + { + "name": "STENCIL_FLAG_WRITE", + "value": 2 + }, + { + "name": "STENCIL_FLAG_WRITE_DEPTH_FAIL", + "value": 4 + } + ] + }, + { + "name": "StencilCompare", + "is_bitfield": false, + "values": [ + { + "name": "STENCIL_COMPARE_ALWAYS", + "value": 0 + }, + { + "name": "STENCIL_COMPARE_LESS", + "value": 1 + }, + { + "name": "STENCIL_COMPARE_EQUAL", + "value": 2 + }, + { + "name": "STENCIL_COMPARE_LESS_OR_EQUAL", + "value": 3 + }, + { + "name": "STENCIL_COMPARE_GREATER", + "value": 4 + }, + { + "name": "STENCIL_COMPARE_NOT_EQUAL", + "value": 5 + }, + { + "name": "STENCIL_COMPARE_GREATER_OR_EQUAL", + "value": 6 + } + ] } ], "methods": [ @@ -50147,6 +51037,31 @@ "type": "enum::BaseMaterial3D.DepthDrawMode" } }, + { + "name": "set_depth_test", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3918692338, + "arguments": [ + { + "name": "depth_test", + "type": "enum::BaseMaterial3D.DepthTest" + } + ] + }, + { + "name": "get_depth_test", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3434785811, + "return_value": { + "type": "enum::BaseMaterial3D.DepthTest" + } + }, { "name": "set_cull_mode", "is_const": false, @@ -51206,6 +52121,216 @@ "type": "float", "meta": "float" } + }, + { + "name": "set_z_clip_scale", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_z_clip_scale", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fov_override", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fov_override", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_stencil_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2272367200, + "arguments": [ + { + "name": "stencil_mode", + "type": "enum::BaseMaterial3D.StencilMode" + } + ] + }, + { + "name": "get_stencil_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2908443456, + "return_value": { + "type": "enum::BaseMaterial3D.StencilMode" + } + }, + { + "name": "set_stencil_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "stencil_flags", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_stencil_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_stencil_compare", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3741726481, + "arguments": [ + { + "name": "stencil_compare", + "type": "enum::BaseMaterial3D.StencilCompare" + } + ] + }, + { + "name": "get_stencil_compare", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2824600492, + "return_value": { + "type": "enum::BaseMaterial3D.StencilCompare" + } + }, + { + "name": "set_stencil_reference", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "stencil_reference", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_stencil_reference", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_stencil_effect_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2920490490, + "arguments": [ + { + "name": "stencil_color", + "type": "Color" + } + ] + }, + { + "name": "get_stencil_effect_color", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3444240500, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_stencil_effect_outline_thickness", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "stencil_outline_thickness", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_stencil_effect_outline_thickness", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } } ], "properties": [ @@ -51264,6 +52389,12 @@ "getter": "get_flag", "index": 0 }, + { + "type": "int", + "name": "depth_test", + "setter": "set_depth_test", + "getter": "get_depth_test" + }, { "type": "int", "name": "shading_mode", @@ -51296,6 +52427,13 @@ "getter": "get_flag", "index": 21 }, + { + "type": "bool", + "name": "disable_specular_occlusion", + "setter": "set_flag", + "getter": "get_flag", + "index": 22 + }, { "type": "bool", "name": "vertex_color_use_as_albedo", @@ -51453,6 +52591,20 @@ "getter": "get_texture", "index": 4 }, + { + "type": "bool", + "name": "bent_normal_enabled", + "setter": "set_feature", + "getter": "get_feature", + "index": 12 + }, + { + "type": "Texture2D", + "name": "bent_normal_texture", + "setter": "set_texture", + "getter": "get_texture", + "index": 18 + }, { "type": "bool", "name": "rim_enabled", @@ -51921,6 +53073,32 @@ "getter": "get_flag", "index": 19 }, + { + "type": "bool", + "name": "use_z_clip_scale", + "setter": "set_flag", + "getter": "get_flag", + "index": 23 + }, + { + "type": "float", + "name": "z_clip_scale", + "setter": "set_z_clip_scale", + "getter": "get_z_clip_scale" + }, + { + "type": "bool", + "name": "use_fov_override", + "setter": "set_flag", + "getter": "get_flag", + "index": 24 + }, + { + "type": "float", + "name": "fov_override", + "setter": "set_fov_override", + "getter": "get_fov_override" + }, { "type": "bool", "name": "proximity_fade_enabled", @@ -51962,6 +53140,42 @@ "name": "distance_fade_max_distance", "setter": "set_distance_fade_max_distance", "getter": "get_distance_fade_max_distance" + }, + { + "type": "int", + "name": "stencil_mode", + "setter": "set_stencil_mode", + "getter": "get_stencil_mode" + }, + { + "type": "int", + "name": "stencil_flags", + "setter": "set_stencil_flags", + "getter": "get_stencil_flags" + }, + { + "type": "int", + "name": "stencil_compare", + "setter": "set_stencil_compare", + "getter": "get_stencil_compare" + }, + { + "type": "int", + "name": "stencil_reference", + "setter": "set_stencil_reference", + "getter": "get_stencil_reference" + }, + { + "type": "Color", + "name": "stencil_color", + "setter": "set_stencil_effect_color", + "getter": "get_stencil_effect_color" + }, + { + "type": "float", + "name": "stencil_outline_thickness", + "setter": "set_stencil_effect_outline_thickness", + "getter": "get_stencil_effect_outline_thickness" } ] }, @@ -52536,6 +53750,253 @@ "name": "override_pose", "setter": "set_override_pose", "getter": "get_override_pose" + }, + { + "type": "bool", + "name": "use_external_skeleton", + "setter": "set_use_external_skeleton", + "getter": "get_use_external_skeleton" + }, + { + "type": "NodePath", + "name": "external_skeleton", + "setter": "set_external_skeleton", + "getter": "get_external_skeleton" + } + ] + }, + { + "name": "BoneConstraint3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "SkeletonModifier3D", + "api_type": "core", + "methods": [ + { + "name": "set_amount", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1602489585, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "amount", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_amount", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2339986948, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_apply_bone_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 501894301, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "bone_name", + "type": "String" + } + ] + }, + { + "name": "get_apply_bone_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 844755477, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_apply_bone", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3937882851, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "bone", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_apply_bone", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_reference_bone_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 501894301, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "bone_name", + "type": "String" + } + ] + }, + { + "name": "get_reference_bone_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 844755477, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_reference_bone", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3937882851, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "bone", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_reference_bone", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_setting_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_setting_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "clear_setting", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 } ] }, @@ -53058,6 +54519,31 @@ "type": "enum::TextServer.AutowrapMode" } }, + { + "name": "set_autowrap_trim_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2809697122, + "arguments": [ + { + "name": "autowrap_trim_flags", + "type": "bitfield::TextServer.LineBreakFlag" + } + ] + }, + { + "name": "get_autowrap_trim_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2340632602, + "return_value": { + "type": "bitfield::TextServer.LineBreakFlag" + } + }, { "name": "set_text_direction", "is_const": false, @@ -53321,6 +54807,12 @@ "setter": "set_autowrap_mode", "getter": "get_autowrap_mode" }, + { + "type": "int", + "name": "autowrap_trim_flags", + "setter": "set_autowrap_trim_flags", + "getter": "get_autowrap_trim_flags" + }, { "type": "bool", "name": "clip_text", @@ -58139,6 +59631,17 @@ "meta": "float" } }, + { + "name": "bake_collision_shape", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36102322, + "return_value": { + "type": "ConcavePolygonShape3D" + } + }, { "name": "set_calculate_tangents", "is_const": false, @@ -58185,17 +59688,6 @@ "return_value": { "type": "ArrayMesh" } - }, - { - "name": "bake_collision_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36102322, - "return_value": { - "type": "ConcavePolygonShape3D" - } } ], "properties": [ @@ -58828,6 +60320,31 @@ "type": "bool" } }, + { + "name": "set_limit_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "limit_enabled", + "type": "bool" + } + ] + }, + { + "name": "is_limit_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_limit", "is_const": false, @@ -59053,6 +60570,18 @@ "type": "Vector2" } }, + { + "name": "get_screen_rotation", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "set_zoom", "is_const": false, @@ -59350,6 +60879,12 @@ "setter": "set_process_callback", "getter": "get_process_callback" }, + { + "type": "bool", + "name": "limit_enabled", + "setter": "set_limit_enabled", + "getter": "is_limit_enabled" + }, { "type": "int", "name": "limit_left", @@ -61461,6 +62996,31 @@ } ], "methods": [ + { + "name": "set_monitoring_feeds", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "is_monitoring_feeds", + "type": "bool" + } + ] + }, + { + "name": "is_monitoring_feeds", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "get_feed", "is_const": false, @@ -61550,6 +63110,14 @@ } ] } + ], + "properties": [ + { + "type": "bool", + "name": "monitoring_feeds", + "setter": "set_monitoring_feeds", + "getter": "is_monitoring_feeds" + } ] }, { @@ -62824,8 +64392,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 728290553, + "hash": 719605945, "hash_compatibility": [ + 728290553, 2552080639 ], "arguments": [ @@ -62877,159 +64446,25 @@ "name": "orientation", "type": "enum::TextServer.Orientation", "default_value": "0" - } - ] - }, - { - "name": "draw_multiline_string", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1927038192, - "hash_compatibility": [ - 4002645436 - ], - "arguments": [ - { - "name": "font", - "type": "Font" }, { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "max_lines", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "brk_flags", - "type": "bitfield::TextServer.LineBreakFlag", - "default_value": "3" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "draw_string_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 340562381, - "hash_compatibility": [ - 850005221 - ], - "arguments": [ - { - "name": "font", - "type": "Font" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", + "name": "oversampling", "type": "float", "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "1" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" + "default_value": "0.0" } ] }, { - "name": "draw_multiline_string_outline", + "name": "draw_multiline_string", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1912318525, + "hash": 2341488182, "hash_compatibility": [ - 3717870722 + 1927038192, + 4002645436 ], "arguments": [ { @@ -63067,12 +64502,6 @@ "meta": "int32", "default_value": "-1" }, - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "1" - }, { "name": "modulate", "type": "Color", @@ -63097,6 +64526,173 @@ "name": "orientation", "type": "enum::TextServer.Orientation", "default_value": "0" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" + } + ] + }, + { + "name": "draw_string_outline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 707403449, + "hash_compatibility": [ + 340562381, + 850005221 + ], + "arguments": [ + { + "name": "font", + "type": "Font" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "alignment", + "type": "enum::HorizontalAlignment", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "justification_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" + } + ] + }, + { + "name": "draw_multiline_string_outline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3050414441, + "hash_compatibility": [ + 1912318525, + 3717870722 + ], + "arguments": [ + { + "name": "font", + "type": "Font" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "alignment", + "type": "enum::HorizontalAlignment", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + }, + { + "name": "max_lines", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "justification_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -63106,8 +64702,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3339793283, + "hash": 1336210142, "hash_compatibility": [ + 3339793283, 2329089032 ], "arguments": [ @@ -63133,6 +64730,12 @@ "name": "modulate", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -63142,8 +64745,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3302344391, + "hash": 1846384149, "hash_compatibility": [ + 3302344391, 419453826 ], "arguments": [ @@ -63175,6 +64779,12 @@ "name": "modulate", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -64928,6 +66538,33 @@ "type": "float", "meta": "float" } + }, + { + "name": "set_mid_height", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "mid_height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mid_height", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } } ], "properties": [ @@ -64942,6 +66579,12 @@ "name": "height", "setter": "set_height", "getter": "get_height" + }, + { + "type": "float", + "name": "mid_height", + "setter": "set_mid_height", + "getter": "get_mid_height" } ] }, @@ -65005,6 +66648,33 @@ "type": "float", "meta": "float" } + }, + { + "name": "set_mid_height", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "mid_height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mid_height", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } } ], "properties": [ @@ -65019,6 +66689,12 @@ "name": "height", "setter": "set_height", "getter": "get_height" + }, + { + "type": "float", + "name": "mid_height", + "setter": "set_mid_height", + "getter": "get_mid_height" } ] }, @@ -72196,6 +73872,10 @@ "name": "MODE_RAW", "value": 2 }, + { + "name": "MODE_LINEAR", + "value": 2 + }, { "name": "MODE_OKHSL", "value": 3 @@ -72225,6 +73905,14 @@ { "name": "SHAPE_NONE", "value": 4 + }, + { + "name": "SHAPE_OK_HS_RECTANGLE", + "value": 5 + }, + { + "name": "SHAPE_OK_HL_RECTANGLE", + "value": 6 } ] } @@ -72330,6 +74018,31 @@ "type": "bool" } }, + { + "name": "set_edit_intensity", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "show", + "type": "bool" + } + ] + }, + { + "name": "is_editing_intensity", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_can_add_swatches", "is_const": false, @@ -72626,6 +74339,12 @@ "setter": "set_edit_alpha", "getter": "is_editing_alpha" }, + { + "type": "bool", + "name": "edit_intensity", + "setter": "set_edit_intensity", + "getter": "is_editing_intensity" + }, { "type": "int", "name": "color_mode", @@ -72760,6 +74479,31 @@ "return_value": { "type": "bool" } + }, + { + "name": "set_edit_intensity", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "show", + "type": "bool" + } + ] + }, + { + "name": "is_editing_intensity", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } } ], "signals": [ @@ -72791,6 +74535,12 @@ "name": "edit_alpha", "setter": "set_edit_alpha", "getter": "is_editing_alpha" + }, + { + "type": "bool", + "name": "edit_intensity", + "setter": "set_edit_intensity", + "getter": "is_editing_intensity" } ] }, @@ -74051,6 +75801,46 @@ { "name": "FOCUS_ALL", "value": 2 + }, + { + "name": "FOCUS_ACCESSIBILITY", + "value": 3 + } + ] + }, + { + "name": "FocusBehaviorRecursive", + "is_bitfield": false, + "values": [ + { + "name": "FOCUS_BEHAVIOR_INHERITED", + "value": 0 + }, + { + "name": "FOCUS_BEHAVIOR_DISABLED", + "value": 1 + }, + { + "name": "FOCUS_BEHAVIOR_ENABLED", + "value": 2 + } + ] + }, + { + "name": "MouseBehaviorRecursive", + "is_bitfield": false, + "values": [ + { + "name": "MOUSE_BEHAVIOR_INHERITED", + "value": 0 + }, + { + "name": "MOUSE_BEHAVIOR_DISABLED", + "value": 1 + }, + { + "name": "MOUSE_BEHAVIOR_ENABLED", + "value": 2 } ] }, @@ -74505,6 +76295,36 @@ } ] }, + { + "name": "_accessibility_get_contextual_info", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "_get_accessibility_container_name", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 2174079723, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, { "name": "_gui_input", "is_const": false, @@ -75087,6 +76907,42 @@ "type": "enum::Control.FocusMode" } }, + { + "name": "get_focus_mode_with_override", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2132829277, + "return_value": { + "type": "enum::Control.FocusMode" + } + }, + { + "name": "set_focus_behavior_recursive", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4256832521, + "arguments": [ + { + "name": "focus_behavior_recursive", + "type": "enum::Control.FocusBehaviorRecursive" + } + ] + }, + { + "name": "get_focus_behavior_recursive", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2435707181, + "return_value": { + "type": "enum::Control.FocusBehaviorRecursive" + } + }, { "name": "has_focus", "is_const": true, @@ -76204,6 +78060,197 @@ } ] }, + { + "name": "accessibility_drag", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, + { + "name": "accessibility_drop", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, + { + "name": "set_accessibility_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_accessibility_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_accessibility_description", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "description", + "type": "String" + } + ] + }, + { + "name": "get_accessibility_description", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_accessibility_live", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1720261470, + "arguments": [ + { + "name": "mode", + "type": "enum::DisplayServer.AccessibilityLiveMode" + } + ] + }, + { + "name": "get_accessibility_live", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3311037003, + "return_value": { + "type": "enum::DisplayServer.AccessibilityLiveMode" + } + }, + { + "name": "set_accessibility_controls_nodes", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "node_path", + "type": "typedarray::NodePath" + } + ] + }, + { + "name": "get_accessibility_controls_nodes", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::NodePath" + } + }, + { + "name": "set_accessibility_described_by_nodes", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "node_path", + "type": "typedarray::NodePath" + } + ] + }, + { + "name": "get_accessibility_described_by_nodes", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::NodePath" + } + }, + { + "name": "set_accessibility_labeled_by_nodes", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "node_path", + "type": "typedarray::NodePath" + } + ] + }, + { + "name": "get_accessibility_labeled_by_nodes", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::NodePath" + } + }, + { + "name": "set_accessibility_flow_to_nodes", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "node_path", + "type": "typedarray::NodePath" + } + ] + }, + { + "name": "get_accessibility_flow_to_nodes", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::NodePath" + } + }, { "name": "set_mouse_filter", "is_const": false, @@ -76229,6 +78276,42 @@ "type": "enum::Control.MouseFilter" } }, + { + "name": "get_mouse_filter_with_override", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1572545674, + "return_value": { + "type": "enum::Control.MouseFilter" + } + }, + { + "name": "set_mouse_behavior_recursive", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 849284636, + "arguments": [ + { + "name": "mouse_behavior_recursive", + "type": "enum::Control.MouseBehaviorRecursive" + } + ] + }, + { + "name": "get_mouse_behavior_recursive", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3779367402, + "return_value": { + "type": "enum::Control.MouseBehaviorRecursive" + } + }, { "name": "set_force_pass_scroll_events", "is_const": false, @@ -76732,12 +78815,24 @@ "setter": "set_focus_mode", "getter": "get_focus_mode" }, + { + "type": "int", + "name": "focus_behavior_recursive", + "setter": "set_focus_behavior_recursive", + "getter": "get_focus_behavior_recursive" + }, { "type": "int", "name": "mouse_filter", "setter": "set_mouse_filter", "getter": "get_mouse_filter" }, + { + "type": "int", + "name": "mouse_behavior_recursive", + "setter": "set_mouse_behavior_recursive", + "getter": "get_mouse_behavior_recursive" + }, { "type": "bool", "name": "mouse_force_pass_scroll_events", @@ -76756,6 +78851,48 @@ "setter": "set_shortcut_context", "getter": "get_shortcut_context" }, + { + "type": "String", + "name": "accessibility_name", + "setter": "set_accessibility_name", + "getter": "get_accessibility_name" + }, + { + "type": "String", + "name": "accessibility_description", + "setter": "set_accessibility_description", + "getter": "get_accessibility_description" + }, + { + "type": "int", + "name": "accessibility_live", + "setter": "set_accessibility_live", + "getter": "get_accessibility_live" + }, + { + "type": "typedarray::NodePath", + "name": "accessibility_controls_nodes", + "setter": "set_accessibility_controls_nodes", + "getter": "get_accessibility_controls_nodes" + }, + { + "type": "typedarray::NodePath", + "name": "accessibility_described_by_nodes", + "setter": "set_accessibility_described_by_nodes", + "getter": "get_accessibility_described_by_nodes" + }, + { + "type": "typedarray::NodePath", + "name": "accessibility_labeled_by_nodes", + "setter": "set_accessibility_labeled_by_nodes", + "getter": "get_accessibility_labeled_by_nodes" + }, + { + "type": "typedarray::NodePath", + "name": "accessibility_flow_to_nodes", + "setter": "set_accessibility_flow_to_nodes", + "getter": "get_accessibility_flow_to_nodes" + }, { "type": "Theme", "name": "theme", @@ -76770,6 +78907,421 @@ } ] }, + { + "name": "ConvertTransformModifier3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "BoneConstraint3D", + "api_type": "core", + "enums": [ + { + "name": "TransformMode", + "is_bitfield": false, + "values": [ + { + "name": "TRANSFORM_MODE_POSITION", + "value": 0 + }, + { + "name": "TRANSFORM_MODE_ROTATION", + "value": 1 + }, + { + "name": "TRANSFORM_MODE_SCALE", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_apply_transform_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1386463405, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "transform_mode", + "type": "enum::ConvertTransformModifier3D.TransformMode" + } + ] + }, + { + "name": "get_apply_transform_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3234663511, + "return_value": { + "type": "enum::ConvertTransformModifier3D.TransformMode" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_apply_axis", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 776736805, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis" + } + ] + }, + { + "name": "get_apply_axis", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4131134770, + "return_value": { + "type": "enum::Vector3.Axis" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_apply_range_min", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1602489585, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "range_min", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_apply_range_min", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2339986948, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_apply_range_max", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1602489585, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "range_max", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_apply_range_max", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2339986948, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_reference_transform_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1386463405, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "transform_mode", + "type": "enum::ConvertTransformModifier3D.TransformMode" + } + ] + }, + { + "name": "get_reference_transform_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3234663511, + "return_value": { + "type": "enum::ConvertTransformModifier3D.TransformMode" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_reference_axis", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 776736805, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "axis", + "type": "enum::Vector3.Axis" + } + ] + }, + { + "name": "get_reference_axis", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4131134770, + "return_value": { + "type": "enum::Vector3.Axis" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_reference_range_min", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1602489585, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "range_min", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_reference_range_min", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2339986948, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_reference_range_max", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1602489585, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "range_max", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_reference_range_max", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2339986948, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_relative", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_relative", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_additive", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_additive", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "setting_count", + "setter": "set_setting_count", + "getter": "get_setting_count" + } + ] + }, { "name": "ConvexPolygonShape2D", "is_refcounted": true, @@ -76868,6 +79420,587 @@ } ] }, + { + "name": "CopyTransformModifier3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "BoneConstraint3D", + "api_type": "core", + "enums": [ + { + "name": "TransformFlag", + "is_bitfield": true, + "values": [ + { + "name": "TRANSFORM_FLAG_POSITION", + "value": 1 + }, + { + "name": "TRANSFORM_FLAG_ROTATION", + "value": 2 + }, + { + "name": "TRANSFORM_FLAG_SCALE", + "value": 4 + }, + { + "name": "TRANSFORM_FLAG_ALL", + "value": 7 + } + ] + }, + { + "name": "AxisFlag", + "is_bitfield": true, + "values": [ + { + "name": "AXIS_FLAG_X", + "value": 1 + }, + { + "name": "AXIS_FLAG_Y", + "value": 2 + }, + { + "name": "AXIS_FLAG_Z", + "value": 4 + }, + { + "name": "AXIS_FLAG_ALL", + "value": 7 + } + ] + } + ], + "methods": [ + { + "name": "set_copy_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2252507859, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "copy_flags", + "type": "bitfield::CopyTransformModifier3D.TransformFlag" + } + ] + }, + { + "name": "get_copy_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1685185931, + "return_value": { + "type": "bitfield::CopyTransformModifier3D.TransformFlag" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_axis_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2044211897, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "axis_flags", + "type": "bitfield::CopyTransformModifier3D.AxisFlag" + } + ] + }, + { + "name": "get_axis_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 992162046, + "return_value": { + "type": "bitfield::CopyTransformModifier3D.AxisFlag" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_invert_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2044211897, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "axis_flags", + "type": "bitfield::CopyTransformModifier3D.AxisFlag" + } + ] + }, + { + "name": "get_invert_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 992162046, + "return_value": { + "type": "bitfield::CopyTransformModifier3D.AxisFlag" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_copy_position", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_position_copying", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_copy_rotation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_rotation_copying", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_copy_scale", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_scale_copying", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_axis_x_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_axis_x_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_axis_y_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_axis_y_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_axis_z_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_axis_z_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_axis_x_inverted", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_axis_x_inverted", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_axis_y_inverted", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_axis_y_inverted", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_axis_z_inverted", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_axis_z_inverted", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_relative", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_relative", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_additive", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_additive", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "setting_count", + "setter": "set_setting_count", + "getter": "get_setting_count" + } + ] + }, { "name": "Crypto", "is_refcounted": true, @@ -80682,6 +83815,17 @@ "type": "bool" } }, + { + "name": "get_filesystem_type", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, { "name": "is_case_sensitive", "is_const": true, @@ -80698,6 +83842,27 @@ "type": "String" } ] + }, + { + "name": "is_equivalent", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 820780508, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path_a", + "type": "String" + }, + { + "name": "path_b", + "type": "String" + } + ] } ], "properties": [ @@ -80956,6 +84121,10 @@ "inherits": "Object", "api_type": "core", "constants": [ + { + "name": "INVALID_SCREEN", + "value": -1 + }, { "name": "SCREEN_WITH_MOUSE_FOCUS", "value": -4 @@ -81113,6 +84282,392 @@ { "name": "FEATURE_EMOJI_AND_SYMBOL_PICKER", "value": 31 + }, + { + "name": "FEATURE_NATIVE_COLOR_PICKER", + "value": 32 + }, + { + "name": "FEATURE_SELF_FITTING_WINDOWS", + "value": 33 + }, + { + "name": "FEATURE_ACCESSIBILITY_SCREEN_READER", + "value": 34 + } + ] + }, + { + "name": "AccessibilityRole", + "is_bitfield": false, + "values": [ + { + "name": "ROLE_UNKNOWN", + "value": 0 + }, + { + "name": "ROLE_DEFAULT_BUTTON", + "value": 1 + }, + { + "name": "ROLE_AUDIO", + "value": 2 + }, + { + "name": "ROLE_VIDEO", + "value": 3 + }, + { + "name": "ROLE_STATIC_TEXT", + "value": 4 + }, + { + "name": "ROLE_CONTAINER", + "value": 5 + }, + { + "name": "ROLE_PANEL", + "value": 6 + }, + { + "name": "ROLE_BUTTON", + "value": 7 + }, + { + "name": "ROLE_LINK", + "value": 8 + }, + { + "name": "ROLE_CHECK_BOX", + "value": 9 + }, + { + "name": "ROLE_RADIO_BUTTON", + "value": 10 + }, + { + "name": "ROLE_CHECK_BUTTON", + "value": 11 + }, + { + "name": "ROLE_SCROLL_BAR", + "value": 12 + }, + { + "name": "ROLE_SCROLL_VIEW", + "value": 13 + }, + { + "name": "ROLE_SPLITTER", + "value": 14 + }, + { + "name": "ROLE_SLIDER", + "value": 15 + }, + { + "name": "ROLE_SPIN_BUTTON", + "value": 16 + }, + { + "name": "ROLE_PROGRESS_INDICATOR", + "value": 17 + }, + { + "name": "ROLE_TEXT_FIELD", + "value": 18 + }, + { + "name": "ROLE_MULTILINE_TEXT_FIELD", + "value": 19 + }, + { + "name": "ROLE_COLOR_PICKER", + "value": 20 + }, + { + "name": "ROLE_TABLE", + "value": 21 + }, + { + "name": "ROLE_CELL", + "value": 22 + }, + { + "name": "ROLE_ROW", + "value": 23 + }, + { + "name": "ROLE_ROW_GROUP", + "value": 24 + }, + { + "name": "ROLE_ROW_HEADER", + "value": 25 + }, + { + "name": "ROLE_COLUMN_HEADER", + "value": 26 + }, + { + "name": "ROLE_TREE", + "value": 27 + }, + { + "name": "ROLE_TREE_ITEM", + "value": 28 + }, + { + "name": "ROLE_LIST", + "value": 29 + }, + { + "name": "ROLE_LIST_ITEM", + "value": 30 + }, + { + "name": "ROLE_LIST_BOX", + "value": 31 + }, + { + "name": "ROLE_LIST_BOX_OPTION", + "value": 32 + }, + { + "name": "ROLE_TAB_BAR", + "value": 33 + }, + { + "name": "ROLE_TAB", + "value": 34 + }, + { + "name": "ROLE_TAB_PANEL", + "value": 35 + }, + { + "name": "ROLE_MENU_BAR", + "value": 36 + }, + { + "name": "ROLE_MENU", + "value": 37 + }, + { + "name": "ROLE_MENU_ITEM", + "value": 38 + }, + { + "name": "ROLE_MENU_ITEM_CHECK_BOX", + "value": 39 + }, + { + "name": "ROLE_MENU_ITEM_RADIO", + "value": 40 + }, + { + "name": "ROLE_IMAGE", + "value": 41 + }, + { + "name": "ROLE_WINDOW", + "value": 42 + }, + { + "name": "ROLE_TITLE_BAR", + "value": 43 + }, + { + "name": "ROLE_DIALOG", + "value": 44 + }, + { + "name": "ROLE_TOOLTIP", + "value": 45 + } + ] + }, + { + "name": "AccessibilityPopupType", + "is_bitfield": false, + "values": [ + { + "name": "POPUP_MENU", + "value": 0 + }, + { + "name": "POPUP_LIST", + "value": 1 + }, + { + "name": "POPUP_TREE", + "value": 2 + }, + { + "name": "POPUP_DIALOG", + "value": 3 + } + ] + }, + { + "name": "AccessibilityFlags", + "is_bitfield": false, + "values": [ + { + "name": "FLAG_HIDDEN", + "value": 0 + }, + { + "name": "FLAG_MULTISELECTABLE", + "value": 1 + }, + { + "name": "FLAG_REQUIRED", + "value": 2 + }, + { + "name": "FLAG_VISITED", + "value": 3 + }, + { + "name": "FLAG_BUSY", + "value": 4 + }, + { + "name": "FLAG_MODAL", + "value": 5 + }, + { + "name": "FLAG_TOUCH_PASSTHROUGH", + "value": 6 + }, + { + "name": "FLAG_READONLY", + "value": 7 + }, + { + "name": "FLAG_DISABLED", + "value": 8 + }, + { + "name": "FLAG_CLIPS_CHILDREN", + "value": 9 + } + ] + }, + { + "name": "AccessibilityAction", + "is_bitfield": false, + "values": [ + { + "name": "ACTION_CLICK", + "value": 0 + }, + { + "name": "ACTION_FOCUS", + "value": 1 + }, + { + "name": "ACTION_BLUR", + "value": 2 + }, + { + "name": "ACTION_COLLAPSE", + "value": 3 + }, + { + "name": "ACTION_EXPAND", + "value": 4 + }, + { + "name": "ACTION_DECREMENT", + "value": 5 + }, + { + "name": "ACTION_INCREMENT", + "value": 6 + }, + { + "name": "ACTION_HIDE_TOOLTIP", + "value": 7 + }, + { + "name": "ACTION_SHOW_TOOLTIP", + "value": 8 + }, + { + "name": "ACTION_SET_TEXT_SELECTION", + "value": 9 + }, + { + "name": "ACTION_REPLACE_SELECTED_TEXT", + "value": 10 + }, + { + "name": "ACTION_SCROLL_BACKWARD", + "value": 11 + }, + { + "name": "ACTION_SCROLL_DOWN", + "value": 12 + }, + { + "name": "ACTION_SCROLL_FORWARD", + "value": 13 + }, + { + "name": "ACTION_SCROLL_LEFT", + "value": 14 + }, + { + "name": "ACTION_SCROLL_RIGHT", + "value": 15 + }, + { + "name": "ACTION_SCROLL_UP", + "value": 16 + }, + { + "name": "ACTION_SCROLL_INTO_VIEW", + "value": 17 + }, + { + "name": "ACTION_SCROLL_TO_POINT", + "value": 18 + }, + { + "name": "ACTION_SET_SCROLL_OFFSET", + "value": 19 + }, + { + "name": "ACTION_SET_VALUE", + "value": 20 + }, + { + "name": "ACTION_SHOW_CONTEXT_MENU", + "value": 21 + }, + { + "name": "ACTION_CUSTOM", + "value": 22 + } + ] + }, + { + "name": "AccessibilityLiveMode", + "is_bitfield": false, + "values": [ + { + "name": "LIVE_OFF", + "value": 0 + }, + { + "name": "LIVE_POLITE", + "value": 1 + }, + { + "name": "LIVE_ASSERTIVE", + "value": 2 } ] }, @@ -81393,8 +84948,20 @@ "value": 9 }, { - "name": "WINDOW_FLAG_MAX", + "name": "WINDOW_FLAG_POPUP_WM_HINT", "value": 10 + }, + { + "name": "WINDOW_FLAG_MINIMIZE_DISABLED", + "value": 11 + }, + { + "name": "WINDOW_FLAG_MAXIMIZE_DISABLED", + "value": 12 + }, + { + "name": "WINDOW_FLAG_MAX", + "value": 13 } ] }, @@ -81433,6 +85000,10 @@ { "name": "WINDOW_EVENT_TITLEBAR_CHANGE", "value": 7 + }, + { + "name": "WINDOW_EVENT_FORCE_CLOSE", + "value": 8 } ] }, @@ -84579,6 +88150,1450 @@ } ] }, + { + "name": "accessibility_should_increase_contrast", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "accessibility_should_reduce_animation", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "accessibility_should_reduce_transparency", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "accessibility_screen_reader_active", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "accessibility_create_element", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2968347744, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32" + }, + { + "name": "role", + "type": "enum::DisplayServer.AccessibilityRole" + } + ] + }, + { + "name": "accessibility_create_sub_element", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1949948826, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "parent_rid", + "type": "RID" + }, + { + "name": "role", + "type": "enum::DisplayServer.AccessibilityRole" + }, + { + "name": "insert_pos", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "accessibility_create_sub_text_edit_elements", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3328635351, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "parent_rid", + "type": "RID" + }, + { + "name": "shaped_text", + "type": "RID" + }, + { + "name": "min_height", + "type": "float", + "meta": "float" + }, + { + "name": "insert_pos", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "accessibility_has_element", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4155700596, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_free_element", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2722037293, + "arguments": [ + { + "name": "id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_element_set_meta", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3175752987, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "meta", + "type": "Variant" + } + ] + }, + { + "name": "accessibility_element_get_meta", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4171304767, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_set_window_rect", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2386961724, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32" + }, + { + "name": "rect_out", + "type": "Rect2" + }, + { + "name": "rect_in", + "type": "Rect2" + } + ] + }, + { + "name": "accessibility_set_window_focused", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32" + }, + { + "name": "focused", + "type": "bool" + } + ] + }, + { + "name": "accessibility_update_set_focus", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2722037293, + "arguments": [ + { + "name": "id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_get_window_root", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 495598643, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "window_id", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_role", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3352768215, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "role", + "type": "enum::DisplayServer.AccessibilityRole" + } + ] + }, + { + "name": "accessibility_update_set_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_extra_info", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_description", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "description", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_value", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "value", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_tooltip", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "tooltip", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_bounds", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1378122625, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "p_rect", + "type": "Rect2" + } + ] + }, + { + "name": "accessibility_update_set_transform", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1246044741, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "accessibility_update_add_child", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "child_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_add_related_controls", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "related_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_add_related_details", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "related_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_add_related_described_by", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "related_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_add_related_flow_to", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "related_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_add_related_labeled_by", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "related_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_add_related_radio_group", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "related_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_set_active_descendant", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "other_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_set_next_on_line", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "other_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_set_previous_on_line", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "other_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_set_member_of", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "group_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_set_in_page_link_target", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "other_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_set_error_message", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 395945892, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "other_id", + "type": "RID" + } + ] + }, + { + "name": "accessibility_update_set_live", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2683302212, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "live", + "type": "enum::DisplayServer.AccessibilityLiveMode" + } + ] + }, + { + "name": "accessibility_update_add_action", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2898696987, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "action", + "type": "enum::DisplayServer.AccessibilityAction" + }, + { + "name": "callable", + "type": "Callable" + } + ] + }, + { + "name": "accessibility_update_add_custom_action", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4153150897, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "action_id", + "type": "int", + "meta": "int32" + }, + { + "name": "action_description", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_table_row_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3411492887, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_table_column_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3411492887, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_table_row_index", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3411492887, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_table_column_index", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3411492887, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_table_cell_position", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4288446313, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "row_index", + "type": "int", + "meta": "int32" + }, + { + "name": "column_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_table_cell_span", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4288446313, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "row_span", + "type": "int", + "meta": "int32" + }, + { + "name": "column_span", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_list_item_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3411492887, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_list_item_index", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3411492887, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_list_item_level", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3411492887, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "level", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_list_item_selected", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "selected", + "type": "bool" + } + ] + }, + { + "name": "accessibility_update_set_list_item_expanded", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "expanded", + "type": "bool" + } + ] + }, + { + "name": "accessibility_update_set_popup_type", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2040885448, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "popup", + "type": "enum::DisplayServer.AccessibilityPopupType" + } + ] + }, + { + "name": "accessibility_update_set_checked", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "checekd", + "type": "bool" + } + ] + }, + { + "name": "accessibility_update_set_num_value", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1794382983, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "position", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "accessibility_update_set_num_range", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2513314492, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "min", + "type": "float", + "meta": "double" + }, + { + "name": "max", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "accessibility_update_set_num_step", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1794382983, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "step", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "accessibility_update_set_num_jump", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1794382983, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "jump", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "accessibility_update_set_scroll_x", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1794382983, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "position", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "accessibility_update_set_scroll_x_range", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2513314492, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "min", + "type": "float", + "meta": "double" + }, + { + "name": "max", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "accessibility_update_set_scroll_y", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1794382983, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "position", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "accessibility_update_set_scroll_y_range", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2513314492, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "min", + "type": "float", + "meta": "double" + }, + { + "name": "max", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "accessibility_update_set_text_decorations", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1672422386, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "underline", + "type": "bool" + }, + { + "name": "strikethrough", + "type": "bool" + }, + { + "name": "overline", + "type": "bool" + } + ] + }, + { + "name": "accessibility_update_set_text_align", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3725995085, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "align", + "type": "enum::HorizontalAlignment" + } + ] + }, + { + "name": "accessibility_update_set_text_selection", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3119144029, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "text_start_id", + "type": "RID" + }, + { + "name": "start_char", + "type": "int", + "meta": "int32" + }, + { + "name": "text_end_id", + "type": "RID" + }, + { + "name": "end_char", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "accessibility_update_set_flag", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3758675396, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "flag", + "type": "enum::DisplayServer.AccessibilityFlags" + }, + { + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "accessibility_update_set_classname", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "classname", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_placeholder", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "placeholder", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_language", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_text_orientation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "vertical", + "type": "bool" + } + ] + }, + { + "name": "accessibility_update_set_list_orientation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "vertical", + "type": "bool" + } + ] + }, + { + "name": "accessibility_update_set_shortcut", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "shortcut", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_url", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "url", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_role_description", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "description", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_state_description", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2726140452, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "description", + "type": "String" + } + ] + }, + { + "name": "accessibility_update_set_color_value", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2948539648, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "accessibility_update_set_background_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2948539648, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "accessibility_update_set_foreground_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2948539648, + "arguments": [ + { + "name": "id", + "type": "RID" + }, + { + "name": "color", + "type": "Color" + } + ] + }, { "name": "ime_get_selection", "is_const": true, @@ -84677,6 +89692,20 @@ "type": "bool" } }, + { + "name": "set_hardware_keyboard_connection_change_callback", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1611583062, + "arguments": [ + { + "name": "callable", + "type": "Callable" + } + ] + }, { "name": "cursor_set_shape", "is_const": false, @@ -84819,7 +89848,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1531299078, + "hash": 1386825884, + "hash_compatibility": [ + 1531299078 + ], "return_value": { "type": "enum::Error" }, @@ -84851,6 +89883,12 @@ { "name": "callback", "type": "Callable" + }, + { + "name": "parent_window_id", + "type": "int", + "meta": "int32", + "default_value": "0" } ] }, @@ -84860,7 +89898,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1305318754, + "hash": 1448789813, + "hash_compatibility": [ + 1305318754 + ], "return_value": { "type": "enum::Error" }, @@ -84900,6 +89941,12 @@ { "name": "callback", "type": "Callable" + }, + { + "name": "parent_window_id", + "type": "int", + "meta": "int32", + "default_value": "0" } ] }, @@ -85028,6 +90075,23 @@ "is_virtual": false, "hash": 4051624405 }, + { + "name": "color_picker", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 151643214, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "callback", + "type": "Callable" + } + ] + }, { "name": "process_events", "is_const": false, @@ -87519,10 +92583,19 @@ "is_vararg": false, "is_static": true, "is_virtual": false, - "hash": 2981934095, + "hash": 3424652832, + "hash_compatibility": [ + 2981934095 + ], "return_value": { "type": "PackedStringArray" - } + }, + "arguments": [ + { + "name": "preset", + "type": "EditorExportPreset" + } + ] } ] }, @@ -87533,6 +92606,13 @@ "inherits": "EditorExportPlatform", "api_type": "editor" }, + { + "name": "EditorExportPlatformAppleEmbedded", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "EditorExportPlatform", + "api_type": "editor" + }, { "name": "EditorExportPlatformExtension", "is_refcounted": true, @@ -88159,7 +93239,7 @@ "name": "EditorExportPlatformIOS", "is_refcounted": true, "is_instantiable": true, - "inherits": "EditorExportPlatform", + "inherits": "EditorExportPlatformAppleEmbedded", "api_type": "editor" }, { @@ -88183,6 +93263,13 @@ "inherits": "EditorExportPlatform", "api_type": "editor" }, + { + "name": "EditorExportPlatformVisionOS", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "EditorExportPlatformAppleEmbedded", + "api_type": "editor" + }, { "name": "EditorExportPlatformWeb", "is_refcounted": true, @@ -88665,6 +93752,28 @@ } ] }, + { + "name": "_update_android_prebuilt_manifest", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 3304965187, + "return_value": { + "type": "PackedByteArray" + }, + "arguments": [ + { + "name": "platform", + "type": "EditorExportPlatform" + }, + { + "name": "manifest_data", + "type": "PackedByteArray" + } + ] + }, { "name": "add_shared_object", "is_const": false, @@ -88687,20 +93796,6 @@ } ] }, - { - "name": "add_ios_project_static_lib", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, { "name": "add_file", "is_const": false, @@ -88723,6 +93818,118 @@ } ] }, + { + "name": "add_apple_embedded_platform_project_static_lib", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "add_apple_embedded_platform_framework", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "add_apple_embedded_platform_embedded_framework", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "add_apple_embedded_platform_plist_content", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "plist_content", + "type": "String" + } + ] + }, + { + "name": "add_apple_embedded_platform_linker_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "flags", + "type": "String" + } + ] + }, + { + "name": "add_apple_embedded_platform_bundle_file", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "add_apple_embedded_platform_cpp_code", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "code", + "type": "String" + } + ] + }, + { + "name": "add_ios_project_static_lib", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, { "name": "add_ios_framework", "is_const": false, @@ -89035,6 +94242,23 @@ } ] }, + { + "name": "get_project_setting", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2138907829, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + } + ] + }, { "name": "get_preset_name", "is_const": true, @@ -92049,6 +97273,17 @@ "type": "PackedStringArray" } }, + { + "name": "get_open_scene_roots", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::Node" + } + }, { "name": "get_edited_scene_root", "is_const": true, @@ -92101,6 +97336,17 @@ "is_virtual": false, "hash": 3218959716 }, + { + "name": "close_scene", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 166280745, + "return_value": { + "type": "enum::Error" + } + }, { "name": "mark_scene_as_unsaved", "is_const": false, @@ -95129,6 +100375,9 @@ } ] }, + { + "name": "property_overridden" + }, { "name": "property_favorited", "arguments": [ @@ -96527,6 +101776,17 @@ "type": "typedarray::Node" } }, + { + "name": "get_top_selected_nodes", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2915620761, + "return_value": { + "type": "typedarray::Node" + } + }, { "name": "get_transformable_selected_nodes", "is_const": false, @@ -97069,6 +102329,18 @@ "return_value": { "type": "PackedStringArray" } + }, + { + "name": "_create", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 3789807118, + "return_value": { + "type": "EditorSyntaxHighlighter" + } } ] }, @@ -97200,8 +102472,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2107025470, + "hash": 796197507, "hash_compatibility": [ + 2107025470, 3577985681 ], "arguments": [ @@ -97223,6 +102496,11 @@ "name": "backward_undo_ops", "type": "bool", "default_value": "false" + }, + { + "name": "mark_unsaved", + "type": "bool", + "default_value": "true" } ] }, @@ -98557,6 +103835,24 @@ } ] }, + { + "name": "capture_script_backtraces", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 873284517, + "return_value": { + "type": "typedarray::ScriptBacktrace" + }, + "arguments": [ + { + "name": "include_variables", + "type": "bool", + "default_value": "false" + } + ] + }, { "name": "is_editor_hint", "is_const": true, @@ -104353,6 +109649,42 @@ } ] }, + { + "name": "get_access_time", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 1597066294, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "get_size", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 1597066294, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, { "name": "get_unix_permissions", "is_const": false, @@ -104527,6 +109859,54 @@ "value": 2 } ] + }, + { + "name": "DisplayMode", + "is_bitfield": false, + "values": [ + { + "name": "DISPLAY_THUMBNAILS", + "value": 0 + }, + { + "name": "DISPLAY_LIST", + "value": 1 + } + ] + }, + { + "name": "Customization", + "is_bitfield": false, + "values": [ + { + "name": "CUSTOMIZATION_HIDDEN_FILES", + "value": 0 + }, + { + "name": "CUSTOMIZATION_CREATE_FOLDER", + "value": 1 + }, + { + "name": "CUSTOMIZATION_FILE_FILTER", + "value": 2 + }, + { + "name": "CUSTOMIZATION_FILE_SORT", + "value": 3 + }, + { + "name": "CUSTOMIZATION_FAVORITES", + "value": 4 + }, + { + "name": "CUSTOMIZATION_RECENT", + "value": 5 + }, + { + "name": "CUSTOMIZATION_LAYOUT", + "value": 6 + } + ] } ], "methods": [ @@ -104917,6 +110297,31 @@ "type": "enum::FileDialog.FileMode" } }, + { + "name": "set_display_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2692197101, + "arguments": [ + { + "name": "mode", + "type": "enum::FileDialog.DisplayMode" + } + ] + }, + { + "name": "get_display_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1092104624, + "return_value": { + "type": "enum::FileDialog.DisplayMode" + } + }, { "name": "get_vbox", "is_const": false, @@ -105039,6 +110444,41 @@ "type": "bool" } }, + { + "name": "set_customization_flag_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3849177100, + "arguments": [ + { + "name": "flag", + "type": "enum::FileDialog.Customization" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_customization_flag_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3722277863, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::FileDialog.Customization" + } + ] + }, { "name": "deselect_all", "is_const": false, @@ -105107,6 +110547,12 @@ "setter": "set_file_mode", "getter": "get_file_mode" }, + { + "type": "int", + "name": "display_mode", + "setter": "set_display_mode", + "getter": "get_display_mode" + }, { "type": "int", "name": "access", @@ -105131,12 +110577,6 @@ "setter": "set_filename_filter", "getter": "get_filename_filter" }, - { - "type": "int", - "name": "option_count", - "setter": "set_option_count", - "getter": "get_option_count" - }, { "type": "bool", "name": "show_hidden_files", @@ -105149,6 +110589,61 @@ "setter": "set_use_native_dialog", "getter": "get_use_native_dialog" }, + { + "type": "int", + "name": "option_count", + "setter": "set_option_count", + "getter": "get_option_count" + }, + { + "type": "bool", + "name": "hidden_files_toggle_enabled", + "setter": "set_customization_flag_enabled", + "getter": "is_customization_flag_enabled", + "index": 0 + }, + { + "type": "bool", + "name": "file_filter_toggle_enabled", + "setter": "set_customization_flag_enabled", + "getter": "is_customization_flag_enabled", + "index": 2 + }, + { + "type": "bool", + "name": "file_sort_options_enabled", + "setter": "set_customization_flag_enabled", + "getter": "is_customization_flag_enabled", + "index": 3 + }, + { + "type": "bool", + "name": "folder_creation_enabled", + "setter": "set_customization_flag_enabled", + "getter": "is_customization_flag_enabled", + "index": 1 + }, + { + "type": "bool", + "name": "favorites_enabled", + "setter": "set_customization_flag_enabled", + "getter": "is_customization_flag_enabled", + "index": 4 + }, + { + "type": "bool", + "name": "recent_list_enabled", + "setter": "set_customization_flag_enabled", + "getter": "is_customization_flag_enabled", + "index": 5 + }, + { + "type": "bool", + "name": "layout_toggle_enabled", + "setter": "set_customization_flag_enabled", + "getter": "is_customization_flag_enabled", + "index": 6 + }, { "type": "String", "name": "current_dir", @@ -105795,6 +111290,411 @@ } ] }, + { + "name": "FoldableContainer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Container", + "api_type": "core", + "enums": [ + { + "name": "TitlePosition", + "is_bitfield": false, + "values": [ + { + "name": "POSITION_TOP", + "value": 0 + }, + { + "name": "POSITION_BOTTOM", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "fold", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, + { + "name": "expand", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, + { + "name": "set_folded", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "folded", + "type": "bool" + } + ] + }, + { + "name": "is_folded", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_foldable_group", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3001390597, + "arguments": [ + { + "name": "button_group", + "type": "FoldableGroup" + } + ] + }, + { + "name": "get_foldable_group", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 66499518, + "return_value": { + "type": "FoldableGroup" + } + }, + { + "name": "set_title", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_title", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_title_alignment", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2312603777, + "arguments": [ + { + "name": "alignment", + "type": "enum::HorizontalAlignment" + } + ] + }, + { + "name": "get_title_alignment", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 341400642, + "return_value": { + "type": "enum::HorizontalAlignment" + } + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_title_text_direction", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 119160795, + "arguments": [ + { + "name": "text_direction", + "type": "enum::Control.TextDirection" + } + ] + }, + { + "name": "get_title_text_direction", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 797257663, + "return_value": { + "type": "enum::Control.TextDirection" + } + }, + { + "name": "set_title_text_overrun_behavior", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1008890932, + "arguments": [ + { + "name": "overrun_behavior", + "type": "enum::TextServer.OverrunBehavior" + } + ] + }, + { + "name": "get_title_text_overrun_behavior", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3779142101, + "return_value": { + "type": "enum::TextServer.OverrunBehavior" + } + }, + { + "name": "set_title_position", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2276829442, + "arguments": [ + { + "name": "title_position", + "type": "enum::FoldableContainer.TitlePosition" + } + ] + }, + { + "name": "get_title_position", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3028840207, + "return_value": { + "type": "enum::FoldableContainer.TitlePosition" + } + }, + { + "name": "add_title_bar_control", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1496901182, + "arguments": [ + { + "name": "control", + "type": "Control" + } + ] + }, + { + "name": "remove_title_bar_control", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1496901182, + "arguments": [ + { + "name": "control", + "type": "Control" + } + ] + } + ], + "signals": [ + { + "name": "folding_changed", + "arguments": [ + { + "name": "is_folded", + "type": "bool" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "folded", + "setter": "set_folded", + "getter": "is_folded" + }, + { + "type": "String", + "name": "title", + "setter": "set_title", + "getter": "get_title" + }, + { + "type": "int", + "name": "title_alignment", + "setter": "set_title_alignment", + "getter": "get_title_alignment" + }, + { + "type": "int", + "name": "title_position", + "setter": "set_title_position", + "getter": "get_title_position" + }, + { + "type": "int", + "name": "title_text_overrun_behavior", + "setter": "set_title_text_overrun_behavior", + "getter": "get_title_text_overrun_behavior" + }, + { + "type": "FoldableGroup", + "name": "foldable_group", + "setter": "set_foldable_group", + "getter": "get_foldable_group" + }, + { + "type": "int", + "name": "title_text_direction", + "setter": "set_title_text_direction", + "getter": "get_title_text_direction" + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language" + } + ] + }, + { + "name": "FoldableGroup", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_expanded_container", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1427441056, + "return_value": { + "type": "FoldableContainer" + } + }, + { + "name": "get_containers", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::FoldableContainer" + } + }, + { + "name": "set_allow_folding_all", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_allow_folding_all", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + } + ], + "signals": [ + { + "name": "expanded", + "arguments": [ + { + "name": "container", + "type": "FoldableContainer" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "allow_folding_all", + "setter": "set_allow_folding_all", + "getter": "is_allow_folding_all" + } + ] + }, { "name": "Font", "is_refcounted": true, @@ -106246,8 +112146,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1983721962, + "hash": 1976686372, "hash_compatibility": [ + 1983721962, 2565402639 ], "arguments": [ @@ -106299,6 +112200,12 @@ "name": "orientation", "type": "enum::TextServer.Orientation", "default_value": "0" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -106308,8 +112215,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1171506176, + "hash": 2686601589, "hash_compatibility": [ + 1171506176, 348869189 ], "arguments": [ @@ -106343,21 +112251,96 @@ "default_value": "16" }, { - "name": "max_lines", + "name": "max_lines", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "justification_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" + } + ] + }, + { + "name": "draw_string_outline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 701417663, + "hash_compatibility": [ + 623754045, + 657875837 + ], + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "alignment", + "type": "enum::HorizontalAlignment", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + }, + { + "name": "size", "type": "int", "meta": "int32", - "default_value": "-1" + "default_value": "1" }, { "name": "modulate", "type": "Color", "default_value": "Color(1, 1, 1, 1)" }, - { - "name": "brk_flags", - "type": "bitfield::TextServer.LineBreakFlag", - "default_value": "3" - }, { "name": "justification_flags", "type": "bitfield::TextServer.JustificationFlag", @@ -106372,74 +112355,12 @@ "name": "orientation", "type": "enum::TextServer.Orientation", "default_value": "0" - } - ] - }, - { - "name": "draw_string_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 623754045, - "hash_compatibility": [ - 657875837 - ], - "arguments": [ - { - "name": "canvas_item", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" }, { - "name": "width", + "name": "oversampling", "type": "float", "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "1" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" + "default_value": "0.0" } ] }, @@ -106449,8 +112370,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3206388178, + "hash": 4147839237, "hash_compatibility": [ + 3206388178, 1649790182 ], "arguments": [ @@ -106519,6 +112441,12 @@ "name": "orientation", "type": "enum::TextServer.Orientation", "default_value": "0" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -106551,8 +112479,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3815617597, + "hash": 3500170256, "hash_compatibility": [ + 3815617597, 1462476057 ], "return_value": { @@ -106582,6 +112511,12 @@ "name": "modulate", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -106591,8 +112526,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 209525354, + "hash": 1684114874, "hash_compatibility": [ + 209525354, 4161008124 ], "return_value": { @@ -106628,6 +112564,12 @@ "name": "modulate", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -107132,6 +113074,31 @@ "type": "bool" } }, + { + "name": "set_modulate_color_glyphs", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "modulate", + "type": "bool" + } + ] + }, + { + "name": "is_modulate_color_glyphs", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_hinting", "is_const": false, @@ -108699,6 +114666,12 @@ } ], "properties": [ + { + "type": "float", + "name": "oversampling", + "setter": "set_oversampling", + "getter": "get_oversampling" + }, { "type": "PackedByteArray", "name": "data", @@ -108795,18 +114768,18 @@ "setter": "set_force_autohinter", "getter": "is_force_autohinter" }, + { + "type": "bool", + "name": "modulate_color_glyphs", + "setter": "set_modulate_color_glyphs", + "getter": "is_modulate_color_glyphs" + }, { "type": "int", "name": "hinting", "setter": "set_hinting", "getter": "get_hinting" }, - { - "type": "float", - "name": "oversampling", - "setter": "set_oversampling", - "getter": "get_oversampling" - }, { "type": "int", "name": "fixed_size", @@ -109469,11 +115442,14 @@ "methods": [ { "name": "get_buffer_view", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 3905245786, + "hash_compatibility": [ + 2455072627 + ], "return_value": { "type": "int", "meta": "int32" @@ -109496,14 +115472,17 @@ }, { "name": "get_byte_offset", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 3905245786, + "hash_compatibility": [ + 2455072627 + ], "return_value": { "type": "int", - "meta": "int32" + "meta": "int64" } }, { @@ -109517,20 +115496,22 @@ { "name": "byte_offset", "type": "int", - "meta": "int32" + "meta": "int64" } ] }, { "name": "get_component_type", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 852227802, + "hash_compatibility": [ + 2455072627 + ], "return_value": { - "type": "int", - "meta": "int32" + "type": "enum::GLTFAccessor.GLTFComponentType" } }, { @@ -109539,22 +115520,27 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1286410249, + "hash": 1780020221, + "hash_compatibility": [ + 1286410249 + ], "arguments": [ { "name": "component_type", - "type": "int", - "meta": "int32" + "type": "enum::GLTFAccessor.GLTFComponentType" } ] }, { "name": "get_normalized", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2240911060, + "hash": 36873697, + "hash_compatibility": [ + 2240911060 + ], "return_value": { "type": "bool" } @@ -109575,14 +115561,17 @@ }, { "name": "get_count", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 3905245786, + "hash_compatibility": [ + 2455072627 + ], "return_value": { "type": "int", - "meta": "int32" + "meta": "int64" } }, { @@ -109596,17 +115585,20 @@ { "name": "count", "type": "int", - "meta": "int32" + "meta": "int64" } ] }, { "name": "get_accessor_type", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 679305214, + "hash": 1998183368, + "hash_compatibility": [ + 679305214 + ], "return_value": { "type": "enum::GLTFAccessor.GLTFAccessorType" } @@ -109627,11 +115619,14 @@ }, { "name": "get_type", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 3905245786, + "hash_compatibility": [ + 2455072627 + ], "return_value": { "type": "int", "meta": "int32" @@ -109654,11 +115649,14 @@ }, { "name": "get_min", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 148677866, + "hash": 547233126, + "hash_compatibility": [ + 148677866 + ], "return_value": { "type": "PackedFloat64Array" } @@ -109679,11 +115677,14 @@ }, { "name": "get_max", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 148677866, + "hash": 547233126, + "hash_compatibility": [ + 148677866 + ], "return_value": { "type": "PackedFloat64Array" } @@ -109704,14 +115705,17 @@ }, { "name": "get_sparse_count", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 3905245786, + "hash_compatibility": [ + 2455072627 + ], "return_value": { "type": "int", - "meta": "int32" + "meta": "int64" } }, { @@ -109725,17 +115729,20 @@ { "name": "sparse_count", "type": "int", - "meta": "int32" + "meta": "int64" } ] }, { "name": "get_sparse_indices_buffer_view", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 3905245786, + "hash_compatibility": [ + 2455072627 + ], "return_value": { "type": "int", "meta": "int32" @@ -109758,14 +115765,17 @@ }, { "name": "get_sparse_indices_byte_offset", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 3905245786, + "hash_compatibility": [ + 2455072627 + ], "return_value": { "type": "int", - "meta": "int32" + "meta": "int64" } }, { @@ -109779,20 +115789,22 @@ { "name": "sparse_indices_byte_offset", "type": "int", - "meta": "int32" + "meta": "int64" } ] }, { "name": "get_sparse_indices_component_type", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 852227802, + "hash_compatibility": [ + 2455072627 + ], "return_value": { - "type": "int", - "meta": "int32" + "type": "enum::GLTFAccessor.GLTFComponentType" } }, { @@ -109801,22 +115813,27 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1286410249, + "hash": 1780020221, + "hash_compatibility": [ + 1286410249 + ], "arguments": [ { "name": "sparse_indices_component_type", - "type": "int", - "meta": "int32" + "type": "enum::GLTFAccessor.GLTFComponentType" } ] }, { "name": "get_sparse_values_buffer_view", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 3905245786, + "hash_compatibility": [ + 2455072627 + ], "return_value": { "type": "int", "meta": "int32" @@ -109839,14 +115856,17 @@ }, { "name": "get_sparse_values_byte_offset", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 3905245786, + "hash_compatibility": [ + 2455072627 + ], "return_value": { "type": "int", - "meta": "int32" + "meta": "int64" } }, { @@ -109860,7 +115880,7 @@ { "name": "sparse_values_byte_offset", "type": "int", - "meta": "int32" + "meta": "int64" } ] } @@ -110132,7 +116152,7 @@ ], "return_value": { "type": "int", - "meta": "int32" + "meta": "int64" } }, { @@ -110146,7 +116166,7 @@ { "name": "byte_offset", "type": "int", - "meta": "int32" + "meta": "int64" } ] }, @@ -110162,7 +116182,7 @@ ], "return_value": { "type": "int", - "meta": "int32" + "meta": "int64" } }, { @@ -110176,7 +116196,7 @@ { "name": "byte_length", "type": "int", - "meta": "int32" + "meta": "int64" } ] }, @@ -110192,7 +116212,7 @@ ], "return_value": { "type": "int", - "meta": "int32" + "meta": "int64" } }, { @@ -110206,7 +116226,7 @@ { "name": "byte_stride", "type": "int", - "meta": "int32" + "meta": "int64" } ] }, @@ -110557,6 +116577,24 @@ "value": 2 } ] + }, + { + "name": "VisibilityMode", + "is_bitfield": false, + "values": [ + { + "name": "VISIBILITY_MODE_INCLUDE_REQUIRED", + "value": 0 + }, + { + "name": "VISIBILITY_MODE_INCLUDE_OPTIONAL", + "value": 1 + }, + { + "name": "VISIBILITY_MODE_EXCLUDE", + "value": 2 + } + ] } ], "methods": [ @@ -110612,6 +116650,58 @@ "meta": "float" } }, + { + "name": "set_fallback_image_format", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "fallback_image_format", + "type": "String" + } + ] + }, + { + "name": "get_fallback_image_format", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_fallback_image_quality", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "fallback_image_quality", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_fallback_image_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, @@ -110637,6 +116727,31 @@ "type": "enum::GLTFDocument.RootNodeMode" } }, + { + "name": "set_visibility_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2803579218, + "arguments": [ + { + "name": "visibility_mode", + "type": "enum::GLTFDocument.VisibilityMode" + } + ] + }, + { + "name": "get_visibility_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3885445962, + "return_value": { + "type": "enum::GLTFDocument.VisibilityMode" + } + }, { "name": "append_from_file", "is_const": false, @@ -110919,11 +117034,29 @@ "setter": "set_lossy_quality", "getter": "get_lossy_quality" }, + { + "type": "String", + "name": "fallback_image_format", + "setter": "set_fallback_image_format", + "getter": "get_fallback_image_format" + }, + { + "type": "float", + "name": "fallback_image_quality", + "setter": "set_fallback_image_quality", + "getter": "get_fallback_image_quality" + }, { "type": "int", "name": "root_node_mode", "setter": "set_root_node_mode", "getter": "get_root_node_mode" + }, + { + "type": "int", + "name": "visibility_mode", + "setter": "set_visibility_mode", + "getter": "get_visibility_mode" } ] }, @@ -112323,6 +118456,31 @@ } ] }, + { + "name": "get_visible", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2240911060, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_visible", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "visible", + "type": "bool" + } + ] + }, { "name": "get_additional_data", "is_const": false, @@ -112459,6 +118617,12 @@ "name": "light", "setter": "set_light", "getter": "get_light" + }, + { + "type": "bool", + "name": "visible", + "setter": "set_visible", + "getter": "get_visible" } ] }, @@ -121564,6 +127728,23 @@ } ] }, + { + "name": "get_connection_list_from_node", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3147814860, + "return_value": { + "type": "typedarray::Dictionary" + }, + "arguments": [ + { + "name": "node", + "type": "StringName" + } + ] + }, { "name": "get_connections_intersecting_with_rect", "is_const": true, @@ -122401,6 +128582,31 @@ "type": "bool" } }, + { + "name": "set_type_names", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4155329257, + "arguments": [ + { + "name": "type_names", + "type": "Dictionary" + } + ] + }, + { + "name": "get_type_names", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3102165223, + "return_value": { + "type": "Dictionary" + } + }, { "name": "get_menu_hbox", "is_const": false, @@ -122665,6 +128871,12 @@ "setter": "set_right_disconnects", "getter": "is_right_disconnects_enabled" }, + { + "type": "typeddictionary::int;String", + "name": "type_names", + "setter": "set_type_names", + "getter": "get_type_names" + }, { "type": "float", "name": "connection_lines_curvature", @@ -123897,6 +130109,9 @@ "type": "int" } ] + }, + { + "name": "slot_sizes_changed" } ], "properties": [ @@ -127690,6 +133905,34 @@ } ] }, + { + "name": "save_dds", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2113323047, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "save_dds_to_buffer", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2362200018, + "return_value": { + "type": "PackedByteArray" + } + }, { "name": "save_webp", "is_const": true, @@ -128355,6 +134598,23 @@ } ] }, + { + "name": "load_dds_from_buffer", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 680677267, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "buffer", + "type": "PackedByteArray" + } + ] + }, { "name": "load_svg_from_buffer", "is_const": false, @@ -133194,6 +139454,23 @@ } ] }, + { + "name": "get_action_description", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 957595536, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "action", + "type": "StringName" + } + ] + }, { "name": "action_set_deadzone", "is_const": false, @@ -135110,20 +141387,20 @@ ], "methods": [ { - "name": "set_scope", + "name": "set_method", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2572618360, + "hash": 2137474292, "arguments": [ { - "name": "scope", + "name": "name", "type": "String" }, { - "name": "target", - "type": "Object" + "name": "callback", + "type": "Callable" } ] }, @@ -136464,6 +142741,31 @@ "type": "enum::TextServer.AutowrapMode" } }, + { + "name": "set_autowrap_trim_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2809697122, + "arguments": [ + { + "name": "autowrap_trim_flags", + "type": "bitfield::TextServer.LineBreakFlag" + } + ] + }, + { + "name": "get_autowrap_trim_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2340632602, + "return_value": { + "type": "bitfield::TextServer.LineBreakFlag" + } + }, { "name": "set_justification_flags", "is_const": false, @@ -136903,6 +143205,12 @@ "setter": "set_autowrap_mode", "getter": "get_autowrap_mode" }, + { + "type": "int", + "name": "autowrap_trim_flags", + "setter": "set_autowrap_trim_flags", + "getter": "get_autowrap_trim_flags" + }, { "type": "int", "name": "justification_flags", @@ -137493,6 +143801,31 @@ "type": "enum::TextServer.AutowrapMode" } }, + { + "name": "set_autowrap_trim_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2809697122, + "arguments": [ + { + "name": "autowrap_trim_flags", + "type": "bitfield::TextServer.LineBreakFlag" + } + ] + }, + { + "name": "get_autowrap_trim_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2340632602, + "return_value": { + "type": "bitfield::TextServer.LineBreakFlag" + } + }, { "name": "set_justification_flags", "is_const": false, @@ -137986,6 +144319,12 @@ "setter": "set_autowrap_mode", "getter": "get_autowrap_mode" }, + { + "type": "int", + "name": "autowrap_trim_flags", + "setter": "set_autowrap_trim_flags", + "getter": "get_autowrap_trim_flags" + }, { "type": "int", "name": "justification_flags", @@ -138290,6 +144629,351 @@ "return_value": { "type": "Vector2" } + }, + { + "name": "get_stacked_outline_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_stacked_outline_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_stacked_outline", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1025054187, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "move_stacked_outline", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3937882851, + "arguments": [ + { + "name": "from_index", + "type": "int", + "meta": "int32" + }, + { + "name": "to_position", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_stacked_outline", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_stacked_outline_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3937882851, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_stacked_outline_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_stacked_outline_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2878471219, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_stacked_outline_color", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3457211756, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_stacked_shadow_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_stacked_shadow_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_stacked_shadow", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1025054187, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "move_stacked_shadow", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3937882851, + "arguments": [ + { + "name": "from_index", + "type": "int", + "meta": "int32" + }, + { + "name": "to_position", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_stacked_shadow", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_stacked_shadow_offset", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 163021252, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_stacked_shadow_offset", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2299179447, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_stacked_shadow_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2878471219, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_stacked_shadow_color", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3457211756, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_stacked_shadow_outline_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3937882851, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_stacked_shadow_outline_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] } ], "properties": [ @@ -138352,6 +145036,18 @@ "name": "shadow_offset", "setter": "set_shadow_offset", "getter": "get_shadow_offset" + }, + { + "type": "int", + "name": "stacked_outline_count", + "setter": "set_stacked_outline_count", + "getter": "get_stacked_outline_count" + }, + { + "type": "int", + "name": "stacked_shadow_count", + "setter": "set_stacked_shadow_count", + "getter": "get_stacked_shadow_count" } ] }, @@ -142028,6 +148724,44 @@ "meta": "int32" } }, + { + "name": "get_next_composite_character_column", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_previous_composite_character_column", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "get_scroll_offset", "is_const": true, @@ -142398,6 +149132,31 @@ "type": "bool" } }, + { + "name": "set_backspace_deletes_composite_character_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_backspace_deletes_composite_character_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_virtual_keyboard_enabled", "is_const": false, @@ -142423,6 +149182,31 @@ "type": "bool" } }, + { + "name": "set_virtual_keyboard_show_on_focus", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "show_on_focus", + "type": "bool" + } + ] + }, + { + "name": "get_virtual_keyboard_show_on_focus", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_virtual_keyboard_type", "is_const": false, @@ -142767,12 +149551,24 @@ "setter": "set_emoji_menu_enabled", "getter": "is_emoji_menu_enabled" }, + { + "type": "bool", + "name": "backspace_deletes_composite_character_enabled", + "setter": "set_backspace_deletes_composite_character_enabled", + "getter": "is_backspace_deletes_composite_character_enabled" + }, { "type": "bool", "name": "virtual_keyboard_enabled", "setter": "set_virtual_keyboard_enabled", "getter": "is_virtual_keyboard_enabled" }, + { + "type": "bool", + "name": "virtual_keyboard_show_on_focus", + "setter": "set_virtual_keyboard_show_on_focus", + "getter": "get_virtual_keyboard_show_on_focus" + }, { "type": "int", "name": "virtual_keyboard_type", @@ -143155,6 +149951,103 @@ } ] }, + { + "name": "Logger", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "ErrorType", + "is_bitfield": false, + "values": [ + { + "name": "ERROR_TYPE_ERROR", + "value": 0 + }, + { + "name": "ERROR_TYPE_WARNING", + "value": 1 + }, + { + "name": "ERROR_TYPE_SCRIPT", + "value": 2 + }, + { + "name": "ERROR_TYPE_SHADER", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "_log_error", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 27079556, + "arguments": [ + { + "name": "function", + "type": "String" + }, + { + "name": "file", + "type": "String" + }, + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "code", + "type": "String" + }, + { + "name": "rationale", + "type": "String" + }, + { + "name": "editor_notify", + "type": "bool" + }, + { + "name": "error_type", + "type": "int", + "meta": "int32" + }, + { + "name": "script_backtraces", + "type": "typedarray::ScriptBacktrace" + } + ] + }, + { + "name": "_log_message", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 2678287736, + "arguments": [ + { + "name": "message", + "type": "String" + }, + { + "name": "error", + "type": "bool" + } + ] + } + ] + }, { "name": "LookAtModifier3D", "is_refcounted": false, @@ -148549,6 +155442,81 @@ } ] }, + { + "name": "ModifierBoneTarget3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "SkeletonModifier3D", + "api_type": "core", + "methods": [ + { + "name": "set_bone_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "bone_name", + "type": "String" + } + ] + }, + { + "name": "get_bone_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_bone", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "bone", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bone", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + } + ], + "properties": [ + { + "type": "String", + "name": "bone_name", + "setter": "set_bone_name", + "getter": "get_bone_name" + }, + { + "type": "int", + "name": "bone", + "setter": "set_bone", + "getter": "get_bone" + } + ] + }, { "name": "MovieWriter", "is_refcounted": false, @@ -153160,6 +160128,126 @@ "meta": "float" } }, + { + "name": "set_path_return_max_length", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_return_max_length", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_return_max_radius", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_return_max_radius", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_search_max_polygons", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "max_polygons", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_path_search_max_polygons", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_path_search_max_distance", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_search_max_distance", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_path_length", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "get_next_path_position", "is_const": false, @@ -153684,6 +160772,30 @@ "setter": "set_simplify_epsilon", "getter": "get_simplify_epsilon" }, + { + "type": "float", + "name": "path_return_max_length", + "setter": "set_path_return_max_length", + "getter": "get_path_return_max_length" + }, + { + "type": "float", + "name": "path_return_max_radius", + "setter": "set_path_return_max_radius", + "getter": "get_path_return_max_radius" + }, + { + "type": "int", + "name": "path_search_max_polygons", + "setter": "set_path_search_max_polygons", + "getter": "get_path_search_max_polygons" + }, + { + "type": "float", + "name": "path_search_max_distance", + "setter": "set_path_search_max_distance", + "getter": "get_path_search_max_distance" + }, { "type": "bool", "name": "avoidance_enabled", @@ -154413,6 +161525,126 @@ "meta": "float" } }, + { + "name": "set_path_return_max_length", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_return_max_length", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_return_max_radius", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_return_max_radius", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_search_max_polygons", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "max_polygons", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_path_search_max_polygons", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_path_search_max_distance", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_search_max_distance", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_path_length", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "get_next_path_position", "is_const": false, @@ -154916,6 +162148,30 @@ "setter": "set_simplify_epsilon", "getter": "get_simplify_epsilon" }, + { + "type": "float", + "name": "path_return_max_length", + "setter": "set_path_return_max_length", + "getter": "get_path_return_max_length" + }, + { + "type": "float", + "name": "path_return_max_radius", + "setter": "set_path_return_max_radius", + "getter": "get_path_return_max_radius" + }, + { + "type": "int", + "name": "path_search_max_polygons", + "setter": "set_path_search_max_polygons", + "getter": "get_path_search_max_polygons" + }, + { + "type": "float", + "name": "path_search_max_distance", + "setter": "set_path_search_max_distance", + "getter": "get_path_search_max_distance" + }, { "type": "bool", "name": "avoidance_enabled", @@ -158291,6 +165547,164 @@ "type": "float", "meta": "float" } + }, + { + "name": "set_included_regions", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "regions", + "type": "typedarray::RID" + } + ] + }, + { + "name": "get_included_regions", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::RID" + } + }, + { + "name": "set_excluded_regions", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "regions", + "type": "typedarray::RID" + } + ] + }, + { + "name": "get_excluded_regions", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::RID" + } + }, + { + "name": "set_path_return_max_length", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_return_max_length", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_return_max_radius", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_return_max_radius", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_search_max_polygons", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "max_polygons", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_path_search_max_polygons", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_path_search_max_distance", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_search_max_distance", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } } ], "properties": [ @@ -158347,6 +165761,42 @@ "name": "simplify_epsilon", "setter": "set_simplify_epsilon", "getter": "get_simplify_epsilon" + }, + { + "type": "typedarray::RID", + "name": "excluded_regions", + "setter": "set_excluded_regions", + "getter": "get_excluded_regions" + }, + { + "type": "typedarray::RID", + "name": "included_regions", + "setter": "set_included_regions", + "getter": "get_included_regions" + }, + { + "type": "float", + "name": "path_return_max_length", + "setter": "set_path_return_max_length", + "getter": "get_path_return_max_length" + }, + { + "type": "float", + "name": "path_return_max_radius", + "setter": "set_path_return_max_radius", + "getter": "get_path_return_max_radius" + }, + { + "type": "int", + "name": "path_search_max_polygons", + "setter": "set_path_search_max_polygons", + "getter": "get_path_search_max_polygons" + }, + { + "type": "float", + "name": "path_search_max_distance", + "setter": "set_path_search_max_distance", + "getter": "get_path_search_max_distance" } ] }, @@ -158641,6 +166091,164 @@ "type": "float", "meta": "float" } + }, + { + "name": "set_included_regions", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "regions", + "type": "typedarray::RID" + } + ] + }, + { + "name": "get_included_regions", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::RID" + } + }, + { + "name": "set_excluded_regions", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "regions", + "type": "typedarray::RID" + } + ] + }, + { + "name": "get_excluded_regions", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::RID" + } + }, + { + "name": "set_path_return_max_length", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_return_max_length", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_return_max_radius", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_return_max_radius", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_path_search_max_polygons", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "max_polygons", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_path_search_max_polygons", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_path_search_max_distance", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "distance", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_search_max_distance", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } } ], "properties": [ @@ -158697,6 +166305,42 @@ "name": "simplify_epsilon", "setter": "set_simplify_epsilon", "getter": "get_simplify_epsilon" + }, + { + "type": "typedarray::RID", + "name": "excluded_regions", + "setter": "set_excluded_regions", + "getter": "get_excluded_regions" + }, + { + "type": "typedarray::RID", + "name": "included_regions", + "setter": "set_included_regions", + "getter": "get_included_regions" + }, + { + "type": "float", + "name": "path_return_max_length", + "setter": "set_path_return_max_length", + "getter": "get_path_return_max_length" + }, + { + "type": "float", + "name": "path_return_max_radius", + "setter": "set_path_return_max_radius", + "getter": "get_path_return_max_radius" + }, + { + "type": "int", + "name": "path_search_max_polygons", + "setter": "set_path_search_max_polygons", + "getter": "get_path_search_max_polygons" + }, + { + "type": "float", + "name": "path_search_max_distance", + "setter": "set_path_search_max_distance", + "getter": "get_path_search_max_distance" } ] }, @@ -158823,6 +166467,33 @@ "type": "PackedInt64Array" } }, + { + "name": "set_path_length", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_length", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "reset", "is_const": false, @@ -158856,6 +166527,12 @@ "name": "path_owner_ids", "setter": "set_path_owner_ids", "getter": "get_path_owner_ids" + }, + { + "type": "float", + "name": "path_length", + "setter": "set_path_length", + "getter": "get_path_length" } ] }, @@ -158982,6 +166659,33 @@ "type": "PackedInt64Array" } }, + { + "name": "set_path_length", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "length", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_path_length", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "reset", "is_const": false, @@ -159015,6 +166719,12 @@ "name": "path_owner_ids", "setter": "set_path_owner_ids", "getter": "get_path_owner_ids" + }, + { + "type": "float", + "name": "path_length", + "setter": "set_path_length", + "getter": "get_path_length" } ] }, @@ -160345,6 +168055,54 @@ "is_instantiable": false, "inherits": "Object", "api_type": "core", + "enums": [ + { + "name": "ProcessInfo", + "is_bitfield": false, + "values": [ + { + "name": "INFO_ACTIVE_MAPS", + "value": 0 + }, + { + "name": "INFO_REGION_COUNT", + "value": 1 + }, + { + "name": "INFO_AGENT_COUNT", + "value": 2 + }, + { + "name": "INFO_LINK_COUNT", + "value": 3 + }, + { + "name": "INFO_POLYGON_COUNT", + "value": 4 + }, + { + "name": "INFO_EDGE_COUNT", + "value": 5 + }, + { + "name": "INFO_EDGE_MERGE_COUNT", + "value": 6 + }, + { + "name": "INFO_EDGE_CONNECTION_COUNT", + "value": 7 + }, + { + "name": "INFO_EDGE_FREE_COUNT", + "value": 8 + }, + { + "name": "INFO_OBSTACLE_COUNT", + "value": 9 + } + ] + } + ], "methods": [ { "name": "get_maps", @@ -160828,6 +168586,59 @@ "type": "RID" } }, + { + "name": "region_get_iteration_id", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2198884583, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, + { + "name": "region_set_use_async_iterations", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "region_get_use_async_iterations", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4155700596, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, { "name": "region_set_enabled", "is_const": false, @@ -161292,6 +169103,24 @@ "type": "RID" } }, + { + "name": "link_get_iteration_id", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2198884583, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "link", + "type": "RID" + } + ] + }, { "name": "link_set_map", "is_const": false, @@ -162663,6 +170492,20 @@ } ] }, + { + "name": "set_active", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "active", + "type": "bool" + } + ] + }, { "name": "set_debug_enabled", "is_const": false, @@ -162687,6 +170530,24 @@ "return_value": { "type": "bool" } + }, + { + "name": "get_process_info", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1640219858, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "process_info", + "type": "enum::NavigationServer2D.ProcessInfo" + } + ] } ], "signals": [ @@ -162701,6 +170562,9 @@ }, { "name": "navigation_debug_changed" + }, + { + "name": "avoidance_debug_changed" } ] }, @@ -163401,6 +171265,59 @@ "type": "RID" } }, + { + "name": "region_get_iteration_id", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2198884583, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, + { + "name": "region_set_use_async_iterations", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "region", + "type": "RID" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "region_get_use_async_iterations", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4155700596, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, { "name": "region_set_enabled", "is_const": false, @@ -163934,6 +171851,24 @@ "type": "RID" } }, + { + "name": "link_get_iteration_id", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2198884583, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "link", + "type": "RID" + } + ] + }, { "name": "link_set_map", "is_const": false, @@ -165923,6 +173858,10 @@ "name": "NOTIFICATION_VP_MOUSE_EXIT", "value": 1011 }, + { + "name": "NOTIFICATION_WM_POSITION_CHANGED", + "value": 1012 + }, { "name": "NOTIFICATION_OS_MEMORY_WARNING", "value": 2009 @@ -165962,6 +173901,14 @@ { "name": "NOTIFICATION_TEXT_SERVER_CHANGED", "value": 2018 + }, + { + "name": "NOTIFICATION_ACCESSIBILITY_UPDATE", + "value": 3000 + }, + { + "name": "NOTIFICATION_ACCESSIBILITY_INVALIDATE", + "value": 3001 } ], "enums": [ @@ -166176,6 +174123,18 @@ "type": "PackedStringArray" } }, + { + "name": "_get_accessibility_configuration_warnings", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 1139954409, + "return_value": { + "type": "PackedStringArray" + } + }, { "name": "_input", "is_const": false, @@ -166236,6 +174195,18 @@ } ] }, + { + "name": "_get_focused_accessibility_element", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 2944877500, + "return_value": { + "type": "RID" + } + }, { "name": "print_orphan_nodes", "is_const": false, @@ -166244,6 +174215,17 @@ "is_virtual": false, "hash": 3218959716 }, + { + "name": "get_orphan_node_ids", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 2915620761, + "return_value": { + "type": "typedarray::int" + } + }, { "name": "add_sibling", "is_const": false, @@ -166269,11 +174251,14 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 83702148, + "hash": 3304788590, + "hash_compatibility": [ + 83702148 + ], "arguments": [ { "name": "name", - "type": "String" + "type": "StringName" } ] }, @@ -167248,6 +175233,25 @@ "meta": "int32" } }, + { + "name": "queue_accessibility_update", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, + { + "name": "get_accessibility_element", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2944877500, + "return_value": { + "type": "RID" + } + }, { "name": "set_display_folded", "is_const": false, @@ -167403,6 +175407,17 @@ "type": "enum::Node.AutoTranslateMode" } }, + { + "name": "can_auto_translate", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_translation_domain_inherited", "is_const": false, @@ -167667,7 +175682,7 @@ ] }, { - "name": "get_rpc_config", + "name": "get_node_rpc_config", "is_const": true, "is_vararg": false, "is_static": false, @@ -171058,8 +179073,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 990163283, + "hash": 723587915, "hash_compatibility": [ + 990163283, 2841200299 ], "return_value": { @@ -171069,7 +179085,8 @@ { "name": "buffer_size", "type": "int", - "meta": "int64" + "meta": "int64", + "default_value": "1024" } ] }, @@ -171079,7 +179096,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 47165747, + "hash": 3249455752, + "hash_compatibility": [ + 47165747 + ], "return_value": { "type": "PackedByteArray" }, @@ -171087,7 +179107,8 @@ { "name": "buffer_size", "type": "int", - "meta": "int64" + "meta": "int64", + "default_value": "1024" } ] }, @@ -171238,6 +179259,27 @@ } ] }, + { + "name": "open_with_program", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2848259907, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "program_path", + "type": "String" + }, + { + "name": "paths", + "type": "PackedStringArray" + } + ] + }, { "name": "kill", "is_const": false, @@ -171954,6 +179996,34 @@ "is_static": false, "is_virtual": false, "hash": 3218959716 + }, + { + "name": "add_logger", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4261188958, + "arguments": [ + { + "name": "logger", + "type": "Logger" + } + ] + }, + { + "name": "remove_logger", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4261188958, + "arguments": [ + { + "name": "logger", + "type": "Logger" + } + ] } ], "properties": [ @@ -172016,6 +180086,10 @@ { "name": "CONNECT_REFERENCE_COUNTED", "value": 8 + }, + { + "name": "CONNECT_APPEND_SOURCE_OBJECT", + "value": 16 } ] } @@ -173582,6 +181656,20 @@ "type": "bool" } }, + { + "name": "set_custom_play_space", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "space", + "type": "const void*" + } + ] + }, { "name": "get_play_space", "is_const": false, @@ -173693,11 +181781,14 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1997997368, + "hash": 1477360496, + "hash_compatibility": [ + 1997997368 + ], "arguments": [ { "name": "extension", - "type": "OpenXRExtensionWrapperExtension" + "type": "OpenXRExtensionWrapper" } ] }, @@ -173707,11 +181798,14 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1997997368, + "hash": 1477360496, + "hash_compatibility": [ + 1997997368 + ], "arguments": [ { "name": "extension", - "type": "OpenXRExtensionWrapperExtension" + "type": "OpenXRExtensionWrapper" } ] }, @@ -173721,11 +181815,14 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1997997368, + "hash": 1477360496, + "hash_compatibility": [ + 1997997368 + ], "arguments": [ { "name": "extension", - "type": "OpenXRExtensionWrapperExtension" + "type": "OpenXRExtensionWrapper" } ] }, @@ -173735,11 +181832,42 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1997997368, + "hash": 1477360496, + "hash_compatibility": [ + 1997997368 + ], "arguments": [ { "name": "extension", - "type": "OpenXRExtensionWrapperExtension" + "type": "OpenXRExtensionWrapper" + } + ] + }, + { + "name": "register_frame_info_extension", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1477360496, + "arguments": [ + { + "name": "extension", + "type": "OpenXRExtensionWrapper" + } + ] + }, + { + "name": "unregister_frame_info_extension", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1477360496, + "arguments": [ + { + "name": "extension", + "type": "OpenXRExtensionWrapper" } ] }, @@ -174693,7 +182821,7 @@ "is_refcounted": false, "is_instantiable": true, "inherits": "PanelContainer", - "api_type": "core", + "api_type": "editor", "methods": [ { "name": "get_binding_modifier", @@ -174743,6 +182871,100 @@ "is_instantiable": false, "inherits": "Node3D", "api_type": "core", + "enums": [ + { + "name": "Filter", + "is_bitfield": false, + "values": [ + { + "name": "FILTER_NEAREST", + "value": 0 + }, + { + "name": "FILTER_LINEAR", + "value": 1 + }, + { + "name": "FILTER_CUBIC", + "value": 2 + } + ] + }, + { + "name": "MipmapMode", + "is_bitfield": false, + "values": [ + { + "name": "MIPMAP_MODE_DISABLED", + "value": 0 + }, + { + "name": "MIPMAP_MODE_NEAREST", + "value": 1 + }, + { + "name": "MIPMAP_MODE_LINEAR", + "value": 2 + } + ] + }, + { + "name": "Wrap", + "is_bitfield": false, + "values": [ + { + "name": "WRAP_CLAMP_TO_BORDER", + "value": 0 + }, + { + "name": "WRAP_CLAMP_TO_EDGE", + "value": 1 + }, + { + "name": "WRAP_REPEAT", + "value": 2 + }, + { + "name": "WRAP_MIRRORED_REPEAT", + "value": 3 + }, + { + "name": "WRAP_MIRROR_CLAMP_TO_EDGE", + "value": 4 + } + ] + }, + { + "name": "Swizzle", + "is_bitfield": false, + "values": [ + { + "name": "SWIZZLE_RED", + "value": 0 + }, + { + "name": "SWIZZLE_GREEN", + "value": 1 + }, + { + "name": "SWIZZLE_BLUE", + "value": 2 + }, + { + "name": "SWIZZLE_ALPHA", + "value": 3 + }, + { + "name": "SWIZZLE_ZERO", + "value": 4 + }, + { + "name": "SWIZZLE_ONE", + "value": 5 + } + ] + } + ], "methods": [ { "name": "set_layer_viewport", @@ -174918,6 +183140,283 @@ "type": "bool" } }, + { + "name": "set_min_filter", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3653437593, + "arguments": [ + { + "name": "mode", + "type": "enum::OpenXRCompositionLayer.Filter" + } + ] + }, + { + "name": "get_min_filter", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 845677307, + "return_value": { + "type": "enum::OpenXRCompositionLayer.Filter" + } + }, + { + "name": "set_mag_filter", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3653437593, + "arguments": [ + { + "name": "mode", + "type": "enum::OpenXRCompositionLayer.Filter" + } + ] + }, + { + "name": "get_mag_filter", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 845677307, + "return_value": { + "type": "enum::OpenXRCompositionLayer.Filter" + } + }, + { + "name": "set_mipmap_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3271133183, + "arguments": [ + { + "name": "mode", + "type": "enum::OpenXRCompositionLayer.MipmapMode" + } + ] + }, + { + "name": "get_mipmap_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3962697095, + "return_value": { + "type": "enum::OpenXRCompositionLayer.MipmapMode" + } + }, + { + "name": "set_horizontal_wrap", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 15634990, + "arguments": [ + { + "name": "mode", + "type": "enum::OpenXRCompositionLayer.Wrap" + } + ] + }, + { + "name": "get_horizontal_wrap", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2798816834, + "return_value": { + "type": "enum::OpenXRCompositionLayer.Wrap" + } + }, + { + "name": "set_vertical_wrap", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 15634990, + "arguments": [ + { + "name": "mode", + "type": "enum::OpenXRCompositionLayer.Wrap" + } + ] + }, + { + "name": "get_vertical_wrap", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2798816834, + "return_value": { + "type": "enum::OpenXRCompositionLayer.Wrap" + } + }, + { + "name": "set_red_swizzle", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 741598951, + "arguments": [ + { + "name": "mode", + "type": "enum::OpenXRCompositionLayer.Swizzle" + } + ] + }, + { + "name": "get_red_swizzle", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2334776767, + "return_value": { + "type": "enum::OpenXRCompositionLayer.Swizzle" + } + }, + { + "name": "set_green_swizzle", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 741598951, + "arguments": [ + { + "name": "mode", + "type": "enum::OpenXRCompositionLayer.Swizzle" + } + ] + }, + { + "name": "get_green_swizzle", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2334776767, + "return_value": { + "type": "enum::OpenXRCompositionLayer.Swizzle" + } + }, + { + "name": "set_blue_swizzle", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 741598951, + "arguments": [ + { + "name": "mode", + "type": "enum::OpenXRCompositionLayer.Swizzle" + } + ] + }, + { + "name": "get_blue_swizzle", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2334776767, + "return_value": { + "type": "enum::OpenXRCompositionLayer.Swizzle" + } + }, + { + "name": "set_alpha_swizzle", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 741598951, + "arguments": [ + { + "name": "mode", + "type": "enum::OpenXRCompositionLayer.Swizzle" + } + ] + }, + { + "name": "get_alpha_swizzle", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2334776767, + "return_value": { + "type": "enum::OpenXRCompositionLayer.Swizzle" + } + }, + { + "name": "set_max_anisotropy", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "value", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_max_anisotropy", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_border_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2920490490, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_border_color", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3444240500, + "return_value": { + "type": "Color" + } + }, { "name": "intersects_ray", "is_const": true, @@ -174976,6 +183475,72 @@ "name": "enable_hole_punch", "setter": "set_enable_hole_punch", "getter": "get_enable_hole_punch" + }, + { + "type": "int", + "name": "swapchain_state_min_filter", + "setter": "set_min_filter", + "getter": "get_min_filter" + }, + { + "type": "int", + "name": "swapchain_state_mag_filter", + "setter": "set_mag_filter", + "getter": "get_mag_filter" + }, + { + "type": "int", + "name": "swapchain_state_mipmap_mode", + "setter": "set_mipmap_mode", + "getter": "get_mipmap_mode" + }, + { + "type": "int", + "name": "swapchain_state_horizontal_wrap", + "setter": "set_horizontal_wrap", + "getter": "get_horizontal_wrap" + }, + { + "type": "int", + "name": "swapchain_state_vertical_wrap", + "setter": "set_vertical_wrap", + "getter": "get_vertical_wrap" + }, + { + "type": "int", + "name": "swapchain_state_red_swizzle", + "setter": "set_red_swizzle", + "getter": "get_red_swizzle" + }, + { + "type": "int", + "name": "swapchain_state_green_swizzle", + "setter": "set_green_swizzle", + "getter": "get_green_swizzle" + }, + { + "type": "int", + "name": "swapchain_state_blue_swizzle", + "setter": "set_blue_swizzle", + "getter": "get_blue_swizzle" + }, + { + "type": "int", + "name": "swapchain_state_alpha_swizzle", + "setter": "set_alpha_swizzle", + "getter": "get_alpha_swizzle" + }, + { + "type": "float", + "name": "swapchain_state_max_anisotropy", + "setter": "set_max_anisotropy", + "getter": "get_max_anisotropy" + }, + { + "type": "Color", + "name": "swapchain_state_border_color", + "setter": "set_border_color", + "getter": "get_border_color" } ] }, @@ -175639,7 +184204,7 @@ ] }, { - "name": "OpenXRExtensionWrapperExtension", + "name": "OpenXRExtensionWrapper", "is_refcounted": false, "is_instantiable": true, "inherits": "Object", @@ -175781,6 +184346,87 @@ } ] }, + { + "name": "_set_frame_wait_info_and_get_next_pointer", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 3744713108, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "next_pointer", + "type": "void*" + } + ] + }, + { + "name": "_set_frame_end_info_and_get_next_pointer", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 3744713108, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "next_pointer", + "type": "void*" + } + ] + }, + { + "name": "_set_view_locate_info_and_get_next_pointer", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 3744713108, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "next_pointer", + "type": "void*" + } + ] + }, + { + "name": "_set_reference_space_create_info_and_get_next_pointer", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 50157827, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "reference_space_type", + "type": "int", + "meta": "int32" + }, + { + "name": "next_pointer", + "type": "void*" + } + ] + }, { "name": "_get_composition_layer_count", "is_const": false, @@ -176171,6 +184817,167 @@ } ] }, + { + "name": "OpenXRExtensionWrapperExtension", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "OpenXRExtensionWrapper", + "api_type": "core" + }, + { + "name": "OpenXRFutureExtension", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "OpenXRExtensionWrapper", + "api_type": "core", + "methods": [ + { + "name": "is_active", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "register_future", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1038012256, + "return_value": { + "type": "OpenXRFutureResult" + }, + "arguments": [ + { + "name": "future", + "type": "int", + "meta": "uint64" + }, + { + "name": "on_success", + "type": "Callable", + "default_value": "Callable()" + } + ] + }, + { + "name": "cancel_future", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "future", + "type": "int", + "meta": "uint64" + } + ] + } + ] + }, + { + "name": "OpenXRFutureResult", + "is_refcounted": true, + "is_instantiable": false, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "ResultStatus", + "is_bitfield": false, + "values": [ + { + "name": "RESULT_RUNNING", + "value": 0 + }, + { + "name": "RESULT_FINISHED", + "value": 1 + }, + { + "name": "RESULT_CANCELLED", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "get_status", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2023607463, + "return_value": { + "type": "enum::OpenXRFutureResult.ResultStatus" + } + }, + { + "name": "get_future", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "uint64" + } + }, + { + "name": "cancel_future", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, + { + "name": "set_result_value", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1114965689, + "arguments": [ + { + "name": "result_value", + "type": "Variant" + } + ] + }, + { + "name": "get_result_value", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1214101251, + "return_value": { + "type": "Variant" + } + } + ], + "signals": [ + { + "name": "completed", + "arguments": [ + { + "name": "result", + "type": "OpenXRFutureResult" + } + ] + } + ] + }, { "name": "OpenXRHand", "is_refcounted": false, @@ -176926,14 +185733,14 @@ "is_refcounted": false, "is_instantiable": true, "inherits": "OpenXRInteractionProfileEditorBase", - "api_type": "core" + "api_type": "editor" }, { "name": "OpenXRInteractionProfileEditorBase", "is_refcounted": false, "is_instantiable": false, "inherits": "HBoxContainer", - "api_type": "core", + "api_type": "editor", "methods": [ { "name": "setup", @@ -177239,6 +186046,64 @@ } ] }, + { + "name": "PerfSettingsLevel", + "is_bitfield": false, + "values": [ + { + "name": "PERF_SETTINGS_LEVEL_POWER_SAVINGS", + "value": 0 + }, + { + "name": "PERF_SETTINGS_LEVEL_SUSTAINED_LOW", + "value": 1 + }, + { + "name": "PERF_SETTINGS_LEVEL_SUSTAINED_HIGH", + "value": 2 + }, + { + "name": "PERF_SETTINGS_LEVEL_BOOST", + "value": 3 + } + ] + }, + { + "name": "PerfSettingsSubDomain", + "is_bitfield": false, + "values": [ + { + "name": "PERF_SETTINGS_SUB_DOMAIN_COMPOSITING", + "value": 0 + }, + { + "name": "PERF_SETTINGS_SUB_DOMAIN_RENDERING", + "value": 1 + }, + { + "name": "PERF_SETTINGS_SUB_DOMAIN_THERMAL", + "value": 2 + } + ] + }, + { + "name": "PerfSettingsNotificationLevel", + "is_bitfield": false, + "values": [ + { + "name": "PERF_SETTINGS_NOTIF_LEVEL_NORMAL", + "value": 0 + }, + { + "name": "PERF_SETTINGS_NOTIF_LEVEL_WARNING", + "value": 1 + }, + { + "name": "PERF_SETTINGS_NOTIF_LEVEL_IMPAIRED", + "value": 2 + } + ] + }, { "name": "HandJointFlags", "is_bitfield": true, @@ -177714,6 +186579,34 @@ "meta": "float" } ] + }, + { + "name": "set_cpu_level", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2940842095, + "arguments": [ + { + "name": "level", + "type": "enum::OpenXRInterface.PerfSettingsLevel" + } + ] + }, + { + "name": "set_gpu_level", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2940842095, + "arguments": [ + { + "name": "level", + "type": "enum::OpenXRInterface.PerfSettingsLevel" + } + ] } ], "signals": [ @@ -177746,6 +186639,40 @@ "type": "float" } ] + }, + { + "name": "cpu_level_changed", + "arguments": [ + { + "name": "sub_domain", + "type": "int" + }, + { + "name": "from_level", + "type": "int" + }, + { + "name": "to_level", + "type": "int" + } + ] + }, + { + "name": "gpu_level_changed", + "arguments": [ + { + "name": "sub_domain", + "type": "int" + }, + { + "name": "from_level", + "type": "int" + }, + { + "name": "to_level", + "type": "int" + } + ] } ], "properties": [ @@ -177989,6 +186916,25 @@ } ] }, + { + "name": "set_item_auto_translate_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 287402019, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "mode", + "type": "enum::Node.AutoTranslateMode" + } + ] + }, { "name": "get_item_text", "is_const": true, @@ -178099,6 +187045,24 @@ } ] }, + { + "name": "get_item_auto_translate_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 906302372, + "return_value": { + "type": "enum::Node.AutoTranslateMode" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "is_item_disabled", "is_const": true, @@ -182372,11 +191336,39 @@ "return_value": { "type": "Curve3D" } + }, + { + "name": "set_debug_custom_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2920490490, + "arguments": [ + { + "name": "debug_custom_color", + "type": "Color" + } + ] + }, + { + "name": "get_debug_custom_color", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3444240500, + "return_value": { + "type": "Color" + } } ], "signals": [ { "name": "curve_changed" + }, + { + "name": "debug_color_changed" } ], "properties": [ @@ -182385,6 +191377,12 @@ "name": "curve", "setter": "set_curve", "getter": "get_curve" + }, + { + "type": "Color", + "name": "debug_custom_color", + "setter": "set_debug_custom_color", + "getter": "get_debug_custom_color" } ] }, @@ -183139,8 +192137,88 @@ "value": 38 }, { - "name": "MONITOR_MAX", + "name": "NAVIGATION_2D_ACTIVE_MAPS", "value": 39 + }, + { + "name": "NAVIGATION_2D_REGION_COUNT", + "value": 40 + }, + { + "name": "NAVIGATION_2D_AGENT_COUNT", + "value": 41 + }, + { + "name": "NAVIGATION_2D_LINK_COUNT", + "value": 42 + }, + { + "name": "NAVIGATION_2D_POLYGON_COUNT", + "value": 43 + }, + { + "name": "NAVIGATION_2D_EDGE_COUNT", + "value": 44 + }, + { + "name": "NAVIGATION_2D_EDGE_MERGE_COUNT", + "value": 45 + }, + { + "name": "NAVIGATION_2D_EDGE_CONNECTION_COUNT", + "value": 46 + }, + { + "name": "NAVIGATION_2D_EDGE_FREE_COUNT", + "value": 47 + }, + { + "name": "NAVIGATION_2D_OBSTACLE_COUNT", + "value": 48 + }, + { + "name": "NAVIGATION_3D_ACTIVE_MAPS", + "value": 49 + }, + { + "name": "NAVIGATION_3D_REGION_COUNT", + "value": 50 + }, + { + "name": "NAVIGATION_3D_AGENT_COUNT", + "value": 51 + }, + { + "name": "NAVIGATION_3D_LINK_COUNT", + "value": 52 + }, + { + "name": "NAVIGATION_3D_POLYGON_COUNT", + "value": 53 + }, + { + "name": "NAVIGATION_3D_EDGE_COUNT", + "value": 54 + }, + { + "name": "NAVIGATION_3D_EDGE_MERGE_COUNT", + "value": 55 + }, + { + "name": "NAVIGATION_3D_EDGE_CONNECTION_COUNT", + "value": 56 + }, + { + "name": "NAVIGATION_3D_EDGE_FREE_COUNT", + "value": 57 + }, + { + "name": "NAVIGATION_3D_OBSTACLE_COUNT", + "value": 58 + }, + { + "name": "MONITOR_MAX", + "value": 59 } ] } @@ -198318,6 +207396,43 @@ } ] }, + { + "name": "soft_body_set_shrinking_factor", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1794382983, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shrinking_factor", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "soft_body_get_shrinking_factor", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 866169185, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, { "name": "soft_body_set_pressure_coefficient", "is_const": false, @@ -198533,6 +207648,88 @@ } ] }, + { + "name": "soft_body_apply_point_impulse", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 831953689, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "point_index", + "type": "int", + "meta": "int32" + }, + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "soft_body_apply_point_force", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 831953689, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "point_index", + "type": "int", + "meta": "int32" + }, + { + "name": "force", + "type": "Vector3" + } + ] + }, + { + "name": "soft_body_apply_central_impulse", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3227306858, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "soft_body_apply_central_force", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3227306858, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "force", + "type": "Vector3" + } + ] + }, { "name": "joint_create", "is_const": false, @@ -201839,6 +211036,45 @@ } ] }, + { + "name": "_soft_body_set_shrinking_factor", + "is_const": false, + "is_static": false, + "is_required": true, + "is_vararg": false, + "is_virtual": true, + "hash": 1794382983, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "shrinking_factor", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "_soft_body_get_shrinking_factor", + "is_const": true, + "is_static": false, + "is_required": true, + "is_vararg": false, + "is_virtual": true, + "hash": 866169185, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, { "name": "_soft_body_set_pressure_coefficient", "is_const": false, @@ -202102,6 +211338,92 @@ } ] }, + { + "name": "_soft_body_apply_point_impulse", + "is_const": false, + "is_static": false, + "is_required": true, + "is_vararg": false, + "is_virtual": true, + "hash": 831953689, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "point_index", + "type": "int", + "meta": "int32" + }, + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "_soft_body_apply_point_force", + "is_const": false, + "is_static": false, + "is_required": true, + "is_vararg": false, + "is_virtual": true, + "hash": 831953689, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "point_index", + "type": "int", + "meta": "int32" + }, + { + "name": "force", + "type": "Vector3" + } + ] + }, + { + "name": "_soft_body_apply_central_impulse", + "is_const": false, + "is_static": false, + "is_required": true, + "is_vararg": false, + "is_virtual": true, + "hash": 3227306858, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "_soft_body_apply_central_force", + "is_const": false, + "is_static": false, + "is_required": true, + "is_vararg": false, + "is_virtual": true, + "hash": 3227306858, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "force", + "type": "Vector3" + } + ] + }, { "name": "_joint_create", "is_const": false, @@ -206825,6 +216147,25 @@ } ] }, + { + "name": "set_item_auto_translate_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 287402019, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "mode", + "type": "enum::Node.AutoTranslateMode" + } + ] + }, { "name": "set_item_icon", "is_const": false, @@ -207280,6 +216621,24 @@ } ] }, + { + "name": "get_item_auto_translate_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 906302372, + "return_value": { + "type": "enum::Node.AutoTranslateMode" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "get_item_icon", "is_const": true, @@ -208057,6 +217416,10 @@ { "name": "COMPRESSION_MODE_BPTC", "value": 5 + }, + { + "name": "COMPRESSION_MODE_ASTC", + "value": 6 } ] } @@ -208166,6 +217529,26 @@ "type": "bool" } }, + { + "name": "set_basisu_compressor_params", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1602489585, + "arguments": [ + { + "name": "uastc_level", + "type": "int", + "meta": "int32" + }, + { + "name": "rdo_quality_loss", + "type": "float", + "meta": "float" + } + ] + }, { "name": "set_keep_all_compressed_buffers", "is_const": false, @@ -209292,6 +218675,27 @@ "type": "typedarray::Dictionary" } }, + { + "name": "get_setting_with_override_and_custom_features", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2434817427, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "name", + "type": "StringName" + }, + { + "name": "features", + "type": "PackedStringArray" + } + ] + }, { "name": "set_order", "is_const": false, @@ -218765,8 +228169,64 @@ "value": 217 }, { - "name": "DATA_FORMAT_MAX", + "name": "DATA_FORMAT_ASTC_4x4_SFLOAT_BLOCK", "value": 218 + }, + { + "name": "DATA_FORMAT_ASTC_5x4_SFLOAT_BLOCK", + "value": 219 + }, + { + "name": "DATA_FORMAT_ASTC_5x5_SFLOAT_BLOCK", + "value": 220 + }, + { + "name": "DATA_FORMAT_ASTC_6x5_SFLOAT_BLOCK", + "value": 221 + }, + { + "name": "DATA_FORMAT_ASTC_6x6_SFLOAT_BLOCK", + "value": 222 + }, + { + "name": "DATA_FORMAT_ASTC_8x5_SFLOAT_BLOCK", + "value": 223 + }, + { + "name": "DATA_FORMAT_ASTC_8x6_SFLOAT_BLOCK", + "value": 224 + }, + { + "name": "DATA_FORMAT_ASTC_8x8_SFLOAT_BLOCK", + "value": 225 + }, + { + "name": "DATA_FORMAT_ASTC_10x5_SFLOAT_BLOCK", + "value": 226 + }, + { + "name": "DATA_FORMAT_ASTC_10x6_SFLOAT_BLOCK", + "value": 227 + }, + { + "name": "DATA_FORMAT_ASTC_10x8_SFLOAT_BLOCK", + "value": 228 + }, + { + "name": "DATA_FORMAT_ASTC_10x10_SFLOAT_BLOCK", + "value": 229 + }, + { + "name": "DATA_FORMAT_ASTC_12x10_SFLOAT_BLOCK", + "value": 230 + }, + { + "name": "DATA_FORMAT_ASTC_12x12_SFLOAT_BLOCK", + "value": 231 + }, + { + "name": "DATA_FORMAT_MAX", + "value": 232 } ] }, @@ -219710,6 +229170,14 @@ "name": "Features", "is_bitfield": false, "values": [ + { + "name": "SUPPORTS_METALFX_SPATIAL", + "value": 3 + }, + { + "name": "SUPPORTS_METALFX_TEMPORAL", + "value": 4 + }, { "name": "SUPPORTS_BUFFER_DEVICE_ADDRESS", "value": 6 @@ -220171,7 +229639,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1397171480, + "hash": 3732868568, + "hash_compatibility": [ + 1397171480 + ], "return_value": { "type": "RID" }, @@ -220216,6 +229687,12 @@ "name": "layers", "type": "int", "meta": "uint64" + }, + { + "name": "mipmaps", + "type": "int", + "meta": "uint64", + "default_value": "1" } ] }, @@ -222768,6 +232245,14 @@ "name": "CANVAS_ITEM_Z_MAX", "value": 4096 }, + { + "name": "CANVAS_LAYER_MIN", + "value": -2147483648 + }, + { + "name": "CANVAS_LAYER_MAX", + "value": 2147483647 + }, { "name": "MAX_GLOW_LEVELS", "value": 7 @@ -223943,8 +233428,12 @@ "value": 1 }, { - "name": "VIEWPORT_SCREEN_SPACE_AA_MAX", + "name": "VIEWPORT_SCREEN_SPACE_AA_SMAA", "value": 2 + }, + { + "name": "VIEWPORT_SCREEN_SPACE_AA_MAX", + "value": 3 } ] }, @@ -226124,6 +235613,29 @@ } ] }, + { + "name": "mesh_surface_get_format_index_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_add_surface", "is_const": false, @@ -226516,6 +236028,34 @@ } ] }, + { + "name": "mesh_surface_update_index_region", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2900195149, + "arguments": [ + { + "name": "mesh", + "type": "RID" + }, + { + "name": "surface", + "type": "int", + "meta": "int32" + }, + { + "name": "offset", + "type": "int", + "meta": "int32" + }, + { + "name": "data", + "type": "PackedByteArray" + } + ] + }, { "name": "mesh_set_shadow_mesh", "is_const": false, @@ -231590,6 +241130,35 @@ } ] }, + { + "name": "environment_set_fog_depth", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 157498339, + "arguments": [ + { + "name": "env", + "type": "RID" + }, + { + "name": "curve", + "type": "float", + "meta": "float" + }, + { + "name": "begin", + "type": "float", + "meta": "float" + }, + { + "name": "end", + "type": "float", + "meta": "float" + } + ] + }, { "name": "environment_set_sdfgi", "is_const": false, @@ -232351,38 +241920,6 @@ } ] }, - { - "name": "instance_set_interpolated", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "interpolated", - "type": "bool" - } - ] - }, - { - "name": "instance_reset_physics_interpolation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "instance", - "type": "RID" - } - ] - }, { "name": "instance_attach_object_instance_id", "is_const": false, @@ -232486,6 +242023,20 @@ } ] }, + { + "name": "instance_teleport", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2722037293, + "arguments": [ + { + "name": "instance", + "type": "RID" + } + ] + }, { "name": "instance_set_custom_aabb", "is_const": false, @@ -235619,6 +245170,26 @@ "is_instantiable": true, "inherits": "RefCounted", "api_type": "core", + "enums": [ + { + "name": "ResourceDeepDuplicateMode", + "is_bitfield": false, + "values": [ + { + "name": "RESOURCE_DEEP_DUPLICATE_NONE", + "value": 0 + }, + { + "name": "RESOURCE_DEEP_DUPLICATE_INTERNAL", + "value": 1 + }, + { + "name": "RESOURCE_DEEP_DUPLICATE_ALL", + "value": 2 + } + ] + } + ], "methods": [ { "name": "_setup_local_to_scene", @@ -235908,11 +245479,29 @@ }, "arguments": [ { - "name": "subresources", + "name": "deep", "type": "bool", "default_value": "false" } ] + }, + { + "name": "duplicate_deep", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1807532819, + "return_value": { + "type": "Resource" + }, + "arguments": [ + { + "name": "deep_subresources_mode", + "type": "enum::ResourceDeepDuplicateMode", + "default_value": "1" + } + ] } ], "signals": [ @@ -236343,6 +245932,26 @@ } ] } + ], + "methods": [ + { + "name": "_get_build_dependencies", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 4291131558, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } ] }, { @@ -236451,6 +246060,13 @@ } ] }, + { + "name": "ResourceImporterSVG", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "ResourceImporter", + "api_type": "editor" + }, { "name": "ResourceImporterScene", "is_refcounted": true, @@ -237016,6 +246632,28 @@ } ] }, + { + "name": "set_uid", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 993915709, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "resource", + "type": "String" + }, + { + "name": "uid", + "type": "int", + "meta": "int64" + } + ] + }, { "name": "get_recognized_extensions", "is_const": false, @@ -237152,6 +246790,24 @@ "meta": "int64" } }, + { + "name": "create_id_for_path", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1597066294, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, { "name": "has_id", "is_const": true, @@ -237240,6 +246896,57 @@ "meta": "int64" } ] + }, + { + "name": "uid_to_path", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 1703090593, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "uid", + "type": "String" + } + ] + }, + { + "name": "path_to_uid", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 1703090593, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "ensure_path", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 1703090593, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path_or_uid", + "type": "String" + } + ] } ] }, @@ -237838,15 +247545,59 @@ } ] }, + { + "name": "add_hr", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 16816895, + "arguments": [ + { + "name": "width", + "type": "int", + "meta": "int32", + "default_value": "90" + }, + { + "name": "height", + "type": "int", + "meta": "int32", + "default_value": "2" + }, + { + "name": "color", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "alignment", + "type": "enum::HorizontalAlignment", + "default_value": "1" + }, + { + "name": "width_in_percent", + "type": "bool", + "default_value": "true" + }, + { + "name": "height_in_percent", + "type": "bool", + "default_value": "false" + } + ] + }, { "name": "add_image", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3017663154, + "hash": 1390915033, "hash_compatibility": [ 3580801207, + 3017663154, + 1389823276, 3346058748 ], "arguments": [ @@ -237897,9 +247648,19 @@ "default_value": "\"\"" }, { - "name": "size_in_percent", + "name": "width_in_percent", "type": "bool", "default_value": "false" + }, + { + "name": "height_in_percent", + "type": "bool", + "default_value": "false" + }, + { + "name": "alt_text", + "type": "String", + "default_value": "\"\"" } ] }, @@ -237909,7 +247670,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 815048486, + "hash": 6389170, + "hash_compatibility": [ + 815048486 + ], "arguments": [ { "name": "key", @@ -237961,7 +247725,12 @@ "default_value": "\"\"" }, { - "name": "size_in_percent", + "name": "width_in_percent", + "type": "bool", + "default_value": "false" + }, + { + "name": "height_in_percent", "type": "bool", "default_value": "false" } @@ -238291,7 +248060,17 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3218959716 + "hash": 1458098034, + "hash_compatibility": [ + 3218959716 + ], + "arguments": [ + { + "name": "color", + "type": "Color", + "default_value": "Color(0, 0, 0, 0)" + } + ] }, { "name": "push_strikethrough", @@ -238299,7 +248078,17 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3218959716 + "hash": 1458098034, + "hash_compatibility": [ + 3218959716 + ], + "arguments": [ + { + "name": "color", + "type": "Color", + "default_value": "Color(0, 0, 0, 0)" + } + ] }, { "name": "push_table", @@ -238307,8 +248096,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2623499273, + "hash": 3426862026, "hash_compatibility": [ + 2623499273, 1125058220 ], "arguments": [ @@ -238327,6 +248117,11 @@ "type": "int", "meta": "int32", "default_value": "-1" + }, + { + "name": "name", + "type": "String", + "default_value": "\"\"" } ] }, @@ -238412,6 +248207,25 @@ } ] }, + { + "name": "set_table_column_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 501894301, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, { "name": "set_cell_row_background_color", "is_const": false, @@ -238795,6 +248609,31 @@ "type": "enum::TextServer.AutowrapMode" } }, + { + "name": "set_autowrap_trim_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2809697122, + "arguments": [ + { + "name": "autowrap_trim_flags", + "type": "bitfield::TextServer.LineBreakFlag" + } + ] + }, + { + "name": "get_autowrap_trim_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2340632602, + "return_value": { + "type": "bitfield::TextServer.LineBreakFlag" + } + }, { "name": "set_meta_underline", "is_const": false, @@ -239541,6 +249380,44 @@ "meta": "int32" } }, + { + "name": "get_line_height", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_line_width", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "get_line_offset", "is_const": false, @@ -239635,6 +249512,14 @@ } ] }, + { + "name": "reload_effects", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, { "name": "get_menu", "is_const": true, @@ -239742,6 +249627,12 @@ "setter": "set_autowrap_mode", "getter": "get_autowrap_mode" }, + { + "type": "int", + "name": "autowrap_trim_flags", + "setter": "set_autowrap_trim_flags", + "getter": "get_autowrap_trim_flags" + }, { "type": "int", "name": "tab_size", @@ -242175,6 +252066,187 @@ } ] }, + { + "name": "SVGTexture", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Texture2D", + "api_type": "core", + "methods": [ + { + "name": "create_from_string", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 2404345842, + "return_value": { + "type": "SVGTexture" + }, + "arguments": [ + { + "name": "source", + "type": "String" + }, + { + "name": "scale", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "saturation", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "color_map", + "type": "Dictionary", + "default_value": "{}" + } + ] + }, + { + "name": "set_source", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "source", + "type": "String" + } + ] + }, + { + "name": "get_source", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_base_scale", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "base_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_base_scale", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_saturation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "saturation", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_saturation", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_color_map", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4155329257, + "arguments": [ + { + "name": "color_map", + "type": "Dictionary" + } + ] + }, + { + "name": "get_color_map", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3102165223, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_size_override", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1130785943, + "arguments": [ + { + "name": "size", + "type": "Vector2i" + } + ] + } + ], + "properties": [ + { + "type": "float", + "name": "base_scale", + "setter": "set_base_scale", + "getter": "get_base_scale" + }, + { + "type": "float", + "name": "saturation", + "setter": "set_saturation", + "getter": "get_saturation" + }, + { + "type": "typeddictionary::Color;Color", + "name": "color_map", + "setter": "set_color_map", + "getter": "get_color_map" + } + ] + }, { "name": "SceneMultiplayer", "is_refcounted": true, @@ -242867,6 +252939,28 @@ } ], "methods": [ + { + "name": "get_path", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "get_base_scene_state", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3479783971, + "return_value": { + "type": "SceneState" + } + }, { "name": "get_node_count", "is_const": true, @@ -243313,6 +253407,28 @@ } ] }, + { + "name": "is_accessibility_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_accessibility_supported", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "is_auto_accept_quit", "is_const": true, @@ -243954,6 +254070,9 @@ { "name": "tree_changed" }, + { + "name": "scene_changed" + }, { "name": "tree_process_mode_changed" }, @@ -244360,6 +254479,307 @@ } ] }, + { + "name": "ScriptBacktrace", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "methods": [ + { + "name": "get_language_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "is_empty", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "get_frame_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_frame_function", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 844755477, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_frame_file", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 844755477, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_frame_line", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_global_variable_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_global_variable_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 844755477, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "variable_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_global_variable_value", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4227898402, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "variable_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_local_variable_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "frame_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_local_variable_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1391810591, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "frame_index", + "type": "int", + "meta": "int32" + }, + { + "name": "variable_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_local_variable_value", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 678354945, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "frame_index", + "type": "int", + "meta": "int32" + }, + { + "name": "variable_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_member_variable_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "frame_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_member_variable_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1391810591, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "frame_index", + "type": "int", + "meta": "int32" + }, + { + "name": "variable_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_member_variable_value", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 678354945, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "frame_index", + "type": "int", + "meta": "int32" + }, + { + "name": "variable_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "format", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3464456933, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "indent_all", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "indent_frames", + "type": "int", + "meta": "int32", + "default_value": "4" + } + ] + } + ] + }, { "name": "ScriptCreateDialog", "is_refcounted": false, @@ -245261,6 +255681,10 @@ { "name": "SCRIPT_NAME_CASING_KEBAB_CASE", "value": 3 + }, + { + "name": "SCRIPT_NAME_CASING_CAMEL_CASE", + "value": 4 } ] } @@ -249144,6 +259568,10 @@ { "name": "MODIFIER_CALLBACK_MODE_PROCESS_IDLE", "value": 1 + }, + { + "name": "MODIFIER_CALLBACK_MODE_PROCESS_MANUAL", + "value": 2 } ] } @@ -249876,6 +260304,21 @@ "type": "enum::Skeleton3D.ModifierCallbackModeProcess" } }, + { + "name": "advance", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "delta", + "type": "float", + "meta": "double" + } + ] + }, { "name": "clear_bones_global_pose_override", "is_const": false, @@ -252758,6 +263201,22 @@ } ], "methods": [ + { + "name": "_process_modification_with_delta", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 373806689, + "arguments": [ + { + "name": "delta", + "type": "float", + "meta": "double" + } + ] + }, { "name": "_process_modification", "is_const": false, @@ -252767,6 +263226,34 @@ "is_virtual": true, "hash": 3218959716 }, + { + "name": "_skeleton_changed", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 2926744397, + "arguments": [ + { + "name": "old_skeleton", + "type": "Skeleton3D" + }, + { + "name": "new_skeleton", + "type": "Skeleton3D" + } + ] + }, + { + "name": "_validate_bone_names", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 3218959716 + }, { "name": "get_skeleton", "is_const": true, @@ -253807,6 +264294,30 @@ "is_instantiable": false, "inherits": "Range", "api_type": "core", + "enums": [ + { + "name": "TickPosition", + "is_bitfield": false, + "values": [ + { + "name": "TICK_POSITION_BOTTOM_RIGHT", + "value": 0 + }, + { + "name": "TICK_POSITION_TOP_LEFT", + "value": 1 + }, + { + "name": "TICK_POSITION_BOTH", + "value": 2 + }, + { + "name": "TICK_POSITION_CENTER", + "value": 3 + } + ] + } + ], "methods": [ { "name": "set_ticks", @@ -253860,6 +264371,31 @@ } ] }, + { + "name": "get_ticks_position", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3567635531, + "return_value": { + "type": "enum::Slider.TickPosition" + } + }, + { + "name": "set_ticks_position", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2952822224, + "arguments": [ + { + "name": "ticks_on_border", + "type": "enum::Slider.TickPosition" + } + ] + }, { "name": "set_editable", "is_const": false, @@ -253949,6 +264485,12 @@ "name": "ticks_on_borders", "setter": "set_ticks_on_borders", "getter": "get_ticks_on_borders" + }, + { + "type": "int", + "name": "ticks_position", + "setter": "set_ticks_position", + "getter": "get_ticks_position" } ] }, @@ -254430,6 +264972,33 @@ "meta": "float" } }, + { + "name": "set_shrinking_factor", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "shrinking_factor", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_shrinking_factor", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 191475506, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "set_pressure_coefficient", "is_const": false, @@ -254529,6 +265098,72 @@ } ] }, + { + "name": "apply_impulse", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1530502735, + "arguments": [ + { + "name": "point_index", + "type": "int", + "meta": "int32" + }, + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "apply_force", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1530502735, + "arguments": [ + { + "name": "point_index", + "type": "int", + "meta": "int32" + }, + { + "name": "force", + "type": "Vector3" + } + ] + }, + { + "name": "apply_central_impulse", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3460891852, + "arguments": [ + { + "name": "impulse", + "type": "Vector3" + } + ] + }, + { + "name": "apply_central_force", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3460891852, + "arguments": [ + { + "name": "force", + "type": "Vector3" + } + ] + }, { "name": "set_point_pinned", "is_const": false, @@ -254643,6 +265278,12 @@ "setter": "set_linear_stiffness", "getter": "get_linear_stiffness" }, + { + "type": "float", + "name": "shrinking_factor", + "setter": "set_shrinking_factor", + "getter": "get_shrinking_factor" + }, { "type": "float", "name": "pressure_coefficient", @@ -255464,6 +266105,31 @@ "return_value": { "type": "Control" } + }, + { + "name": "set_touch_dragger_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_touch_dragger_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } } ], "signals": [ @@ -255514,6 +266180,12 @@ "setter": "set_vertical", "getter": "is_vertical" }, + { + "type": "bool", + "name": "touch_dragger_enabled", + "setter": "set_touch_dragger_enabled", + "getter": "is_touch_dragger_enabled" + }, { "type": "int", "name": "drag_area_margin_begin", @@ -255978,6 +266650,33 @@ "meta": "float" } }, + { + "name": "set_mid_height", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "mid_height", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_mid_height", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "set_inside", "is_const": false, @@ -256017,6 +266716,12 @@ "setter": "set_height", "getter": "get_height" }, + { + "type": "float", + "name": "mid_height", + "setter": "set_mid_height", + "getter": "get_mid_height" + }, { "type": "bool", "name": "inside", @@ -256185,6 +266890,10 @@ { "name": "ROTATION_AXIS_ALL", "value": 3 + }, + { + "name": "ROTATION_AXIS_CUSTOM", + "value": 4 } ] } @@ -256681,6 +267390,43 @@ } ] }, + { + "name": "set_rotation_axis_vector", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1530502735, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "vector", + "type": "Vector3" + } + ] + }, + { + "name": "get_rotation_axis_vector", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 711720468, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "set_radius_damping_curve", "is_const": false, @@ -257149,6 +267895,53 @@ } ] }, + { + "name": "set_joint_rotation_axis_vector", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2866752138, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "joint", + "type": "int", + "meta": "int32" + }, + { + "name": "vector", + "type": "Vector3" + } + ] + }, + { + "name": "get_joint_rotation_axis_vector", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1592972041, + "return_value": { + "type": "Vector3" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + }, + { + "name": "joint", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "set_joint_radius", "is_const": false, @@ -257650,6 +268443,31 @@ } ] }, + { + "name": "set_external_force", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3460891852, + "arguments": [ + { + "name": "force", + "type": "Vector3" + } + ] + }, + { + "name": "get_external_force", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3360562783, + "return_value": { + "type": "Vector3" + } + }, { "name": "reset", "is_const": false, @@ -257660,6 +268478,12 @@ } ], "properties": [ + { + "type": "Vector3", + "name": "external_force", + "setter": "set_external_force", + "getter": "get_external_force" + }, { "type": "int", "name": "setting_count", @@ -263412,6 +274236,31 @@ "type": "bool" } }, + { + "name": "set_modulate_color_glyphs", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "modulate", + "type": "bool" + } + ] + }, + { + "name": "is_modulate_color_glyphs", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_hinting", "is_const": false, @@ -263675,6 +274524,12 @@ } ], "properties": [ + { + "type": "float", + "name": "oversampling", + "setter": "set_oversampling", + "getter": "get_oversampling" + }, { "type": "PackedStringArray", "name": "font_names", @@ -263729,6 +274584,12 @@ "setter": "set_force_autohinter", "getter": "is_force_autohinter" }, + { + "type": "bool", + "name": "modulate_color_glyphs", + "setter": "set_modulate_color_glyphs", + "getter": "is_modulate_color_glyphs" + }, { "type": "int", "name": "hinting", @@ -263764,12 +274625,6 @@ "name": "msdf_size", "setter": "set_msdf_size", "getter": "get_msdf_size" - }, - { - "type": "float", - "name": "oversampling", - "setter": "set_oversampling", - "getter": "get_oversampling" } ] }, @@ -264690,6 +275545,31 @@ } ] }, + { + "name": "set_close_with_middle_mouse", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_close_with_middle_mouse", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_tab_close_display_policy", "is_const": false, @@ -264996,6 +275876,12 @@ "setter": "set_clip_tabs", "getter": "get_clip_tabs" }, + { + "type": "bool", + "name": "close_with_middle_mouse", + "setter": "set_close_with_middle_mouse", + "getter": "get_close_with_middle_mouse" + }, { "type": "int", "name": "tab_close_display_policy", @@ -266492,6 +277378,31 @@ "type": "bool" } }, + { + "name": "set_tab_input_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_tab_input_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_overtype_mode_enabled", "is_const": false, @@ -266567,6 +277478,31 @@ "type": "bool" } }, + { + "name": "set_backspace_deletes_composite_character_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_backspace_deletes_composite_character_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_shortcut_keys_enabled", "is_const": false, @@ -266617,6 +277553,31 @@ "type": "bool" } }, + { + "name": "set_virtual_keyboard_show_on_focus", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "show_on_focus", + "type": "bool" + } + ] + }, + { + "name": "get_virtual_keyboard_show_on_focus", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_middle_mouse_paste_enabled", "is_const": false, @@ -268014,6 +278975,54 @@ } ] }, + { + "name": "get_next_composite_character_column", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3175239445, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_previous_composite_character_column", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3175239445, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "line", + "type": "int", + "meta": "int32" + }, + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "get_caret_wrap_index", "is_const": true, @@ -270180,6 +281189,12 @@ "setter": "set_emoji_menu_enabled", "getter": "is_emoji_menu_enabled" }, + { + "type": "bool", + "name": "backspace_deletes_composite_character_enabled", + "setter": "set_backspace_deletes_composite_character_enabled", + "getter": "is_backspace_deletes_composite_character_enabled" + }, { "type": "bool", "name": "shortcut_keys_enabled", @@ -270210,6 +281225,12 @@ "setter": "set_virtual_keyboard_enabled", "getter": "is_virtual_keyboard_enabled" }, + { + "type": "bool", + "name": "virtual_keyboard_show_on_focus", + "setter": "set_virtual_keyboard_show_on_focus", + "getter": "get_virtual_keyboard_show_on_focus" + }, { "type": "bool", "name": "middle_mouse_paste_enabled", @@ -270240,6 +281261,12 @@ "setter": "set_indent_wrapped_lines", "getter": "is_indent_wrapped_lines" }, + { + "type": "bool", + "name": "tab_input_mode", + "setter": "set_tab_input_mode", + "getter": "get_tab_input_mode" + }, { "type": "bool", "name": "scroll_smooth", @@ -270456,6 +281483,17 @@ "type": "enum::TextServer.Direction" } }, + { + "name": "get_inferred_direction", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2516697328, + "return_value": { + "type": "enum::TextServer.Direction" + } + }, { "name": "set_orientation", "is_const": false, @@ -270917,8 +281955,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 856975658, + "hash": 3625105422, "hash_compatibility": [ + 856975658, 1164457837 ], "arguments": [ @@ -270934,6 +281973,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -270943,8 +281988,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1343401456, + "hash": 2592177763, "hash_compatibility": [ + 1343401456, 1364491366 ], "arguments": [ @@ -270966,6 +282012,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -271667,6 +282719,17 @@ "type": "enum::TextServer.Direction" } }, + { + "name": "get_inferred_direction", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2516697328, + "return_value": { + "type": "enum::TextServer.Direction" + } + }, { "name": "set_custom_punctuation", "is_const": false, @@ -272171,6 +283234,17 @@ "type": "RID" } }, + { + "name": "get_range", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3690982128, + "return_value": { + "type": "Vector2i" + } + }, { "name": "get_line_count", "is_const": true, @@ -272437,8 +283511,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1567802413, + "hash": 1492808103, "hash_compatibility": [ + 1567802413, 367324453 ], "arguments": [ @@ -272459,6 +283534,12 @@ "name": "dc_color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -272468,8 +283549,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1893131224, + "hash": 3820500590, "hash_compatibility": [ + 1893131224, 2159523405 ], "arguments": [ @@ -272496,6 +283578,12 @@ "name": "dc_color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -272505,8 +283593,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1242169894, + "hash": 828033758, "hash_compatibility": [ + 1242169894, 3963848920 ], "arguments": [ @@ -272527,6 +283616,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -272536,8 +283631,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2664926980, + "hash": 2822696703, "hash_compatibility": [ + 2664926980, 1814903311 ], "arguments": [ @@ -272564,6 +283660,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -272573,8 +283675,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 856975658, + "hash": 3625105422, "hash_compatibility": [ + 856975658, 1164457837 ], "arguments": [ @@ -272590,6 +283693,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -272599,8 +283708,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1343401456, + "hash": 2592177763, "hash_compatibility": [ + 1343401456, 1364491366 ], "arguments": [ @@ -272622,6 +283732,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -272911,6 +284027,14 @@ { "name": "BREAK_TRIM_INDENT", "value": 32 + }, + { + "name": "BREAK_TRIM_START_EDGE_SPACES", + "value": 64 + }, + { + "name": "BREAK_TRIM_END_EDGE_SPACES", + "value": 128 } ] }, @@ -272963,6 +284087,14 @@ { "name": "OVERRUN_TRIM_WORD_ELLIPSIS", "value": 4 + }, + { + "name": "OVERRUN_TRIM_ELLIPSIS_FORCE", + "value": 5 + }, + { + "name": "OVERRUN_TRIM_WORD_ELLIPSIS_FORCE", + "value": 6 } ] }, @@ -274097,6 +285229,14 @@ } ] }, + { + "name": "font_clear_system_fallback_cache", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, { "name": "font_set_force_autohinter", "is_const": false, @@ -274132,6 +285272,41 @@ } ] }, + { + "name": "font_set_modulate_color_glyphs", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + }, + { + "name": "force_autohinter", + "type": "bool" + } + ] + }, + { + "name": "font_is_modulate_color_glyphs", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4155700596, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + } + ] + }, { "name": "font_set_hinting", "is_const": false, @@ -274512,6 +285687,23 @@ } ] }, + { + "name": "font_get_size_cache_info", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2684255073, + "return_value": { + "type": "typedarray::Dictionary" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + } + ] + }, { "name": "font_set_ascent", "is_const": false, @@ -275617,8 +286809,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1339057948, + "hash": 3103234926, "hash_compatibility": [ + 1339057948, 1821196351 ], "arguments": [ @@ -275648,6 +286841,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -275657,8 +286856,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2626165733, + "hash": 1976041553, "hash_compatibility": [ + 2626165733, 1124898203 ], "arguments": [ @@ -275693,6 +286893,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -276514,6 +287720,23 @@ } ] }, + { + "name": "shaped_get_text", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 642473191, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, { "name": "shaped_get_span_count", "is_const": true, @@ -276576,6 +287799,50 @@ } ] }, + { + "name": "shaped_get_span_text", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1464764419, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "shaped_get_span_object", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4069510997, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, { "name": "shaped_set_span_update_font", "is_const": false, @@ -276612,6 +287879,179 @@ } ] }, + { + "name": "shaped_get_run_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2198884583, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "shaped_get_run_text", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1464764419, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "shaped_get_run_range", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4069534484, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "shaped_get_run_font_rid", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1066463050, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "shaped_get_run_font_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1120910005, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "shaped_get_run_language", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1464764419, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "shaped_get_run_direction", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2413896864, + "return_value": { + "type": "enum::TextServer.Direction" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "shaped_get_run_object", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4069510997, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, { "name": "shaped_text_substr", "is_const": true, @@ -277478,8 +288918,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 880389142, + "hash": 1647687596, "hash_compatibility": [ + 880389142, 70679950 ], "arguments": [ @@ -277511,6 +288952,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -277520,8 +288967,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2559184194, + "hash": 1217146601, "hash_compatibility": [ + 2559184194, 2673671346 ], "arguments": [ @@ -277559,6 +289007,12 @@ "name": "color", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float", + "default_value": "0.0" } ] }, @@ -278805,6 +290259,15 @@ } ] }, + { + "name": "_font_clear_system_fallback_cache", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 3218959716 + }, { "name": "_font_set_force_autohinter", "is_const": false, @@ -278842,6 +290305,43 @@ } ] }, + { + "name": "_font_set_modulate_color_glyphs", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 1265174801, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + }, + { + "name": "modulate", + "type": "bool" + } + ] + }, + { + "name": "_font_is_modulate_color_glyphs", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 4155700596, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + } + ] + }, { "name": "_font_set_hinting", "is_const": false, @@ -279243,6 +290743,24 @@ } ] }, + { + "name": "_font_get_size_cache_info", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 2684255073, + "return_value": { + "type": "typedarray::Dictionary" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + } + ] + }, { "name": "_font_set_ascent", "is_const": false, @@ -280394,7 +291912,10 @@ "is_required": true, "is_vararg": false, "is_virtual": true, - "hash": 309868464, + "hash": 404525066, + "hash_compatibility": [ + 309868464 + ], "arguments": [ { "name": "font_rid", @@ -280421,6 +291942,11 @@ { "name": "color", "type": "Color" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float" } ] }, @@ -280431,7 +291957,10 @@ "is_required": true, "is_vararg": false, "is_virtual": true, - "hash": 3090733778, + "hash": 940535541, + "hash_compatibility": [ + 3090733778 + ], "arguments": [ { "name": "font_rid", @@ -280463,6 +291992,11 @@ { "name": "color", "type": "Color" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float" } ] }, @@ -280776,6 +292310,38 @@ } ] }, + { + "name": "_reference_oversampling_level", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 373806689, + "arguments": [ + { + "name": "oversampling", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "_unreference_oversampling_level", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 373806689, + "arguments": [ + { + "name": "oversampling", + "type": "float", + "meta": "double" + } + ] + }, { "name": "_get_hex_code_box_size", "is_const": true, @@ -281296,6 +292862,24 @@ } ] }, + { + "name": "_shaped_get_text", + "is_const": true, + "is_static": false, + "is_required": true, + "is_vararg": false, + "is_virtual": true, + "hash": 642473191, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, { "name": "_shaped_get_span_count", "is_const": true, @@ -281361,6 +292945,52 @@ } ] }, + { + "name": "_shaped_get_span_text", + "is_const": true, + "is_static": false, + "is_required": true, + "is_vararg": false, + "is_virtual": true, + "hash": 1464764419, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "_shaped_get_span_object", + "is_const": true, + "is_static": false, + "is_required": true, + "is_vararg": false, + "is_virtual": true, + "hash": 4069510997, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, { "name": "_shaped_set_span_update_font", "is_const": false, @@ -281394,6 +293024,187 @@ } ] }, + { + "name": "_shaped_get_run_count", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 2198884583, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + } + ] + }, + { + "name": "_shaped_get_run_text", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 1464764419, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "_shaped_get_run_range", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 4069534484, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "_shaped_get_run_font_rid", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 1066463050, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "_shaped_get_run_font_size", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 1120910005, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "_shaped_get_run_language", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 1464764419, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "_shaped_get_run_direction", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 2413896864, + "return_value": { + "type": "enum::TextServer.Direction" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "_shaped_get_run_object", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 4069510997, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "int64" + } + ] + }, { "name": "_shaped_text_substr", "is_const": true, @@ -282162,7 +293973,10 @@ "is_required": false, "is_vararg": false, "is_virtual": true, - "hash": 2453262187, + "hash": 2079930245, + "hash_compatibility": [ + 2453262187 + ], "arguments": [ { "name": "shaped", @@ -282189,6 +294003,11 @@ { "name": "color", "type": "Color" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float" } ] }, @@ -282199,7 +294018,10 @@ "is_required": false, "is_vararg": false, "is_virtual": true, - "hash": 1686767567, + "hash": 601976754, + "hash_compatibility": [ + 1686767567 + ], "arguments": [ { "name": "shaped", @@ -282231,6 +294053,11 @@ { "name": "color", "type": "Color" + }, + { + "name": "oversampling", + "type": "float", + "meta": "float" } ] }, @@ -286047,6 +297874,24 @@ } ] }, + { + "name": "rename_type", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3740211285, + "arguments": [ + { + "name": "old_theme_type", + "type": "StringName" + }, + { + "name": "theme_type", + "type": "StringName" + } + ] + }, { "name": "get_type_list", "is_const": true, @@ -289535,6 +301380,33 @@ "type": "enum::TileMapLayer.DebugVisibilityMode" } }, + { + "name": "set_physics_quadrant_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_physics_quadrant_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, { "name": "set_occlusion_enabled", "is_const": false, @@ -289702,6 +301574,12 @@ "setter": "set_collision_visibility_mode", "getter": "get_collision_visibility_mode" }, + { + "type": "int", + "name": "physics_quadrant_size", + "setter": "set_physics_quadrant_size", + "getter": "get_physics_quadrant_size" + }, { "type": "bool", "name": "navigation_enabled", @@ -294439,6 +306317,56 @@ } ] }, + { + "name": "get_locale_override", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_locale_override", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "locale", + "type": "String" + } + ] + }, + { + "name": "is_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, { "name": "is_pseudolocalization_enabled", "is_const": true, @@ -294685,6 +306613,12 @@ } ], "properties": [ + { + "type": "bool", + "name": "enabled", + "setter": "set_enabled", + "getter": "is_enabled" + }, { "type": "bool", "name": "pseudolocalization_enabled", @@ -296651,6 +308585,43 @@ } ] }, + { + "name": "set_description", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 501894301, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "description", + "type": "String" + } + ] + }, + { + "name": "get_description", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 844755477, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "set_text_direction", "is_const": false, @@ -297772,8 +309743,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1688223362, + "hash": 973481897, "hash_compatibility": [ + 1688223362, 1507727907 ], "arguments": [ @@ -297801,6 +309773,11 @@ "name": "tooltip_text", "type": "String", "default_value": "\"\"" + }, + { + "name": "description", + "type": "String", + "default_value": "\"\"" } ] }, @@ -298008,6 +309985,30 @@ } ] }, + { + "name": "set_button_description", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2285447957, + "arguments": [ + { + "name": "column", + "type": "int", + "meta": "int32" + }, + { + "name": "button_index", + "type": "int", + "meta": "int32" + }, + { + "name": "description", + "type": "String" + } + ] + }, { "name": "set_button_disabled", "is_const": false, @@ -298517,7 +310518,79 @@ "is_refcounted": true, "is_instantiable": true, "inherits": "RefCounted", - "api_type": "core" + "api_type": "core", + "methods": [ + { + "name": "create_from_faces", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2637816732, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "faces", + "type": "PackedVector3Array" + } + ] + }, + { + "name": "get_faces", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 497664490, + "return_value": { + "type": "PackedVector3Array" + } + }, + { + "name": "intersect_segment", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3648293151, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "begin", + "type": "Vector3" + }, + { + "name": "end", + "type": "Vector3" + } + ] + }, + { + "name": "intersect_ray", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3648293151, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "begin", + "type": "Vector3" + }, + { + "name": "dir", + "type": "Vector3" + } + ] + } + ] }, { "name": "TubeTrailMesh", @@ -301795,6 +313868,33 @@ "meta": "float" } }, + { + "name": "set_speed_scale", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "speed_scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_speed_scale", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "set_audio_track", "is_const": false, @@ -302016,6 +314116,12 @@ "setter": "set_volume", "getter": "get_volume" }, + { + "type": "float", + "name": "speed_scale", + "setter": "set_speed_scale", + "getter": "get_speed_scale" + }, { "type": "bool", "name": "autoplay", @@ -302211,8 +314317,12 @@ "value": 1 }, { - "name": "SCREEN_SPACE_AA_MAX", + "name": "SCREEN_SPACE_AA_SMAA", "value": 2 + }, + { + "name": "SCREEN_SPACE_AA_MAX", + "value": 3 } ] }, @@ -302871,6 +314981,70 @@ "type": "enum::Viewport.DebugDraw" } }, + { + "name": "set_use_oversampling", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_oversampling", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_oversampling_override", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "oversampling", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_oversampling_override", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "get_oversampling", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "get_render_info", "is_const": false, @@ -303110,6 +315284,31 @@ "type": "Variant" } }, + { + "name": "gui_get_drag_description", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "gui_set_drag_description", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "description", + "type": "String" + } + ] + }, { "name": "gui_is_dragging", "is_const": true, @@ -304334,6 +316533,18 @@ "name": "canvas_cull_mask", "setter": "set_canvas_cull_mask", "getter": "get_canvas_cull_mask" + }, + { + "type": "bool", + "name": "oversampling", + "setter": "set_use_oversampling", + "getter": "is_using_oversampling" + }, + { + "type": "float", + "name": "oversampling_override", + "setter": "set_oversampling_override", + "getter": "get_oversampling_override" } ] }, @@ -304597,6 +316808,31 @@ "type": "Rect2" } }, + { + "name": "set_show_rect", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "show_rect", + "type": "bool" + } + ] + }, + { + "name": "is_showing_rect", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "is_on_screen", "is_const": true, @@ -304623,6 +316859,12 @@ "name": "rect", "setter": "set_rect", "getter": "get_rect" + }, + { + "type": "bool", + "name": "show_rect", + "setter": "set_show_rect", + "getter": "is_showing_rect" } ] }, @@ -315569,8 +327811,20 @@ "value": 9 }, { - "name": "FLAG_MAX", + "name": "FLAG_POPUP_WM_HINT", "value": 10 + }, + { + "name": "FLAG_MINIMIZE_DISABLED", + "value": 11 + }, + { + "name": "FLAG_MAXIMIZE_DISABLED", + "value": 12 + }, + { + "name": "FLAG_MAX", + "value": 13 } ] }, @@ -315735,18 +327989,6 @@ "type": "String" } }, - { - "name": "get_window_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, { "name": "set_initial_position", "is_const": false, @@ -316433,31 +328675,6 @@ "meta": "float" } }, - { - "name": "set_use_font_oversampling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_font_oversampling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, { "name": "set_mouse_passthrough_polygon", "is_const": false, @@ -317215,6 +329432,79 @@ "meta": "int32" } }, + { + "name": "get_window_id", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_accessibility_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_accessibility_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_accessibility_description", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "description", + "type": "String" + } + ] + }, + { + "name": "get_accessibility_description", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "get_focused_window", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 1835468782, + "return_value": { + "type": "Window" + } + }, { "name": "set_layout_direction", "is_const": false, @@ -317276,6 +329566,31 @@ "type": "bool" } }, + { + "name": "set_use_font_oversampling", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_using_font_oversampling", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "popup", "is_const": false, @@ -317670,6 +329985,27 @@ "getter": "get_flag", "index": 9 }, + { + "type": "bool", + "name": "popup_wm_hint", + "setter": "set_flag", + "getter": "get_flag", + "index": 10 + }, + { + "type": "bool", + "name": "minimize_disabled", + "setter": "set_flag", + "getter": "get_flag", + "index": 11 + }, + { + "type": "bool", + "name": "maximize_disabled", + "setter": "set_flag", + "getter": "get_flag", + "index": 12 + }, { "type": "bool", "name": "force_native", @@ -317730,6 +330066,18 @@ "setter": "set_auto_translate", "getter": "is_auto_translating" }, + { + "type": "String", + "name": "accessibility_name", + "setter": "set_accessibility_name", + "getter": "get_accessibility_name" + }, + { + "type": "String", + "name": "accessibility_description", + "setter": "set_accessibility_description", + "getter": "get_accessibility_description" + }, { "type": "Theme", "name": "theme", @@ -317818,6 +330166,18 @@ } ] }, + { + "name": "get_caller_task_id", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int64" + } + }, { "name": "add_group_task", "is_const": false, @@ -317911,6 +330271,18 @@ "meta": "int64" } ] + }, + { + "name": "get_caller_group_id", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int64" + } } ] }, @@ -317933,7 +330305,7 @@ } }, { - "name": "get_space", + "name": "get_navigation_map", "is_const": true, "is_vararg": false, "is_static": false, @@ -317944,7 +330316,7 @@ } }, { - "name": "get_navigation_map", + "name": "get_space", "is_const": true, "is_vararg": false, "is_static": false, @@ -317974,13 +330346,13 @@ }, { "type": "RID", - "name": "space", - "getter": "get_space" + "name": "navigation_map", + "getter": "get_navigation_map" }, { "type": "RID", - "name": "navigation_map", - "getter": "get_navigation_map" + "name": "space", + "getter": "get_space" }, { "type": "PhysicsDirectSpaceState2D", @@ -319239,8 +331611,52 @@ "value": 75 }, { - "name": "JOINT_MAX", + "name": "JOINT_LOWER_CHEST", "value": 76 + }, + { + "name": "JOINT_LEFT_SCAPULA", + "value": 77 + }, + { + "name": "JOINT_LEFT_WRIST_TWIST", + "value": 78 + }, + { + "name": "JOINT_RIGHT_SCAPULA", + "value": 79 + }, + { + "name": "JOINT_RIGHT_WRIST_TWIST", + "value": 80 + }, + { + "name": "JOINT_LEFT_ANKLE_TWIST", + "value": 81 + }, + { + "name": "JOINT_LEFT_ANKLE", + "value": 82 + }, + { + "name": "JOINT_LEFT_MIDDLE_FOOT", + "value": 83 + }, + { + "name": "JOINT_RIGHT_ANKLE_TWIST", + "value": 84 + }, + { + "name": "JOINT_RIGHT_ANKLE", + "value": 85 + }, + { + "name": "JOINT_RIGHT_MIDDLE_FOOT", + "value": 86 + }, + { + "name": "JOINT_MAX", + "value": 87 } ] }, @@ -320903,6 +333319,10 @@ { "name": "XR_PLAY_AREA_STAGE", "value": 4 + }, + { + "name": "XR_PLAY_AREA_CUSTOM", + "value": 2147483647 } ] }, @@ -320923,6 +333343,24 @@ "value": 2 } ] + }, + { + "name": "VRSTextureFormat", + "is_bitfield": false, + "values": [ + { + "name": "XR_VRS_TEXTURE_FORMAT_UNIFIED", + "value": 0 + }, + { + "name": "XR_VRS_TEXTURE_FORMAT_FRAGMENT_SHADING_RATE", + "value": 1 + }, + { + "name": "XR_VRS_TEXTURE_FORMAT_FRAGMENT_DENSITY_MAP", + "value": 2 + } + ] } ], "methods": [ @@ -321597,6 +334035,18 @@ "type": "RID" } }, + { + "name": "_get_vrs_texture_format", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 1500923256, + "return_value": { + "type": "enum::XRInterface.VRSTextureFormat" + } + }, { "name": "_process", "is_const": false, @@ -323425,6 +335875,28 @@ "value": 2 } ] + }, + { + "name": "CompressionLevel", + "is_bitfield": false, + "values": [ + { + "name": "COMPRESSION_DEFAULT", + "value": -1 + }, + { + "name": "COMPRESSION_NONE", + "value": 0 + }, + { + "name": "COMPRESSION_FAST", + "value": 1 + }, + { + "name": "COMPRESSION_BEST", + "value": 9 + } + ] } ], "methods": [ @@ -323453,6 +335925,33 @@ } ] }, + { + "name": "set_compression_level", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "compression_level", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_compression_level", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, { "name": "start_file", "is_const": false, @@ -323509,6 +336008,14 @@ "type": "enum::Error" } } + ], + "properties": [ + { + "type": "int", + "name": "compression_level", + "setter": "set_compression_level", + "getter": "get_compression_level" + } ] }, { @@ -323606,6 +336113,29 @@ "default_value": "true" } ] + }, + { + "name": "get_compression_level", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3694577386, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "case_sensitive", + "type": "bool", + "default_value": "true" + } + ] } ] } @@ -323735,6 +336265,10 @@ "name": "NativeMenu", "type": "NativeMenu" }, + { + "name": "RenderingServer", + "type": "RenderingServer" + }, { "name": "NavigationServer2D", "type": "NavigationServer2D" @@ -323743,10 +336277,6 @@ "name": "NavigationServer3D", "type": "NavigationServer3D" }, - { - "name": "RenderingServer", - "type": "RenderingServer" - }, { "name": "PhysicsServer2D", "type": "PhysicsServer2D" diff --git a/gdextension/gdextension_interface.h b/gdextension/gdextension_interface.h index 470fc56d..ad31eb6e 100644 --- a/gdextension/gdextension_interface.h +++ b/gdextension/gdextension_interface.h @@ -805,6 +805,21 @@ typedef struct { const char *string; // (e.g. "Godot v3.1.4.stable.official.mono") } GDExtensionGodotVersion2; +/* Called when starting the main loop. */ +typedef void (*GDExtensionMainLoopStartupCallback)(); + +/* Called when shutting down the main loop. */ +typedef void (*GDExtensionMainLoopShutdownCallback)(); + +/* Called for every frame iteration of the main loop. */ +typedef void (*GDExtensionMainLoopFrameCallback)(); + +typedef struct { + GDExtensionMainLoopStartupCallback startup_func; + GDExtensionMainLoopShutdownCallback shutdown_func; + GDExtensionMainLoopFrameCallback frame_func; +} GDExtensionMainLoopCallbacks; + /** * @name get_godot_version * @since 4.1 @@ -2386,6 +2401,7 @@ typedef GDExtensionVariantPtr (*GDExtensionInterfaceArrayOperatorIndexConst)(GDE /** * @name array_ref * @since 4.1 + * @deprecated in Godot 4.5. use `Array::operator=` instead. * * Sets an Array to be a reference to another Array object. * @@ -3131,6 +3147,17 @@ typedef void (*GDExtensionsInterfaceEditorHelpLoadXmlFromUtf8CharsAndLen)(const */ typedef void (*GDExtensionInterfaceEditorRegisterGetClassesUsedCallback)(GDExtensionClassLibraryPtr p_library, GDExtensionEditorGetClassesUsedCallback p_callback); +/** + * @name register_main_loop_callbacks + * @since 4.5 + * + * Registers callbacks to be called at different phases of the main loop. + * + * @param p_library A pointer the library received by the GDExtension's entry point function. + * @param p_callback A pointer to the structure that contains the callbacks. + */ +typedef void (*GDExtensionInterfaceRegisterMainLoopCallbacks)(GDExtensionClassLibraryPtr p_library, const GDExtensionMainLoopCallbacks *p_callbacks); + #ifdef __cplusplus } #endif From b46c31a50e43e357a9316010eb83276aac82491f Mon Sep 17 00:00:00 2001 From: David Snopek Date: Fri, 20 Jun 2025 12:23:49 -0500 Subject: [PATCH 20/31] Disable double precisions builds in CI --- .github/workflows/ci-cmake.yml | 9 --------- .github/workflows/ci-scons.yml | 9 --------- 2 files changed, 18 deletions(-) diff --git a/.github/workflows/ci-cmake.yml b/.github/workflows/ci-cmake.yml index 713cf6a6..26a99508 100644 --- a/.github/workflows/ci-cmake.yml +++ b/.github/workflows/ci-cmake.yml @@ -40,15 +40,6 @@ jobs: artifact-path: cmake-build/bin/libgodot-cpp.linux.template_release.x86_64.a run-tests: true - - name: 🐧 Linux (GCC, Makefiles, Double Precision) - os: ubuntu-22.04 - platform: linux - config-flags: -DCMAKE_BUILD_TYPE=Release -DGODOTCPP_PRECISION=double - artifact-name: godot-cpp-linux-glibc2.27-x86_64-double-release.cmake - artifact-path: cmake-build/bin/libgodot-cpp.linux.template_release.double.x86_64.a - flags: precision=double - run-tests: false - - name: 🏁 Windows (x86_64, MSVC) os: windows-2019 platform: windows diff --git a/.github/workflows/ci-scons.yml b/.github/workflows/ci-scons.yml index 96790bc9..ce81df93 100644 --- a/.github/workflows/ci-scons.yml +++ b/.github/workflows/ci-scons.yml @@ -33,15 +33,6 @@ jobs: run-tests: true cache-name: linux-x86_64 - - name: 🐧 Linux (GCC, Double Precision) - os: ubuntu-22.04 - platform: linux - artifact-name: godot-cpp-linux-glibc2.27-x86_64-double-release - artifact-path: bin/libgodot-cpp.linux.template_release.double.x86_64.a - flags: precision=double - run-tests: false - cache-name: linux-x86_64-f64 - - name: 🏁 Windows (x86_64, MSVC) os: windows-2019 platform: windows From 7f5f02940d57196be2f043a1e712129c9570863b Mon Sep 17 00:00:00 2001 From: David Snopek Date: Mon, 16 Jun 2025 09:01:33 -0500 Subject: [PATCH 21/31] Update for GDExtension interface changes in Godot 4.5 --- binding_generator.py | 1 - gdextension/gdextension_interface.h | 57 +++++++++++++++-------- include/godot_cpp/godot.hpp | 18 +++++-- include/godot_cpp/variant/typed_array.hpp | 8 ++-- src/godot.cpp | 28 ++++++++--- src/variant/packed_arrays.cpp | 4 -- 6 files changed, 78 insertions(+), 38 deletions(-) diff --git a/binding_generator.py b/binding_generator.py index 9e945b02..d5ffc145 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -911,7 +911,6 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl result.append("\tconst Variant &operator[](int64_t p_index) const;") result.append("\tVariant &operator[](int64_t p_index);") result.append("\tvoid set_typed(uint32_t p_type, const StringName &p_class_name, const Variant &p_script);") - result.append("\tvoid _ref(const Array &p_from) const;") result.append(""" struct Iterator { _FORCE_INLINE_ Variant &operator*() const; diff --git a/gdextension/gdextension_interface.h b/gdextension/gdextension_interface.h index ad31eb6e..34849a67 100644 --- a/gdextension/gdextension_interface.h +++ b/gdextension/gdextension_interface.h @@ -724,6 +724,9 @@ typedef struct { } GDExtensionScriptInstanceInfo3; +typedef void (*GDExtensionWorkerThreadPoolGroupTask)(void *, uint32_t); +typedef void (*GDExtensionWorkerThreadPoolTask)(void *); + /* INITIALIZATION */ typedef enum { @@ -734,6 +737,9 @@ typedef enum { GDEXTENSION_MAX_INITIALIZATION_LEVEL, } GDExtensionInitializationLevel; +typedef void (*GDExtensionInitializeCallback)(void *p_userdata, GDExtensionInitializationLevel p_level); +typedef void (*GDExtensionDeinitializeCallback)(void *p_userdata, GDExtensionInitializationLevel p_level); + typedef struct { /* Minimum initialization level required. * If Core or Servers, the extension needs editor or game restart to take effect */ @@ -741,8 +747,8 @@ typedef struct { /* Up to the user to supply when initializing */ void *userdata; /* This function will be called multiple times for each initialization level. */ - void (*initialize)(void *userdata, GDExtensionInitializationLevel p_level); - void (*deinitialize)(void *userdata, GDExtensionInitializationLevel p_level); + GDExtensionInitializeCallback initialize; + GDExtensionDeinitializeCallback deinitialize; } GDExtensionInitialization; typedef void (*GDExtensionInterfaceFunctionPtr)(); @@ -815,8 +821,12 @@ typedef void (*GDExtensionMainLoopShutdownCallback)(); typedef void (*GDExtensionMainLoopFrameCallback)(); typedef struct { + // Will be called after Godot is started and is fully initialized. GDExtensionMainLoopStartupCallback startup_func; + // Will be called before Godot is shutdown when it is still fully initialized. GDExtensionMainLoopShutdownCallback shutdown_func; + // Will be called for each process frame. This will run after all `_process()` methods on Node, and before `ScriptServer::frame()`. + // This is intended to be the equivalent of `ScriptLanguage::frame()` for GDExtension language bindings that don't use the script API. GDExtensionMainLoopFrameCallback frame_func; } GDExtensionMainLoopCallbacks; @@ -1035,7 +1045,7 @@ typedef void (*GDExtensionInterfaceVariantCall)(GDExtensionVariantPtr p_self, GD * * Calls a static method on a Variant. * - * @param p_self A pointer to the Variant. + * @param p_type The variant type. * @param p_method A pointer to a StringName identifying the method. * @param p_args A pointer to a C array of Variant. * @param p_argument_count The number of arguments. @@ -1321,7 +1331,7 @@ typedef GDExtensionVariantType (*GDExtensionInterfaceVariantGetType)(GDExtension * @param p_self A pointer to the Variant. * @param p_method A pointer to a StringName with the method name. * - * @return + * @return true if the variant has the given method; otherwise false. */ typedef GDExtensionBool (*GDExtensionInterfaceVariantHasMethod)(GDExtensionConstVariantPtr p_self, GDExtensionConstStringNamePtr p_method); @@ -1334,7 +1344,7 @@ typedef GDExtensionBool (*GDExtensionInterfaceVariantHasMethod)(GDExtensionConst * @param p_type The Variant type. * @param p_member A pointer to a StringName with the member name. * - * @return + * @return true if the variant has the given method; otherwise false. */ typedef GDExtensionBool (*GDExtensionInterfaceVariantHasMember)(GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_member); @@ -1505,7 +1515,7 @@ typedef GDExtensionPtrDestructor (*GDExtensionInterfaceVariantGetPtrDestructor)( * Constructs a Variant of the given type, using the first constructor that matches the given arguments. * * @param p_type The Variant type. - * @param p_base A pointer to a Variant to store the constructed value. + * @param r_base A pointer to a Variant to store the constructed value. * @param p_args A pointer to a C array of Variant pointers representing the arguments for the constructor. * @param p_argument_count The number of arguments to pass to the constructor. * @param r_error A pointer the structure which will be updated with error information. @@ -1728,7 +1738,7 @@ typedef GDExtensionInt (*GDExtensionInterfaceStringNewWithUtf8CharsAndLen2)(GDEx * * @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 (not bytes). + * @param p_char_count The number of characters (not bytes). */ typedef void (*GDExtensionInterfaceStringNewWithUtf16CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char16_t *p_contents, GDExtensionInt p_char_count); @@ -1740,7 +1750,7 @@ 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-16 encoded C string. - * @param p_size The number of characters (not bytes). + * @param p_char_count The number of characters (not bytes). * @param p_default_little_endian If true, UTF-16 use little endian. * * @return Error code signifying if the operation successful. @@ -1755,7 +1765,7 @@ typedef GDExtensionInt (*GDExtensionInterfaceStringNewWithUtf16CharsAndLen2)(GDE * * @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 (not bytes). + * @param p_char_count The number of characters (not bytes). */ typedef void (*GDExtensionInterfaceStringNewWithUtf32CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char32_t *p_contents, GDExtensionInt p_char_count); @@ -1767,7 +1777,7 @@ 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 (not bytes). + * @param p_char_count The number of characters (not bytes). */ typedef void (*GDExtensionInterfaceStringNewWithWideCharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const wchar_t *p_contents, GDExtensionInt p_char_count); @@ -2084,6 +2094,7 @@ typedef const uint8_t *(*GDExtensionInterfaceImagePtr)(GDExtensionObjectPtr p_in * @param p_instance A pointer to a WorkerThreadPool object. * @param p_func A pointer to a function to run in the thread pool. * @param p_userdata A pointer to arbitrary data which will be passed to p_func. + * @param p_elements The number of element needed in the group. * @param p_tasks The number of tasks needed in the group. * @param p_high_priority Whether or not this is a high priority task. * @param p_description A pointer to a String with the task description. @@ -2092,7 +2103,7 @@ typedef const uint8_t *(*GDExtensionInterfaceImagePtr)(GDExtensionObjectPtr p_in * * @see WorkerThreadPool::add_group_task() */ -typedef int64_t (*GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask)(GDExtensionObjectPtr p_instance, void (*p_func)(void *, uint32_t), void *p_userdata, int p_elements, int p_tasks, GDExtensionBool p_high_priority, GDExtensionConstStringPtr p_description); +typedef int64_t (*GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask)(GDExtensionObjectPtr p_instance, GDExtensionWorkerThreadPoolGroupTask p_func, void *p_userdata, int p_elements, int p_tasks, GDExtensionBool p_high_priority, GDExtensionConstStringPtr p_description); /** * @name worker_thread_pool_add_native_task @@ -2108,7 +2119,7 @@ typedef int64_t (*GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask)(GDExte * * @return The task ID. */ -typedef int64_t (*GDExtensionInterfaceWorkerThreadPoolAddNativeTask)(GDExtensionObjectPtr p_instance, void (*p_func)(void *), void *p_userdata, GDExtensionBool p_high_priority, GDExtensionConstStringPtr p_description); +typedef int64_t (*GDExtensionInterfaceWorkerThreadPoolAddNativeTask)(GDExtensionObjectPtr p_instance, GDExtensionWorkerThreadPoolTask p_func, void *p_userdata, GDExtensionBool p_high_priority, GDExtensionConstStringPtr p_description); /* INTERFACE: Packed Array */ @@ -2526,10 +2537,10 @@ typedef GDExtensionObjectPtr (*GDExtensionInterfaceGlobalGetSingleton)(GDExtensi * Gets a pointer representing 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. + * @param p_token A token the library received by the GDExtension's entry point function. * @param p_callbacks A pointer to a GDExtensionInstanceBindingCallbacks struct. * - * @return + * @return A pointer to the instance binding. */ typedef void *(*GDExtensionInterfaceObjectGetInstanceBinding)(GDExtensionObjectPtr p_o, void *p_token, const GDExtensionInstanceBindingCallbacks *p_callbacks); @@ -2540,7 +2551,7 @@ typedef void *(*GDExtensionInterfaceObjectGetInstanceBinding)(GDExtensionObjectP * Sets 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. + * @param p_token A token the library received by the GDExtension's entry point function. * @param p_binding A pointer to the instance binding. * @param p_callbacks A pointer to a GDExtensionInstanceBindingCallbacks struct. */ @@ -2553,7 +2564,7 @@ typedef void (*GDExtensionInterfaceObjectSetInstanceBinding)(GDExtensionObjectPt * 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. + * @param p_token A token the library received by the GDExtension's entry point function. */ typedef void (*GDExtensionInterfaceObjectFreeInstanceBinding)(GDExtensionObjectPtr p_o, void *p_token); @@ -2563,11 +2574,13 @@ typedef void (*GDExtensionInterfaceObjectFreeInstanceBinding)(GDExtensionObjectP * * Sets an extension class instance on a Object. * + * `p_classname` should be a registered extension class and should extend the `p_o` Object's class. + * * @param p_o A pointer to the Object. * @param p_classname A pointer to a StringName with the registered extension class's name. * @param p_instance A pointer to the extension class instance. */ -typedef void (*GDExtensionInterfaceObjectSetInstance)(GDExtensionObjectPtr p_o, GDExtensionConstStringNamePtr p_classname, GDExtensionClassInstancePtr p_instance); /* p_classname should be a registered extension class and should extend the p_o object's class. */ +typedef void (*GDExtensionInterfaceObjectSetInstance)(GDExtensionObjectPtr p_o, GDExtensionConstStringNamePtr p_classname, GDExtensionClassInstancePtr p_instance); /** * @name object_get_class_name @@ -2632,7 +2645,7 @@ typedef GDObjectInstanceID (*GDExtensionInterfaceObjectGetInstanceId)(GDExtensio * @param p_object A pointer to the Object. * @param p_method A pointer to a StringName identifying the method. * - * @returns true if the object has a script and that script has a method with the given name. Returns false if the object has no script. + * @return true if the object has a script and that script has a method with the given name. Returns false if the object has no script. */ typedef GDExtensionBool (*GDExtensionInterfaceObjectHasScriptMethod)(GDExtensionConstObjectPtr p_object, GDExtensionConstStringNamePtr p_method); @@ -2813,6 +2826,8 @@ typedef void (*GDExtensionInterfaceCallableCustomCreate2)(GDExtensionUninitializ * * @param p_callable A pointer to a Callable. * @param p_token A pointer to an address that uniquely identifies the GDExtension. + * + * @return The userdata pointer given when creating this custom Callable. */ typedef void *(*GDExtensionInterfaceCallableCustomGetUserData)(GDExtensionConstTypePtr p_callable, void *p_token); @@ -3068,10 +3083,12 @@ typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClassSignal)(GDExtens * * Unregisters an extension class in the ClassDB. * + * Unregistering a parent class before a class that inherits it will result in failure. Inheritors must be unregistered first. + * * @param p_library A pointer the library received by the GDExtension's entry point function. * @param p_class_name A pointer to a StringName with the class name. */ -typedef void (*GDExtensionInterfaceClassdbUnregisterExtensionClass)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name); /* Unregistering a parent class before a class that inherits it will result in failure. Inheritors must be unregistered first. */ +typedef void (*GDExtensionInterfaceClassdbUnregisterExtensionClass)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name); /** * @name get_library_path @@ -3154,7 +3171,7 @@ typedef void (*GDExtensionInterfaceEditorRegisterGetClassesUsedCallback)(GDExten * Registers callbacks to be called at different phases of the main loop. * * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_callback A pointer to the structure that contains the callbacks. + * @param p_callbacks A pointer to the structure that contains the callbacks. */ typedef void (*GDExtensionInterfaceRegisterMainLoopCallbacks)(GDExtensionClassLibraryPtr p_library, const GDExtensionMainLoopCallbacks *p_callbacks); diff --git a/include/godot_cpp/godot.hpp b/include/godot_cpp/godot.hpp index 64b41f6f..cf64b7e7 100644 --- a/include/godot_cpp/godot.hpp +++ b/include/godot_cpp/godot.hpp @@ -40,10 +40,10 @@ extern "C" GDExtensionInterfaceGetProcAddress gdextension_interface_get_proc_add extern "C" GDExtensionClassLibraryPtr library; extern "C" void *token; -extern "C" GDExtensionGodotVersion godot_version; +extern "C" GDExtensionGodotVersion2 godot_version; // All of the GDExtension interface functions. -extern "C" GDExtensionInterfaceGetGodotVersion gdextension_interface_get_godot_version; +extern "C" GDExtensionInterfaceGetGodotVersion2 gdextension_interface_get_godot_version2; extern "C" GDExtensionInterfaceMemAlloc gdextension_interface_mem_alloc; extern "C" GDExtensionInterfaceMemRealloc gdextension_interface_mem_realloc; extern "C" GDExtensionInterfaceMemFree gdextension_interface_mem_free; @@ -155,7 +155,6 @@ extern "C" GDExtensionInterfacePackedVector4ArrayOperatorIndex gdextension_inter extern "C" GDExtensionInterfacePackedVector4ArrayOperatorIndexConst gdextension_interface_packed_vector4_array_operator_index_const; extern "C" GDExtensionInterfaceArrayOperatorIndex gdextension_interface_array_operator_index; extern "C" GDExtensionInterfaceArrayOperatorIndexConst gdextension_interface_array_operator_index_const; -extern "C" GDExtensionInterfaceArrayRef gdextension_interface_array_ref; extern "C" GDExtensionInterfaceArraySetTyped gdextension_interface_array_set_typed; extern "C" GDExtensionInterfaceDictionaryOperatorIndex gdextension_interface_dictionary_operator_index; extern "C" GDExtensionInterfaceDictionaryOperatorIndexConst gdextension_interface_dictionary_operator_index_const; @@ -204,6 +203,7 @@ extern "C" GDExtensionsInterfaceEditorHelpLoadXmlFromUtf8Chars gdextension_inter extern "C" GDExtensionsInterfaceEditorHelpLoadXmlFromUtf8CharsAndLen gdextension_interface_editor_help_load_xml_from_utf8_chars_and_len; extern "C" GDExtensionInterfaceImagePtrw gdextension_interface_image_ptrw; extern "C" GDExtensionInterfaceImagePtr gdextension_interface_image_ptr; +extern "C" GDExtensionInterfaceRegisterMainLoopCallbacks gdextension_interface_register_main_loop_callbacks; class DocDataRegistration { public: @@ -228,6 +228,11 @@ class GDExtensionBinding { GDExtensionInitializationLevel minimum_initialization_level = GDEXTENSION_INITIALIZATION_CORE; Callback init_callback = nullptr; Callback terminate_callback = nullptr; + GDExtensionMainLoopCallbacks main_loop_callbacks = {}; + + inline bool has_main_loop_callbacks() const { + return main_loop_callbacks.frame_func || main_loop_callbacks.startup_func || main_loop_callbacks.shutdown_func; + } }; class InitDataList { @@ -262,6 +267,13 @@ class GDExtensionBinding { void register_terminator(Callback p_init) const; void set_minimum_library_initialization_level(ModuleInitializationLevel p_level) const; + // Register a callback that is called after all initialization levels when Godot is fully initialized. + void register_startup_callback(GDExtensionMainLoopStartupCallback p_callback) const; + // Register a callback that is called for every process frame. This will run after all `_process()` methods on Node, and before `ScriptServer::frame()`. + void register_frame_callback(GDExtensionMainLoopFrameCallback p_callback) const; + // Register a callback that is called before Godot is shutdown when it is still fully initialized. + void register_shutdown_callback(GDExtensionMainLoopShutdownCallback p_callback) const; + GDExtensionBool init() const; }; }; diff --git a/include/godot_cpp/variant/typed_array.hpp b/include/godot_cpp/variant/typed_array.hpp index 69afdaae..93479c9a 100644 --- a/include/godot_cpp/variant/typed_array.hpp +++ b/include/godot_cpp/variant/typed_array.hpp @@ -40,7 +40,7 @@ class TypedArray : public Array { public: _FORCE_INLINE_ void operator=(const Array &p_array) { ERR_FAIL_COND_MSG(!is_same_typed(p_array), "Cannot assign an array with a different element type."); - _ref(p_array); + Array::operator=(p_array); } _FORCE_INLINE_ TypedArray(const Variant &p_variant) : TypedArray(Array(p_variant)) { @@ -48,7 +48,7 @@ class TypedArray : public Array { _FORCE_INLINE_ TypedArray(const Array &p_array) { set_typed(Variant::OBJECT, T::get_class_static(), Variant()); if (is_same_typed(p_array)) { - _ref(p_array); + Array::operator=(p_array); } else { assign(p_array); } @@ -68,7 +68,7 @@ class TypedArray : public Array { public: \ _FORCE_INLINE_ void operator=(const Array &p_array) { \ ERR_FAIL_COND_MSG(!is_same_typed(p_array), "Cannot assign an array with a different element type."); \ - _ref(p_array); \ + Array::operator=(p_array); \ } \ _FORCE_INLINE_ TypedArray(std::initializer_list p_init) : \ Array(Array(p_init), m_variant_type, StringName(), Variant()) { \ @@ -79,7 +79,7 @@ class TypedArray : public Array { _FORCE_INLINE_ TypedArray(const Array &p_array) { \ set_typed(m_variant_type, StringName(), Variant()); \ if (is_same_typed(p_array)) { \ - _ref(p_array); \ + Array::operator=(p_array); \ } else { \ assign(p_array); \ } \ diff --git a/src/godot.cpp b/src/godot.cpp index 06f8ca89..dec61422 100644 --- a/src/godot.cpp +++ b/src/godot.cpp @@ -47,10 +47,10 @@ GDExtensionInterfaceGetProcAddress gdextension_interface_get_proc_address = null GDExtensionClassLibraryPtr library = nullptr; void *token = nullptr; -GDExtensionGodotVersion godot_version = { 0, 0, 0, nullptr }; +GDExtensionGodotVersion2 godot_version = {}; // All of the GDExtension interface functions. -GDExtensionInterfaceGetGodotVersion gdextension_interface_get_godot_version = nullptr; +GDExtensionInterfaceGetGodotVersion2 gdextension_interface_get_godot_version2 = nullptr; GDExtensionInterfaceMemAlloc gdextension_interface_mem_alloc = nullptr; GDExtensionInterfaceMemRealloc gdextension_interface_mem_realloc = nullptr; GDExtensionInterfaceMemFree gdextension_interface_mem_free = nullptr; @@ -162,7 +162,6 @@ GDExtensionInterfacePackedVector4ArrayOperatorIndex gdextension_interface_packed GDExtensionInterfacePackedVector4ArrayOperatorIndexConst gdextension_interface_packed_vector4_array_operator_index_const = nullptr; GDExtensionInterfaceArrayOperatorIndex gdextension_interface_array_operator_index = nullptr; GDExtensionInterfaceArrayOperatorIndexConst gdextension_interface_array_operator_index_const = nullptr; -GDExtensionInterfaceArrayRef gdextension_interface_array_ref = nullptr; GDExtensionInterfaceArraySetTyped gdextension_interface_array_set_typed = nullptr; GDExtensionInterfaceDictionaryOperatorIndex gdextension_interface_dictionary_operator_index = nullptr; GDExtensionInterfaceDictionaryOperatorIndexConst gdextension_interface_dictionary_operator_index_const = nullptr; @@ -211,6 +210,7 @@ GDExtensionsInterfaceEditorHelpLoadXmlFromUtf8Chars gdextension_interface_editor GDExtensionsInterfaceEditorHelpLoadXmlFromUtf8CharsAndLen gdextension_interface_editor_help_load_xml_from_utf8_chars_and_len = nullptr; GDExtensionInterfaceImagePtrw gdextension_interface_image_ptrw = nullptr; GDExtensionInterfaceImagePtr gdextension_interface_image_ptr = nullptr; +GDExtensionInterfaceRegisterMainLoopCallbacks gdextension_interface_register_main_loop_callbacks = nullptr; struct DocData { const char *hash = nullptr; @@ -308,8 +308,8 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge internal::library = p_library; internal::token = p_library; - LOAD_PROC_ADDRESS(get_godot_version, GDExtensionInterfaceGetGodotVersion); - internal::gdextension_interface_get_godot_version(&internal::godot_version); + LOAD_PROC_ADDRESS(get_godot_version2, GDExtensionInterfaceGetGodotVersion2); + internal::gdextension_interface_get_godot_version2(&internal::godot_version); // Check that godot-cpp was compiled using an extension_api.json older or at the // same version as the Godot that is loading it. @@ -447,7 +447,6 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge LOAD_PROC_ADDRESS(packed_vector4_array_operator_index_const, GDExtensionInterfacePackedVector4ArrayOperatorIndexConst); LOAD_PROC_ADDRESS(array_operator_index, GDExtensionInterfaceArrayOperatorIndex); LOAD_PROC_ADDRESS(array_operator_index_const, GDExtensionInterfaceArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(array_ref, GDExtensionInterfaceArrayRef); LOAD_PROC_ADDRESS(array_set_typed, GDExtensionInterfaceArraySetTyped); LOAD_PROC_ADDRESS(dictionary_operator_index, GDExtensionInterfaceDictionaryOperatorIndex); LOAD_PROC_ADDRESS(dictionary_operator_index_const, GDExtensionInterfaceDictionaryOperatorIndexConst); @@ -496,6 +495,7 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge LOAD_PROC_ADDRESS(editor_help_load_xml_from_utf8_chars_and_len, GDExtensionsInterfaceEditorHelpLoadXmlFromUtf8CharsAndLen); LOAD_PROC_ADDRESS(image_ptrw, GDExtensionInterfaceImagePtrw); LOAD_PROC_ADDRESS(image_ptr, GDExtensionInterfaceImagePtr); + LOAD_PROC_ADDRESS(register_main_loop_callbacks, GDExtensionInterfaceRegisterMainLoopCallbacks); r_initialization->initialize = initialize_level; r_initialization->deinitialize = deinitialize_level; @@ -526,6 +526,10 @@ void GDExtensionBinding::initialize_level(void *p_userdata, GDExtensionInitializ } level_initialized[p_level]++; + if ((ModuleInitializationLevel)p_level == MODULE_INITIALIZATION_LEVEL_CORE && init_data && init_data->has_main_loop_callbacks()) { + internal::gdextension_interface_register_main_loop_callbacks(internal::library, &init_data->main_loop_callbacks); + } + if ((ModuleInitializationLevel)p_level == MODULE_INITIALIZATION_LEVEL_EDITOR) { internal::gdextension_interface_editor_register_get_classes_used_callback(internal::library, &ClassDB::_editor_get_classes_used_callback); @@ -596,6 +600,18 @@ void GDExtensionBinding::InitObject::set_minimum_library_initialization_level(Mo init_data->minimum_initialization_level = static_cast(p_level); } +void GDExtensionBinding::InitObject::register_startup_callback(GDExtensionMainLoopStartupCallback p_callback) const { + init_data->main_loop_callbacks.startup_func = p_callback; +} + +void GDExtensionBinding::InitObject::register_frame_callback(GDExtensionMainLoopFrameCallback p_callback) const { + init_data->main_loop_callbacks.frame_func = p_callback; +} + +void GDExtensionBinding::InitObject::register_shutdown_callback(GDExtensionMainLoopShutdownCallback p_callback) const { + init_data->main_loop_callbacks.shutdown_func = p_callback; +} + GDExtensionBool GDExtensionBinding::InitObject::init() const { return GDExtensionBinding::init(get_proc_address, library, init_data, initialization); } diff --git a/src/variant/packed_arrays.cpp b/src/variant/packed_arrays.cpp index 4206b886..76fd90cd 100644 --- a/src/variant/packed_arrays.cpp +++ b/src/variant/packed_arrays.cpp @@ -232,10 +232,6 @@ void Array::set_typed(uint32_t p_type, const StringName &p_class_name, const Var internal::gdextension_interface_array_set_typed((GDExtensionTypePtr *)this, (GDExtensionVariantType)p_type, (GDExtensionConstStringNamePtr)&p_class_name, (GDExtensionConstVariantPtr)&p_script); } -void Array::_ref(const Array &p_from) const { - internal::gdextension_interface_array_ref((GDExtensionTypePtr *)this, (GDExtensionConstTypePtr *)&p_from); -} - const Variant *Array::ptr() const { return (const Variant *)internal::gdextension_interface_array_operator_index_const((GDExtensionTypePtr *)this, 0); } From 8938e7e4e3bdcc12c25dc5e542e65880c73d9369 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Tue, 24 Jun 2025 14:47:40 -0500 Subject: [PATCH 22/31] Update CI to use `windows-2022` --- .github/workflows/ci-cmake.yml | 4 ++-- .github/workflows/ci-scons.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-cmake.yml b/.github/workflows/ci-cmake.yml index 26a99508..7d5e7731 100644 --- a/.github/workflows/ci-cmake.yml +++ b/.github/workflows/ci-cmake.yml @@ -41,7 +41,7 @@ jobs: run-tests: true - name: 🏁 Windows (x86_64, MSVC) - os: windows-2019 + os: windows-2022 platform: windows compiler: msvc build-flags: --config Release @@ -50,7 +50,7 @@ jobs: run-tests: false - name: 🏁 Windows (x86_64, MinGW, Ninja) - os: windows-2019 + os: windows-2022 platform: windows compiler: mingw config-flags: diff --git a/.github/workflows/ci-scons.yml b/.github/workflows/ci-scons.yml index ce81df93..37b4ce39 100644 --- a/.github/workflows/ci-scons.yml +++ b/.github/workflows/ci-scons.yml @@ -34,7 +34,7 @@ jobs: cache-name: linux-x86_64 - name: 🏁 Windows (x86_64, MSVC) - os: windows-2019 + os: windows-2022 platform: windows artifact-name: godot-cpp-windows-msvc2019-x86_64-release artifact-path: bin/libgodot-cpp.windows.template_release.x86_64.lib @@ -42,7 +42,7 @@ jobs: cache-name: windows-x86_64-msvc - name: 🏁 Windows (x86_64, MinGW) - os: windows-2019 + os: windows-2022 platform: windows artifact-name: godot-cpp-linux-mingw-x86_64-release artifact-path: bin/libgodot-cpp.windows.template_release.x86_64.a From f129db3e3df06038460b55bb8ad108f812bba8e9 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Wed, 2 Jul 2025 06:39:50 -0500 Subject: [PATCH 23/31] gdextension: Sync with upstream commit e1b4101e3460dd9c6ba0b7f8d88e9751b8383f5b (4.5-beta2) --- gdextension/extension_api.json | 1267 +++++++++++++++++++++++--------- 1 file changed, 925 insertions(+), 342 deletions(-) diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json index 7198d554..9b32f1fe 100644 --- a/gdextension/extension_api.json +++ b/gdextension/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 5, "version_patch": 0, - "version_status": "beta1", + "version_status": "beta2", "version_build": "official", - "version_full_name": "Godot Engine v4.5.beta1.official", + "version_full_name": "Godot Engine v4.5.beta2.official", "precision": "single" }, "builtin_class_sizes": [ @@ -114666,12 +114666,6 @@ } ], "properties": [ - { - "type": "float", - "name": "oversampling", - "setter": "set_oversampling", - "getter": "get_oversampling" - }, { "type": "PackedByteArray", "name": "data", @@ -114797,6 +114791,12 @@ "name": "opentype_feature_overrides", "setter": "set_opentype_feature_overrides", "getter": "get_opentype_feature_overrides" + }, + { + "type": "float", + "name": "oversampling", + "setter": "set_oversampling", + "getter": "get_oversampling" } ] }, @@ -129927,6 +129927,31 @@ "type": "bool" } }, + { + "name": "set_slots_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_slots_focus_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2132829277, + "return_value": { + "type": "enum::Control.FocusMode" + } + }, { "name": "get_input_port_count", "is_const": false, @@ -130126,6 +130151,12 @@ "name": "ignore_invalid_connection_type", "setter": "set_ignore_invalid_connection_type", "getter": "is_ignoring_valid_connection_type" + }, + { + "type": "int", + "name": "slots_focus_mode", + "setter": "set_slots_focus_mode", + "getter": "get_slots_focus_mode" } ] }, @@ -168198,6 +168229,43 @@ } ] }, + { + "name": "map_set_merge_rasterizer_cell_scale", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1794382983, + "arguments": [ + { + "name": "map", + "type": "RID" + }, + { + "name": "scale", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "map_get_merge_rasterizer_cell_scale", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 866169185, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, { "name": "map_set_use_edge_connections", "is_const": false, @@ -178071,56 +178139,6 @@ } ] }, - { - "name": "set_invert", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "invert", - "type": "bool" - } - ] - }, - { - "name": "get_invert", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_in_3d_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_in_3d_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, { "name": "set_generate_mipmaps", "is_const": false, @@ -178146,160 +178164,6 @@ "type": "bool" } }, - { - "name": "set_seamless", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "seamless", - "type": "bool" - } - ] - }, - { - "name": "get_seamless", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_seamless_blend_skirt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "seamless_blend_skirt", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_seamless_blend_skirt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_as_normal_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "as_normal_map", - "type": "bool" - } - ] - }, - { - "name": "is_normal_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_bump_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bump_strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bump_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_normalize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "normalize", - "type": "bool" - } - ] - }, - { - "name": "is_normalized", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_color_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "gradient", - "type": "Gradient" - } - ] - }, - { - "name": "get_color_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, { "name": "set_noise", "is_const": false, @@ -178324,6 +178188,210 @@ "return_value": { "type": "Noise" } + }, + { + "name": "set_color_ramp", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2756054477, + "arguments": [ + { + "name": "gradient", + "type": "Gradient" + } + ] + }, + { + "name": "get_color_ramp", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 132272999, + "return_value": { + "type": "Gradient" + } + }, + { + "name": "set_seamless", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "seamless", + "type": "bool" + } + ] + }, + { + "name": "get_seamless", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2240911060, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_invert", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "invert", + "type": "bool" + } + ] + }, + { + "name": "get_invert", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_in_3d_space", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_in_3d_space", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_as_normal_map", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "as_normal_map", + "type": "bool" + } + ] + }, + { + "name": "is_normal_map", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2240911060, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_normalize", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "normalize", + "type": "bool" + } + ] + }, + { + "name": "is_normalized", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_seamless_blend_skirt", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "seamless_blend_skirt", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_seamless_blend_skirt", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 191475506, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_bump_strength", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "bump_strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_bump_strength", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 191475506, + "return_value": { + "type": "float", + "meta": "float" + } } ], "properties": [ @@ -178341,21 +178409,21 @@ }, { "type": "bool", - "name": "invert", - "setter": "set_invert", - "getter": "get_invert" + "name": "generate_mipmaps", + "setter": "set_generate_mipmaps", + "getter": "is_generating_mipmaps" }, { - "type": "bool", - "name": "in_3d_space", - "setter": "set_in_3d_space", - "getter": "is_in_3d_space" + "type": "Noise", + "name": "noise", + "setter": "set_noise", + "getter": "get_noise" }, { - "type": "bool", - "name": "generate_mipmaps", - "setter": "set_generate_mipmaps", - "getter": "is_generating_mipmaps" + "type": "Gradient", + "name": "color_ramp", + "setter": "set_color_ramp", + "getter": "get_color_ramp" }, { "type": "bool", @@ -178364,10 +178432,16 @@ "getter": "get_seamless" }, { - "type": "float", - "name": "seamless_blend_skirt", - "setter": "set_seamless_blend_skirt", - "getter": "get_seamless_blend_skirt" + "type": "bool", + "name": "invert", + "setter": "set_invert", + "getter": "get_invert" + }, + { + "type": "bool", + "name": "in_3d_space", + "setter": "set_in_3d_space", + "getter": "is_in_3d_space" }, { "type": "bool", @@ -178375,12 +178449,6 @@ "setter": "set_as_normal_map", "getter": "is_normal_map" }, - { - "type": "float", - "name": "bump_strength", - "setter": "set_bump_strength", - "getter": "get_bump_strength" - }, { "type": "bool", "name": "normalize", @@ -178388,16 +178456,16 @@ "getter": "is_normalized" }, { - "type": "Gradient", - "name": "color_ramp", - "setter": "set_color_ramp", - "getter": "get_color_ramp" + "type": "float", + "name": "seamless_blend_skirt", + "setter": "set_seamless_blend_skirt", + "getter": "get_seamless_blend_skirt" }, { - "type": "Noise", - "name": "noise", - "setter": "set_noise", - "getter": "get_noise" + "type": "float", + "name": "bump_strength", + "setter": "set_bump_strength", + "getter": "get_bump_strength" } ] }, @@ -178454,84 +178522,82 @@ ] }, { - "name": "set_invert", + "name": "set_noise", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2586408642, + "hash": 4135492439, "arguments": [ { - "name": "invert", - "type": "bool" + "name": "noise", + "type": "Noise" } ] }, { - "name": "get_invert", - "is_const": true, + "name": "get_noise", + "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 36873697, + "hash": 185851837, "return_value": { - "type": "bool" + "type": "Noise" } }, { - "name": "set_seamless", + "name": "set_color_ramp", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2586408642, + "hash": 2756054477, "arguments": [ { - "name": "seamless", - "type": "bool" + "name": "gradient", + "type": "Gradient" } ] }, { - "name": "get_seamless", - "is_const": false, + "name": "get_color_ramp", + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2240911060, + "hash": 132272999, "return_value": { - "type": "bool" + "type": "Gradient" } }, { - "name": "set_seamless_blend_skirt", + "name": "set_seamless", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 373806689, + "hash": 2586408642, "arguments": [ { - "name": "seamless_blend_skirt", - "type": "float", - "meta": "float" + "name": "seamless", + "type": "bool" } ] }, { - "name": "get_seamless_blend_skirt", + "name": "get_seamless", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 191475506, + "hash": 2240911060, "return_value": { - "type": "float", - "meta": "float" + "type": "bool" } }, { - "name": "set_normalize", + "name": "set_invert", "is_const": false, "is_vararg": false, "is_static": false, @@ -178539,13 +178605,13 @@ "hash": 2586408642, "arguments": [ { - "name": "normalize", + "name": "invert", "type": "bool" } ] }, { - "name": "is_normalized", + "name": "get_invert", "is_const": true, "is_vararg": false, "is_static": false, @@ -178556,53 +178622,55 @@ } }, { - "name": "set_color_ramp", + "name": "set_normalize", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2756054477, + "hash": 2586408642, "arguments": [ { - "name": "gradient", - "type": "Gradient" + "name": "normalize", + "type": "bool" } ] }, { - "name": "get_color_ramp", + "name": "is_normalized", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 132272999, + "hash": 36873697, "return_value": { - "type": "Gradient" + "type": "bool" } }, { - "name": "set_noise", + "name": "set_seamless_blend_skirt", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 4135492439, + "hash": 373806689, "arguments": [ { - "name": "noise", - "type": "Noise" + "name": "seamless_blend_skirt", + "type": "float", + "meta": "float" } ] }, { - "name": "get_noise", + "name": "get_seamless_blend_skirt", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 185851837, + "hash": 191475506, "return_value": { - "type": "Noise" + "type": "float", + "meta": "float" } } ], @@ -178626,10 +178694,16 @@ "getter": "get_depth" }, { - "type": "bool", - "name": "invert", - "setter": "set_invert", - "getter": "get_invert" + "type": "Noise", + "name": "noise", + "setter": "set_noise", + "getter": "get_noise" + }, + { + "type": "Gradient", + "name": "color_ramp", + "setter": "set_color_ramp", + "getter": "get_color_ramp" }, { "type": "bool", @@ -178638,10 +178712,10 @@ "getter": "get_seamless" }, { - "type": "float", - "name": "seamless_blend_skirt", - "setter": "set_seamless_blend_skirt", - "getter": "get_seamless_blend_skirt" + "type": "bool", + "name": "invert", + "setter": "set_invert", + "getter": "get_invert" }, { "type": "bool", @@ -178650,16 +178724,10 @@ "getter": "is_normalized" }, { - "type": "Gradient", - "name": "color_ramp", - "setter": "set_color_ramp", - "getter": "get_color_ramp" - }, - { - "type": "Noise", - "name": "noise", - "setter": "set_noise", - "getter": "get_noise" + "type": "float", + "name": "seamless_blend_skirt", + "setter": "set_seamless_blend_skirt", + "getter": "get_seamless_blend_skirt" } ] }, @@ -184560,6 +184628,15 @@ "is_virtual": true, "hash": 3218959716 }, + { + "name": "_on_sync_actions", + "is_const": false, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 3218959716 + }, { "name": "_on_pre_render", "is_const": false, @@ -185874,6 +185951,48 @@ "inherits": "XRInterface", "api_type": "core", "enums": [ + { + "name": "SessionState", + "is_bitfield": false, + "values": [ + { + "name": "SESSION_STATE_UNKNOWN", + "value": 0 + }, + { + "name": "SESSION_STATE_IDLE", + "value": 1 + }, + { + "name": "SESSION_STATE_READY", + "value": 2 + }, + { + "name": "SESSION_STATE_SYNCHRONIZED", + "value": 3 + }, + { + "name": "SESSION_STATE_VISIBLE", + "value": 4 + }, + { + "name": "SESSION_STATE_FOCUSED", + "value": 5 + }, + { + "name": "SESSION_STATE_STOPPING", + "value": 6 + }, + { + "name": "SESSION_STATE_LOSS_PENDING", + "value": 7 + }, + { + "name": "SESSION_STATE_EXITING", + "value": 8 + } + ] + }, { "name": "Hand", "is_bitfield": false, @@ -186140,6 +186259,17 @@ } ], "methods": [ + { + "name": "get_session_state", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 896364779, + "return_value": { + "type": "enum::OpenXRInterface.SessionState" + } + }, { "name": "get_display_refresh_rate", "is_const": true, @@ -186616,6 +186746,9 @@ { "name": "session_stopping" }, + { + "name": "session_synchronized" + }, { "name": "session_focussed" }, @@ -186714,6 +186847,442 @@ } ] }, + { + "name": "OpenXRRenderModel", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "get_top_level_path", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "get_render_model", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2944877500, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_render_model", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2722037293, + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + } + ], + "signals": [ + { + "name": "render_model_top_level_path_changed" + } + ], + "properties": [ + { + "type": "RID", + "name": "render_model", + "setter": "set_render_model", + "getter": "get_render_model" + } + ] + }, + { + "name": "OpenXRRenderModelExtension", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "OpenXRExtensionWrapper", + "api_type": "core", + "methods": [ + { + "name": "is_active", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "render_model_create", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 937000113, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "render_model_id", + "type": "int", + "meta": "uint64" + } + ] + }, + { + "name": "render_model_destroy", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2722037293, + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + }, + { + "name": "render_model_get_all", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2915620761, + "return_value": { + "type": "typedarray::RID" + } + }, + { + "name": "render_model_new_scene_instance", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 788010739, + "return_value": { + "type": "Node3D" + }, + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + }, + { + "name": "render_model_get_subaction_paths", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2801473409, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + }, + { + "name": "render_model_get_top_level_path", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 642473191, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + }, + { + "name": "render_model_get_confidence", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2350330949, + "return_value": { + "type": "enum::XRPose.TrackingConfidence" + }, + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + }, + { + "name": "render_model_get_root_transform", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1128465797, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + }, + { + "name": "render_model_get_animatable_node_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2198884583, + "return_value": { + "type": "int", + "meta": "uint32" + }, + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + }, + { + "name": "render_model_get_animatable_node_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1464764419, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "render_model", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "render_model_is_animatable_node_visible", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3120086654, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "render_model", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "render_model_get_animatable_node_transform", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1050775521, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "render_model", + "type": "RID" + }, + { + "name": "index", + "type": "int", + "meta": "uint32" + } + ] + } + ], + "signals": [ + { + "name": "render_model_added", + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + }, + { + "name": "render_model_removed", + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + }, + { + "name": "render_model_top_level_path_changed", + "arguments": [ + { + "name": "render_model", + "type": "RID" + } + ] + } + ] + }, + { + "name": "OpenXRRenderModelManager", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "enums": [ + { + "name": "RenderModelTracker", + "is_bitfield": false, + "values": [ + { + "name": "RENDER_MODEL_TRACKER_ANY", + "value": 0 + }, + { + "name": "RENDER_MODEL_TRACKER_NONE_SET", + "value": 1 + }, + { + "name": "RENDER_MODEL_TRACKER_LEFT_HAND", + "value": 2 + }, + { + "name": "RENDER_MODEL_TRACKER_RIGHT_HAND", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "get_tracker", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2456466356, + "return_value": { + "type": "enum::OpenXRRenderModelManager.RenderModelTracker" + } + }, + { + "name": "set_tracker", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2814627380, + "arguments": [ + { + "name": "tracker", + "type": "enum::OpenXRRenderModelManager.RenderModelTracker" + } + ] + }, + { + "name": "get_make_local_to_pose", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_make_local_to_pose", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "make_local_to_pose", + "type": "String" + } + ] + } + ], + "signals": [ + { + "name": "render_model_added", + "arguments": [ + { + "name": "render_model", + "type": "OpenXRRenderModel" + } + ] + }, + { + "name": "render_model_removed", + "arguments": [ + { + "name": "render_model", + "type": "OpenXRRenderModel" + } + ] + } + ], + "properties": [ + { + "type": "int", + "name": "tracker", + "setter": "set_tracker", + "getter": "get_tracker" + }, + { + "type": "String", + "name": "make_local_to_pose", + "setter": "set_make_local_to_pose", + "getter": "get_make_local_to_pose" + } + ] + }, { "name": "OpenXRVisibilityMask", "is_refcounted": false, @@ -245172,19 +245741,19 @@ "api_type": "core", "enums": [ { - "name": "ResourceDeepDuplicateMode", + "name": "DeepDuplicateMode", "is_bitfield": false, "values": [ { - "name": "RESOURCE_DEEP_DUPLICATE_NONE", + "name": "DEEP_DUPLICATE_NONE", "value": 0 }, { - "name": "RESOURCE_DEEP_DUPLICATE_INTERNAL", + "name": "DEEP_DUPLICATE_INTERNAL", "value": 1 }, { - "name": "RESOURCE_DEEP_DUPLICATE_ALL", + "name": "DEEP_DUPLICATE_ALL", "value": 2 } ] @@ -245491,14 +246060,14 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1807532819, + "hash": 905779109, "return_value": { "type": "Resource" }, "arguments": [ { "name": "deep_subresources_mode", - "type": "enum::ResourceDeepDuplicateMode", + "type": "enum::Resource.DeepDuplicateMode", "default_value": "1" } ] @@ -254981,6 +255550,20 @@ "type": "Script" } ] + }, + { + "name": "clear_docs_from_script", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3657522847, + "arguments": [ + { + "name": "script", + "type": "Script" + } + ] } ], "signals": [ @@ -274524,12 +275107,6 @@ } ], "properties": [ - { - "type": "float", - "name": "oversampling", - "setter": "set_oversampling", - "getter": "get_oversampling" - }, { "type": "PackedStringArray", "name": "font_names", @@ -274625,6 +275202,12 @@ "name": "msdf_size", "setter": "set_msdf_size", "getter": "get_msdf_size" + }, + { + "type": "float", + "name": "oversampling", + "setter": "set_oversampling", + "getter": "get_oversampling" } ] }, @@ -317632,31 +318215,6 @@ } ] }, - { - "name": "set_graph_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_graph_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, { "name": "attach_node_to_frame", "is_const": false, @@ -317752,6 +318310,31 @@ "type": "String" } ] + }, + { + "name": "set_graph_offset", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 743155724, + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_graph_offset", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3341600327, + "return_value": { + "type": "Vector2" + } } ], "properties": [ @@ -331631,11 +332214,11 @@ "value": 80 }, { - "name": "JOINT_LEFT_ANKLE_TWIST", + "name": "JOINT_LEFT_FOOT_TWIST", "value": 81 }, { - "name": "JOINT_LEFT_ANKLE", + "name": "JOINT_LEFT_HEEL", "value": 82 }, { @@ -331643,11 +332226,11 @@ "value": 83 }, { - "name": "JOINT_RIGHT_ANKLE_TWIST", + "name": "JOINT_RIGHT_FOOT_TWIST", "value": 84 }, { - "name": "JOINT_RIGHT_ANKLE", + "name": "JOINT_RIGHT_HEEL", "value": 85 }, { From 8bb931c6a9ec6d725b80ca9ba3f947fe25e84307 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Thu, 10 Jul 2025 15:40:04 -0500 Subject: [PATCH 24/31] gdextension: Sync with upstream commit 4d1f26e1fd1fa46f2223fe0b6ac300744bf79b88 (4.5-beta3) --- gdextension/extension_api.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json index 9b32f1fe..563c60e4 100644 --- a/gdextension/extension_api.json +++ b/gdextension/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 5, "version_patch": 0, - "version_status": "beta2", + "version_status": "beta3", "version_build": "official", - "version_full_name": "Godot Engine v4.5.beta2.official", + "version_full_name": "Godot Engine v4.5.beta3.official", "precision": "single" }, "builtin_class_sizes": [ @@ -229750,6 +229750,10 @@ { "name": "SUPPORTS_BUFFER_DEVICE_ADDRESS", "value": 6 + }, + { + "name": "SUPPORTS_IMAGE_ATOMIC_32_BIT", + "value": 7 } ] }, From 6a21f76c4dda8cc63510d77f34c8067e40944974 Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Sun, 13 Jul 2025 00:08:50 -0400 Subject: [PATCH 25/31] Reintroduce Math_INF and Math_NAN defines --- include/godot_cpp/core/math_defs.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/godot_cpp/core/math_defs.hpp b/include/godot_cpp/core/math_defs.hpp index 73d86148..89b383c7 100644 --- a/include/godot_cpp/core/math_defs.hpp +++ b/include/godot_cpp/core/math_defs.hpp @@ -44,6 +44,8 @@ namespace godot { #define Math_TAU 6.2831853071795864769252867666 #define Math_PI 3.1415926535897932384626433833 #define Math_E 2.7182818284590452353602874714 +#define Math_INF INFINITY +#define Math_NAN NAN #ifdef DEBUG_ENABLED #define MATH_CHECKS From 8e7dfbc71aad709c78d403dd954802e76a4337fa Mon Sep 17 00:00:00 2001 From: David Snopek Date: Thu, 17 Jul 2025 09:03:11 -0500 Subject: [PATCH 26/31] Fix `custom_api_file` with SCons 4.0.1 --- tools/godotcpp.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/godotcpp.py b/tools/godotcpp.py index f0a5cf20..7be96247 100644 --- a/tools/godotcpp.py +++ b/tools/godotcpp.py @@ -258,8 +258,7 @@ def options(opts, env): help="Path to a custom directory containing GDExtension interface header and API JSON file", default=env.get("gdextension_dir", None), validator=validate_dir, - ), - converter=normalize_path, + ) ) opts.Add( PathVariable( @@ -267,8 +266,7 @@ def options(opts, env): help="Path to a custom GDExtension API JSON file (takes precedence over `gdextension_dir`)", default=env.get("custom_api_file", None), validator=validate_file, - ), - converter=normalize_path, + ) ) opts.Add( BoolVariable( @@ -537,8 +535,10 @@ def generate(env): def _godot_cpp(env): - extension_dir = env.get("gdextension_dir", default=env.Dir("gdextension").srcnode().abspath) - api_file = env.get("custom_api_file", default=os.path.join(extension_dir, "extension_api.json")) + extension_dir = normalize_path(env.get("gdextension_dir", default=env.Dir("gdextension").srcnode().abspath), env) + api_file = normalize_path( + env.get("custom_api_file", default=os.path.join(extension_dir, "extension_api.json")), env + ) bindings = env.GodotCPPBindings( env.Dir("."), From 309b17b6eb62b328c3b6aa8b86930c52eb07e9f4 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Mon, 14 Jul 2025 14:04:14 -0500 Subject: [PATCH 27/31] Test that internal classes work as expected --- gdextension/gdextension_interface.h | 18 ++++++++++++++++++ include/godot_cpp/core/class_db.hpp | 4 ++-- include/godot_cpp/godot.hpp | 2 +- src/godot.cpp | 4 ++-- test/project/main.gd | 7 +++++++ test/src/example.cpp | 16 ++++++++++++++++ test/src/example.h | 14 ++++++++++++++ test/src/register_types.cpp | 1 + 8 files changed, 61 insertions(+), 5 deletions(-) diff --git a/gdextension/gdextension_interface.h b/gdextension/gdextension_interface.h index 34849a67..0273c80a 100644 --- a/gdextension/gdextension_interface.h +++ b/gdextension/gdextension_interface.h @@ -399,6 +399,8 @@ typedef struct { void *class_userdata; // Per-class user data, later accessible in instance bindings. } GDExtensionClassCreationInfo4; +typedef GDExtensionClassCreationInfo4 GDExtensionClassCreationInfo5; + typedef void *GDExtensionClassLibraryPtr; /* Passed a pointer to a PackedStringArray that should be filled with the classes that may be used by the GDExtension. */ @@ -2943,6 +2945,7 @@ typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClass3)(GDExtensionCl /** * @name classdb_register_extension_class4 * @since 4.4 + * @deprecated in Godot 4.5. Use `classdb_register_extension_class5` instead. * * Registers an extension class in the ClassDB. * @@ -2955,6 +2958,21 @@ typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClass3)(GDExtensionCl */ typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClass4)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstStringNamePtr p_parent_class_name, const GDExtensionClassCreationInfo4 *p_extension_funcs); +/** + * @name classdb_register_extension_class5 + * @since 4.5 + * + * Registers an extension class in the ClassDB. + * + * Provided struct can be safely freed once the function returns. + * + * @param p_library A pointer the library received by the GDExtension's entry point function. + * @param p_class_name A pointer to a StringName with the class name. + * @param p_parent_class_name A pointer to a StringName with the parent class name. + * @param p_extension_funcs A pointer to a GDExtensionClassCreationInfo2 struct. + */ +typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClass5)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstStringNamePtr p_parent_class_name, const GDExtensionClassCreationInfo5 *p_extension_funcs); + /** * @name classdb_register_extension_class_method * @since 4.1 diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp index 8092c032..262dbecc 100644 --- a/include/godot_cpp/core/class_db.hpp +++ b/include/godot_cpp/core/class_db.hpp @@ -252,7 +252,7 @@ void ClassDB::_register_class(bool p_virtual, bool p_exposed, bool p_runtime) { class_register_order.push_back(cl.name); // Register this class with Godot - GDExtensionClassCreationInfo4 class_info = { + GDExtensionClassCreationInfo5 class_info = { p_virtual, // GDExtensionBool is_virtual; is_abstract, // GDExtensionBool is_abstract; p_exposed, // GDExtensionBool is_exposed; @@ -278,7 +278,7 @@ void ClassDB::_register_class(bool p_virtual, bool p_exposed, bool p_runtime) { (void *)&T::get_class_static(), // void *class_userdata; }; - internal::gdextension_interface_classdb_register_extension_class4(internal::library, cl.name._native_ptr(), cl.parent_name._native_ptr(), &class_info); + internal::gdextension_interface_classdb_register_extension_class5(internal::library, cl.name._native_ptr(), cl.parent_name._native_ptr(), &class_info); // call bind_methods etc. to register all members of the class T::initialize_class(); diff --git a/include/godot_cpp/godot.hpp b/include/godot_cpp/godot.hpp index cf64b7e7..e4b4337c 100644 --- a/include/godot_cpp/godot.hpp +++ b/include/godot_cpp/godot.hpp @@ -185,7 +185,7 @@ extern "C" GDExtensionInterfaceObjectSetScriptInstance gdextension_interface_obj extern "C" GDExtensionInterfaceClassdbConstructObject2 gdextension_interface_classdb_construct_object2; extern "C" GDExtensionInterfaceClassdbGetMethodBind gdextension_interface_classdb_get_method_bind; extern "C" GDExtensionInterfaceClassdbGetClassTag gdextension_interface_classdb_get_class_tag; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClass4 gdextension_interface_classdb_register_extension_class4; +extern "C" GDExtensionInterfaceClassdbRegisterExtensionClass5 gdextension_interface_classdb_register_extension_class5; extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassMethod gdextension_interface_classdb_register_extension_class_method; extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassVirtualMethod gdextension_interface_classdb_register_extension_class_virtual_method; extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassIntegerConstant gdextension_interface_classdb_register_extension_class_integer_constant; diff --git a/src/godot.cpp b/src/godot.cpp index dec61422..19a2a3b6 100644 --- a/src/godot.cpp +++ b/src/godot.cpp @@ -192,7 +192,7 @@ GDExtensionInterfaceObjectSetScriptInstance gdextension_interface_object_set_scr GDExtensionInterfaceClassdbConstructObject2 gdextension_interface_classdb_construct_object2 = nullptr; GDExtensionInterfaceClassdbGetMethodBind gdextension_interface_classdb_get_method_bind = nullptr; GDExtensionInterfaceClassdbGetClassTag gdextension_interface_classdb_get_class_tag = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClass4 gdextension_interface_classdb_register_extension_class4 = nullptr; +GDExtensionInterfaceClassdbRegisterExtensionClass5 gdextension_interface_classdb_register_extension_class5 = nullptr; GDExtensionInterfaceClassdbRegisterExtensionClassMethod gdextension_interface_classdb_register_extension_class_method = nullptr; GDExtensionInterfaceClassdbRegisterExtensionClassVirtualMethod gdextension_interface_classdb_register_extension_class_virtual_method = nullptr; GDExtensionInterfaceClassdbRegisterExtensionClassIntegerConstant gdextension_interface_classdb_register_extension_class_integer_constant = nullptr; @@ -477,7 +477,7 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge LOAD_PROC_ADDRESS(classdb_construct_object2, GDExtensionInterfaceClassdbConstructObject2); LOAD_PROC_ADDRESS(classdb_get_method_bind, GDExtensionInterfaceClassdbGetMethodBind); LOAD_PROC_ADDRESS(classdb_get_class_tag, GDExtensionInterfaceClassdbGetClassTag); - LOAD_PROC_ADDRESS(classdb_register_extension_class4, GDExtensionInterfaceClassdbRegisterExtensionClass4); + LOAD_PROC_ADDRESS(classdb_register_extension_class5, GDExtensionInterfaceClassdbRegisterExtensionClass5); LOAD_PROC_ADDRESS(classdb_register_extension_class_method, GDExtensionInterfaceClassdbRegisterExtensionClassMethod); LOAD_PROC_ADDRESS(classdb_register_extension_class_virtual_method, GDExtensionInterfaceClassdbRegisterExtensionClassVirtualMethod); LOAD_PROC_ADDRESS(classdb_register_extension_class_integer_constant, GDExtensionInterfaceClassdbRegisterExtensionClassIntegerConstant); diff --git a/test/project/main.gd b/test/project/main.gd index 5ade7171..3d9ca7f3 100644 --- a/test/project/main.gd +++ b/test/project/main.gd @@ -287,6 +287,13 @@ func _ready(): assert_equal(library_path, ProjectSettings.globalize_path(library_path)) assert_equal(FileAccess.file_exists(library_path), true) + # Test that internal classes work as expected (at least for Godot 4.5+). + assert_equal(ClassDB.can_instantiate("ExampleInternal"), false) + assert_equal(ClassDB.instantiate("ExampleInternal"), null) + var internal_class = example.test_get_internal_class() + assert_equal(internal_class.get_the_answer(), 42) + assert_equal(internal_class.get_class(), "ExampleInternal") + # Test a class with a unicode name. var przykład = ExamplePrzykład.new() assert_equal(przykład.get_the_word(), "słowo to przykład") diff --git a/test/src/example.cpp b/test/src/example.cpp index 97915a0f..9d3e62b9 100644 --- a/test/src/example.cpp +++ b/test/src/example.cpp @@ -252,6 +252,8 @@ void Example::_bind_methods() { ClassDB::bind_method(D_METHOD("test_use_engine_singleton"), &Example::test_use_engine_singleton); + ClassDB::bind_method(D_METHOD("test_get_internal_class"), &Example::test_get_internal_class); + ClassDB::bind_static_method("Example", D_METHOD("test_static", "a", "b"), &Example::test_static); ClassDB::bind_static_method("Example", D_METHOD("test_static2"), &Example::test_static2); @@ -744,6 +746,12 @@ String Example::test_library_path() { return library_path; } +Ref Example::test_get_internal_class() const { + Ref it; + it.instantiate(); + return it; +} + int64_t Example::test_get_internal(const Variant &p_input) const { if (p_input.get_type() != Variant::INT) { return -1; @@ -779,3 +787,11 @@ void ExamplePrzykład::_bind_methods() { String ExamplePrzykład::get_the_word() const { return U"słowo to przykład"; } + +void ExampleInternal::_bind_methods() { + ClassDB::bind_method(D_METHOD("get_the_answer"), &ExampleInternal::get_the_answer); +} + +int ExampleInternal::get_the_answer() const { + return 42; +} diff --git a/test/src/example.h b/test/src/example.h index 22e9382b..403d59f7 100644 --- a/test/src/example.h +++ b/test/src/example.h @@ -29,6 +29,8 @@ using namespace godot; +class ExampleInternal; + class ExampleRef : public RefCounted { GDCLASS(ExampleRef, RefCounted); @@ -203,6 +205,8 @@ class Example : public Control { String test_use_engine_singleton() const; static String test_library_path(); + + Ref test_get_internal_class() const; }; VARIANT_ENUM_CAST(Example::Constants); @@ -288,3 +292,13 @@ class ExamplePrzykład : public RefCounted { public: String get_the_word() const; }; + +class ExampleInternal : public RefCounted { + GDCLASS(ExampleInternal, RefCounted); + +protected: + static void _bind_methods(); + +public: + int get_the_answer() const; +}; diff --git a/test/src/register_types.cpp b/test/src/register_types.cpp index d9290c80..c68176d9 100644 --- a/test/src/register_types.cpp +++ b/test/src/register_types.cpp @@ -31,6 +31,7 @@ void initialize_example_module(ModuleInitializationLevel p_level) { GDREGISTER_CLASS(ExampleChild); GDREGISTER_RUNTIME_CLASS(ExampleRuntime); GDREGISTER_CLASS(ExamplePrzykład); + GDREGISTER_INTERNAL_CLASS(ExampleInternal); } void uninitialize_example_module(ModuleInitializationLevel p_level) { From cb3ad55873170231fe499dba3e1e99a159a85f26 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Fri, 1 Aug 2025 09:52:19 -0500 Subject: [PATCH 28/31] gdextension: Sync with upstream commit 2d113cc224cb9be07866d003819fcef2226a52ea (4.5-beta4) --- gdextension/extension_api.json | 167 ++++++++++++++++++++++++++++++++- 1 file changed, 163 insertions(+), 4 deletions(-) diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json index 563c60e4..4d209811 100644 --- a/gdextension/extension_api.json +++ b/gdextension/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 5, "version_patch": 0, - "version_status": "beta3", + "version_status": "beta4", "version_build": "official", - "version_full_name": "Godot Engine v4.5.beta3.official", + "version_full_name": "Godot Engine v4.5.beta4.official", "precision": "single" }, "builtin_class_sizes": [ @@ -25894,6 +25894,30 @@ "inherits": "RefCounted", "api_type": "core", "methods": [ + { + "name": "_filter_neighbor", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 2522259332, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "from_id", + "type": "int", + "meta": "int64" + }, + { + "name": "neighbor_id", + "type": "int", + "meta": "int64" + } + ] + }, { "name": "_estimate_cost", "is_const": true, @@ -26122,6 +26146,31 @@ "type": "PackedInt64Array" } }, + { + "name": "set_neighbor_filter_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_neighbor_filter_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_point_disabled", "is_const": false, @@ -26399,6 +26448,14 @@ } ] } + ], + "properties": [ + { + "type": "bool", + "name": "neighbor_filter_enabled", + "setter": "set_neighbor_filter_enabled", + "getter": "is_neighbor_filter_enabled" + } ] }, { @@ -26408,6 +26465,30 @@ "inherits": "RefCounted", "api_type": "core", "methods": [ + { + "name": "_filter_neighbor", + "is_const": true, + "is_static": false, + "is_required": false, + "is_vararg": false, + "is_virtual": true, + "hash": 2522259332, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "from_id", + "type": "int", + "meta": "int64" + }, + { + "name": "neighbor_id", + "type": "int", + "meta": "int64" + } + ] + }, { "name": "_estimate_cost", "is_const": true, @@ -26677,6 +26758,31 @@ } ] }, + { + "name": "set_neighbor_filter_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_neighbor_filter_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "connect_points", "is_const": false, @@ -26913,6 +27019,14 @@ } ] } + ], + "properties": [ + { + "type": "bool", + "name": "neighbor_filter_enabled", + "setter": "set_neighbor_filter_enabled", + "getter": "is_neighbor_filter_enabled" + } ] }, { @@ -92804,9 +92918,12 @@ "is_required": false, "is_vararg": false, "is_virtual": true, - "hash": 3991065292, + "hash": 3536238170, + "hash_compatibility": [ + 3991065292 + ], "return_value": { - "type": "ImageTexture" + "type": "Texture2D" }, "arguments": [ { @@ -249282,6 +249399,31 @@ "type": "bool" } }, + { + "name": "set_scroll_follow_visible_characters", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "follow", + "type": "bool" + } + ] + }, + { + "name": "is_scroll_following_visible_characters", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_scroll_follow", "is_const": false, @@ -249991,6 +250133,17 @@ } ] }, + { + "name": "get_visible_content_rect", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 410525958, + "return_value": { + "type": "Rect2i" + } + }, { "name": "get_line_offset", "is_const": false, @@ -250194,6 +250347,12 @@ "setter": "set_scroll_follow", "getter": "is_scroll_following" }, + { + "type": "bool", + "name": "scroll_following_visible_characters", + "setter": "set_scroll_follow_visible_characters", + "getter": "is_scroll_following_visible_characters" + }, { "type": "int", "name": "autowrap_mode", From fbe5262d7b90f307893e347beb00766fbd71ac86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaim=20=28Jo=C3=ABl=20Lamotte=29?= <142265+Klaim@users.noreply.github.com> Date: Fri, 1 Aug 2025 16:00:44 +0200 Subject: [PATCH 29/31] fix: missing `type_traits` include Usage of `std::is_trivially_constructible` in `defs.hpp` requires including `type_traits`. This missing include leads to errors about that type not being found when building with clang++-22 with libc++-22. --- include/godot_cpp/core/defs.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/godot_cpp/core/defs.hpp b/include/godot_cpp/core/defs.hpp index 9395f201..fddfa51d 100644 --- a/include/godot_cpp/core/defs.hpp +++ b/include/godot_cpp/core/defs.hpp @@ -32,6 +32,7 @@ #include #include +#include #include namespace godot { From 8646cd31b52a86769aad7c8f5b0f06b42f1f11f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Wed, 6 Aug 2025 22:48:13 +0300 Subject: [PATCH 30/31] Sync Android SDK and NDK versions with the engine. --- .github/actions/setup-godot-cpp/action.yml | 2 +- .github/workflows/ci-cmake.yml | 4 ++-- cmake/android.cmake | 2 +- doc/cmake.rst | 2 +- tools/android.py | 10 +++++----- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/actions/setup-godot-cpp/action.yml b/.github/actions/setup-godot-cpp/action.yml index 1be9293c..d67bb999 100644 --- a/.github/actions/setup-godot-cpp/action.yml +++ b/.github/actions/setup-godot-cpp/action.yml @@ -20,7 +20,7 @@ inputs: default: 12.2.0 description: MinGW version. ndk-version: - default: r23c + default: r28b description: Android NDK version. buildtool: default: scons diff --git a/.github/workflows/ci-cmake.yml b/.github/workflows/ci-cmake.yml index 7d5e7731..cc7ae6b0 100644 --- a/.github/workflows/ci-cmake.yml +++ b/.github/workflows/ci-cmake.yml @@ -73,8 +73,8 @@ jobs: platform: android config-flags: -G Ninja -DCMAKE_BUILD_TYPE=Release - --toolchain ${ANDROID_HOME}/ndk/23.2.8568313/build/cmake/android.toolchain.cmake - -DANDROID_PLATFORM=21 -DANDROID_ABI=arm64-v8a + --toolchain ${ANDROID_HOME}/ndk/28.1.13356709/build/cmake/android.toolchain.cmake + -DANDROID_PLATFORM=24 -DANDROID_ABI=arm64-v8a artifact-name: godot-cpp-android-arm64-release.cmake artifact-path: cmake-build/bin/libgodot-cpp.android.template_release.arm64.a flags: arch=arm64 diff --git a/cmake/android.cmake b/cmake/android.cmake index 1d3a93b6..7c442bb1 100644 --- a/cmake/android.cmake +++ b/cmake/android.cmake @@ -34,7 +34,7 @@ function(android_options) more information android_api_level : Target Android API level. - Default = 21 + Default = 24 ANDROID_HOME : Path to your Android SDK installation. Default = os.environ.get("ANDROID_HOME", os.environ.get("ANDROID_SDK_ROOT") diff --git a/doc/cmake.rst b/doc/cmake.rst index 760d4561..467ba0bf 100644 --- a/doc/cmake.rst +++ b/doc/cmake.rst @@ -253,7 +253,7 @@ own toolchain file as listed in the cmake-toolchains_ documentation Or use the toolchain and scripts provided by the Android SDK and make changes using the ``ANDROID_*`` variables listed there. Where ```` is whatever -ndk version you have installed (tested with `23.2.8568313`) and ```` +ndk version you have installed (tested with `28.1.13356709`) and ```` is for android sdk platform, (tested with ``android-29``) .. warning:: diff --git a/tools/android.py b/tools/android.py index dbd38cdf..e63c1fd2 100644 --- a/tools/android.py +++ b/tools/android.py @@ -9,12 +9,12 @@ def options(opts): opts.Add( "android_api_level", "Target Android API level", - "21", + "24", ) opts.Add( "ndk_version", "Fully qualified version of ndk to use for compilation.", - "23.2.8568313", + "28.1.13356709", ) opts.Add( "ANDROID_HOME", @@ -48,9 +48,9 @@ def generate(env): my_spawn.configure(env) # Validate API level - if int(env["android_api_level"]) < 21: - print("WARNING: minimum supported Android target api is 21. Forcing target api 21.") - env["android_api_level"] = "21" + if int(env["android_api_level"]) < 24: + print("WARNING: minimum supported Android target api is 24. Forcing target api 24.") + env["android_api_level"] = "24" # Setup toolchain toolchain = get_android_ndk_root(env) + "/toolchains/llvm/prebuilt/" From 1421ba26ad045fb23b35ad7360cf5b2f1de55738 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Fri, 8 Aug 2025 06:50:17 -0500 Subject: [PATCH 31/31] gdextension: Sync with upstream commit c81fd6c51233a727da528cf7f74137d56b5d6efe (4.5-beta5) --- gdextension/extension_api.json | 103 ++++++++++++++++++++++++++++++++- 1 file changed, 100 insertions(+), 3 deletions(-) diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json index 4d209811..aa82976d 100644 --- a/gdextension/extension_api.json +++ b/gdextension/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 5, "version_patch": 0, - "version_status": "beta4", + "version_status": "beta5", "version_build": "official", - "version_full_name": "Godot Engine v4.5.beta4.official", + "version_full_name": "Godot Engine v4.5.beta5.official", "precision": "single" }, "builtin_class_sizes": [ @@ -42766,6 +42766,26 @@ "is_instantiable": true, "inherits": "Node3D", "api_type": "core", + "enums": [ + { + "name": "DopplerTracking", + "is_bitfield": false, + "values": [ + { + "name": "DOPPLER_TRACKING_DISABLED", + "value": 0 + }, + { + "name": "DOPPLER_TRACKING_IDLE_STEP", + "value": 1 + }, + { + "name": "DOPPLER_TRACKING_PHYSICS_STEP", + "value": 2 + } + ] + } + ], "methods": [ { "name": "make_current", @@ -42804,6 +42824,39 @@ "return_value": { "type": "Transform3D" } + }, + { + "name": "set_doppler_tracking", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2365921740, + "arguments": [ + { + "name": "mode", + "type": "enum::AudioListener3D.DopplerTracking" + } + ] + }, + { + "name": "get_doppler_tracking", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 550229039, + "return_value": { + "type": "enum::AudioListener3D.DopplerTracking" + } + } + ], + "properties": [ + { + "type": "int", + "name": "doppler_tracking", + "setter": "set_doppler_tracking", + "getter": "get_doppler_tracking" } ] }, @@ -60782,7 +60835,7 @@ "hash": 2586408642, "arguments": [ { - "name": "position_smoothing_speed", + "name": "enabled", "type": "bool" } ] @@ -84785,6 +84838,50 @@ } ] }, + { + "name": "AccessibilityScrollUnit", + "is_bitfield": false, + "values": [ + { + "name": "SCROLL_UNIT_ITEM", + "value": 0 + }, + { + "name": "SCROLL_UNIT_PAGE", + "value": 1 + } + ] + }, + { + "name": "AccessibilityScrollHint", + "is_bitfield": false, + "values": [ + { + "name": "SCROLL_HINT_TOP_LEFT", + "value": 0 + }, + { + "name": "SCROLL_HINT_BOTTOM_RIGHT", + "value": 1 + }, + { + "name": "SCROLL_HINT_TOP_EDGE", + "value": 2 + }, + { + "name": "SCROLL_HINT_BOTTOM_EDGE", + "value": 3 + }, + { + "name": "SCROLL_HINT_LEFT_EDGE", + "value": 4 + }, + { + "name": "SCROLL_HINT_RIGHT_EDGE", + "value": 5 + } + ] + }, { "name": "MouseMode", "is_bitfield": false,