Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/modules/openxr/doc_classes/OpenXRInteractionProfile.xml
10278 views
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<class name="OpenXRInteractionProfile" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
3
<brief_description>
4
Suggested bindings object for OpenXR.
5
</brief_description>
6
<description>
7
This object stores suggested bindings for an interaction profile. Interaction profiles define the metadata for a tracked XR device such as an XR controller.
8
For more information see the [url=https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#semantic-path-interaction-profiles]interaction profiles info in the OpenXR specification[/url].
9
</description>
10
<tutorials>
11
</tutorials>
12
<methods>
13
<method name="get_binding" qualifiers="const">
14
<return type="OpenXRIPBinding" />
15
<param index="0" name="index" type="int" />
16
<description>
17
Retrieve the binding at this index.
18
</description>
19
</method>
20
<method name="get_binding_count" qualifiers="const">
21
<return type="int" />
22
<description>
23
Get the number of bindings in this interaction profile.
24
</description>
25
</method>
26
<method name="get_binding_modifier" qualifiers="const">
27
<return type="OpenXRIPBindingModifier" />
28
<param index="0" name="index" type="int" />
29
<description>
30
Get the [OpenXRBindingModifier] at this index.
31
</description>
32
</method>
33
<method name="get_binding_modifier_count" qualifiers="const">
34
<return type="int" />
35
<description>
36
Get the number of binding modifiers in this interaction profile.
37
</description>
38
</method>
39
</methods>
40
<members>
41
<member name="binding_modifiers" type="Array" setter="set_binding_modifiers" getter="get_binding_modifiers" default="[]">
42
Binding modifiers for this interaction profile.
43
</member>
44
<member name="bindings" type="Array" setter="set_bindings" getter="get_bindings" default="[]">
45
Action bindings for this interaction profile.
46
</member>
47
<member name="interaction_profile_path" type="String" setter="set_interaction_profile_path" getter="get_interaction_profile_path" default="&quot;&quot;">
48
The interaction profile path identifying the XR device.
49
</member>
50
</members>
51
</class>
52
53