From fa4d18f21cfae319b8f16a1604742cfec6022079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 29 Sep 2022 09:12:41 +0200 Subject: [PATCH] headers: Sync with upstream commit f8745f2f7 (4.0-beta2) --- godot-headers/extension_api.json | 1064 ++++++++++++++++++++++++++++-- 1 file changed, 1007 insertions(+), 57 deletions(-) diff --git a/godot-headers/extension_api.json b/godot-headers/extension_api.json index d013ae43..db992e8e 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": "beta", - "version_build": "custom_build", - "version_full_name": "Godot Engine v4.0.beta.custom_build" + "version_status": "beta2", + "version_build": "official", + "version_full_name": "Godot Engine v4.0.beta2.official" }, "builtin_class_sizes": [ { @@ -3797,6 +3797,10 @@ "name": "PROPERTY_USAGE_EDITOR_BASIC_SETTING", "value": 134217728 }, + { + "name": "PROPERTY_USAGE_READ_ONLY", + "value": 268435456 + }, { "name": "PROPERTY_USAGE_ARRAY", "value": 536870912 @@ -27861,7 +27865,7 @@ { "name": "time", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -27874,7 +27878,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -27888,7 +27892,7 @@ { "name": "time", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -27901,7 +27905,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -27940,7 +27944,7 @@ { "name": "enable", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -27953,7 +27957,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -27967,7 +27971,7 @@ { "name": "enable", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -27980,7 +27984,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -29002,7 +29006,7 @@ { "name": "time", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -29015,7 +29019,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -29338,7 +29342,7 @@ { "name": "sec", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -29351,7 +29355,7 @@ "hash": 1958752504, "return_value": { "type": "float", - "meta": "float" + "meta": "double" }, "arguments": [ { @@ -29375,7 +29379,7 @@ { "name": "sec", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -29388,7 +29392,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -29407,7 +29411,7 @@ { "name": "custom_blend", "type": "float", - "meta": "float", + "meta": "double", "default_value": "-1" }, { @@ -29439,7 +29443,7 @@ { "name": "custom_blend", "type": "float", - "meta": "float", + "meta": "double", "default_value": "-1" } ] @@ -29818,7 +29822,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -29830,7 +29834,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -29864,7 +29868,7 @@ { "name": "delta", "type": "float", - "meta": "float" + "meta": "double" } ] } @@ -30233,7 +30237,7 @@ { "name": "delta", "type": "float", - "meta": "float" + "meta": "double" } ] } @@ -36820,7 +36824,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -37087,7 +37091,7 @@ { "name": "seconds", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -37100,7 +37104,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -37305,7 +37309,7 @@ { "name": "seconds", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -37318,7 +37322,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -49940,7 +49944,7 @@ { "name": "delay", "type": "float", - "meta": "float" + "meta": "double" } ] } @@ -73462,13 +73466,6 @@ } ] }, - { - "name": "DisplayServerMacOS", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "DisplayServer", - "api_type": "core" - }, { "name": "ENetConnection", "is_refcounted": true, @@ -122675,7 +122672,7 @@ { "name": "delay", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -138488,6 +138485,925 @@ } ] }, + { + "name": "OpenXRAction", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "enums": [ + { + "name": "ActionType", + "is_bitfield": false, + "values": [ + { + "name": "OPENXR_ACTION_BOOL", + "value": 0 + }, + { + "name": "OPENXR_ACTION_FLOAT", + "value": 1 + }, + { + "name": "OPENXR_ACTION_VECTOR2", + "value": 2 + }, + { + "name": "OPENXR_ACTION_POSE", + "value": 3 + } + ] + } + ], + "methods": [ + { + "name": "set_localized_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "localized_name", + "type": "String" + } + ] + }, + { + "name": "get_localized_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_action_type", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1675238366, + "arguments": [ + { + "name": "action_type", + "type": "enum::OpenXRAction.ActionType" + } + ] + }, + { + "name": "get_action_type", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3536542431, + "return_value": { + "type": "enum::OpenXRAction.ActionType" + } + }, + { + "name": "set_toplevel_paths", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4015028928, + "arguments": [ + { + "name": "toplevel_paths", + "type": "PackedStringArray" + } + ] + }, + { + "name": "get_toplevel_paths", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1139954409, + "return_value": { + "type": "PackedStringArray" + } + } + ], + "properties": [ + { + "type": "String", + "name": "localized_name", + "setter": "set_localized_name", + "getter": "get_localized_name", + "index": -1 + }, + { + "type": "int", + "name": "action_type", + "setter": "set_action_type", + "getter": "get_action_type", + "index": -1 + }, + { + "type": "typedarray::STRING", + "name": "toplevel_paths", + "setter": "set_toplevel_paths", + "getter": "get_toplevel_paths", + "index": -1 + } + ] + }, + { + "name": "OpenXRActionMap", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_action_sets", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "action_sets", + "type": "Array" + } + ] + }, + { + "name": "get_action_sets", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_action_set_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "find_action_set", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1888809267, + "return_value": { + "type": "OpenXRActionSet" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_action_set", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1789580336, + "return_value": { + "type": "OpenXRActionSet" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_action_set", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2093310581, + "arguments": [ + { + "name": "action_set", + "type": "OpenXRActionSet" + } + ] + }, + { + "name": "remove_action_set", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2093310581, + "arguments": [ + { + "name": "action_set", + "type": "OpenXRActionSet" + } + ] + }, + { + "name": "set_interaction_profiles", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "interaction_profiles", + "type": "Array" + } + ] + }, + { + "name": "get_interaction_profiles", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "Array" + } + }, + { + "name": "get_interaction_profile_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "find_interaction_profile", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3095875538, + "return_value": { + "type": "OpenXRInteractionProfile" + }, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] + }, + { + "name": "get_interaction_profile", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2546151210, + "return_value": { + "type": "OpenXRInteractionProfile" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "add_interaction_profile", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2697953512, + "arguments": [ + { + "name": "interaction_profile", + "type": "OpenXRInteractionProfile" + } + ] + }, + { + "name": "remove_interaction_profile", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2697953512, + "arguments": [ + { + "name": "interaction_profile", + "type": "OpenXRInteractionProfile" + } + ] + }, + { + "name": "create_default_action_sets", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + } + ], + "properties": [ + { + "type": "OpenXRActionSet", + "name": "action_sets", + "setter": "set_action_sets", + "getter": "get_action_sets", + "index": -1 + }, + { + "type": "OpenXRInteractionProfile", + "name": "interaction_profiles", + "setter": "set_interaction_profiles", + "getter": "get_interaction_profiles", + "index": -1 + } + ] + }, + { + "name": "OpenXRActionSet", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_localized_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "localized_name", + "type": "String" + } + ] + }, + { + "name": "get_localized_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "set_priority", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "priority", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_priority", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_action_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_actions", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "actions", + "type": "Array" + } + ] + }, + { + "name": "get_actions", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "Array" + } + }, + { + "name": "add_action", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 349361333, + "arguments": [ + { + "name": "action", + "type": "OpenXRAction" + } + ] + }, + { + "name": "remove_action", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 349361333, + "arguments": [ + { + "name": "action", + "type": "OpenXRAction" + } + ] + } + ], + "properties": [ + { + "type": "String", + "name": "localized_name", + "setter": "set_localized_name", + "getter": "get_localized_name", + "index": -1 + }, + { + "type": "int", + "name": "priority", + "setter": "set_priority", + "getter": "get_priority", + "index": -1 + }, + { + "type": "OpenXRAction", + "name": "actions", + "setter": "set_actions", + "getter": "get_actions", + "index": -1 + } + ] + }, + { + "name": "OpenXRHand", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "enums": [ + { + "name": "Hands", + "is_bitfield": false, + "values": [ + { + "name": "HAND_LEFT", + "value": 0 + }, + { + "name": "HAND_RIGHT", + "value": 1 + }, + { + "name": "HAND_MAX", + "value": 2 + } + ] + }, + { + "name": "MotionRange", + "is_bitfield": false, + "values": [ + { + "name": "MOTION_RANGE_UNOBSTRUCTED", + "value": 0 + }, + { + "name": "MOTION_RANGE_CONFORM_TO_CONTROLLER", + "value": 1 + }, + { + "name": "MOTION_RANGE_MAX", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_hand", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1849328560, + "arguments": [ + { + "name": "hand", + "type": "enum::OpenXRHand.Hands" + } + ] + }, + { + "name": "get_hand", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2850644561, + "return_value": { + "type": "enum::OpenXRHand.Hands" + } + }, + { + "name": "set_hand_skeleton", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1348162250, + "arguments": [ + { + "name": "hand_skeleton", + "type": "NodePath" + } + ] + }, + { + "name": "get_hand_skeleton", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4075236667, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_motion_range", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3326516003, + "arguments": [ + { + "name": "motion_range", + "type": "enum::OpenXRHand.MotionRange" + } + ] + }, + { + "name": "get_motion_range", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2191822314, + "return_value": { + "type": "enum::OpenXRHand.MotionRange" + } + } + ], + "properties": [ + { + "type": "int", + "name": "hand", + "setter": "set_hand", + "getter": "get_hand", + "index": -1 + }, + { + "type": "int", + "name": "motion_range", + "setter": "set_motion_range", + "getter": "get_motion_range", + "index": -1 + }, + { + "type": "NodePath", + "name": "hand_skeleton", + "setter": "set_hand_skeleton", + "getter": "get_hand_skeleton", + "index": -1 + } + ] + }, + { + "name": "OpenXRIPBinding", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_action", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 349361333, + "arguments": [ + { + "name": "action", + "type": "OpenXRAction" + } + ] + }, + { + "name": "get_action", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4072409085, + "return_value": { + "type": "OpenXRAction" + } + }, + { + "name": "get_path_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_paths", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4015028928, + "arguments": [ + { + "name": "paths", + "type": "PackedStringArray" + } + ] + }, + { + "name": "get_paths", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1139954409, + "return_value": { + "type": "PackedStringArray" + } + }, + { + "name": "has_path", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3927539163, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "add_path", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "remove_path", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + } + ], + "properties": [ + { + "type": "OpenXRAction", + "name": "action", + "setter": "set_action", + "getter": "get_action", + "index": -1 + }, + { + "type": "typedarray::STRING", + "name": "paths", + "setter": "set_paths", + "getter": "get_paths", + "index": -1 + } + ] + }, + { + "name": "OpenXRInteractionProfile", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_interaction_profile_path", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "interaction_profile_path", + "type": "String" + } + ] + }, + { + "name": "get_interaction_profile_path", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "get_binding_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_binding", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3934429652, + "return_value": { + "type": "OpenXRIPBinding" + }, + "arguments": [ + { + "name": "index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bindings", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 381264803, + "arguments": [ + { + "name": "bindings", + "type": "Array" + } + ] + }, + { + "name": "get_bindings", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3995934104, + "return_value": { + "type": "Array" + } + } + ], + "properties": [ + { + "type": "String", + "name": "interaction_profile_path", + "setter": "set_interaction_profile_path", + "getter": "get_interaction_profile_path", + "index": -1 + }, + { + "type": "OpenXRIPBinding", + "name": "bindings", + "setter": "set_bindings", + "getter": "get_bindings", + "index": -1 + } + ] + }, + { + "name": "OpenXRInterface", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "XRInterface", + "api_type": "core", + "signals": [ + { + "name": "session_begun" + }, + { + "name": "session_stopping" + }, + { + "name": "session_focussed" + }, + { + "name": "session_visible" + }, + { + "name": "pose_recentered" + } + ] + }, { "name": "OptimizedTranslation", "is_refcounted": true, @@ -166155,7 +167071,7 @@ { "name": "delay", "type": "float", - "meta": "float" + "meta": "double" } ] } @@ -229110,13 +230026,6 @@ } ] }, - { - "name": "TextServerFallback", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "TextServerExtension", - "api_type": "core" - }, { "name": "TextServerManager", "is_refcounted": false, @@ -234313,9 +235222,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3248174, + "hash": 2024035737, "return_value": { - "type": "Rect2" + "type": "Rect2i" } }, { @@ -242359,7 +243268,7 @@ { "name": "duration", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -242377,7 +243286,7 @@ { "name": "time", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -242424,7 +243333,7 @@ { "name": "duration", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -242442,7 +243351,7 @@ { "name": "delta", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -242487,7 +243396,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -242696,12 +243605,12 @@ { "name": "elapsed_time", "type": "float", - "meta": "float" + "meta": "double" }, { "name": "duration", "type": "float", - "meta": "float" + "meta": "double" }, { "name": "trans_type", @@ -244861,7 +245770,7 @@ { "name": "position", "type": "float", - "meta": "float" + "meta": "double" } ] }, @@ -244874,7 +245783,7 @@ "hash": 1740695150, "return_value": { "type": "float", - "meta": "float" + "meta": "double" } }, { @@ -259883,6 +260792,47 @@ "type": "int", "meta": "int32" } + }, + { + "name": "is_passthrough_supported", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2240911060, + "return_value": { + "type": "bool" + } + }, + { + "name": "is_passthrough_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2240911060, + "return_value": { + "type": "bool" + } + }, + { + "name": "start_passthrough", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2240911060, + "return_value": { + "type": "bool" + } + }, + { + "name": "stop_passthrough", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 } ], "signals": [ @@ -261730,4 +262680,4 @@ "format": "StringName signature;uint64_t call_count;uint64_t total_time;uint64_t self_time" } ] -} \ No newline at end of file +}