summaryrefslogtreecommitdiffstats
path: root/modules/webxr/godot_webxr.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webxr/godot_webxr.h')
-rw-r--r--modules/webxr/godot_webxr.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/webxr/godot_webxr.h b/modules/webxr/godot_webxr.h
index a7ce7e45d2..caa7f217af 100644
--- a/modules/webxr/godot_webxr.h
+++ b/modules/webxr/godot_webxr.h
@@ -45,7 +45,7 @@ enum WebXRInputEvent {
};
typedef void (*GodotWebXRSupportedCallback)(char *p_session_mode, int p_supported);
-typedef void (*GodotWebXRStartedCallback)(char *p_reference_space_type);
+typedef void (*GodotWebXRStartedCallback)(char *p_reference_space_type, char *p_enabled_features);
typedef void (*GodotWebXREndedCallback)();
typedef void (*GodotWebXRFailedCallback)(char *p_message);
typedef void (*GodotWebXRInputEventCallback)(int p_event_type, int p_input_source_id);
@@ -85,7 +85,10 @@ extern bool godot_webxr_update_input_source(
int *r_button_count,
float *r_buttons,
int *r_axes_count,
- float *r_axes);
+ float *r_axes,
+ int *r_has_hand_data,
+ float *r_hand_joints,
+ float *r_hand_radii);
extern char *godot_webxr_get_visibility_state();
extern int godot_webxr_get_bounds_geometry(float **r_points);