diff --git a/thirdparty/godot_cpp_gdextension_api/README.md b/thirdparty/godot_cpp_gdextension_api/README.md index 79e3ce8d..40ebca59 100644 --- a/thirdparty/godot_cpp_gdextension_api/README.md +++ b/thirdparty/godot_cpp_gdextension_api/README.md @@ -4,8 +4,8 @@ This directory contains the API JSON for [**Godot Engine**](https://github.com/godotengine/godot)'s *GDExtensions* API. ## Current API version -- **Godot Engine v4.3.dev.custom_build** -- [commit 81f3d43cc1ba01136795fb2059bbaa55bc514a16](https://github.com/godotengine/godot/commit/81f3d43cc1ba01136795fb2059bbaa55bc514a16) +- **Godot Engine v4.3.dev4.official** +- [commit df78c0636d79c9545a283e0e2a926d623998cc27](https://github.com/godotengine/godot/commit/df78c0636d79c9545a283e0e2a926d623998cc27) ## Updating API @@ -20,4 +20,4 @@ update procedure: ``` godot --dump-extension-api ``` -- Copy the generated `extension_api.json` file into this directory \ No newline at end of file +- Copy the generated `extension_api.json` file into this directory diff --git a/thirdparty/godot_cpp_gdextension_api/extension_api.json b/thirdparty/godot_cpp_gdextension_api/extension_api.json index 52344465..2d3b4a1e 100644 --- a/thirdparty/godot_cpp_gdextension_api/extension_api.json +++ b/thirdparty/godot_cpp_gdextension_api/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 3, "version_patch": 0, - "version_status": "dev", - "version_build": "custom_build", - "version_full_name": "Godot Engine v4.3.dev.custom_build" + "version_status": "dev4", + "version_build": "official", + "version_full_name": "Godot Engine v4.3.dev4.official" }, "builtin_class_sizes": [ { @@ -103756,6 +103756,31 @@ } ] }, + { + "name": "get_import_as_skeleton_bones", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2240911060, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_import_as_skeleton_bones", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "import_as_skeleton_bones", + "type": "bool" + } + ] + }, { "name": "get_animations", "is_const": false, @@ -104037,6 +104062,12 @@ "setter": "set_create_animations", "getter": "get_create_animations" }, + { + "type": "bool", + "name": "import_as_skeleton_bones", + "setter": "set_import_as_skeleton_bones", + "getter": "get_import_as_skeleton_bones" + }, { "type": "Array", "name": "animations", @@ -225207,7 +225238,14 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 83702148, + "hash": 1597066294, + "hash_compatibility": [ + 83702148 + ], + "return_value": { + "type": "int", + "meta": "int32" + }, "arguments": [ { "name": "name", @@ -287675,6 +287713,709 @@ } ] }, + { + "name": "XRBodyModifier3D", + "is_refcounted": false, + "is_instantiable": true, + "inherits": "Node3D", + "api_type": "core", + "enums": [ + { + "name": "BodyUpdate", + "is_bitfield": true, + "values": [ + { + "name": "BODY_UPDATE_UPPER_BODY", + "value": 1 + }, + { + "name": "BODY_UPDATE_LOWER_BODY", + "value": 2 + }, + { + "name": "BODY_UPDATE_HANDS", + "value": 4 + } + ] + }, + { + "name": "BoneUpdate", + "is_bitfield": false, + "values": [ + { + "name": "BONE_UPDATE_FULL", + "value": 0 + }, + { + "name": "BONE_UPDATE_ROTATION_ONLY", + "value": 1 + }, + { + "name": "BONE_UPDATE_MAX", + "value": 2 + } + ] + } + ], + "methods": [ + { + "name": "set_body_tracker", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3304788590, + "arguments": [ + { + "name": "tracker_name", + "type": "StringName" + } + ] + }, + { + "name": "get_body_tracker", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2002593661, + "return_value": { + "type": "StringName" + } + }, + { + "name": "set_target", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1348162250, + "arguments": [ + { + "name": "target", + "type": "NodePath" + } + ] + }, + { + "name": "get_target", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 4075236667, + "return_value": { + "type": "NodePath" + } + }, + { + "name": "set_body_update", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2211199417, + "arguments": [ + { + "name": "body_update", + "type": "bitfield::XRBodyModifier3D.BodyUpdate" + } + ] + }, + { + "name": "get_body_update", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2642335328, + "return_value": { + "type": "bitfield::XRBodyModifier3D.BodyUpdate" + } + }, + { + "name": "set_bone_update", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3356796943, + "arguments": [ + { + "name": "bone_update", + "type": "enum::XRBodyModifier3D.BoneUpdate" + } + ] + }, + { + "name": "get_bone_update", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1309305964, + "return_value": { + "type": "enum::XRBodyModifier3D.BoneUpdate" + } + }, + { + "name": "set_show_when_tracked", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "show", + "type": "bool" + } + ] + }, + { + "name": "get_show_when_tracked", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "String", + "name": "body_tracker", + "setter": "set_body_tracker", + "getter": "get_body_tracker" + }, + { + "type": "NodePath", + "name": "target", + "setter": "set_target", + "getter": "get_target" + }, + { + "type": "int", + "name": "body_update", + "setter": "set_body_update", + "getter": "get_body_update" + }, + { + "type": "int", + "name": "bone_update", + "setter": "set_bone_update", + "getter": "get_bone_update" + }, + { + "type": "bool", + "name": "show_when_tracked", + "setter": "set_show_when_tracked", + "getter": "get_show_when_tracked" + } + ] + }, + { + "name": "XRBodyTracker", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "RefCounted", + "api_type": "core", + "enums": [ + { + "name": "BodyFlags", + "is_bitfield": true, + "values": [ + { + "name": "BODY_FLAG_UPPER_BODY_SUPPORTED", + "value": 1 + }, + { + "name": "BODY_FLAG_LOWER_BODY_SUPPORTED", + "value": 2 + }, + { + "name": "BODY_FLAG_HANDS_SUPPORTED", + "value": 4 + } + ] + }, + { + "name": "Joint", + "is_bitfield": false, + "values": [ + { + "name": "JOINT_ROOT", + "value": 0 + }, + { + "name": "JOINT_HIPS", + "value": 1 + }, + { + "name": "JOINT_SPINE", + "value": 2 + }, + { + "name": "JOINT_CHEST", + "value": 3 + }, + { + "name": "JOINT_UPPER_CHEST", + "value": 4 + }, + { + "name": "JOINT_NECK", + "value": 5 + }, + { + "name": "JOINT_HEAD", + "value": 6 + }, + { + "name": "JOINT_HEAD_TIP", + "value": 7 + }, + { + "name": "JOINT_LEFT_SHOULDER", + "value": 8 + }, + { + "name": "JOINT_LEFT_UPPER_ARM", + "value": 9 + }, + { + "name": "JOINT_LEFT_LOWER_ARM", + "value": 10 + }, + { + "name": "JOINT_RIGHT_SHOULDER", + "value": 11 + }, + { + "name": "JOINT_RIGHT_UPPER_ARM", + "value": 12 + }, + { + "name": "JOINT_RIGHT_LOWER_ARM", + "value": 13 + }, + { + "name": "JOINT_LEFT_UPPER_LEG", + "value": 14 + }, + { + "name": "JOINT_LEFT_LOWER_LEG", + "value": 15 + }, + { + "name": "JOINT_LEFT_FOOT", + "value": 16 + }, + { + "name": "JOINT_LEFT_TOES", + "value": 17 + }, + { + "name": "JOINT_RIGHT_UPPER_LEG", + "value": 18 + }, + { + "name": "JOINT_RIGHT_LOWER_LEG", + "value": 19 + }, + { + "name": "JOINT_RIGHT_FOOT", + "value": 20 + }, + { + "name": "JOINT_RIGHT_TOES", + "value": 21 + }, + { + "name": "JOINT_LEFT_HAND", + "value": 22 + }, + { + "name": "JOINT_LEFT_PALM", + "value": 23 + }, + { + "name": "JOINT_LEFT_WRIST", + "value": 24 + }, + { + "name": "JOINT_LEFT_THUMB_METACARPAL", + "value": 25 + }, + { + "name": "JOINT_LEFT_THUMB_PHALANX_PROXIMAL", + "value": 26 + }, + { + "name": "JOINT_LEFT_THUMB_PHALANX_DISTAL", + "value": 27 + }, + { + "name": "JOINT_LEFT_THUMB_TIP", + "value": 28 + }, + { + "name": "JOINT_LEFT_INDEX_FINGER_METACARPAL", + "value": 29 + }, + { + "name": "JOINT_LEFT_INDEX_FINGER_PHALANX_PROXIMAL", + "value": 30 + }, + { + "name": "JOINT_LEFT_INDEX_FINGER_PHALANX_INTERMEDIATE", + "value": 31 + }, + { + "name": "JOINT_LEFT_INDEX_FINGER_PHALANX_DISTAL", + "value": 32 + }, + { + "name": "JOINT_LEFT_INDEX_FINGER_TIP", + "value": 33 + }, + { + "name": "JOINT_LEFT_MIDDLE_FINGER_METACARPAL", + "value": 34 + }, + { + "name": "JOINT_LEFT_MIDDLE_FINGER_PHALANX_PROXIMAL", + "value": 35 + }, + { + "name": "JOINT_LEFT_MIDDLE_FINGER_PHALANX_INTERMEDIATE", + "value": 36 + }, + { + "name": "JOINT_LEFT_MIDDLE_FINGER_PHALANX_DISTAL", + "value": 37 + }, + { + "name": "JOINT_LEFT_MIDDLE_FINGER_TIP", + "value": 38 + }, + { + "name": "JOINT_LEFT_RING_FINGER_METACARPAL", + "value": 39 + }, + { + "name": "JOINT_LEFT_RING_FINGER_PHALANX_PROXIMAL", + "value": 40 + }, + { + "name": "JOINT_LEFT_RING_FINGER_PHALANX_INTERMEDIATE", + "value": 41 + }, + { + "name": "JOINT_LEFT_RING_FINGER_PHALANX_DISTAL", + "value": 42 + }, + { + "name": "JOINT_LEFT_RING_FINGER_TIP", + "value": 43 + }, + { + "name": "JOINT_LEFT_PINKY_FINGER_METACARPAL", + "value": 44 + }, + { + "name": "JOINT_LEFT_PINKY_FINGER_PHALANX_PROXIMAL", + "value": 45 + }, + { + "name": "JOINT_LEFT_PINKY_FINGER_PHALANX_INTERMEDIATE", + "value": 46 + }, + { + "name": "JOINT_LEFT_PINKY_FINGER_PHALANX_DISTAL", + "value": 47 + }, + { + "name": "JOINT_LEFT_PINKY_FINGER_TIP", + "value": 48 + }, + { + "name": "JOINT_RIGHT_HAND", + "value": 49 + }, + { + "name": "JOINT_RIGHT_PALM", + "value": 50 + }, + { + "name": "JOINT_RIGHT_WRIST", + "value": 51 + }, + { + "name": "JOINT_RIGHT_THUMB_METACARPAL", + "value": 52 + }, + { + "name": "JOINT_RIGHT_THUMB_PHALANX_PROXIMAL", + "value": 53 + }, + { + "name": "JOINT_RIGHT_THUMB_PHALANX_DISTAL", + "value": 54 + }, + { + "name": "JOINT_RIGHT_THUMB_TIP", + "value": 55 + }, + { + "name": "JOINT_RIGHT_INDEX_FINGER_METACARPAL", + "value": 56 + }, + { + "name": "JOINT_RIGHT_INDEX_FINGER_PHALANX_PROXIMAL", + "value": 57 + }, + { + "name": "JOINT_RIGHT_INDEX_FINGER_PHALANX_INTERMEDIATE", + "value": 58 + }, + { + "name": "JOINT_RIGHT_INDEX_FINGER_PHALANX_DISTAL", + "value": 59 + }, + { + "name": "JOINT_RIGHT_INDEX_FINGER_TIP", + "value": 60 + }, + { + "name": "JOINT_RIGHT_MIDDLE_FINGER_METACARPAL", + "value": 61 + }, + { + "name": "JOINT_RIGHT_MIDDLE_FINGER_PHALANX_PROXIMAL", + "value": 62 + }, + { + "name": "JOINT_RIGHT_MIDDLE_FINGER_PHALANX_INTERMEDIATE", + "value": 63 + }, + { + "name": "JOINT_RIGHT_MIDDLE_FINGER_PHALANX_DISTAL", + "value": 64 + }, + { + "name": "JOINT_RIGHT_MIDDLE_FINGER_TIP", + "value": 65 + }, + { + "name": "JOINT_RIGHT_RING_FINGER_METACARPAL", + "value": 66 + }, + { + "name": "JOINT_RIGHT_RING_FINGER_PHALANX_PROXIMAL", + "value": 67 + }, + { + "name": "JOINT_RIGHT_RING_FINGER_PHALANX_INTERMEDIATE", + "value": 68 + }, + { + "name": "JOINT_RIGHT_RING_FINGER_PHALANX_DISTAL", + "value": 69 + }, + { + "name": "JOINT_RIGHT_RING_FINGER_TIP", + "value": 70 + }, + { + "name": "JOINT_RIGHT_PINKY_FINGER_METACARPAL", + "value": 71 + }, + { + "name": "JOINT_RIGHT_PINKY_FINGER_PHALANX_PROXIMAL", + "value": 72 + }, + { + "name": "JOINT_RIGHT_PINKY_FINGER_PHALANX_INTERMEDIATE", + "value": 73 + }, + { + "name": "JOINT_RIGHT_PINKY_FINGER_PHALANX_DISTAL", + "value": 74 + }, + { + "name": "JOINT_RIGHT_PINKY_FINGER_TIP", + "value": 75 + }, + { + "name": "JOINT_MAX", + "value": 76 + } + ] + }, + { + "name": "JointFlags", + "is_bitfield": true, + "values": [ + { + "name": "JOINT_FLAG_ORIENTATION_VALID", + "value": 1 + }, + { + "name": "JOINT_FLAG_ORIENTATION_TRACKED", + "value": 2 + }, + { + "name": "JOINT_FLAG_POSITION_VALID", + "value": 4 + }, + { + "name": "JOINT_FLAG_POSITION_TRACKED", + "value": 8 + } + ] + } + ], + "methods": [ + { + "name": "set_has_tracking_data", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "has_data", + "type": "bool" + } + ] + }, + { + "name": "get_has_tracking_data", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_body_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2103235750, + "arguments": [ + { + "name": "flags", + "type": "bitfield::XRBodyTracker.BodyFlags" + } + ] + }, + { + "name": "get_body_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3543166366, + "return_value": { + "type": "bitfield::XRBodyTracker.BodyFlags" + } + }, + { + "name": "set_joint_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 592144999, + "arguments": [ + { + "name": "joint", + "type": "enum::XRBodyTracker.Joint" + }, + { + "name": "flags", + "type": "bitfield::XRBodyTracker.JointFlags" + } + ] + }, + { + "name": "get_joint_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1030162609, + "return_value": { + "type": "bitfield::XRBodyTracker.JointFlags" + }, + "arguments": [ + { + "name": "joint", + "type": "enum::XRBodyTracker.Joint" + } + ] + }, + { + "name": "set_joint_transform", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2635424328, + "arguments": [ + { + "name": "joint", + "type": "enum::XRBodyTracker.Joint" + }, + { + "name": "transform", + "type": "Transform3D" + } + ] + }, + { + "name": "get_joint_transform", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3474811534, + "return_value": { + "type": "Transform3D" + }, + "arguments": [ + { + "name": "joint", + "type": "enum::XRBodyTracker.Joint" + } + ] + } + ], + "properties": [ + { + "type": "bool", + "name": "has_tracking_data", + "setter": "set_has_tracking_data", + "getter": "get_has_tracking_data" + }, + { + "type": "int", + "name": "body_flags", + "setter": "set_body_flags", + "getter": "get_body_flags" + } + ] + }, { "name": "XRCamera3D", "is_refcounted": false, @@ -291457,6 +292198,66 @@ } ] }, + { + "name": "add_body_tracker", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3020366798, + "arguments": [ + { + "name": "tracker_name", + "type": "StringName" + }, + { + "name": "body_tracker", + "type": "XRBodyTracker" + } + ] + }, + { + "name": "remove_body_tracker", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3304788590, + "arguments": [ + { + "name": "tracker_name", + "type": "StringName" + } + ] + }, + { + "name": "get_body_trackers", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3102165223, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "get_body_tracker", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2543746419, + "return_value": { + "type": "XRBodyTracker" + }, + "arguments": [ + { + "name": "tracker_name", + "type": "StringName" + } + ] + }, { "name": "get_primary_interface", "is_const": true, @@ -291610,6 +292411,41 @@ "type": "StringName" } ] + }, + { + "name": "body_tracker_added", + "arguments": [ + { + "name": "tracker_name", + "type": "StringName" + }, + { + "name": "body_tracker", + "type": "XRBodyTracker" + } + ] + }, + { + "name": "body_tracker_updated", + "arguments": [ + { + "name": "tracker_name", + "type": "StringName" + }, + { + "name": "body_tracker", + "type": "XRBodyTracker" + } + ] + }, + { + "name": "body_tracker_removed", + "arguments": [ + { + "name": "tracker_name", + "type": "StringName" + } + ] } ], "properties": [