From 576bd172851932ba3db95fda8760b4f297c89efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 23 Nov 2022 15:43:17 +0100 Subject: [PATCH] headers: Sync with upstream commit 7f8ecffa5 (4.0-beta6) --- godot-headers/extension_api.json | 438 +++++++++++++++++++++---------- 1 file changed, 299 insertions(+), 139 deletions(-) diff --git a/godot-headers/extension_api.json b/godot-headers/extension_api.json index f3d633a9..b09ef2ef 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": "beta5", + "version_status": "beta6", "version_build": "official", - "version_full_name": "Godot Engine v4.0.beta5.official" + "version_full_name": "Godot Engine v4.0.beta6.official" }, "builtin_class_sizes": [ { @@ -7872,11 +7872,11 @@ }, { "name": "split_floats", - "return_type": "PackedFloat32Array", + "return_type": "PackedFloat64Array", "is_vararg": false, "is_const": true, "is_static": false, - "hash": 1089991737, + "hash": 2092079095, "arguments": [ { "name": "delimiter", @@ -26092,11 +26092,6 @@ ] } ], - "signals": [ - { - "name": "tracks_changed" - } - ], "properties": [ { "type": "float", @@ -66262,6 +66257,31 @@ "return_value": { "type": "bool" } + }, + { + "name": "set_localize_numeral_system", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_localizing_numeral_system", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } } ], "signals": [ @@ -66475,6 +66495,13 @@ "getter": "is_auto_translating", "index": -1 }, + { + "type": "bool", + "name": "localize_numeral_system", + "setter": "set_localize_numeral_system", + "getter": "is_localizing_numeral_system", + "index": -1 + }, { "type": "String", "name": "tooltip_text", @@ -68304,6 +68331,34 @@ } ] }, + { + "name": "sample_baked_with_rotation", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3967277419, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "offset", + "type": "float", + "meta": "float" + }, + { + "name": "cubic", + "type": "bool", + "default_value": "false" + }, + { + "name": "apply_tilt", + "type": "bool", + "default_value": "false" + } + ] + }, { "name": "sample_baked_up_vector", "is_const": true, @@ -88607,7 +88662,7 @@ ] }, { - "name": "instance", + "name": "instantiate", "arguments": [ { "name": "files", @@ -92004,13 +92059,6 @@ } ] }, - { - "name": "FramebufferCacheRD", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core" - }, { "name": "GDScript", "is_refcounted": true, @@ -93184,38 +93232,23 @@ ] }, { - "name": "set_extensions", + "name": "register_gltf_document_extension", "is_const": false, "is_vararg": false, - "is_static": false, + "is_static": true, "is_virtual": false, - "hash": 381264803, + "hash": 3752678331, "arguments": [ { - "name": "extensions", - "type": "typedarray::GLTFDocumentExtension" + "name": "extension", + "type": "GLTFDocumentExtension" + }, + { + "name": "first_priority", + "type": "bool", + "default_value": "false" } ] - }, - { - "name": "get_extensions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::GLTFDocumentExtension" - } - } - ], - "properties": [ - { - "type": "typedarray::24/17:GLTFDocumentExtension", - "name": "extensions", - "setter": "set_extensions", - "getter": "get_extensions", - "index": -1 } ] }, @@ -93226,16 +93259,6 @@ "inherits": "Resource", "api_type": "core", "methods": [ - { - "name": "_get_supported_extensions", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, { "name": "_import_preflight", "is_const": false, @@ -93249,6 +93272,68 @@ { "name": "state", "type": "GLTFState" + }, + { + "name": "extensions", + "type": "PackedStringArray" + } + ] + }, + { + "name": "_get_supported_extensions", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "_parse_node_extensions", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "state", + "type": "GLTFState" + }, + { + "name": "gltf_node", + "type": "GLTFNode" + }, + { + "name": "extensions", + "type": "Dictionary" + } + ] + }, + { + "name": "_generate_scene_node", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Node3D" + }, + "arguments": [ + { + "name": "state", + "type": "GLTFState" + }, + { + "name": "gltf_node", + "type": "GLTFNode" + }, + { + "name": "scene_parent", + "type": "Node" } ] }, @@ -93332,6 +93417,27 @@ } ] }, + { + "name": "_convert_scene_node", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "state", + "type": "GLTFState" + }, + { + "name": "gltf_node", + "type": "GLTFNode" + }, + { + "name": "scene_node", + "type": "Node" + } + ] + }, { "name": "_export_node", "is_const": false, @@ -133728,7 +133834,7 @@ "value": 4 }, { - "name": "DUPLICATE_USE_INSTANCING", + "name": "DUPLICATE_USE_INSTANTIATION", "value": 8 } ] @@ -139383,6 +139489,13 @@ } ] }, + { + "name": "OfflineMultiplayerPeer", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "MultiplayerPeer", + "api_type": "core" + }, { "name": "OggPacketSequence", "is_refcounted": true, @@ -139707,7 +139820,7 @@ "index": -1 }, { - "type": "typedarray::STRING", + "type": "PackedStringArray", "name": "toplevel_paths", "setter": "set_toplevel_paths", "getter": "get_toplevel_paths", @@ -140366,7 +140479,7 @@ "index": -1 }, { - "type": "typedarray::STRING", + "type": "PackedStringArray", "name": "paths", "setter": "set_paths", "getter": "get_paths", @@ -144722,6 +144835,52 @@ "return_value": { "type": "bool" } + }, + { + "name": "set_tilt_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_tilt_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "correct_posture", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 2686588690, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "transform", + "type": "Transform3D" + }, + { + "name": "rotation_mode", + "type": "enum::PathFollow3D.RotationMode" + } + ] } ], "properties": [ @@ -144773,6 +144932,13 @@ "setter": "set_loop", "getter": "has_loop", "index": -1 + }, + { + "type": "bool", + "name": "tilt_enabled", + "setter": "set_tilt_enabled", + "getter": "is_tilt_enabled", + "index": -1 } ] }, @@ -146251,7 +146417,7 @@ }, "arguments": [ { - "name": "distance", + "name": "motion", "type": "Vector2" }, { @@ -146288,7 +146454,7 @@ "type": "Transform2D" }, { - "name": "distance", + "name": "motion", "type": "Vector2" }, { @@ -146369,7 +146535,7 @@ }, "arguments": [ { - "name": "distance", + "name": "motion", "type": "Vector3" }, { @@ -146412,7 +146578,7 @@ "type": "Transform3D" }, { - "name": "distance", + "name": "motion", "type": "Vector3" }, { @@ -150801,7 +150967,7 @@ }, { "name": "exclude", - "type": "Array", + "type": "typedarray::RID", "default_value": "[]" } ] @@ -150893,7 +151059,7 @@ "arguments": [ { "name": "exclude", - "type": "Array" + "type": "typedarray::RID" } ] }, @@ -150905,7 +151071,7 @@ "is_virtual": false, "hash": 3995934104, "return_value": { - "type": "Array" + "type": "typedarray::RID" } }, { @@ -175065,26 +175231,6 @@ "inherits": "Object", "api_type": "core", "constants": [ - { - "name": "BARRIER_MASK_RASTER", - "value": 1 - }, - { - "name": "BARRIER_MASK_COMPUTE", - "value": 2 - }, - { - "name": "BARRIER_MASK_TRANSFER", - "value": 4 - }, - { - "name": "BARRIER_MASK_ALL", - "value": 7 - }, - { - "name": "BARRIER_MASK_NO_BARRIER", - "value": 8 - }, { "name": "INVALID_ID", "value": -1 @@ -176065,6 +176211,32 @@ } ] }, + { + "name": "BarrierMask", + "is_bitfield": true, + "values": [ + { + "name": "BARRIER_MASK_RASTER", + "value": 1 + }, + { + "name": "BARRIER_MASK_COMPUTE", + "value": 2 + }, + { + "name": "BARRIER_MASK_TRANSFER", + "value": 4 + }, + { + "name": "BARRIER_MASK_ALL_BARRIERS", + "value": 7 + }, + { + "name": "BARRIER_MASK_NO_BARRIER", + "value": 8 + } + ] + }, { "name": "TextureType", "is_bitfield": false, @@ -177210,7 +177382,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 259041867, + "hash": 2736912341, "return_value": { "type": "enum::Error" }, @@ -177230,8 +177402,7 @@ }, { "name": "post_barrier", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" } ] @@ -177320,7 +177491,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 4234145050, + "hash": 3741367532, "return_value": { "type": "enum::Error" }, @@ -177367,8 +177538,7 @@ }, { "name": "post_barrier", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" } ] @@ -177379,7 +177549,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1993157964, + "hash": 3423681478, "return_value": { "type": "enum::Error" }, @@ -177414,8 +177584,7 @@ }, { "name": "post_barrier", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" } ] @@ -177426,7 +177595,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1429823113, + "hash": 2126834943, "return_value": { "type": "enum::Error" }, @@ -177441,8 +177610,7 @@ }, { "name": "post_barrier", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" } ] @@ -177736,7 +177904,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 130023918, + "hash": 3137892244, "return_value": { "type": "RID" }, @@ -177754,6 +177922,11 @@ { "name": "src_buffers", "type": "typedarray::RID" + }, + { + "name": "offsets", + "type": "PackedInt64Array", + "default_value": "PackedInt64Array()" } ] }, @@ -178045,7 +178218,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 857091402, + "hash": 652628289, "return_value": { "type": "enum::Error" }, @@ -178070,8 +178243,7 @@ }, { "name": "post_barrier", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" } ] @@ -178082,7 +178254,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3627474756, + "hash": 1645170096, "return_value": { "type": "enum::Error" }, @@ -178103,8 +178275,7 @@ }, { "name": "post_barrier", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" } ] @@ -178674,12 +178845,11 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2829508664, + "hash": 422991495, "arguments": [ { "name": "post_barrier", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" } ] @@ -178821,12 +178991,11 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2829508664, + "hash": 422991495, "arguments": [ { "name": "post_barrier", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" } ] @@ -178991,18 +179160,16 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3979627413, + "hash": 266666049, "arguments": [ { "name": "from", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" }, { "name": "to", - "type": "int", - "meta": "uint32", + "type": "bitfield::RenderingDevice.BarrierMask", "default_value": "7" } ] @@ -232805,7 +232972,7 @@ ], "methods": [ { - "name": "set_normal_texture", + "name": "set_texture_normal", "is_const": false, "is_vararg": false, "is_static": false, @@ -232819,7 +232986,7 @@ ] }, { - "name": "set_pressed_texture", + "name": "set_texture_pressed", "is_const": false, "is_vararg": false, "is_static": false, @@ -232833,7 +233000,7 @@ ] }, { - "name": "set_hover_texture", + "name": "set_texture_hover", "is_const": false, "is_vararg": false, "is_static": false, @@ -232847,7 +233014,7 @@ ] }, { - "name": "set_disabled_texture", + "name": "set_texture_disabled", "is_const": false, "is_vararg": false, "is_static": false, @@ -232861,7 +233028,7 @@ ] }, { - "name": "set_focused_texture", + "name": "set_texture_focused", "is_const": false, "is_vararg": false, "is_static": false, @@ -232967,7 +233134,7 @@ } }, { - "name": "get_normal_texture", + "name": "get_texture_normal", "is_const": true, "is_vararg": false, "is_static": false, @@ -232978,7 +233145,7 @@ } }, { - "name": "get_pressed_texture", + "name": "get_texture_pressed", "is_const": true, "is_vararg": false, "is_static": false, @@ -232989,7 +233156,7 @@ } }, { - "name": "get_hover_texture", + "name": "get_texture_hover", "is_const": true, "is_vararg": false, "is_static": false, @@ -233000,7 +233167,7 @@ } }, { - "name": "get_disabled_texture", + "name": "get_texture_disabled", "is_const": true, "is_vararg": false, "is_static": false, @@ -233011,7 +233178,7 @@ } }, { - "name": "get_focused_texture", + "name": "get_texture_focused", "is_const": true, "is_vararg": false, "is_static": false, @@ -233059,36 +233226,36 @@ { "type": "Texture2D", "name": "texture_normal", - "setter": "set_normal_texture", - "getter": "get_normal_texture", + "setter": "set_texture_normal", + "getter": "get_texture_normal", "index": -1 }, { "type": "Texture2D", "name": "texture_pressed", - "setter": "set_pressed_texture", - "getter": "get_pressed_texture", + "setter": "set_texture_pressed", + "getter": "get_texture_pressed", "index": -1 }, { "type": "Texture2D", "name": "texture_hover", - "setter": "set_hover_texture", - "getter": "get_hover_texture", + "setter": "set_texture_hover", + "getter": "get_texture_hover", "index": -1 }, { "type": "Texture2D", "name": "texture_disabled", - "setter": "set_disabled_texture", - "getter": "get_disabled_texture", + "setter": "set_texture_disabled", + "getter": "get_texture_disabled", "index": -1 }, { "type": "Texture2D", "name": "texture_focused", - "setter": "set_focused_texture", - "getter": "get_focused_texture", + "setter": "set_texture_focused", + "getter": "get_texture_focused", "index": -1 }, { @@ -247082,13 +247249,6 @@ } ] }, - { - "name": "UniformSetCacheRD", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core" - }, { "name": "VBoxContainer", "is_refcounted": false,