mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
c23bd8b143
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
36 lines
1.5 KiB
XML
36 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="OpenXRInteractionProfile" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
Suggested bindings object for OpenXR.
|
|
</brief_description>
|
|
<description>
|
|
This object stores suggested bindings for an interaction profile. Interaction profiles define the metadata for a tracked XR device such as an XR controller.
|
|
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].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_binding" qualifiers="const">
|
|
<return type="OpenXRIPBinding" />
|
|
<param index="0" name="index" type="int" />
|
|
<description>
|
|
Retrieve the binding at this index.
|
|
</description>
|
|
</method>
|
|
<method name="get_binding_count" qualifiers="const">
|
|
<return type="int" />
|
|
<description>
|
|
Get the number of bindings in this interaction profile.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="bindings" type="Array" setter="set_bindings" getter="get_bindings" default="[]">
|
|
Action bindings for this interaction profile.
|
|
</member>
|
|
<member name="interaction_profile_path" type="String" setter="set_interaction_profile_path" getter="get_interaction_profile_path" default="""">
|
|
The interaction profile path identifying the XR device.
|
|
</member>
|
|
</members>
|
|
</class>
|