summaryrefslogtreecommitdiffstats
path: root/modules/openxr/openxr_interface.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2023-01-31 10:20:19 +1100
committerBastiaan Olij <mux213@gmail.com>2023-01-31 10:20:19 +1100
commitd3ec17e9ae6ac66f1315aed0490d0fac8f92404d (patch)
treeff194f25f692ad0806b0f648ca3f8494a36255dc /modules/openxr/openxr_interface.h
parente9de988020f3d46c3e7b4fd5a8a80724996035e0 (diff)
downloadredot-engine-d3ec17e9ae6ac66f1315aed0490d0fac8f92404d.tar.gz
Added methods to OpenXR interface to set which action sets are active
Diffstat (limited to 'modules/openxr/openxr_interface.h')
-rw-r--r--modules/openxr/openxr_interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/openxr/openxr_interface.h b/modules/openxr/openxr_interface.h
index 2b43369523..cce329d8e6 100644
--- a/modules/openxr/openxr_interface.h
+++ b/modules/openxr/openxr_interface.h
@@ -123,6 +123,10 @@ public:
void set_display_refresh_rate(float p_refresh_rate);
Array get_available_display_refresh_rates() const;
+ bool is_action_set_active(const String &p_action_set) const;
+ void set_action_set_active(const String &p_action_set, bool p_active);
+ Array get_action_sets() const;
+
virtual Size2 get_render_target_size() override;
virtual uint32_t get_view_count() override;
virtual Transform3D get_camera_transform() override;