summaryrefslogtreecommitdiffstats
path: root/modules/openxr/doc_classes/OpenXRIPBinding.xml
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2021-12-14 12:44:12 +1100
committerRémi Verschelde <rverschelde@gmail.com>2022-02-23 12:02:24 +0100
commita78a9fee7194297fca8867b4983deb4da0ba18c2 (patch)
tree342d988883aa6779b8c2014c3723dfcbf97116fa /modules/openxr/doc_classes/OpenXRIPBinding.xml
parent65bae5a3411a6fd2dbfc9f8e364040024fa81b04 (diff)
downloadredot-engine-a78a9fee7194297fca8867b4983deb4da0ba18c2.tar.gz
Implementing OpenXR driver
Diffstat (limited to 'modules/openxr/doc_classes/OpenXRIPBinding.xml')
-rw-r--r--modules/openxr/doc_classes/OpenXRIPBinding.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/openxr/doc_classes/OpenXRIPBinding.xml b/modules/openxr/doc_classes/OpenXRIPBinding.xml
new file mode 100644
index 0000000000..3fdcde5eb5
--- /dev/null
+++ b/modules/openxr/doc_classes/OpenXRIPBinding.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="OpenXRIPBinding" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
+ <brief_description>
+ Defines a binding between an [OpenXRAction] and an XR input or output.
+ </brief_description>
+ <description>
+ This binding resource binds an OpenXR action to inputs or outputs. As most controllers have left hand and right versions that are handled by the same interaction profile we can specify multiple bindings. For instance an action "Fire" could be bound to both "/user/hand/left/input/trigger" and "/user/hand/right/input/trigger".
+ </description>
+ <tutorials>
+ </tutorials>
+ <members>
+ <member name="action" type="OpenXRAction" setter="set_action" getter="get_action">
+ Action that is bound to these paths.
+ </member>
+ <member name="paths" type="PackedStringArray" setter="set_paths" getter="get_paths" default="PackedStringArray()">
+ Paths that define the inputs or outputs bound on the device.
+ </member>
+ </members>
+</class>