summaryrefslogtreecommitdiff
path: root/modules/openxr/action_map/openxr_interaction_profile.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2022-11-12 01:59:22 +1100
committerBastiaan Olij <mux213@gmail.com>2022-11-25 20:26:30 +1100
commit96bbdf72490971d886f6ce57476f11bb14523f15 (patch)
tree61519b914686c23f0d996bb10c2af00cb8e3c30a /modules/openxr/action_map/openxr_interaction_profile.h
parent7580565c28e7e10db7f551287e1f91cfd614b195 (diff)
Various fixes for OpenXR action map meta data and editing
Diffstat (limited to 'modules/openxr/action_map/openxr_interaction_profile.h')
-rw-r--r--modules/openxr/action_map/openxr_interaction_profile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/openxr/action_map/openxr_interaction_profile.h b/modules/openxr/action_map/openxr_interaction_profile.h
index c77fd490bb..c7db77870e 100644
--- a/modules/openxr/action_map/openxr_interaction_profile.h
+++ b/modules/openxr/action_map/openxr_interaction_profile.h
@@ -34,7 +34,7 @@
#include "core/io/resource.h"
#include "openxr_action.h"
-#include "openxr_defs.h"
+#include "openxr_interaction_profile_meta_data.h"
class OpenXRIPBinding : public Resource {
GDCLASS(OpenXRIPBinding, Resource);
@@ -94,6 +94,7 @@ public:
void add_new_binding(const Ref<OpenXRAction> p_action, const char *p_paths); // Create a new binding for this profile
void remove_binding_for_action(const Ref<OpenXRAction> p_action); // Remove all bindings for this action
+ bool has_binding_for_action(const Ref<OpenXRAction> p_action); // Returns true if we have a binding for this action
~OpenXRInteractionProfile();
};