aboutsummaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative_api.json
diff options
context:
space:
mode:
authorBastiaanOlij2017-10-08 00:51:17 +1100
committerBastiaanOlij2017-10-14 09:10:18 +1100
commitcc37d43f861b2fd4c3c5d5fbaf7186bf5c30d35f (patch)
tree98fefbcb57a800a0a7b84ae28ab06cdba38a34c6 /modules/gdnative/gdnative_api.json
parent4585239a4bcb5350fadc1fbe5a6db1c2e67ab06a (diff)
downloadgodot-cc37d43f861b2fd4c3c5d5fbaf7186bf5c30d35f.tar.gz
godot-cc37d43f861b2fd4c3c5d5fbaf7186bf5c30d35f.tar.zst
godot-cc37d43f861b2fd4c3c5d5fbaf7186bf5c30d35f.zip
Redoing the ARVR GDNative interface as module and tighter implementation
Diffstat (limited to 'modules/gdnative/gdnative_api.json')
-rw-r--r--modules/gdnative/gdnative_api.json72
1 files changed, 72 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative_api.json b/modules/gdnative/gdnative_api.json
index 4d3c024a8..5ebf26cbf 100644
--- a/modules/gdnative/gdnative_api.json
+++ b/modules/gdnative/gdnative_api.json
@@ -5229,6 +5229,78 @@
"arguments": [
["godot_object *", "p_instance"]
]
+ },
+ {
+ "name": "godot_arvr_get_worldscale",
+ "return_type": "godot_real",
+ "arguments": []
+ },
+ {
+ "name": "godot_arvr_get_reference_frame",
+ "return_type": "godot_transform",
+ "arguments": []
+ },
+ {
+ "name": "godot_arvr_blit",
+ "return_type": "void",
+ "arguments": [
+ ["int", "p_eye"],
+ ["godot_rid *", "p_render_target"],
+ ["godot_rect2 *", "p_screen_rect"]
+ ]
+ },
+ {
+ "name": "godot_arvr_get_texid",
+ "return_type": "godot_int",
+ "arguments": [
+ ["godot_rid *", "p_render_target"]
+ ]
+ },
+ {
+ "name": "godot_arvr_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_arvr_remove_controller",
+ "return_type": "void",
+ "arguments": [
+ ["godot_int", "p_controller_id"]
+ ]
+ },
+ {
+ "name": "godot_arvr_set_controller_transform",
+ "return_type": "void",
+ "arguments": [
+ ["godot_int", "p_controller_id"],
+ ["godot_transform *", "p_transform"],
+ ["godot_bool", "p_tracks_orientation"],
+ ["godot_bool", "p_tracks_position"]
+ ]
+ },
+ {
+ "name": "godot_arvr_set_controller_button",
+ "return_type": "void",
+ "arguments": [
+ ["godot_int", "p_controller_id"],
+ ["godot_int", "p_button"],
+ ["godot_bool", "p_is_pressed"]
+ ]
+ },
+ {
+ "name": "godot_arvr_set_controller_axis",
+ "return_type": "void",
+ "arguments": [
+ ["godot_int", "p_controller_id"],
+ ["godot_int", "p_exis"],
+ ["godot_real", "p_value"],
+ ["godot_bool", "p_can_be_negative"]
+ ]
}
]
}