Adding GDExtension support to XRInterface

This commit is contained in:
Bastiaan Olij 2021-08-23 15:23:16 +10:00
parent 6e87d62873
commit 86ff7f8550
28 changed files with 494 additions and 1008 deletions

View file

@ -5047,169 +5047,6 @@
}
]
},
{
"name": "xr",
"type": "XR",
"version": {
"major": 1,
"minor": 1
},
"next": null,
"api": [
{
"name": "godot_xr_register_interface",
"return_type": "void",
"arguments": [
[
"const godot_xr_interface_gdnative *",
"p_interface"
]
]
},
{
"name": "godot_xr_get_worldscale",
"return_type": "godot_real_t",
"arguments": []
},
{
"name": "godot_xr_get_reference_frame",
"return_type": "godot_transform3d",
"arguments": []
},
{
"name": "godot_xr_blit",
"return_type": "void",
"arguments": [
[
"godot_int",
"p_eye"
],
[
"godot_rid *",
"p_render_target"
],
[
"godot_rect2 *",
"p_screen_rect"
]
]
},
{
"name": "godot_xr_get_texid",
"return_type": "godot_int",
"arguments": [
[
"godot_rid *",
"p_render_target"
]
]
},
{
"name": "godot_xr_add_controller",
"return_type": "godot_int",
"arguments": [
[
"char *",
"p_device_name"
],
[
"godot_int",
"p_hand"
],
[
"godot_bool",
"p_tracks_orientation"
],
[
"godot_bool",
"p_tracks_position"
]
]
},
{
"name": "godot_xr_remove_controller",
"return_type": "void",
"arguments": [
[
"godot_int",
"p_controller_id"
]
]
},
{
"name": "godot_xr_set_controller_transform",
"return_type": "void",
"arguments": [
[
"godot_int",
"p_controller_id"
],
[
"godot_transform3d *",
"p_transform"
],
[
"godot_bool",
"p_tracks_orientation"
],
[
"godot_bool",
"p_tracks_position"
]
]
},
{
"name": "godot_xr_set_controller_button",
"return_type": "void",
"arguments": [
[
"godot_int",
"p_controller_id"
],
[
"godot_int",
"p_button"
],
[
"godot_bool",
"p_is_pressed"
]
]
},
{
"name": "godot_xr_set_controller_axis",
"return_type": "void",
"arguments": [
[
"godot_int",
"p_controller_id"
],
[
"godot_int",
"p_exis"
],
[
"godot_real_t",
"p_value"
],
[
"godot_bool",
"p_can_be_negative"
]
]
},
{
"name": "godot_xr_get_controller_rumble",
"return_type": "godot_real_t",
"arguments": [
[
"godot_int",
"p_controller_id"
]
]
}
]
},
{
"name": "videodecoder",
"type": "VIDEODECODER",