From 516fad14e45d341211121832bb3daa172aebd6e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 8 Feb 2023 14:47:21 +0100 Subject: gdextension: Sync with upstream commit c4fb119f03477ad9a494ba6cdad211b35a8efcce (4.0-rc1) --- gdextension/extension_api.json | 253 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 228 insertions(+), 25 deletions(-) (limited to 'gdextension/extension_api.json') diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json index 0f3020f..30e0211 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": "beta17", + "version_status": "rc1", "version_build": "official", - "version_full_name": "Godot Engine v4.0.beta17.official" + "version_full_name": "Godot Engine v4.0.rc1.official" }, "builtin_class_sizes": [ { @@ -19199,9 +19199,9 @@ "name": "bsearch", "return_type": "int", "is_vararg": false, - "is_const": false, + "is_const": true, "is_static": false, - "hash": 2634019015, + "hash": 3372222236, "arguments": [ { "name": "value", @@ -19218,9 +19218,9 @@ "name": "bsearch_custom", "return_type": "int", "is_vararg": false, - "is_const": false, + "is_const": true, "is_static": false, - "hash": 135832563, + "hash": 161317131, "arguments": [ { "name": "value", @@ -28441,6 +28441,36 @@ "signals": [ { "name": "tree_changed" + }, + { + "name": "animation_node_renamed", + "arguments": [ + { + "name": "object_id", + "type": "int" + }, + { + "name": "old_name", + "type": "String" + }, + { + "name": "new_name", + "type": "String" + } + ] + }, + { + "name": "animation_node_removed", + "arguments": [ + { + "name": "object_id", + "type": "int" + }, + { + "name": "name", + "type": "String" + } + ] } ], "properties": [ @@ -32226,24 +32256,6 @@ "type": "Vector3" } }, - { - "name": "rename_parameter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3186203200, - "arguments": [ - { - "name": "old_name", - "type": "String" - }, - { - "name": "new_name", - "type": "String" - } - ] - }, { "name": "advance", "is_const": false, @@ -66111,7 +66123,7 @@ }, "arguments": [ { - "name": "position", + "name": "point", "type": "Vector2" } ] @@ -77214,6 +77226,26 @@ "is_vararg": false, "is_virtual": true }, + { + "name": "_get_export_features", + "is_const": true, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "PackedStringArray" + }, + "arguments": [ + { + "name": "platform", + "type": "EditorExportPlatform" + }, + { + "name": "debug", + "type": "bool" + } + ] + }, { "name": "_get_name", "is_const": true, @@ -78642,6 +78674,38 @@ "type": "typedarray::String" } ] + }, + { + "name": "append_import_external_resource", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3645925746, + "return_value": { + "type": "enum::Error" + }, + "arguments": [ + { + "name": "path", + "type": "String" + }, + { + "name": "custom_options", + "type": "Dictionary", + "default_value": "{}" + }, + { + "name": "custom_importer", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "generator_parameters", + "type": "Variant", + "default_value": "null" + } + ] } ] }, @@ -171257,6 +171321,17 @@ } ] }, + { + "name": "get_global_class_list", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2915620761, + "return_value": { + "type": "typedarray::Dictionary" + } + }, { "name": "set_order", "is_const": false, @@ -192881,6 +192956,24 @@ } ] }, + { + "name": "canvas_light_set_blend_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 804895945, + "arguments": [ + { + "name": "light", + "type": "RID" + }, + { + "name": "mode", + "type": "enum::RenderingServer.CanvasLightBlendMode" + } + ] + }, { "name": "canvas_light_occluder_create", "is_const": false, @@ -195161,6 +195254,24 @@ "value": 26 } ] + }, + { + "name": "MenuItems", + "is_bitfield": false, + "values": [ + { + "name": "MENU_COPY", + "value": 0 + }, + { + "name": "MENU_SELECT_ALL", + "value": 1 + }, + { + "name": "MENU_MAX", + "value": 2 + } + ] } ], "methods": [ @@ -196646,6 +196757,21 @@ "return_value": { "type": "bool" } + }, + { + "name": "menu_option", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "option", + "type": "int", + "meta": "int32" + } + ] } ], "signals": [ @@ -250081,6 +250207,31 @@ "type": "bool" } }, + { + "name": "set_physics_object_picking_sort", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "get_physics_object_picking_sort", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2240911060, + "return_value": { + "type": "bool" + } + }, { "name": "get_viewport_rid", "is_const": true, @@ -251193,6 +251344,12 @@ "setter": "set_physics_object_picking", "getter": "get_physics_object_picking" }, + { + "type": "bool", + "name": "physics_object_picking_sort", + "setter": "set_physics_object_picking_sort", + "getter": "get_physics_object_picking_sort" + }, { "type": "bool", "name": "gui_disable_input", @@ -264690,6 +264847,24 @@ "value": 4 } ] + }, + { + "name": "EnvironmentBlendMode", + "is_bitfield": false, + "values": [ + { + "name": "XR_ENV_BLEND_MODE_OPAQUE", + "value": 0 + }, + { + "name": "XR_ENV_BLEND_MODE_ADDITIVE", + "value": 1 + }, + { + "name": "XR_ENV_BLEND_MODE_ALPHA_BLEND", + "value": 2 + } + ] } ], "methods": [ @@ -265031,6 +265206,34 @@ "meta": "double" } ] + }, + { + "name": "get_supported_environment_blend_modes", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2915620761, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_environment_blend_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 551152418, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "mode", + "type": "enum::XRInterface.EnvironmentBlendMode" + } + ] } ], "signals": [ -- cgit v1.2.3