From 0b050442dada1b819e1bd06b3ed893af9d74dd79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 29 Apr 2022 19:57:26 +0200 Subject: [PATCH] headers: Sync with upstream commit 3e9ead0 (4.0-alpha7) --- godot-headers/extension_api.json | 2131 +++++++++++++++++++--- godot-headers/godot/gdnative_interface.h | 1 + 2 files changed, 1854 insertions(+), 278 deletions(-) diff --git a/godot-headers/extension_api.json b/godot-headers/extension_api.json index 8db0ace6..a19494ff 100644 --- a/godot-headers/extension_api.json +++ b/godot-headers/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 0, "version_patch": 0, - "version_status": "alpha", - "version_build": "custom_build", - "version_full_name": "Godot Engine v4.0.alpha.custom_build" + "version_status": "alpha7", + "version_build": "official", + "version_full_name": "Godot Engine v4.0.alpha7.official" }, "builtin_class_sizes": [ { @@ -2876,7 +2876,7 @@ }, { "name": "KEY_MODIFIER_MASK", - "value": -16777216 + "value": 2130706432 }, { "name": "KEY_MASK_SHIFT", @@ -42221,8 +42221,12 @@ "value": 19 }, { - "name": "FLAG_MAX", + "name": "FLAG_ALBEDO_TEXTURE_MSDF", "value": 20 + }, + { + "name": "FLAG_MAX", + "value": 21 } ] }, @@ -44159,6 +44163,60 @@ "meta": "float" } }, + { + "name": "set_msdf_pixel_range", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "range", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_msdf_pixel_range", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_msdf_outline_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_msdf_outline_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "set_distance_fade", "is_const": false, @@ -44366,6 +44424,13 @@ "getter": "get_flag", "index": 12 }, + { + "type": "bool", + "name": "albedo_tex_msdf", + "setter": "set_flag", + "getter": "get_flag", + "index": 20 + }, { "type": "Texture2D", "name": "orm_texture", @@ -45003,6 +45068,20 @@ "getter": "get_proximity_fade_distance", "index": -1 }, + { + "type": "float", + "name": "msdf_pixel_range", + "setter": "set_msdf_pixel_range", + "getter": "get_msdf_pixel_range", + "index": -1 + }, + { + "type": "float", + "name": "msdf_outline_size", + "setter": "set_msdf_outline_size", + "getter": "get_msdf_outline_size", + "index": -1 + }, { "type": "int", "name": "distance_fade_mode", @@ -52484,7 +52563,7 @@ "hash": 134188166, "arguments": [ { - "name": "ofs", + "name": "offset", "type": "float", "meta": "float" } @@ -52511,7 +52590,7 @@ "hash": 134188166, "arguments": [ { - "name": "ofs", + "name": "offset", "type": "float", "meta": "float" } @@ -64153,39 +64232,6 @@ } ] }, - { - "name": "StructuredTextParser", - "values": [ - { - "name": "STRUCTURED_TEXT_DEFAULT", - "value": 0 - }, - { - "name": "STRUCTURED_TEXT_URI", - "value": 1 - }, - { - "name": "STRUCTURED_TEXT_FILE", - "value": 2 - }, - { - "name": "STRUCTURED_TEXT_EMAIL", - "value": 3 - }, - { - "name": "STRUCTURED_TEXT_LIST", - "value": 4 - }, - { - "name": "STRUCTURED_TEXT_NONE", - "value": 5 - }, - { - "name": "STRUCTURED_TEXT_CUSTOM", - "value": 6 - } - ] - }, { "name": "LayoutDirection", "values": [ @@ -78003,6 +78049,17 @@ } ] }, + { + "name": "get_export_as_menu", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "PopupMenu" + } + }, { "name": "add_custom_type", "is_const": false, @@ -79432,6 +79489,10 @@ { "name": "IMPORT_USE_NAMED_SKIN_BINDS", "value": 16 + }, + { + "name": "IMPORT_DISCARD_MESHES_AND_MATERIALS", + "value": 32 } ], "methods": [ @@ -79483,34 +79544,6 @@ } ] }, - { - "name": "_import_animation", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Animation" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "options", - "type": "Dictionary" - }, - { - "name": "bake_fps", - "type": "int" - } - ] - }, { "name": "_get_import_options", "is_const": false, @@ -79538,6 +79571,10 @@ "name": "path", "type": "String" }, + { + "name": "for_animation", + "type": "bool" + }, { "name": "option", "type": "String" @@ -79672,6 +79709,10 @@ "name": "category", "type": "int" }, + { + "name": "for_animation", + "type": "bool" + }, { "name": "option", "type": "String" @@ -79750,6 +79791,10 @@ "name": "path", "type": "String" }, + { + "name": "for_animation", + "type": "bool" + }, { "name": "option", "type": "String" @@ -84982,31 +85027,6 @@ "meta": "float" } }, - { - "name": "set_in_3d_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_in_3d_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "bool" - } - }, { "name": "set_offset", "is_const": false, @@ -85032,31 +85052,6 @@ "type": "Vector3" } }, - { - "name": "set_color_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "gradient", - "type": "Gradient" - } - ] - }, - { - "name": "get_color_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "Gradient" - } - }, { "name": "set_fractal_type", "is_const": false, @@ -85527,13 +85522,6 @@ "getter": "get_frequency", "index": -1 }, - { - "type": "bool", - "name": "in_3d_space", - "setter": "set_in_3d_space", - "getter": "is_in_3d_space", - "index": -1 - }, { "type": "Vector3", "name": "offset", @@ -85541,13 +85529,6 @@ "getter": "get_offset", "index": -1 }, - { - "type": "Gradient", - "name": "color_ramp", - "setter": "set_color_ramp", - "getter": "get_color_ramp", - "index": -1 - }, { "type": "int", "name": "fractal_type", @@ -87965,6 +87946,31 @@ "type": "bool" } }, + { + "name": "set_generate_mipmaps", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "generate_mipmaps", + "type": "bool" + } + ] + }, + { + "name": "get_generate_mipmaps", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, { "name": "set_font_name", "is_const": false, @@ -89721,6 +89727,13 @@ "getter": "get_data", "index": -1 }, + { + "type": "bool", + "name": "generate_mipmaps", + "setter": "set_generate_mipmaps", + "getter": "get_generate_mipmaps", + "index": -1 + }, { "type": "bool", "name": "antialiased", @@ -93639,6 +93652,20 @@ } ] }, + { + "name": "set_interpolate", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, { "name": "set_process_material", "is_const": false, @@ -93810,6 +93837,17 @@ "type": "bool" } }, + { + "name": "get_interpolate", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, { "name": "get_process_material", "is_const": true, @@ -94148,6 +94186,13 @@ "getter": "get_fixed_fps", "index": -1 }, + { + "type": "bool", + "name": "interpolate", + "setter": "set_interpolate", + "getter": "get_interpolate", + "index": -1 + }, { "type": "bool", "name": "fract_delta", @@ -99373,7 +99418,7 @@ "hash": 134188166, "arguments": [ { - "name": "ofs", + "name": "offset", "type": "Vector2" } ] @@ -99966,7 +100011,7 @@ "name": "scroll_offset_changed", "arguments": [ { - "name": "ofs", + "name": "offset", "type": "Vector2" } ] @@ -112002,7 +112047,7 @@ "arguments": [ { "name": "parser", - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } ] }, @@ -112014,7 +112059,7 @@ "is_virtual": false, "hash": 135338183, "return_value": { - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } }, { @@ -112158,6 +112203,885 @@ } ] }, + { + "name": "Label3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "GeometryInstance3D", + "api_type": "core", + "enums": [ + { + "name": "DrawFlags", + "values": [ + { + "name": "FLAG_SHADED", + "value": 0 + }, + { + "name": "FLAG_DOUBLE_SIDED", + "value": 1 + }, + { + "name": "FLAG_DISABLE_DEPTH_TEST", + "value": 2 + }, + { + "name": "FLAG_FIXED_SIZE", + "value": 3 + }, + { + "name": "FLAG_MAX", + "value": 4 + } + ] + }, + { + "name": "AlphaCutMode", + "values": [ + { + "name": "ALPHA_CUT_DISABLED", + "value": 0 + }, + { + "name": "ALPHA_CUT_DISCARD", + "value": 1 + }, + { + "name": "ALPHA_CUT_OPAQUE_PREPASS", + "value": 2 + } + ] + }, + { + "name": "AutowrapMode", + "values": [ + { + "name": "AUTOWRAP_OFF", + "value": 0 + }, + { + "name": "AUTOWRAP_ARBITRARY", + "value": 1 + }, + { + "name": "AUTOWRAP_WORD", + "value": 2 + }, + { + "name": "AUTOWRAP_WORD_SMART", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_horizontal_alignment", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "alignment", + "type": "enum::HorizontalAlignment" + } + ] + }, + { + "name": "get_horizontal_alignment", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::HorizontalAlignment" + } + }, + { + "name": "set_vertical_alignment", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "alignment", + "type": "enum::VerticalAlignment" + } + ] + }, + { + "name": "get_vertical_alignment", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::VerticalAlignment" + } + }, + { + "name": "set_modulate", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "modulate", + "type": "Color" + } + ] + }, + { + "name": "get_modulate", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_outline_modulate", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "modulate", + "type": "Color" + } + ] + }, + { + "name": "get_outline_modulate", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Color" + } + }, + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_text", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::TextServer.Direction" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextServer.Direction" + } + }, + { + "name": "set_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_opentype_features", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_structured_text_bidi_override", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parser", + "type": "enum::TextServer.StructuredTextParser" + } + ] + }, + { + "name": "get_structured_text_bidi_override", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextServer.StructuredTextParser" + } + }, + { + "name": "set_structured_text_bidi_override_options", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "args", + "type": "Array" + } + ] + }, + { + "name": "get_structured_text_bidi_override_options", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_uppercase", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_uppercase", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_font", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "font", + "type": "Font" + } + ] + }, + { + "name": "get_font", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Font" + } + }, + { + "name": "set_font_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_font_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_outline_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "outline_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_outline_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_line_spacing", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "line_spacing", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_line_spacing", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_autowrap_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "autowrap_mode", + "type": "enum::Label3D.AutowrapMode" + } + ] + }, + { + "name": "get_autowrap_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Label3D.AutowrapMode" + } + }, + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_pixel_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixel_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pixel_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_draw_flag", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "flag", + "type": "enum::Label3D.DrawFlags" + }, + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_draw_flag", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "flag", + "type": "enum::Label3D.DrawFlags" + } + ] + }, + { + "name": "set_billboard_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::BaseMaterial3D.BillboardMode" + } + ] + }, + { + "name": "get_billboard_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.BillboardMode" + } + }, + { + "name": "set_alpha_cut_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::Label3D.AlphaCutMode" + } + ] + }, + { + "name": "get_alpha_cut_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::Label3D.AlphaCutMode" + } + }, + { + "name": "set_alpha_scissor_threshold", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "threshold", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_alpha_scissor_threshold", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_texture_filter", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::BaseMaterial3D.TextureFilter" + } + ] + }, + { + "name": "get_texture_filter", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.TextureFilter" + } + }, + { + "name": "generate_triangle_mesh", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "TriangleMesh" + } + } + ], + "properties": [ + { + "type": "float", + "name": "pixel_size", + "setter": "set_pixel_size", + "getter": "get_pixel_size", + "index": -1 + }, + { + "type": "int", + "name": "billboard", + "setter": "set_billboard_mode", + "getter": "get_billboard_mode", + "index": -1 + }, + { + "type": "bool", + "name": "shaded", + "setter": "set_draw_flag", + "getter": "get_draw_flag", + "index": 0 + }, + { + "type": "bool", + "name": "double_sided", + "setter": "set_draw_flag", + "getter": "get_draw_flag", + "index": 1 + }, + { + "type": "bool", + "name": "no_depth_test", + "setter": "set_draw_flag", + "getter": "get_draw_flag", + "index": 2 + }, + { + "type": "bool", + "name": "fixed_size", + "setter": "set_draw_flag", + "getter": "get_draw_flag", + "index": 3 + }, + { + "type": "int", + "name": "alpha_cut", + "setter": "set_alpha_cut_mode", + "getter": "get_alpha_cut_mode", + "index": -1 + }, + { + "type": "float", + "name": "alpha_scissor_threshold", + "setter": "set_alpha_scissor_threshold", + "getter": "get_alpha_scissor_threshold", + "index": -1 + }, + { + "type": "int", + "name": "texture_filter", + "setter": "set_texture_filter", + "getter": "get_texture_filter", + "index": -1 + }, + { + "type": "Color", + "name": "modulate", + "setter": "set_modulate", + "getter": "get_modulate", + "index": -1 + }, + { + "type": "Color", + "name": "outline_modulate", + "setter": "set_outline_modulate", + "getter": "get_outline_modulate", + "index": -1 + }, + { + "type": "String", + "name": "text", + "setter": "set_text", + "getter": "get_text", + "index": -1 + }, + { + "type": "Font", + "name": "font", + "setter": "set_font", + "getter": "get_font", + "index": -1 + }, + { + "type": "int", + "name": "font_size", + "setter": "set_font_size", + "getter": "get_font_size", + "index": -1 + }, + { + "type": "int", + "name": "outline_size", + "setter": "set_outline_size", + "getter": "get_outline_size", + "index": -1 + }, + { + "type": "int", + "name": "horizontal_alignment", + "setter": "set_horizontal_alignment", + "getter": "get_horizontal_alignment", + "index": -1 + }, + { + "type": "int", + "name": "vertical_alignment", + "setter": "set_vertical_alignment", + "getter": "get_vertical_alignment", + "index": -1 + }, + { + "type": "bool", + "name": "uppercase", + "setter": "set_uppercase", + "getter": "is_uppercase", + "index": -1 + }, + { + "type": "float", + "name": "line_spacing", + "setter": "set_line_spacing", + "getter": "get_line_spacing", + "index": -1 + }, + { + "type": "int", + "name": "autowrap_mode", + "setter": "set_autowrap_mode", + "getter": "get_autowrap_mode", + "index": -1 + }, + { + "type": "float", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + }, + { + "type": "int", + "name": "structured_text_bidi_override", + "setter": "set_structured_text_bidi_override", + "getter": "get_structured_text_bidi_override", + "index": -1 + }, + { + "type": "Array", + "name": "structured_text_bidi_override_options", + "setter": "set_structured_text_bidi_override_options", + "getter": "get_structured_text_bidi_override_options", + "index": -1 + }, + { + "type": "int", + "name": "text_direction", + "setter": "set_text_direction", + "getter": "get_text_direction", + "index": -1 + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + } + ] + }, { "name": "Light2D", "is_refcounted": false, @@ -115133,7 +116057,7 @@ "arguments": [ { "name": "parser", - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } ] }, @@ -115145,7 +116069,7 @@ "is_virtual": false, "hash": 135338183, "return_value": { - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } }, { @@ -116173,7 +117097,7 @@ "arguments": [ { "name": "parser", - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } ] }, @@ -116185,7 +117109,7 @@ "is_virtual": false, "hash": 135338183, "return_value": { - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } }, { @@ -125855,7 +126779,34 @@ } }, { - "name": "find_nodes", + "name": "find_child", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1474136429, + "return_value": { + "type": "Node" + }, + "arguments": [ + { + "name": "pattern", + "type": "String" + }, + { + "name": "recursive", + "type": "bool", + "default_value": "true" + }, + { + "name": "owned", + "type": "bool", + "default_value": "true" + } + ] + }, + { + "name": "find_children", "is_const": true, "is_vararg": false, "is_static": false, @@ -125866,7 +126817,7 @@ }, "arguments": [ { - "name": "mask", + "name": "pattern", "type": "String" }, { @@ -125898,7 +126849,7 @@ }, "arguments": [ { - "name": "mask", + "name": "pattern", "type": "String" } ] @@ -126751,31 +127702,6 @@ "type": "MultiplayerAPI" } }, - { - "name": "get_custom_multiplayer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "MultiplayerAPI" - } - }, - { - "name": "set_custom_multiplayer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "api", - "type": "MultiplayerAPI" - } - ] - }, { "name": "rpc_config", "is_const": false, @@ -126839,6 +127765,31 @@ "type": "String" } }, + { + "name": "set_unique_name_in_owner", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_unique_name_in_owner", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, { "name": "rpc", "is_const": false, @@ -126923,6 +127874,13 @@ "getter": "get_name", "index": -1 }, + { + "type": "bool", + "name": "unique_name_in_owner", + "setter": "set_unique_name_in_owner", + "getter": "is_unique_name_in_owner", + "index": -1 + }, { "type": "String", "name": "scene_file_path", @@ -126944,13 +127902,6 @@ "getter": "get_multiplayer", "index": -1 }, - { - "type": "MultiplayerAPI", - "name": "custom_multiplayer", - "setter": "set_custom_multiplayer", - "getter": "get_custom_multiplayer", - "index": -1 - }, { "type": "int", "name": "process_mode", @@ -128533,11 +129484,11 @@ "methods": [ { "name": "get_noise_1d", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 135374087, + "hash": 135374120, "return_value": { "type": "float", "meta": "float" @@ -128552,11 +129503,11 @@ }, { "name": "get_noise_2d", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 135410024, + "hash": 135410057, "return_value": { "type": "float", "meta": "float" @@ -128576,11 +129527,11 @@ }, { "name": "get_noise_2dv", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 135374087, + "hash": 135374120, "return_value": { "type": "float", "meta": "float" @@ -128594,11 +129545,11 @@ }, { "name": "get_noise_3d", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 135445961, + "hash": 135445994, "return_value": { "type": "float", "meta": "float" @@ -128623,11 +129574,11 @@ }, { "name": "get_noise_3dv", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 135374087, + "hash": 135374120, "return_value": { "type": "float", "meta": "float" @@ -128641,11 +129592,11 @@ }, { "name": "get_image", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 174785354, + "hash": 1513270733, "return_value": { "type": "Image" }, @@ -128664,16 +129615,21 @@ "name": "invert", "type": "bool", "default_value": "false" + }, + { + "name": "in_3d_space", + "type": "bool", + "default_value": "false" } ] }, { "name": "get_seamless_image", - "is_const": false, + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1513270700, + "hash": 4023896239, "return_value": { "type": "Image" }, @@ -128693,6 +129649,11 @@ "type": "bool", "default_value": "false" }, + { + "name": "in_3d_space", + "type": "bool", + "default_value": "false" + }, { "name": "skirt", "type": "float", @@ -128740,31 +129701,6 @@ } ] }, - { - "name": "set_noise", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "noise", - "type": "Noise" - } - ] - }, - { - "name": "get_noise", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338150, - "return_value": { - "type": "Noise" - } - }, { "name": "set_invert", "is_const": false, @@ -128790,6 +129726,56 @@ "type": "bool" } }, + { + "name": "set_in_3d_space", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_in_3d_space", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_generate_mipmaps", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "invert", + "type": "bool" + } + ] + }, + { + "name": "is_generating_mipmaps", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, { "name": "set_seamless", "is_const": false, @@ -128893,6 +129879,56 @@ "type": "float", "meta": "float" } + }, + { + "name": "set_color_ramp", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "gradient", + "type": "Gradient" + } + ] + }, + { + "name": "get_color_ramp", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Gradient" + } + }, + { + "name": "set_noise", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "noise", + "type": "Noise" + } + ] + }, + { + "name": "get_noise", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "Noise" + } } ], "properties": [ @@ -128917,6 +129953,20 @@ "getter": "get_invert", "index": -1 }, + { + "type": "bool", + "name": "in_3d_space", + "setter": "set_in_3d_space", + "getter": "is_in_3d_space", + "index": -1 + }, + { + "type": "bool", + "name": "generate_mipmaps", + "setter": "set_generate_mipmaps", + "getter": "is_generating_mipmaps", + "index": -1 + }, { "type": "bool", "name": "seamless", @@ -128945,6 +129995,13 @@ "getter": "get_bump_strength", "index": -1 }, + { + "type": "Gradient", + "name": "color_ramp", + "setter": "set_color_ramp", + "getter": "get_color_ramp", + "index": -1 + }, { "type": "Noise", "name": "noise", @@ -129775,6 +130832,23 @@ "meta": "uint64" } }, + { + "name": "move_to_trash", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, { "name": "get_user_data_dir", "is_const": true, @@ -133178,7 +134252,7 @@ ] }, { - "name": "is_connected_to_host", + "name": "is_socket_connected", "is_const": true, "is_vararg": false, "is_static": false, @@ -133408,7 +134482,7 @@ "hash": 134188166, "arguments": [ { - "name": "ofs", + "name": "offset", "type": "Vector2" } ] @@ -133433,7 +134507,7 @@ "hash": 134188166, "arguments": [ { - "name": "ofs", + "name": "offset", "type": "Vector2" } ] @@ -133483,7 +134557,7 @@ "hash": 134188166, "arguments": [ { - "name": "ofs", + "name": "offset", "type": "Vector2" } ] @@ -133508,7 +134582,7 @@ "hash": 134188166, "arguments": [ { - "name": "ofs", + "name": "offset", "type": "Vector2" } ] @@ -177934,7 +179008,7 @@ }, { "name": "st_parser", - "type": "enum::Control.StructuredTextParser", + "type": "enum::TextServer.StructuredTextParser", "default_value": "0" } ] @@ -178235,7 +179309,7 @@ "arguments": [ { "name": "parser", - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } ] }, @@ -178247,7 +179321,7 @@ "is_virtual": false, "hash": 135338183, "return_value": { - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } }, { @@ -182539,11 +183613,16 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 134188166, + "hash": 134464040, "arguments": [ { "name": "multiplayer", "type": "MultiplayerAPI" + }, + { + "name": "root_path", + "type": "NodePath", + "default_value": "NodePath(\"\")" } ] }, @@ -182553,10 +183632,17 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 135338183, + "hash": 172413545, "return_value": { "type": "MultiplayerAPI" - } + }, + "arguments": [ + { + "name": "for_path", + "type": "NodePath", + "default_value": "NodePath(\"\")" + } + ] }, { "name": "set_multiplayer_poll_enabled", @@ -182677,13 +183763,6 @@ "getter": "get_root", "index": -1 }, - { - "type": "MultiplayerAPI", - "name": "multiplayer", - "setter": "set_multiplayer", - "getter": "get_multiplayer", - "index": -1 - }, { "type": "bool", "name": "multiplayer_poll", @@ -186752,6 +187831,24 @@ } ] }, + { + "name": "get_bone_global_rest", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "create_skin_from_rest_transforms", "is_const": false, @@ -195583,8 +196680,16 @@ "value": 2 }, { - "name": "FLAG_MAX", + "name": "FLAG_DISABLE_DEPTH_TEST", "value": 3 + }, + { + "name": "FLAG_FIXED_SIZE", + "value": 4 + }, + { + "name": "FLAG_MAX", + "value": 5 } ] }, @@ -195869,6 +196974,31 @@ "type": "enum::BaseMaterial3D.BillboardMode" } }, + { + "name": "set_texture_filter", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "mode", + "type": "enum::BaseMaterial3D.TextureFilter" + } + ] + }, + { + "name": "get_texture_filter", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::BaseMaterial3D.TextureFilter" + } + }, { "name": "get_item_rect", "is_const": true, @@ -195970,12 +197100,33 @@ "getter": "get_draw_flag", "index": 2 }, + { + "type": "bool", + "name": "no_depth_test", + "setter": "set_draw_flag", + "getter": "get_draw_flag", + "index": 3 + }, + { + "type": "bool", + "name": "fixed_size", + "setter": "set_draw_flag", + "getter": "get_draw_flag", + "index": 4 + }, { "type": "int", "name": "alpha_cut", "setter": "set_alpha_cut_mode", "getter": "get_alpha_cut_mode", "index": -1 + }, + { + "type": "int", + "name": "texture_filter", + "setter": "set_texture_filter", + "getter": "get_texture_filter", + "index": -1 } ] }, @@ -197465,23 +198616,23 @@ ] }, { - "name": "is_connected_to_host", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_status", + "name": "poll", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, "hash": 135338150, + "return_value": { + "type": "enum::Error" + } + }, + { + "name": "get_status", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, "return_value": { "type": "enum::StreamPeerTCP.Status" } @@ -202006,7 +203157,7 @@ "arguments": [ { "name": "parser", - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } ] }, @@ -202018,7 +203169,7 @@ "is_virtual": false, "hash": 135338183, "return_value": { - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } }, { @@ -206730,6 +207881,39 @@ } ] }, + { + "name": "StructuredTextParser", + "values": [ + { + "name": "STRUCTURED_TEXT_DEFAULT", + "value": 0 + }, + { + "name": "STRUCTURED_TEXT_URI", + "value": 1 + }, + { + "name": "STRUCTURED_TEXT_FILE", + "value": 2 + }, + { + "name": "STRUCTURED_TEXT_EMAIL", + "value": 3 + }, + { + "name": "STRUCTURED_TEXT_LIST", + "value": 4 + }, + { + "name": "STRUCTURED_TEXT_NONE", + "value": 5 + }, + { + "name": "STRUCTURED_TEXT_CUSTOM", + "value": 6 + } + ] + }, { "name": "SpacingType", "values": [ @@ -207255,6 +208439,41 @@ } ] }, + { + "name": "font_set_generate_mipmaps", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + }, + { + "name": "generate_mipmaps", + "type": "bool" + } + ] + }, + { + "name": "font_get_generate_mipmaps", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + } + ] + }, { "name": "font_set_multichannel_signed_distance_field", "is_const": false, @@ -208489,6 +209708,58 @@ } ] }, + { + "name": "font_get_glyph_texture_rid", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + }, + { + "name": "size", + "type": "Vector2i" + }, + { + "name": "glyph", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "font_get_glyph_texture_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + }, + { + "name": "size", + "type": "Vector2i" + }, + { + "name": "glyph", + "type": "int", + "meta": "int64" + } + ] + }, { "name": "font_get_glyph_contours", "is_const": true, @@ -210548,6 +211819,31 @@ "default_value": "\"\"" } ] + }, + { + "name": "parse_structured_text", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135445994, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "parser_type", + "type": "enum::TextServer.StructuredTextParser" + }, + { + "name": "args", + "type": "Array" + }, + { + "name": "text", + "type": "String" + } + ] } ] }, @@ -210917,6 +212213,39 @@ } ] }, + { + "name": "font_set_generate_mipmaps", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + }, + { + "name": "generate_mipmaps", + "type": "bool" + } + ] + }, + { + "name": "font_get_generate_mipmaps", + "is_const": true, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + } + ] + }, { "name": "font_set_multichannel_signed_distance_field", "is_const": false, @@ -212039,6 +213368,54 @@ } ] }, + { + "name": "font_get_glyph_texture_rid", + "is_const": true, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + }, + { + "name": "size", + "type": "Vector2i" + }, + { + "name": "glyph", + "type": "int" + } + ] + }, + { + "name": "font_get_glyph_texture_size", + "is_const": true, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "font_rid", + "type": "RID" + }, + { + "name": "size", + "type": "Vector2i" + }, + { + "name": "glyph", + "type": "int" + } + ] + }, { "name": "font_get_glyph_contours", "is_const": true, @@ -213930,6 +215307,30 @@ "type": "String" } ] + }, + { + "name": "parse_structured_text", + "is_const": true, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "parser_type", + "type": "enum::TextServer.StructuredTextParser" + }, + { + "name": "args", + "type": "Array" + }, + { + "name": "text", + "type": "String" + } + ] } ] }, @@ -224857,7 +226258,7 @@ }, { "name": "parser", - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" } ] }, @@ -224869,7 +226270,7 @@ "is_virtual": false, "hash": 135374120, "return_value": { - "type": "enum::Control.StructuredTextParser" + "type": "enum::TextServer.StructuredTextParser" }, "arguments": [ { @@ -226989,7 +228390,7 @@ "name": "interpolate_value", "is_const": false, "is_vararg": false, - "is_static": false, + "is_static": true, "is_virtual": false, "hash": 135553772, "return_value": { @@ -231010,13 +232411,6 @@ "getter": "is_using_xr", "index": -1 }, - { - "type": "bool", - "name": "audio_listener_enable_3d", - "setter": "set_as_audio_listener_3d", - "getter": "is_audio_listener_3d", - "index": -1 - }, { "type": "bool", "name": "own_world_3d", @@ -231157,6 +232551,13 @@ "getter": "is_audio_listener_2d", "index": -1 }, + { + "type": "bool", + "name": "audio_listener_enable_3d", + "setter": "set_as_audio_listener_3d", + "getter": "is_audio_listener_3d", + "index": -1 + }, { "type": "bool", "name": "physics_object_picking", @@ -231835,7 +233236,7 @@ "hash": 134188166, "arguments": [ { - "name": "ofs", + "name": "offset", "type": "Vector2" } ] @@ -236422,16 +237823,20 @@ "value": 2 }, { - "name": "VARYING_TYPE_COLOR", + "name": "VARYING_TYPE_VECTOR_4D", "value": 3 }, { - "name": "VARYING_TYPE_TRANSFORM", + "name": "VARYING_TYPE_COLOR", "value": 4 }, { - "name": "VARYING_TYPE_MAX", + "name": "VARYING_TYPE_TRANSFORM", "value": 5 + }, + { + "name": "VARYING_TYPE_MAX", + "value": 6 } ] }, @@ -237015,20 +238420,24 @@ "value": 3 }, { - "name": "PORT_TYPE_BOOLEAN", + "name": "PORT_TYPE_VECTOR_4D", "value": 4 }, { - "name": "PORT_TYPE_TRANSFORM", + "name": "PORT_TYPE_BOOLEAN", "value": 5 }, { - "name": "PORT_TYPE_SAMPLER", + "name": "PORT_TYPE_TRANSFORM", "value": 6 }, { - "name": "PORT_TYPE_MAX", + "name": "PORT_TYPE_SAMPLER", "value": 7 + }, + { + "name": "PORT_TYPE_MAX", + "value": 8 } ] } @@ -237428,8 +238837,12 @@ "value": 3 }, { - "name": "OP_TYPE_MAX", + "name": "OP_TYPE_VECTOR_4D", "value": 4 + }, + { + "name": "OP_TYPE_MAX", + "value": 5 } ] } @@ -237843,16 +239256,20 @@ "value": 3 }, { - "name": "CTYPE_BOOLEAN", + "name": "CTYPE_VECTOR_4D", "value": 4 }, { - "name": "CTYPE_TRANSFORM", + "name": "CTYPE_BOOLEAN", "value": 5 }, { - "name": "CTYPE_MAX", + "name": "CTYPE_TRANSFORM", "value": 6 + }, + { + "name": "CTYPE_MAX", + "value": 7 } ] }, @@ -238535,8 +239952,12 @@ "value": 2 }, { - "name": "OP_TYPE_MAX", + "name": "OP_TYPE_VECTOR_4D", "value": 3 + }, + { + "name": "OP_TYPE_MAX", + "value": 4 } ] } @@ -240185,8 +241606,16 @@ "value": 4 }, { - "name": "OP_TYPE_MAX", + "name": "OP_TYPE_VECTOR_4D", "value": 5 + }, + { + "name": "OP_TYPE_VECTOR_4D_SCALAR", + "value": 6 + }, + { + "name": "OP_TYPE_MAX", + "value": 7 } ] } @@ -240251,8 +241680,12 @@ "value": 2 }, { - "name": "OP_TYPE_MAX", + "name": "OP_TYPE_VECTOR_4D", "value": 3 + }, + { + "name": "OP_TYPE_MAX", + "value": 4 } ] } @@ -240897,8 +242330,16 @@ "value": 4 }, { - "name": "OP_TYPE_MAX", + "name": "OP_TYPE_VECTOR_4D", "value": 5 + }, + { + "name": "OP_TYPE_VECTOR_4D_SCALAR", + "value": 6 + }, + { + "name": "OP_TYPE_MAX", + "value": 7 } ] } @@ -240971,8 +242412,16 @@ "value": 4 }, { - "name": "OP_TYPE_MAX", + "name": "OP_TYPE_VECTOR_4D", "value": 5 + }, + { + "name": "OP_TYPE_VECTOR_4D_SCALAR", + "value": 6 + }, + { + "name": "OP_TYPE_MAX", + "value": 7 } ] } @@ -241041,16 +242490,20 @@ "value": 3 }, { - "name": "OP_TYPE_BOOLEAN", + "name": "OP_TYPE_VECTOR_4D", "value": 4 }, { - "name": "OP_TYPE_TRANSFORM", + "name": "OP_TYPE_BOOLEAN", "value": 5 }, { - "name": "OP_TYPE_MAX", + "name": "OP_TYPE_TRANSFORM", "value": 6 + }, + { + "name": "OP_TYPE_MAX", + "value": 7 } ] } @@ -242506,6 +243959,124 @@ } ] }, + { + "name": "VisualShaderNodeVec4Constant", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeConstant", + "api_type": "core", + "methods": [ + { + "name": "set_constant", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "constant", + "type": "Quaternion" + } + ] + }, + { + "name": "get_constant", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Quaternion" + } + } + ], + "properties": [ + { + "type": "Quaternion", + "name": "constant", + "setter": "set_constant", + "getter": "get_constant", + "index": -1 + } + ] + }, + { + "name": "VisualShaderNodeVec4Uniform", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "VisualShaderNodeUniform", + "api_type": "core", + "methods": [ + { + "name": "set_default_value_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_default_value_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_default_value", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "value", + "type": "Quaternion" + } + ] + }, + { + "name": "get_default_value", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Quaternion" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "default_value_enabled", + "setter": "set_default_value_enabled", + "getter": "is_default_value_enabled", + "index": -1 + }, + { + "type": "Quaternion", + "name": "default_value", + "setter": "set_default_value", + "getter": "get_default_value", + "index": -1 + } + ] + }, { "name": "VisualShaderNodeVectorBase", "is_refcounted": true, @@ -242525,8 +244096,12 @@ "value": 1 }, { - "name": "OP_TYPE_MAX", + "name": "OP_TYPE_VECTOR_4D", "value": 2 + }, + { + "name": "OP_TYPE_MAX", + "value": 3 } ] } diff --git a/godot-headers/godot/gdnative_interface.h b/godot-headers/godot/gdnative_interface.h index 732a1b5a..2bac52dc 100644 --- a/godot-headers/godot/gdnative_interface.h +++ b/godot-headers/godot/gdnative_interface.h @@ -416,6 +416,7 @@ typedef struct { void (*variant_iter_get)(const GDNativeVariantPtr p_self, GDNativeVariantPtr r_iter, GDNativeVariantPtr r_ret, GDNativeBool *r_valid); GDNativeBool (*variant_hash_compare)(const GDNativeVariantPtr p_self, const GDNativeVariantPtr p_other); GDNativeBool (*variant_booleanize)(const GDNativeVariantPtr p_self); + void (*variant_sub)(const GDNativeVariantPtr p_a, const GDNativeVariantPtr p_b, GDNativeVariantPtr r_dst); void (*variant_blend)(const GDNativeVariantPtr p_a, const GDNativeVariantPtr p_b, float p_c, GDNativeVariantPtr r_dst); void (*variant_interpolate)(const GDNativeVariantPtr p_a, const GDNativeVariantPtr p_b, float p_c, GDNativeVariantPtr r_dst); void (*variant_duplicate)(const GDNativeVariantPtr p_self, GDNativeVariantPtr r_ret, GDNativeBool p_deep);