From a8d848506074b1bb7eae319b06e9de60395eee1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 27 Jan 2023 17:02:22 +0100 Subject: [PATCH] gdextension: Sync with upstream commit 518b9e5801a19229805fe837d7d0cf92920ad413 (4.0-beta16) --- gdextension/extension_api.json | 885 ++++++++++++++++++++++++++------- 1 file changed, 716 insertions(+), 169 deletions(-) diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json index 16574008..0ec079ad 100644 --- a/gdextension/extension_api.json +++ b/gdextension/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 0, "version_patch": 0, - "version_status": "beta15", + "version_status": "beta16", "version_build": "official", - "version_full_name": "Godot Engine v4.0.beta15.official" + "version_full_name": "Godot Engine v4.0.beta16.official" }, "builtin_class_sizes": [ { @@ -3682,41 +3682,45 @@ "value": 262144 }, { - "name": "PROPERTY_USAGE_DO_NOT_SHARE_ON_DUPLICATE", + "name": "PROPERTY_USAGE_ALWAYS_DUPLICATE", "value": 524288 }, { - "name": "PROPERTY_USAGE_HIGH_END_GFX", + "name": "PROPERTY_USAGE_NEVER_DUPLICATE", "value": 1048576 }, { - "name": "PROPERTY_USAGE_NODE_PATH_FROM_SCENE_ROOT", + "name": "PROPERTY_USAGE_HIGH_END_GFX", "value": 2097152 }, { - "name": "PROPERTY_USAGE_RESOURCE_NOT_PERSISTENT", + "name": "PROPERTY_USAGE_NODE_PATH_FROM_SCENE_ROOT", "value": 4194304 }, { - "name": "PROPERTY_USAGE_KEYING_INCREMENTS", + "name": "PROPERTY_USAGE_RESOURCE_NOT_PERSISTENT", "value": 8388608 }, { - "name": "PROPERTY_USAGE_DEFERRED_SET_RESOURCE", + "name": "PROPERTY_USAGE_KEYING_INCREMENTS", "value": 16777216 }, { - "name": "PROPERTY_USAGE_EDITOR_INSTANTIATE_OBJECT", + "name": "PROPERTY_USAGE_DEFERRED_SET_RESOURCE", "value": 33554432 }, { - "name": "PROPERTY_USAGE_EDITOR_BASIC_SETTING", + "name": "PROPERTY_USAGE_EDITOR_INSTANTIATE_OBJECT", "value": 67108864 }, { - "name": "PROPERTY_USAGE_READ_ONLY", + "name": "PROPERTY_USAGE_EDITOR_BASIC_SETTING", "value": 134217728 }, + { + "name": "PROPERTY_USAGE_READ_ONLY", + "value": 268435456 + }, { "name": "PROPERTY_USAGE_DEFAULT", "value": 6 @@ -5693,6 +5697,23 @@ "type": "int" } ] + }, + { + "name": "is_same", + "return_type": "bool", + "category": "general", + "is_vararg": false, + "hash": 1409423524, + "arguments": [ + { + "name": "a", + "type": "Variant" + }, + { + "name": "b", + "type": "Variant" + } + ] } ], "builtin_classes": [ @@ -8216,6 +8237,14 @@ "is_static": false, "hash": 3942272618 }, + { + "name": "validate_filename", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3942272618 + }, { "name": "is_valid_identifier", "return_type": "bool", @@ -17680,6 +17709,14 @@ "is_static": false, "hash": 3942272618 }, + { + "name": "validate_filename", + "return_type": "String", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3942272618 + }, { "name": "is_valid_identifier", "return_type": "bool", @@ -18749,6 +18786,21 @@ "default_value": "null" } ] + }, + { + "name": "make_read_only", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 3218959716 + }, + { + "name": "is_read_only", + "return_type": "bool", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3918633141 } ], "constructors": [ @@ -19382,17 +19434,11 @@ "hash": 1460142086 }, { - "name": "set_read_only", + "name": "make_read_only", "is_vararg": false, "is_const": false, "is_static": false, - "hash": 315553568, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] + "hash": 3218959716 }, { "name": "is_read_only", @@ -25108,7 +25154,7 @@ "hash": 3304788590, "arguments": [ { - "name": "animation", + "name": "name", "type": "StringName" } ] @@ -25125,19 +25171,30 @@ } }, { - "name": "set_playing", + "name": "set_autoplay", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2586408642, + "hash": 83702148, "arguments": [ { - "name": "playing", - "type": "bool" + "name": "name", + "type": "String" } ] }, + { + "name": "get_autoplay", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, { "name": "is_playing", "is_const": true, @@ -25155,20 +25212,49 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1975901163, + "hash": 1459844657, "arguments": [ { - "name": "anim", + "name": "name", "type": "StringName", "default_value": "&\"\"" }, { - "name": "backwards", + "name": "custom_speed", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "from_end", "type": "bool", "default_value": "false" } ] }, + { + "name": "play_backwards", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1421762485, + "arguments": [ + { + "name": "name", + "type": "StringName", + "default_value": "&\"\"" + } + ] + }, + { + "name": "pause", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, { "name": "stop", "is_const": false, @@ -25304,6 +25390,53 @@ "meta": "int32" } }, + { + "name": "set_frame_progress", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "progress", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_frame_progress", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_frame_and_progress", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1602489585, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + }, + { + "name": "progress", + "type": "float", + "meta": "float" + } + ] + }, { "name": "set_speed_scale", "is_const": false, @@ -25330,12 +25463,33 @@ "type": "float", "meta": "float" } + }, + { + "name": "get_playing_speed", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } } ], "signals": [ + { + "name": "sprite_frames_changed" + }, + { + "name": "animation_changed" + }, { "name": "frame_changed" }, + { + "name": "animation_looped" + }, { "name": "animation_finished" } @@ -25343,7 +25497,7 @@ "properties": [ { "type": "SpriteFrames", - "name": "frames", + "name": "sprite_frames", "setter": "set_sprite_frames", "getter": "get_sprite_frames" }, @@ -25353,24 +25507,30 @@ "setter": "set_animation", "getter": "get_animation" }, + { + "type": "StringName", + "name": "autoplay", + "setter": "set_autoplay", + "getter": "get_autoplay" + }, { "type": "int", "name": "frame", "setter": "set_frame", "getter": "get_frame" }, + { + "type": "float", + "name": "frame_progress", + "setter": "set_frame_progress", + "getter": "get_frame_progress" + }, { "type": "float", "name": "speed_scale", "setter": "set_speed_scale", "getter": "get_speed_scale" }, - { - "type": "bool", - "name": "playing", - "setter": "set_playing", - "getter": "is_playing" - }, { "type": "bool", "name": "centered", @@ -25438,7 +25598,7 @@ "hash": 3304788590, "arguments": [ { - "name": "animation", + "name": "name", "type": "StringName" } ] @@ -25455,19 +25615,30 @@ } }, { - "name": "set_playing", + "name": "set_autoplay", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2586408642, + "hash": 83702148, "arguments": [ { - "name": "playing", - "type": "bool" + "name": "name", + "type": "String" } ] }, + { + "name": "get_autoplay", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, { "name": "is_playing", "is_const": true, @@ -25485,20 +25656,49 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1975901163, + "hash": 1459844657, "arguments": [ { - "name": "anim", + "name": "name", "type": "StringName", "default_value": "&\"\"" }, { - "name": "backwards", + "name": "custom_speed", + "type": "float", + "meta": "float", + "default_value": "1.0" + }, + { + "name": "from_end", "type": "bool", "default_value": "false" } ] }, + { + "name": "play_backwards", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1421762485, + "arguments": [ + { + "name": "name", + "type": "StringName", + "default_value": "&\"\"" + } + ] + }, + { + "name": "pause", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, { "name": "stop", "is_const": false, @@ -25534,6 +25734,53 @@ "meta": "int32" } }, + { + "name": "set_frame_progress", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "progress", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_frame_progress", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_frame_and_progress", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1602489585, + "arguments": [ + { + "name": "frame", + "type": "int", + "meta": "int32" + }, + { + "name": "progress", + "type": "float", + "meta": "float" + } + ] + }, { "name": "set_speed_scale", "is_const": false, @@ -25560,12 +25807,33 @@ "type": "float", "meta": "float" } + }, + { + "name": "get_playing_speed", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } } ], "signals": [ + { + "name": "sprite_frames_changed" + }, + { + "name": "animation_changed" + }, { "name": "frame_changed" }, + { + "name": "animation_looped" + }, { "name": "animation_finished" } @@ -25573,33 +25841,39 @@ "properties": [ { "type": "SpriteFrames", - "name": "frames", + "name": "sprite_frames", "setter": "set_sprite_frames", "getter": "get_sprite_frames" }, { - "type": "String", + "type": "StringName", "name": "animation", "setter": "set_animation", "getter": "get_animation" }, + { + "type": "StringName", + "name": "autoplay", + "setter": "set_autoplay", + "getter": "get_autoplay" + }, { "type": "int", "name": "frame", "setter": "set_frame", "getter": "get_frame" }, + { + "type": "float", + "name": "frame_progress", + "setter": "set_frame_progress", + "getter": "get_frame_progress" + }, { "type": "float", "name": "speed_scale", "setter": "set_speed_scale", "getter": "get_speed_scale" - }, - { - "type": "bool", - "name": "playing", - "setter": "set_playing", - "getter": "is_playing" } ] }, @@ -30601,6 +30875,38 @@ } ], "methods": [ + { + "name": "_post_process_key_value", + "is_const": true, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "animation", + "type": "Animation" + }, + { + "name": "track", + "type": "int" + }, + { + "name": "value", + "type": "Variant" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "object_idx", + "type": "int" + } + ] + }, { "name": "add_animation_library", "is_const": false, @@ -31440,7 +31746,7 @@ }, { "type": "float", - "name": "playback_speed", + "name": "speed_scale", "setter": "set_speed_scale", "getter": "get_speed_scale" }, @@ -31499,6 +31805,38 @@ } ], "methods": [ + { + "name": "_post_process_key_value", + "is_const": true, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Variant" + }, + "arguments": [ + { + "name": "animation", + "type": "Animation" + }, + { + "name": "track", + "type": "int" + }, + { + "name": "value", + "type": "Variant" + }, + { + "name": "object", + "type": "Object" + }, + { + "name": "object_idx", + "type": "int" + } + ] + }, { "name": "set_active", "is_const": false, @@ -41772,12 +42110,6 @@ "setter": "set_toggle_mode", "getter": "is_toggle_mode" }, - { - "type": "bool", - "name": "shortcut_in_tooltip", - "setter": "set_shortcut_in_tooltip", - "getter": "is_shortcut_in_tooltip_enabled" - }, { "type": "bool", "name": "button_pressed", @@ -41802,6 +42134,12 @@ "setter": "set_keep_pressed_outside", "getter": "is_keep_pressed_outside" }, + { + "type": "ButtonGroup", + "name": "button_group", + "setter": "set_button_group", + "getter": "get_button_group" + }, { "type": "Shortcut", "name": "shortcut", @@ -41815,10 +42153,10 @@ "getter": "is_shortcut_feedback" }, { - "type": "ButtonGroup", - "name": "button_group", - "setter": "set_button_group", - "getter": "get_button_group" + "type": "bool", + "name": "shortcut_in_tooltip", + "setter": "set_shortcut_in_tooltip", + "getter": "is_shortcut_in_tooltip_enabled" } ] }, @@ -46217,12 +46555,6 @@ "setter": "set_flat", "getter": "is_flat" }, - { - "type": "bool", - "name": "clip_text", - "setter": "set_clip_text", - "getter": "get_clip_text" - }, { "type": "int", "name": "alignment", @@ -46235,6 +46567,12 @@ "setter": "set_text_overrun_behavior", "getter": "get_text_overrun_behavior" }, + { + "type": "bool", + "name": "clip_text", + "setter": "set_clip_text", + "getter": "get_clip_text" + }, { "type": "int", "name": "icon_alignment", @@ -89820,6 +90158,15 @@ } ] }, + { + "name": "resource_removed", + "arguments": [ + { + "name": "resource", + "type": "Resource" + } + ] + }, { "name": "file_removed", "arguments": [ @@ -96414,6 +96761,20 @@ "is_instantiable": true, "inherits": "Resource", "api_type": "core", + "constants": [ + { + "name": "HANDLE_BINARY_DISCARD_TEXTURES", + "value": 0 + }, + { + "name": "HANDLE_BINARY_EXTRACT_TEXTURES", + "value": 1 + }, + { + "name": "HANDLE_BINARY_EMBED_AS_BASISU", + "value": 2 + } + ], "methods": [ { "name": "add_used_extension", @@ -97176,6 +97537,33 @@ "type": "Variant" } ] + }, + { + "name": "get_handle_binary_image", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2455072627, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_handle_binary_image", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "method", + "type": "int", + "meta": "int32" + } + ] } ], "properties": [ @@ -97334,6 +97722,12 @@ "name": "animations", "setter": "set_animations", "getter": "get_animations" + }, + { + "type": "int", + "name": "handle_binary_image", + "setter": "set_handle_binary_image", + "getter": "get_handle_binary_image" } ] }, @@ -120332,92 +120726,100 @@ "value": 6 }, { - "name": "MENU_DIR_INHERITED", + "name": "MENU_SUBMENU_TEXT_DIR", "value": 7 }, { - "name": "MENU_DIR_AUTO", + "name": "MENU_DIR_INHERITED", "value": 8 }, { - "name": "MENU_DIR_LTR", + "name": "MENU_DIR_AUTO", "value": 9 }, { - "name": "MENU_DIR_RTL", + "name": "MENU_DIR_LTR", "value": 10 }, { - "name": "MENU_DISPLAY_UCC", + "name": "MENU_DIR_RTL", "value": 11 }, { - "name": "MENU_INSERT_LRM", + "name": "MENU_DISPLAY_UCC", "value": 12 }, { - "name": "MENU_INSERT_RLM", + "name": "MENU_SUBMENU_INSERT_UCC", "value": 13 }, { - "name": "MENU_INSERT_LRE", + "name": "MENU_INSERT_LRM", "value": 14 }, { - "name": "MENU_INSERT_RLE", + "name": "MENU_INSERT_RLM", "value": 15 }, { - "name": "MENU_INSERT_LRO", + "name": "MENU_INSERT_LRE", "value": 16 }, { - "name": "MENU_INSERT_RLO", + "name": "MENU_INSERT_RLE", "value": 17 }, { - "name": "MENU_INSERT_PDF", + "name": "MENU_INSERT_LRO", "value": 18 }, { - "name": "MENU_INSERT_ALM", + "name": "MENU_INSERT_RLO", "value": 19 }, { - "name": "MENU_INSERT_LRI", + "name": "MENU_INSERT_PDF", "value": 20 }, { - "name": "MENU_INSERT_RLI", + "name": "MENU_INSERT_ALM", "value": 21 }, { - "name": "MENU_INSERT_FSI", + "name": "MENU_INSERT_LRI", "value": 22 }, { - "name": "MENU_INSERT_PDI", + "name": "MENU_INSERT_RLI", "value": 23 }, { - "name": "MENU_INSERT_ZWJ", + "name": "MENU_INSERT_FSI", "value": 24 }, { - "name": "MENU_INSERT_ZWNJ", + "name": "MENU_INSERT_PDI", "value": 25 }, { - "name": "MENU_INSERT_WJ", + "name": "MENU_INSERT_ZWJ", "value": 26 }, { - "name": "MENU_INSERT_SHY", + "name": "MENU_INSERT_ZWNJ", "value": 27 }, { - "name": "MENU_MAX", + "name": "MENU_INSERT_WJ", "value": 28 + }, + { + "name": "MENU_INSERT_SHY", + "value": 29 + }, + { + "name": "MENU_MAX", + "value": 30 } ] }, @@ -127997,7 +128399,7 @@ } }, { - "name": "set_target_location", + "name": "set_target_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -128005,13 +128407,13 @@ "hash": 743155724, "arguments": [ { - "name": "location", + "name": "position", "type": "Vector2" } ] }, { - "name": "get_target_location", + "name": "get_target_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -128022,7 +128424,7 @@ } }, { - "name": "get_next_location", + "name": "get_next_path_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -128126,7 +128528,7 @@ } }, { - "name": "get_final_location", + "name": "get_final_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -128178,9 +128580,9 @@ "properties": [ { "type": "Vector2", - "name": "target_location", - "setter": "set_target_location", - "getter": "get_target_location" + "name": "target_position", + "setter": "set_target_position", + "getter": "get_target_position" }, { "type": "float", @@ -128676,7 +129078,7 @@ } }, { - "name": "set_target_location", + "name": "set_target_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -128684,13 +129086,13 @@ "hash": 3460891852, "arguments": [ { - "name": "location", + "name": "position", "type": "Vector3" } ] }, { - "name": "get_target_location", + "name": "get_target_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -128701,7 +129103,7 @@ } }, { - "name": "get_next_location", + "name": "get_next_path_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -128805,7 +129207,7 @@ } }, { - "name": "get_final_location", + "name": "get_final_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -128857,9 +129259,9 @@ "properties": [ { "type": "Vector3", - "name": "target_location", - "setter": "set_target_location", - "getter": "get_target_location" + "name": "target_position", + "setter": "set_target_position", + "getter": "get_target_position" }, { "type": "float", @@ -129063,7 +129465,7 @@ ] }, { - "name": "set_start_location", + "name": "set_start_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -129071,13 +129473,13 @@ "hash": 743155724, "arguments": [ { - "name": "location", + "name": "position", "type": "Vector2" } ] }, { - "name": "get_start_location", + "name": "get_start_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -129088,7 +129490,7 @@ } }, { - "name": "set_end_location", + "name": "set_end_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -129096,13 +129498,13 @@ "hash": 743155724, "arguments": [ { - "name": "location", + "name": "position", "type": "Vector2" } ] }, { - "name": "get_end_location", + "name": "get_end_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -129188,15 +129590,15 @@ }, { "type": "Vector2", - "name": "start_location", - "setter": "set_start_location", - "getter": "get_start_location" + "name": "start_position", + "setter": "set_start_position", + "getter": "get_start_position" }, { "type": "Vector2", - "name": "end_location", - "setter": "set_end_location", - "getter": "get_end_location" + "name": "end_position", + "setter": "set_end_position", + "getter": "get_end_position" }, { "type": "float", @@ -129334,7 +129736,7 @@ ] }, { - "name": "set_start_location", + "name": "set_start_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -129342,13 +129744,13 @@ "hash": 3460891852, "arguments": [ { - "name": "location", + "name": "position", "type": "Vector3" } ] }, { - "name": "get_start_location", + "name": "get_start_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -129359,7 +129761,7 @@ } }, { - "name": "set_end_location", + "name": "set_end_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -129367,13 +129769,13 @@ "hash": 3460891852, "arguments": [ { - "name": "location", + "name": "position", "type": "Vector3" } ] }, { - "name": "get_end_location", + "name": "get_end_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -129459,15 +129861,15 @@ }, { "type": "Vector3", - "name": "start_location", - "setter": "set_start_location", - "getter": "get_start_location" + "name": "start_position", + "setter": "set_start_position", + "getter": "get_start_position" }, { "type": "Vector3", - "name": "end_location", - "setter": "set_end_location", - "getter": "get_end_location" + "name": "end_position", + "setter": "set_end_position", + "getter": "get_end_position" }, { "type": "float", @@ -133048,7 +133450,7 @@ ] }, { - "name": "link_set_start_location", + "name": "link_set_start_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -133060,13 +133462,13 @@ "type": "RID" }, { - "name": "location", + "name": "position", "type": "Vector2" } ] }, { - "name": "link_get_start_location", + "name": "link_get_start_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -133083,7 +133485,7 @@ ] }, { - "name": "link_set_end_location", + "name": "link_set_end_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -133095,13 +133497,13 @@ "type": "RID" }, { - "name": "location", + "name": "position", "type": "Vector2" } ] }, { - "name": "link_get_end_location", + "name": "link_get_end_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -134410,7 +134812,7 @@ ] }, { - "name": "link_set_start_location", + "name": "link_set_start_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -134422,13 +134824,13 @@ "type": "RID" }, { - "name": "location", + "name": "position", "type": "Vector3" } ] }, { - "name": "link_get_start_location", + "name": "link_get_start_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -134445,7 +134847,7 @@ ] }, { - "name": "link_set_end_location", + "name": "link_set_end_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -134457,13 +134859,13 @@ "type": "RID" }, { - "name": "location", + "name": "position", "type": "Vector3" } ] }, { - "name": "link_get_end_location", + "name": "link_get_end_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -194261,6 +194663,24 @@ } ] }, + { + "name": "push_customfx", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2337942958, + "arguments": [ + { + "name": "effect", + "type": "RichTextEffect" + }, + { + "name": "env", + "type": "Dictionary" + } + ] + }, { "name": "pop", "is_const": false, @@ -194579,7 +194999,7 @@ } }, { - "name": "set_fit_content_height", + "name": "set_fit_content", "is_const": false, "is_vararg": false, "is_static": false, @@ -194593,7 +195013,7 @@ ] }, { - "name": "is_fit_content_height_enabled", + "name": "is_fit_content_enabled", "is_const": true, "is_vararg": false, "is_static": false, @@ -195246,9 +195666,9 @@ }, { "type": "bool", - "name": "fit_content_height", - "setter": "set_fit_content_height", - "getter": "is_fit_content_height_enabled" + "name": "fit_content", + "setter": "set_fit_content", + "getter": "is_fit_content_enabled" }, { "type": "bool", @@ -215219,6 +215639,60 @@ "type": "bool" } }, + { + "name": "set_msdf_pixel_range", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "msdf_pixel_range", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_msdf_pixel_range", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_msdf_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "msdf_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_msdf_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, { "name": "set_oversampling", "is_const": false, @@ -215394,6 +215868,18 @@ "setter": "set_multichannel_signed_distance_field", "getter": "is_multichannel_signed_distance_field" }, + { + "type": "int", + "name": "msdf_pixel_range", + "setter": "set_msdf_pixel_range", + "getter": "get_msdf_pixel_range" + }, + { + "type": "int", + "name": "msdf_size", + "setter": "set_msdf_size", + "getter": "get_msdf_size" + }, { "type": "float", "name": "oversampling", @@ -217015,92 +217501,100 @@ "value": 6 }, { - "name": "MENU_DIR_INHERITED", + "name": "MENU_SUBMENU_TEXT_DIR", "value": 7 }, { - "name": "MENU_DIR_AUTO", + "name": "MENU_DIR_INHERITED", "value": 8 }, { - "name": "MENU_DIR_LTR", + "name": "MENU_DIR_AUTO", "value": 9 }, { - "name": "MENU_DIR_RTL", + "name": "MENU_DIR_LTR", "value": 10 }, { - "name": "MENU_DISPLAY_UCC", + "name": "MENU_DIR_RTL", "value": 11 }, { - "name": "MENU_INSERT_LRM", + "name": "MENU_DISPLAY_UCC", "value": 12 }, { - "name": "MENU_INSERT_RLM", + "name": "MENU_SUBMENU_INSERT_UCC", "value": 13 }, { - "name": "MENU_INSERT_LRE", + "name": "MENU_INSERT_LRM", "value": 14 }, { - "name": "MENU_INSERT_RLE", + "name": "MENU_INSERT_RLM", "value": 15 }, { - "name": "MENU_INSERT_LRO", + "name": "MENU_INSERT_LRE", "value": 16 }, { - "name": "MENU_INSERT_RLO", + "name": "MENU_INSERT_RLE", "value": 17 }, { - "name": "MENU_INSERT_PDF", + "name": "MENU_INSERT_LRO", "value": 18 }, { - "name": "MENU_INSERT_ALM", + "name": "MENU_INSERT_RLO", "value": 19 }, { - "name": "MENU_INSERT_LRI", + "name": "MENU_INSERT_PDF", "value": 20 }, { - "name": "MENU_INSERT_RLI", + "name": "MENU_INSERT_ALM", "value": 21 }, { - "name": "MENU_INSERT_FSI", + "name": "MENU_INSERT_LRI", "value": 22 }, { - "name": "MENU_INSERT_PDI", + "name": "MENU_INSERT_RLI", "value": 23 }, { - "name": "MENU_INSERT_ZWJ", + "name": "MENU_INSERT_FSI", "value": 24 }, { - "name": "MENU_INSERT_ZWNJ", + "name": "MENU_INSERT_PDI", "value": 25 }, { - "name": "MENU_INSERT_WJ", + "name": "MENU_INSERT_ZWJ", "value": 26 }, { - "name": "MENU_INSERT_SHY", + "name": "MENU_INSERT_ZWNJ", "value": 27 }, { - "name": "MENU_MAX", + "name": "MENU_INSERT_WJ", "value": 28 + }, + { + "name": "MENU_INSERT_SHY", + "value": 29 + }, + { + "name": "MENU_MAX", + "value": 30 } ] }, @@ -242146,7 +242640,7 @@ "name": "item_custom_button_pressed" }, { - "name": "item_double_clicked" + "name": "item_icon_double_clicked" }, { "name": "item_collapsed", @@ -251880,6 +252374,28 @@ "value": 3 } ] + }, + { + "name": "Precision", + "is_bitfield": false, + "values": [ + { + "name": "PRECISION_NONE", + "value": 0 + }, + { + "name": "PRECISION_COARSE", + "value": 1 + }, + { + "name": "PRECISION_FINE", + "value": 2 + }, + { + "name": "PRECISION_MAX", + "value": 3 + } + ] } ], "methods": [ @@ -251932,6 +252448,31 @@ "return_value": { "type": "enum::VisualShaderNodeDerivativeFunc.Function" } + }, + { + "name": "set_precision", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 797270566, + "arguments": [ + { + "name": "precision", + "type": "enum::VisualShaderNodeDerivativeFunc.Precision" + } + ] + }, + { + "name": "get_precision", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3822547323, + "return_value": { + "type": "enum::VisualShaderNodeDerivativeFunc.Precision" + } } ], "properties": [ @@ -251946,6 +252487,12 @@ "name": "function", "setter": "set_function", "getter": "get_function" + }, + { + "type": "int", + "name": "precision", + "setter": "set_precision", + "getter": "get_precision" } ] },