From 1d8fdeb51de983659adff2ab4828c1e70a71b762 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Thu, 4 Apr 2024 17:59:51 -0500 Subject: [PATCH] Add support for XR_FB_composition_layer_secure_content --- ...layer_secure_content_extension_wrapper.cpp | 134 + ...n_layer_secure_content_extension_wrapper.h | 80 + common/src/main/cpp/register_types.cpp | 4 + .../extension_api.json | 3248 ++++++++++++++++- 4 files changed, 3324 insertions(+), 142 deletions(-) create mode 100644 common/src/main/cpp/extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.cpp create mode 100644 common/src/main/cpp/include/extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.h diff --git a/common/src/main/cpp/extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.cpp b/common/src/main/cpp/extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.cpp new file mode 100644 index 00000000..2ab98d64 --- /dev/null +++ b/common/src/main/cpp/extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.cpp @@ -0,0 +1,134 @@ +/**************************************************************************/ +/* openxr_fb_composition_layer_secure_content_extension_wrapper.cpp */ +/**************************************************************************/ +/* This file is part of: */ +/* GODOT XR */ +/* https://godotengine.org */ +/**************************************************************************/ +/* Copyright (c) 2022-present Godot XR contributors (see CONTRIBUTORS.md) */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/**************************************************************************/ + +#include "extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.h" + +#include +#include + +using namespace godot; + +static const char *EXTERNAL_OUTPUT_PROPERTY_NAME = "XR_FB_composition_layer_secure_content/external_output"; + +OpenXRFbCompositionLayerSecureContentExtensionWrapper *OpenXRFbCompositionLayerSecureContentExtensionWrapper::singleton = nullptr; + +OpenXRFbCompositionLayerSecureContentExtensionWrapper *OpenXRFbCompositionLayerSecureContentExtensionWrapper::get_singleton() { + if (singleton == nullptr) { + singleton = memnew(OpenXRFbCompositionLayerSecureContentExtensionWrapper()); + } + return singleton; +} + +OpenXRFbCompositionLayerSecureContentExtensionWrapper::OpenXRFbCompositionLayerSecureContentExtensionWrapper() : + OpenXRExtensionWrapperExtension() { + ERR_FAIL_COND_MSG(singleton != nullptr, "An OpenXRFbCompositionLayerSecureContentExtensionWrapper singleton already exists."); + + request_extensions[XR_FB_COMPOSITION_LAYER_SECURE_CONTENT_EXTENSION_NAME] = &fb_composition_layer_secure_content; + singleton = this; +} + +OpenXRFbCompositionLayerSecureContentExtensionWrapper::~OpenXRFbCompositionLayerSecureContentExtensionWrapper() { + cleanup(); +} + +void OpenXRFbCompositionLayerSecureContentExtensionWrapper::_bind_methods() { +} + +void OpenXRFbCompositionLayerSecureContentExtensionWrapper::cleanup() { + fb_composition_layer_secure_content = false; +} + +Dictionary OpenXRFbCompositionLayerSecureContentExtensionWrapper::_get_requested_extensions() { + Dictionary result; + for (auto ext : request_extensions) { + uint64_t value = reinterpret_cast(ext.value); + result[ext.key] = (Variant)value; + } + return result; +} + +uint64_t OpenXRFbCompositionLayerSecureContentExtensionWrapper::_set_viewport_composition_layer_and_get_next_pointer(const void *p_layer, const Dictionary &p_property_values, void *p_next_pointer) { + if (!fb_composition_layer_secure_content) { + return reinterpret_cast(p_next_pointer); + } + + const XrCompositionLayerBaseHeader *layer = reinterpret_cast(p_layer); + + if (!layer_structs.has(layer)) { + layer_structs[layer] = { + XR_TYPE_COMPOSITION_LAYER_SECURE_CONTENT_FB, // type + p_next_pointer, // next + 0, // flags + }; + } + + XrCompositionLayerSecureContentFB *secure_content = layer_structs.getptr(layer); + + switch ((ExternalOutput)(int)p_property_values.get(EXTERNAL_OUTPUT_PROPERTY_NAME, EXTERNAL_OUTPUT_DISPLAY)) { + case EXTERNAL_OUTPUT_DISPLAY: { + secure_content->flags = 0; + } break; + case EXTERNAL_OUTPUT_EXCLUDE: { + secure_content->flags = XR_COMPOSITION_LAYER_SECURE_CONTENT_EXCLUDE_LAYER_BIT_FB; + } break; + case EXTERNAL_OUTPUT_REPLACE: { + secure_content->flags = XR_COMPOSITION_LAYER_SECURE_CONTENT_REPLACE_LAYER_BIT_FB; + } break; + }; + + return reinterpret_cast(secure_content); +} + +void OpenXRFbCompositionLayerSecureContentExtensionWrapper::_on_viewport_composition_layer_destroyed(const void *p_layer) { + if (fb_composition_layer_secure_content) { + const XrCompositionLayerBaseHeader *layer = reinterpret_cast(p_layer); + layer_structs.erase(layer); + } +} + +TypedArray OpenXRFbCompositionLayerSecureContentExtensionWrapper::_get_viewport_composition_layer_extension_properties() { + TypedArray properties; + + { + Dictionary external_output; + external_output["name"] = EXTERNAL_OUTPUT_PROPERTY_NAME; + external_output["type"] = Variant::INT; + external_output["hint"] = PROPERTY_HINT_ENUM; + external_output["hint_string"] = "Display,Exclude,Replace"; + properties.push_back(external_output); + } + + return properties; +} + +Dictionary OpenXRFbCompositionLayerSecureContentExtensionWrapper::_get_viewport_composition_layer_extension_property_defaults() { + Dictionary defaults; + defaults[EXTERNAL_OUTPUT_PROPERTY_NAME] = (int)EXTERNAL_OUTPUT_DISPLAY; + return defaults; +} diff --git a/common/src/main/cpp/include/extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.h b/common/src/main/cpp/include/extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.h new file mode 100644 index 00000000..8650cdb1 --- /dev/null +++ b/common/src/main/cpp/include/extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.h @@ -0,0 +1,80 @@ +/**************************************************************************/ +/* openxr_fb_composition_layer_secure_content_extension_wrapper.h */ +/**************************************************************************/ +/* This file is part of: */ +/* GODOT XR */ +/* https://godotengine.org */ +/**************************************************************************/ +/* Copyright (c) 2022-present Godot XR contributors (see CONTRIBUTORS.md) */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/**************************************************************************/ + +#ifndef OPENXR_FB_COMPOSITION_LAYER_SECURE_CONTENT_EXTENSION_WRAPPER_H +#define OPENXR_FB_COMPOSITION_LAYER_SECURE_CONTENT_EXTENSION_WRAPPER_H + +#include + +#include +#include + +using namespace godot; + +// Wrapper for XR_FB_composition_layer_secure_content extension. +class OpenXRFbCompositionLayerSecureContentExtensionWrapper : public OpenXRExtensionWrapperExtension { + GDCLASS(OpenXRFbCompositionLayerSecureContentExtensionWrapper, OpenXRExtensionWrapperExtension); + +public: + godot::Dictionary _get_requested_extensions() override; + + static OpenXRFbCompositionLayerSecureContentExtensionWrapper *get_singleton(); + + enum ExternalOutput { + EXTERNAL_OUTPUT_DISPLAY, + EXTERNAL_OUTPUT_EXCLUDE, + EXTERNAL_OUTPUT_REPLACE, + }; + + virtual uint64_t _set_viewport_composition_layer_and_get_next_pointer(const void *p_layer, const Dictionary &p_property_values, void *p_next_pointer) override; + virtual void _on_viewport_composition_layer_destroyed(const void *p_layer) override; + virtual TypedArray _get_viewport_composition_layer_extension_properties() override; + virtual Dictionary _get_viewport_composition_layer_extension_property_defaults() override; + + bool is_enabled() const; + + OpenXRFbCompositionLayerSecureContentExtensionWrapper(); + ~OpenXRFbCompositionLayerSecureContentExtensionWrapper(); + +protected: + static void _bind_methods(); + +private: + void cleanup(); + + static OpenXRFbCompositionLayerSecureContentExtensionWrapper *singleton; + + HashMap request_extensions; + + bool fb_composition_layer_secure_content = false; + + HashMap layer_structs; +}; + +#endif // OPENXR_FB_COMPOSITION_LAYER_SECURE_CONTENT_EXTENSION_WRAPPER_H diff --git a/common/src/main/cpp/register_types.cpp b/common/src/main/cpp/register_types.cpp index c81fd345..79e7c6c4 100644 --- a/common/src/main/cpp/register_types.cpp +++ b/common/src/main/cpp/register_types.cpp @@ -43,6 +43,7 @@ #include "export/meta_export_plugin.h" #include "export/pico_export_plugin.h" +#include "extensions/openxr_fb_composition_layer_secure_content_extension_wrapper.h" #include "extensions/openxr_fb_face_tracking_extension_wrapper.h" #include "extensions/openxr_fb_hand_tracking_aim_extension_wrapper.h" #include "extensions/openxr_fb_hand_tracking_capsules_extension_wrapper.h" @@ -102,6 +103,9 @@ void initialize_plugin_module(ModuleInitializationLevel p_level) { ClassDB::register_class(); OpenXRFbHandTrackingCapsulesExtensionWrapper::get_singleton()->register_extension_wrapper(); + + ClassDB::register_class(); + OpenXRFbCompositionLayerSecureContentExtensionWrapper::get_singleton()->register_extension_wrapper(); } break; case MODULE_INITIALIZATION_LEVEL_SERVERS: diff --git a/thirdparty/godot_cpp_gdextension_api/extension_api.json b/thirdparty/godot_cpp_gdextension_api/extension_api.json index bd036d81..d4569e98 100644 --- a/thirdparty/godot_cpp_gdextension_api/extension_api.json +++ b/thirdparty/godot_cpp_gdextension_api/extension_api.json @@ -7522,6 +7522,34 @@ } ] }, + { + "name": "filecasecmp_to", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2920860731, + "arguments": [ + { + "name": "to", + "type": "String" + } + ] + }, + { + "name": "filenocasecmp_to", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2920860731, + "arguments": [ + { + "name": "to", + "type": "String" + } + ] + }, { "name": "length", "return_type": "int", @@ -17335,6 +17363,34 @@ } ] }, + { + "name": "filecasecmp_to", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2920860731, + "arguments": [ + { + "name": "to", + "type": "String" + } + ] + }, + { + "name": "filenocasecmp_to", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 2920860731, + "arguments": [ + { + "name": "to", + "type": "String" + } + ] + }, { "name": "length", "return_type": "int", @@ -24408,7 +24464,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 281625055, + "hash": 3427490392, + "hash_compatibility": [ + 281625055 + ], "return_value": { "type": "PackedVector2Array" }, @@ -24422,6 +24481,11 @@ "name": "to_id", "type": "int", "meta": "int64" + }, + { + "name": "allow_partial_path", + "type": "bool", + "default_value": "false" } ] }, @@ -24431,7 +24495,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3404614526, + "hash": 3136199648, + "hash_compatibility": [ + 3404614526 + ], "return_value": { "type": "PackedInt64Array" }, @@ -24445,6 +24512,11 @@ "name": "to_id", "type": "int", "meta": "int64" + }, + { + "name": "allow_partial_path", + "type": "bool", + "default_value": "false" } ] } @@ -24902,7 +24974,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 880819742, + "hash": 1562654675, + "hash_compatibility": [ + 880819742 + ], "return_value": { "type": "PackedVector3Array" }, @@ -24916,6 +24991,11 @@ "name": "to_id", "type": "int", "meta": "int64" + }, + { + "name": "allow_partial_path", + "type": "bool", + "default_value": "false" } ] }, @@ -24925,7 +25005,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3404614526, + "hash": 3136199648, + "hash_compatibility": [ + 3404614526 + ], "return_value": { "type": "PackedInt64Array" }, @@ -24939,6 +25022,11 @@ "name": "to_id", "type": "int", "meta": "int64" + }, + { + "name": "allow_partial_path", + "type": "bool", + "default_value": "false" } ] } @@ -25501,7 +25589,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 690373547, + "hash": 1641925693, + "hash_compatibility": [ + 690373547 + ], "return_value": { "type": "PackedVector2Array" }, @@ -25513,6 +25604,11 @@ { "name": "to_id", "type": "Vector2i" + }, + { + "name": "allow_partial_path", + "type": "bool", + "default_value": "false" } ] }, @@ -25522,7 +25618,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1989391000, + "hash": 1918132273, + "hash_compatibility": [ + 1989391000 + ], "return_value": { "type": "typedarray::Vector2i" }, @@ -25534,6 +25633,11 @@ { "name": "to_id", "type": "Vector2i" + }, + { + "name": "allow_partial_path", + "type": "bool", + "default_value": "false" } ] } @@ -30309,6 +30413,135 @@ "return_value": { "type": "enum::AnimationNodeAnimation.PlayMode" } + }, + { + "name": "set_use_custom_timeline", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "use_custom_timeline", + "type": "bool" + } + ] + }, + { + "name": "is_using_custom_timeline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_timeline_length", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "timeline_length", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "get_timeline_length", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "set_stretch_time_scale", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "stretch_time_scale", + "type": "bool" + } + ] + }, + { + "name": "is_stretching_time_scale", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_start_offset", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "start_offset", + "type": "float", + "meta": "double" + } + ] + }, + { + "name": "get_start_offset", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "double" + } + }, + { + "name": "set_loop_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3155355575, + "arguments": [ + { + "name": "loop_mode", + "type": "enum::Animation.LoopMode" + } + ] + }, + { + "name": "get_loop_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1988889481, + "return_value": { + "type": "enum::Animation.LoopMode" + } } ], "properties": [ @@ -30323,6 +30556,36 @@ "name": "play_mode", "setter": "set_play_mode", "getter": "get_play_mode" + }, + { + "type": "bool", + "name": "use_custom_timeline", + "setter": "set_use_custom_timeline", + "getter": "is_using_custom_timeline" + }, + { + "type": "float", + "name": "timeline_length", + "setter": "set_timeline_length", + "getter": "get_timeline_length" + }, + { + "type": "bool", + "name": "stretch_time_scale", + "setter": "set_stretch_time_scale", + "getter": "is_stretching_time_scale" + }, + { + "type": "float", + "name": "start_offset", + "setter": "set_start_offset", + "getter": "get_start_offset" + }, + { + "type": "int", + "name": "loop_mode", + "setter": "set_loop_mode", + "getter": "get_loop_mode" } ] }, @@ -31594,6 +31857,31 @@ "type": "Curve" } }, + { + "name": "set_break_loop_at_end", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_loop_broken_at_end", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_autorestart", "is_const": false, @@ -31730,6 +32018,12 @@ "setter": "set_fadeout_curve", "getter": "get_fadeout_curve" }, + { + "type": "bool", + "name": "break_loop_at_end", + "setter": "set_break_loop_at_end", + "getter": "is_loop_broken_at_end" + }, { "type": "bool", "name": "autorestart", @@ -32519,6 +32813,31 @@ "type": "Curve" } }, + { + "name": "set_break_loop_at_end", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_loop_broken_at_end", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_reset", "is_const": false, @@ -32615,6 +32934,12 @@ "setter": "set_xfade_curve", "getter": "get_xfade_curve" }, + { + "type": "bool", + "name": "break_loop_at_end", + "setter": "set_break_loop_at_end", + "getter": "is_loop_broken_at_end" + }, { "type": "bool", "name": "reset", @@ -32775,6 +33100,43 @@ } ] }, + { + "name": "set_input_break_loop_at_end", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 300928843, + "arguments": [ + { + "name": "input", + "type": "int", + "meta": "int32" + }, + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_input_loop_broken_at_end", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1116898809, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "input", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "set_input_reset", "is_const": false, @@ -37917,6 +38279,116 @@ } ] }, + { + "name": "AudioEffectHardLimiter", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "AudioEffect", + "api_type": "core", + "methods": [ + { + "name": "set_ceiling_db", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "ceiling", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_ceiling_db", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_pre_gain_db", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "p_pre_gain", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pre_gain_db", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_release", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "p_release", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_release", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + } + ], + "properties": [ + { + "type": "float", + "name": "pre_gain_db", + "setter": "set_pre_gain_db", + "getter": "get_pre_gain_db" + }, + { + "type": "float", + "name": "ceiling_db", + "setter": "set_ceiling_db", + "getter": "get_ceiling_db" + }, + { + "type": "float", + "name": "release", + "setter": "set_release", + "getter": "get_release" + } + ] + }, { "name": "AudioEffectHighPassFilter", "is_refcounted": true, @@ -66518,7 +66990,7 @@ "type": "InputEvent" }, { - "name": "position", + "name": "event_position", "type": "Vector3" }, { @@ -67076,7 +67548,7 @@ "type": "InputEvent" }, { - "name": "position", + "name": "event_position", "type": "Vector3" }, { @@ -76354,6 +76826,14 @@ { "name": "FEATURE_NATIVE_HELP", "value": 23 + }, + { + "name": "FEATURE_NATIVE_DIALOG_INPUT", + "value": 24 + }, + { + "name": "FEATURE_NATIVE_DIALOG_FILE", + "value": 25 } ] }, @@ -82643,6 +83123,180 @@ "type": "PackedStringArray" } }, + { + "name": "get_option_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 844755477, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "option", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_option_values", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 647634434, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "option", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_option_default", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "option", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_option_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 501894301, + "arguments": [ + { + "name": "option", + "type": "int", + "meta": "int32" + }, + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "set_option_values", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3353661094, + "arguments": [ + { + "name": "option", + "type": "int", + "meta": "int32" + }, + { + "name": "values", + "type": "PackedStringArray" + } + ] + }, + { + "name": "set_option_default", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3937882851, + "arguments": [ + { + "name": "option", + "type": "int", + "meta": "int32" + }, + { + "name": "default_value_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_option_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_option_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "add_option", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 149592325, + "arguments": [ + { + "name": "name", + "type": "String" + }, + { + "name": "values", + "type": "PackedStringArray" + }, + { + "name": "default_value_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_selected_options", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3102165223, + "return_value": { + "type": "Dictionary" + } + }, { "name": "get_current_dir", "is_const": true, @@ -82965,6 +83619,12 @@ "setter": "set_filters", "getter": "get_filters" }, + { + "type": "int", + "name": "option_count", + "setter": "set_option_count", + "getter": "get_option_count" + }, { "type": "bool", "name": "show_hidden_files", @@ -96060,7 +96720,7 @@ "meta": "int32" }, { - "name": "index", + "name": "default_value_index", "type": "int", "meta": "int32" } @@ -96110,7 +96770,7 @@ "type": "PackedStringArray" }, { - "name": "index", + "name": "default_value_index", "type": "int", "meta": "int32" } @@ -111822,6 +112482,72 @@ } ] }, + { + "name": "attach_graph_element_to_frame", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3740211285, + "arguments": [ + { + "name": "element", + "type": "StringName" + }, + { + "name": "frame", + "type": "StringName" + } + ] + }, + { + "name": "detach_graph_element_from_frame", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3304788590, + "arguments": [ + { + "name": "element", + "type": "StringName" + } + ] + }, + { + "name": "get_element_frame", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 988084372, + "return_value": { + "type": "GraphFrame" + }, + "arguments": [ + { + "name": "element", + "type": "StringName" + } + ] + }, + { + "name": "get_attached_nodes_of_frame", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 689397652, + "return_value": { + "type": "typedarray::StringName" + }, + "arguments": [ + { + "name": "frame", + "type": "StringName" + } + ] + }, { "name": "set_panning_scheme", "is_const": false, @@ -112555,11 +113281,24 @@ } ] }, + { + "name": "frame_rect_changed", + "arguments": [ + { + "name": "frame", + "type": "GraphFrame" + }, + { + "name": "new_rect", + "type": "Vector2" + } + ] + }, { "name": "popup_request", "arguments": [ { - "name": "position", + "name": "at_position", "type": "Vector2" } ] @@ -112570,6 +113309,19 @@ { "name": "end_node_move" }, + { + "name": "graph_elements_linked_to_frame_request", + "arguments": [ + { + "name": "elements", + "type": "Array" + }, + { + "name": "frame", + "type": "StringName" + } + ] + }, { "name": "scroll_offset_changed", "arguments": [ @@ -112871,7 +113623,16 @@ "name": "resize_request", "arguments": [ { - "name": "new_minsize", + "name": "new_size", + "type": "Vector2" + } + ] + }, + { + "name": "resize_end", + "arguments": [ + { + "name": "new_size", "type": "Vector2" } ] @@ -112926,6 +113687,223 @@ } ] }, + { + "name": "GraphFrame", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GraphElement", + "api_type": "core", + "methods": [ + { + "name": "set_title", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "title", + "type": "String" + } + ] + }, + { + "name": "get_title", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "get_titlebar_hbox", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3590609951, + "return_value": { + "type": "HBoxContainer" + } + }, + { + "name": "set_autoshrink_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "shrink", + "type": "bool" + } + ] + }, + { + "name": "is_autoshrink_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_autoshrink_margin", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "autoshrink_margin", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_autoshrink_margin", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_drag_margin", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "drag_margin", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_drag_margin", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_tint_color_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_tint_color_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tint_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2920490490, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_tint_color", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3444240500, + "return_value": { + "type": "Color" + } + } + ], + "signals": [ + { + "name": "autoshrink_changed" + } + ], + "properties": [ + { + "type": "String", + "name": "title", + "setter": "set_title", + "getter": "get_title" + }, + { + "type": "bool", + "name": "autoshrink_enabled", + "setter": "set_autoshrink_enabled", + "getter": "is_autoshrink_enabled" + }, + { + "type": "int", + "name": "autoshrink_margin", + "setter": "set_autoshrink_margin", + "getter": "get_autoshrink_margin" + }, + { + "type": "int", + "name": "drag_margin", + "setter": "set_drag_margin", + "getter": "get_drag_margin" + }, + { + "type": "bool", + "name": "tint_color_enabled", + "setter": "set_tint_color_enabled", + "getter": "is_tint_color_enabled" + }, + { + "type": "Color", + "name": "tint_color", + "setter": "set_tint_color", + "getter": "get_tint_color" + } + ] + }, { "name": "GraphNode", "is_refcounted": false, @@ -115989,6 +116967,30 @@ "type": "float", "meta": "float" } + }, + { + "name": "update_map_data_from_image", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2636652979, + "arguments": [ + { + "name": "image", + "type": "Image" + }, + { + "name": "height_min", + "type": "float", + "meta": "float" + }, + { + "name": "height_max", + "type": "float", + "meta": "float" + } + ] } ], "properties": [ @@ -120167,6 +121169,12 @@ "is_instantiable": false, "inherits": "Resource", "api_type": "core", + "constants": [ + { + "name": "DEVICE_ID_EMULATION", + "value": -1 + } + ], "methods": [ { "name": "set_device", @@ -139139,6 +140147,28 @@ } ] }, + { + "name": "find_item_index_with_submenu", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 893635918, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "rid", + "type": "RID" + }, + { + "name": "submenu_rid", + "type": "RID" + } + ] + }, { "name": "is_item_checked", "is_const": true, @@ -152509,6 +153539,10 @@ "name": "NOTIFICATION_ENABLED", "value": 29 }, + { + "name": "NOTIFICATION_RESET_PHYSICS_INTERPOLATION", + "value": 2001 + }, { "name": "NOTIFICATION_EDITOR_PRE_SAVE", "value": 9001 @@ -152661,6 +153695,24 @@ } ] }, + { + "name": "PhysicsInterpolationMode", + "is_bitfield": false, + "values": [ + { + "name": "PHYSICS_INTERPOLATION_MODE_INHERIT", + "value": 0 + }, + { + "name": "PHYSICS_INTERPOLATION_MODE_ON", + "value": 1 + }, + { + "name": "PHYSICS_INTERPOLATION_MODE_OFF", + "value": 2 + } + ] + }, { "name": "DuplicateFlags", "is_bitfield": false, @@ -153908,6 +154960,61 @@ "type": "bool" } }, + { + "name": "set_physics_interpolation_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3202404928, + "arguments": [ + { + "name": "mode", + "type": "enum::Node.PhysicsInterpolationMode" + } + ] + }, + { + "name": "get_physics_interpolation_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2920385216, + "return_value": { + "type": "enum::Node.PhysicsInterpolationMode" + } + }, + { + "name": "is_physics_interpolated", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_physics_interpolated_and_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "reset_physics_interpolation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, { "name": "set_auto_translate_mode", "is_const": false, @@ -154002,7 +155109,10 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2570952461, + "hash": 4170434404, + "hash_compatibility": [ + 2570952461 + ], "arguments": [ { "name": "node", @@ -154012,6 +155122,11 @@ "name": "keep_groups", "type": "bool", "default_value": "false" + }, + { + "name": "keep_children", + "type": "bool", + "default_value": "true" } ] }, @@ -154560,6 +155675,12 @@ "setter": "set_process_thread_messages", "getter": "get_process_thread_messages" }, + { + "type": "int", + "name": "physics_interpolation_mode", + "setter": "set_physics_interpolation_mode", + "getter": "get_physics_interpolation_mode" + }, { "type": "int", "name": "auto_translate_mode", @@ -157535,6 +158656,27 @@ } ] }, + { + "name": "execute_with_pipe", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3845631403, + "return_value": { + "type": "Dictionary" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "arguments", + "type": "PackedStringArray" + } + ] + }, { "name": "create_process", "is_const": false, @@ -160379,6 +161521,484 @@ } ] }, + { + "name": "OpenXRCompositionLayer", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "Node3D", + "api_type": "core", + "methods": [ + { + "name": "set_layer_viewport", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3888077664, + "arguments": [ + { + "name": "viewport", + "type": "SubViewport" + } + ] + }, + { + "name": "get_layer_viewport", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3750751911, + "return_value": { + "type": "SubViewport" + } + }, + { + "name": "set_sort_order", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "order", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_sort_order", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_alpha_blend", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_alpha_blend", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_natively_supported", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "Object", + "name": "layer_viewport", + "setter": "set_layer_viewport", + "getter": "get_layer_viewport" + }, + { + "type": "int", + "name": "sort_order", + "setter": "set_sort_order", + "getter": "get_sort_order" + }, + { + "type": "bool", + "name": "alpha_blend", + "setter": "set_alpha_blend", + "getter": "get_alpha_blend" + } + ] + }, + { + "name": "OpenXRCompositionLayerCylinder", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "OpenXRCompositionLayer", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_aspect_ratio", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "aspect_ratio", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_aspect_ratio", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_central_angle", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_central_angle", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fallback_segments", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "segments", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_fallback_segments", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius" + }, + { + "type": "float", + "name": "aspect_ratio", + "setter": "set_aspect_ratio", + "getter": "get_aspect_ratio" + }, + { + "type": "float", + "name": "central_angle", + "setter": "set_central_angle", + "getter": "get_central_angle" + }, + { + "type": "int", + "name": "fallback_segments", + "setter": "set_fallback_segments", + "getter": "get_fallback_segments" + } + ] + }, + { + "name": "OpenXRCompositionLayerEquirect", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "OpenXRCompositionLayer", + "api_type": "core", + "methods": [ + { + "name": "set_radius", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "radius", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_radius", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_central_horizontal_angle", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_central_horizontal_angle", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_upper_vertical_angle", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_upper_vertical_angle", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_lower_vertical_angle", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "angle", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_lower_vertical_angle", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_fallback_segments", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "segments", + "type": "int", + "meta": "uint32" + } + ] + }, + { + "name": "get_fallback_segments", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "uint32" + } + } + ], + "properties": [ + { + "type": "float", + "name": "radius", + "setter": "set_radius", + "getter": "get_radius" + }, + { + "type": "float", + "name": "central_horizontal_angle", + "setter": "set_central_horizontal_angle", + "getter": "get_central_horizontal_angle" + }, + { + "type": "float", + "name": "upper_vertical_angle", + "setter": "set_upper_vertical_angle", + "getter": "get_upper_vertical_angle" + }, + { + "type": "float", + "name": "lower_vertical_angle", + "setter": "set_lower_vertical_angle", + "getter": "get_lower_vertical_angle" + }, + { + "type": "int", + "name": "fallback_segments", + "setter": "set_fallback_segments", + "getter": "get_fallback_segments" + } + ] + }, + { + "name": "OpenXRCompositionLayerQuad", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "OpenXRCompositionLayer", + "api_type": "core", + "methods": [ + { + "name": "set_quad_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 743155724, + "arguments": [ + { + "name": "size", + "type": "Vector2" + } + ] + }, + { + "name": "get_quad_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3341600327, + "return_value": { + "type": "Vector2" + } + } + ], + "properties": [ + { + "type": "Vector2", + "name": "quad_size", + "setter": "set_quad_size", + "getter": "get_quad_size" + } + ] + }, { "name": "OpenXRExtensionWrapperExtension", "is_refcounted": false, @@ -160685,6 +162305,64 @@ } ] }, + { + "name": "_set_viewport_composition_layer_and_get_next_pointer", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int", + "meta": "uint64" + }, + "arguments": [ + { + "name": "layer", + "type": "const void*" + }, + { + "name": "property_values", + "type": "Dictionary" + }, + { + "name": "next_pointer", + "type": "void*" + } + ] + }, + { + "name": "_get_viewport_composition_layer_extension_properties", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "typedarray::Dictionary" + } + }, + { + "name": "_get_viewport_composition_layer_extension_property_defaults", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "_on_viewport_composition_layer_destroyed", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "layer", + "type": "const void*" + } + ] + }, { "name": "get_openxr_api", "is_const": false, @@ -179000,6 +180678,18 @@ "name": "G6DOF_JOINT_LINEAR_MOTOR_FORCE_LIMIT", "value": 6 }, + { + "name": "G6DOF_JOINT_LINEAR_SPRING_STIFFNESS", + "value": 7 + }, + { + "name": "G6DOF_JOINT_LINEAR_SPRING_DAMPING", + "value": 8 + }, + { + "name": "G6DOF_JOINT_LINEAR_SPRING_EQUILIBRIUM_POINT", + "value": 9 + }, { "name": "G6DOF_JOINT_ANGULAR_LOWER_LIMIT", "value": 10 @@ -179035,6 +180725,22 @@ { "name": "G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT", "value": 18 + }, + { + "name": "G6DOF_JOINT_ANGULAR_SPRING_STIFFNESS", + "value": 19 + }, + { + "name": "G6DOF_JOINT_ANGULAR_SPRING_DAMPING", + "value": 20 + }, + { + "name": "G6DOF_JOINT_ANGULAR_SPRING_EQUILIBRIUM_POINT", + "value": 21 + }, + { + "name": "G6DOF_JOINT_MAX", + "value": 22 } ] }, @@ -179050,6 +180756,14 @@ "name": "G6DOF_JOINT_FLAG_ENABLE_ANGULAR_LIMIT", "value": 1 }, + { + "name": "G6DOF_JOINT_FLAG_ENABLE_ANGULAR_SPRING", + "value": 2 + }, + { + "name": "G6DOF_JOINT_FLAG_ENABLE_LINEAR_SPRING", + "value": 3 + }, { "name": "G6DOF_JOINT_FLAG_ENABLE_MOTOR", "value": 4 @@ -179057,6 +180771,10 @@ { "name": "G6DOF_JOINT_FLAG_ENABLE_LINEAR_MOTOR", "value": 5 + }, + { + "name": "G6DOF_JOINT_FLAG_MAX", + "value": 6 } ] }, @@ -211783,6 +213501,23 @@ } ] }, + { + "name": "viewport_get_update_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3803901472, + "return_value": { + "type": "enum::RenderingServer.ViewportUpdateMode" + }, + "arguments": [ + { + "name": "viewport", + "type": "RID" + } + ] + }, { "name": "viewport_set_clear_mode", "is_const": false, @@ -214899,6 +216634,56 @@ } ] }, + { + "name": "canvas_item_set_interpolated", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "interpolated", + "type": "bool" + } + ] + }, + { + "name": "canvas_item_reset_physics_interpolation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2722037293, + "arguments": [ + { + "name": "item", + "type": "RID" + } + ] + }, + { + "name": "canvas_item_transform_physics_interpolation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1246044741, + "arguments": [ + { + "name": "item", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, { "name": "canvas_item_add_line", "is_const": false, @@ -216163,6 +217948,56 @@ } ] }, + { + "name": "canvas_light_set_interpolated", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "interpolated", + "type": "bool" + } + ] + }, + { + "name": "canvas_light_reset_physics_interpolation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2722037293, + "arguments": [ + { + "name": "light", + "type": "RID" + } + ] + }, + { + "name": "canvas_light_transform_physics_interpolation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1246044741, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, { "name": "canvas_light_occluder_create", "is_const": false, @@ -216283,6 +218118,56 @@ } ] }, + { + "name": "canvas_light_occluder_set_interpolated", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1265174801, + "arguments": [ + { + "name": "occluder", + "type": "RID" + }, + { + "name": "interpolated", + "type": "bool" + } + ] + }, + { + "name": "canvas_light_occluder_reset_physics_interpolation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2722037293, + "arguments": [ + { + "name": "occluder", + "type": "RID" + } + ] + }, + { + "name": "canvas_light_occluder_transform_physics_interpolation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1246044741, + "arguments": [ + { + "name": "occluder", + "type": "RID" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, { "name": "canvas_occluder_polygon_create", "is_const": false, @@ -224217,6 +226102,31 @@ } ] }, + { + "name": "set_physics_interpolation_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_physics_interpolation_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "queue_delete", "is_const": false, @@ -224665,6 +226575,12 @@ "name": "multiplayer_poll", "setter": "set_multiplayer_poll_enabled", "getter": "is_multiplayer_poll_enabled" + }, + { + "type": "bool", + "name": "physics_interpolation", + "setter": "set_physics_interpolation_enabled", + "getter": "is_physics_interpolation_enabled" } ] }, @@ -237329,7 +239245,7 @@ "type": "int" }, { - "name": "position", + "name": "mouse_position", "type": "Vector2i" } ] @@ -245331,6 +247247,14 @@ "is_virtual": false, "hash": 3218959716 }, + { + "name": "skip_selection_for_next_occurrence", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, { "name": "select", "is_const": false, @@ -263077,6 +265001,23 @@ } ] }, + { + "name": "is_valid_terrain_peering_bit", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 845723972, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "peering_bit", + "type": "enum::TileSet.CellNeighbor" + } + ] + }, { "name": "set_navigation_polygon", "is_const": false, @@ -263310,7 +265251,7 @@ "name": "TileMap", "is_refcounted": false, "is_instantiable": true, - "inherits": "TileMapLayerGroup", + "inherits": "Node2D", "api_type": "core", "enums": [ { @@ -263429,6 +265370,31 @@ } ] }, + { + "name": "set_tileset", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 774531446, + "arguments": [ + { + "name": "tileset", + "type": "TileSet" + } + ] + }, + { + "name": "get_tileset", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2678226422, + "return_value": { + "type": "TileSet" + } + }, { "name": "set_rendering_quadrant_size", "is_const": false, @@ -264423,98 +266389,893 @@ ] }, { - "name": "get_neighbor_cell", + "name": "get_neighbor_cell", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 986575103, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + }, + { + "name": "neighbor", + "type": "enum::TileSet.CellNeighbor" + } + ] + } + ], + "signals": [ + { + "name": "changed" + } + ], + "properties": [ + { + "type": "TileSet", + "name": "tile_set", + "setter": "set_tileset", + "getter": "get_tileset" + }, + { + "type": "int", + "name": "rendering_quadrant_size", + "setter": "set_rendering_quadrant_size", + "getter": "get_rendering_quadrant_size" + }, + { + "type": "bool", + "name": "collision_animatable", + "setter": "set_collision_animatable", + "getter": "is_collision_animatable" + }, + { + "type": "int", + "name": "collision_visibility_mode", + "setter": "set_collision_visibility_mode", + "getter": "get_collision_visibility_mode" + }, + { + "type": "int", + "name": "navigation_visibility_mode", + "setter": "set_navigation_visibility_mode", + "getter": "get_navigation_visibility_mode" + } + ] + }, + { + "name": "TileMapLayer", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node2D", + "api_type": "core", + "enums": [ + { + "name": "DebugVisibilityMode", + "is_bitfield": false, + "values": [ + { + "name": "DEBUG_VISIBILITY_MODE_DEFAULT", + "value": 0 + }, + { + "name": "DEBUG_VISIBILITY_MODE_FORCE_HIDE", + "value": 2 + }, + { + "name": "DEBUG_VISIBILITY_MODE_FORCE_SHOW", + "value": 1 + } + ] + } + ], + "methods": [ + { + "name": "_use_tile_data_runtime_update", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "_tile_data_runtime_update", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + }, + { + "name": "tile_data", + "type": "TileData" + } + ] + }, + { + "name": "set_cell", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2428518503, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + }, + { + "name": "source_id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "atlas_coords", + "type": "Vector2i", + "default_value": "Vector2i(-1, -1)" + }, + { + "name": "alternative_tile", + "type": "int", + "meta": "int32", + "default_value": "0" + } + ] + }, + { + "name": "erase_cell", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1130785943, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "fix_invalid_tiles", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, + { + "name": "clear", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, + { + "name": "get_cell_source_id", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2485466453, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_cell_atlas_coords", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3050897911, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_cell_alternative_tile", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2485466453, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_cell_tile_data", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 205084707, + "return_value": { + "type": "TileData" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_used_cells", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "typedarray::Vector2i" + } + }, + { + "name": "get_used_cells_by_id", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4175304538, + "return_value": { + "type": "typedarray::Vector2i" + }, + "arguments": [ + { + "name": "source_id", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "atlas_coords", + "type": "Vector2i", + "default_value": "Vector2i(-1, -1)" + }, + { + "name": "alternative_tile", + "type": "int", + "meta": "int32", + "default_value": "-1" + } + ] + }, + { + "name": "get_used_rect", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 410525958, + "return_value": { + "type": "Rect2i" + } + }, + { + "name": "get_pattern", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3820813253, + "return_value": { + "type": "TileMapPattern" + }, + "arguments": [ + { + "name": "coords_array", + "type": "typedarray::Vector2i" + } + ] + }, + { + "name": "set_pattern", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1491151770, + "arguments": [ + { + "name": "position", + "type": "Vector2i" + }, + { + "name": "pattern", + "type": "TileMapPattern" + } + ] + }, + { + "name": "set_cells_terrain_connect", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 748968311, + "arguments": [ + { + "name": "cells", + "type": "typedarray::Vector2i" + }, + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + }, + { + "name": "terrain", + "type": "int", + "meta": "int32" + }, + { + "name": "ignore_empty_terrains", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "set_cells_terrain_path", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 748968311, + "arguments": [ + { + "name": "path", + "type": "typedarray::Vector2i" + }, + { + "name": "terrain_set", + "type": "int", + "meta": "int32" + }, + { + "name": "terrain", + "type": "int", + "meta": "int32" + }, + { + "name": "ignore_empty_terrains", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "has_body_rid", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4155700596, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "get_coords_for_body_rid", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 733700038, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "body", + "type": "RID" + } + ] + }, + { + "name": "update_internals", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, + { + "name": "notify_runtime_tile_data_update", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2275361663 + }, + { + "name": "map_pattern", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1864516957, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "position_in_tilemap", + "type": "Vector2i" + }, + { + "name": "coords_in_pattern", + "type": "Vector2i" + }, + { + "name": "pattern", + "type": "TileMapPattern" + } + ] + }, + { + "name": "get_surrounding_cells", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2673526557, + "return_value": { + "type": "typedarray::Vector2i" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + } + ] + }, + { + "name": "get_neighbor_cell", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 986575103, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "coords", + "type": "Vector2i" + }, + { + "name": "neighbor", + "type": "enum::TileSet.CellNeighbor" + } + ] + }, + { + "name": "map_to_local", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 108438297, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "map_position", + "type": "Vector2i" + } + ] + }, + { + "name": "local_to_map", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 837806996, + "return_value": { + "type": "Vector2i" + }, + "arguments": [ + { + "name": "local_position", + "type": "Vector2" + } + ] + }, + { + "name": "set_tile_map_data_from_array", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2971499966, + "arguments": [ + { + "name": "tile_map_layer_data", + "type": "PackedByteArray" + } + ] + }, + { + "name": "get_tile_map_data_as_array", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 986575103, + "hash": 2362200018, "return_value": { - "type": "Vector2i" - }, + "type": "PackedByteArray" + } + }, + { + "name": "set_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, "arguments": [ { - "name": "coords", - "type": "Vector2i" - }, + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tile_set", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 774531446, + "arguments": [ { - "name": "neighbor", - "type": "enum::TileSet.CellNeighbor" + "name": "tile_set", + "type": "TileSet" } ] - } - ], - "signals": [ + }, { - "name": "changed" - } - ], - "properties": [ + "name": "get_tile_set", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2678226422, + "return_value": { + "type": "TileSet" + } + }, { - "type": "int", - "name": "rendering_quadrant_size", - "setter": "set_rendering_quadrant_size", - "getter": "get_rendering_quadrant_size" + "name": "set_y_sort_origin", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "y_sort_origin", + "type": "int", + "meta": "int32" + } + ] }, { - "type": "bool", - "name": "collision_animatable", - "setter": "set_collision_animatable", - "getter": "is_collision_animatable" + "name": "get_y_sort_origin", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } }, { - "type": "int", - "name": "collision_visibility_mode", - "setter": "set_collision_visibility_mode", - "getter": "get_collision_visibility_mode" + "name": "set_rendering_quadrant_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] }, { - "type": "int", - "name": "navigation_visibility_mode", - "setter": "set_navigation_visibility_mode", - "getter": "get_navigation_visibility_mode" - } - ] - }, - { - "name": "TileMapLayerGroup", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Node2D", - "api_type": "core", - "methods": [ + "name": "get_rendering_quadrant_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, { - "name": "set_tileset", + "name": "set_collision_enabled", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 774531446, + "hash": 2586408642, "arguments": [ { - "name": "tileset", - "type": "TileSet" + "name": "enabled", + "type": "bool" } ] }, { - "name": "get_tileset", + "name": "is_collision_enabled", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2678226422, + "hash": 36873697, "return_value": { - "type": "TileSet" + "type": "bool" + } + }, + { + "name": "set_use_kinematic_bodies", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "use_kinematic_bodies", + "type": "bool" + } + ] + }, + { + "name": "is_using_kinematic_bodies", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_collision_visibility_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3508099847, + "arguments": [ + { + "name": "visibility_mode", + "type": "enum::TileMapLayer.DebugVisibilityMode" + } + ] + }, + { + "name": "get_collision_visibility_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 338220793, + "return_value": { + "type": "enum::TileMapLayer.DebugVisibilityMode" + } + }, + { + "name": "set_navigation_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_navigation_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_navigation_map", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2722037293, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "get_navigation_map", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2944877500, + "return_value": { + "type": "RID" + } + }, + { + "name": "set_navigation_visibility_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3508099847, + "arguments": [ + { + "name": "show_navigation", + "type": "enum::TileMapLayer.DebugVisibilityMode" + } + ] + }, + { + "name": "get_navigation_visibility_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 338220793, + "return_value": { + "type": "enum::TileMapLayer.DebugVisibilityMode" } } ], + "signals": [ + { + "name": "changed" + } + ], "properties": [ + { + "type": "PackedByteArray", + "name": "tile_map_data", + "setter": "set_tile_map_data_from_array", + "getter": "get_tile_map_data_as_array" + }, + { + "type": "bool", + "name": "enabled", + "setter": "set_enabled", + "getter": "is_enabled" + }, { "type": "TileSet", "name": "tile_set", - "setter": "set_tileset", - "getter": "get_tileset" + "setter": "set_tile_set", + "getter": "get_tile_set" + }, + { + "type": "int", + "name": "y_sort_origin", + "setter": "set_y_sort_origin", + "getter": "get_y_sort_origin" + }, + { + "type": "int", + "name": "rendering_quadrant_size", + "setter": "set_rendering_quadrant_size", + "getter": "get_rendering_quadrant_size" + }, + { + "type": "bool", + "name": "collision_enabled", + "setter": "set_collision_enabled", + "getter": "is_collision_enabled" + }, + { + "type": "bool", + "name": "use_kinematic_bodies", + "setter": "set_use_kinematic_bodies", + "getter": "is_using_kinematic_bodies" + }, + { + "type": "int", + "name": "collision_visibility_mode", + "setter": "set_collision_visibility_mode", + "getter": "get_collision_visibility_mode" + }, + { + "type": "bool", + "name": "navigation_enabled", + "setter": "set_navigation_enabled", + "getter": "is_navigation_enabled" + }, + { + "type": "int", + "name": "navigation_visibility_mode", + "setter": "set_navigation_visibility_mode", + "getter": "get_navigation_visibility_mode" } ] }, @@ -270403,7 +273164,7 @@ "name": "item_mouse_selected", "arguments": [ { - "name": "position", + "name": "mouse_position", "type": "Vector2" }, { @@ -270416,7 +273177,7 @@ "name": "empty_clicked", "arguments": [ { - "name": "position", + "name": "click_position", "type": "Vector2" }, { @@ -276262,8 +279023,12 @@ "value": 1 }, { - "name": "RENDER_INFO_TYPE_MAX", + "name": "RENDER_INFO_TYPE_CANVAS", "value": 2 + }, + { + "name": "RENDER_INFO_TYPE_MAX", + "value": 3 } ] }, @@ -279279,6 +282044,49 @@ "type": "Vector2" } }, + { + "name": "attach_node_to_frame", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2479945279, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + }, + { + "name": "frame", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "detach_node_from_frame", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 844050912, + "arguments": [ + { + "name": "type", + "type": "enum::VisualShader.Type" + }, + { + "name": "id", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "add_varying", "is_const": false, @@ -279531,6 +282339,33 @@ "return_value": { "type": "Array" } + }, + { + "name": "set_frame", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_frame", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } } ], "properties": [ @@ -279551,6 +282386,12 @@ "name": "expanded_output_ports", "setter": "_set_output_ports_expanded", "getter": "_get_output_ports_expanded" + }, + { + "type": "int", + "name": "linked_parent_graph_frame", + "setter": "set_frame", + "getter": "get_frame" } ] }, @@ -280123,79 +282964,6 @@ } ] }, - { - "name": "VisualShaderNodeComment", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeResizableBase", - "api_type": "core", - "methods": [ - { - "name": "set_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "title", - "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_description", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "description", - "type": "String" - } - ] - }, - { - "name": "get_description", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "title", - "setter": "set_title", - "getter": "get_title" - }, - { - "type": "String", - "name": "description", - "setter": "set_description", - "getter": "get_description" - } - ] - }, { "name": "VisualShaderNodeCompare", "is_refcounted": true, @@ -281798,6 +284566,202 @@ } ] }, + { + "name": "VisualShaderNodeFrame", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeResizableBase", + "api_type": "core", + "methods": [ + { + "name": "set_title", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "title", + "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_tint_color_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_tint_color_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_tint_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2920490490, + "arguments": [ + { + "name": "color", + "type": "Color" + } + ] + }, + { + "name": "get_tint_color", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3444240500, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_autoshrink_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_autoshrink_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "add_attached_node", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "node", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "remove_attached_node", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "node", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_attached_nodes", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3614634198, + "arguments": [ + { + "name": "attached_nodes", + "type": "PackedInt32Array" + } + ] + }, + { + "name": "get_attached_nodes", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1930428628, + "return_value": { + "type": "PackedInt32Array" + } + } + ], + "properties": [ + { + "type": "String", + "name": "title", + "setter": "set_title", + "getter": "get_title" + }, + { + "type": "bool", + "name": "tint_color_enabled", + "setter": "set_tint_color_enabled", + "getter": "is_tint_color_enabled" + }, + { + "type": "Color", + "name": "tint_color", + "setter": "set_tint_color", + "getter": "get_tint_color" + }, + { + "type": "bool", + "name": "autoshrink", + "setter": "set_autoshrink_enabled", + "getter": "is_autoshrink_enabled" + }, + { + "type": "PackedInt32Array", + "name": "attached_nodes", + "setter": "set_attached_nodes", + "getter": "get_attached_nodes" + } + ] + }, { "name": "VisualShaderNodeFresnel", "is_refcounted": true,