OpenXRInteractionProfile.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  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. </methods>
  27. <members>
  28. <member name="bindings" type="Array" setter="set_bindings" getter="get_bindings" default="[]">
  29. Action bindings for this interaction profile.
  30. </member>
  31. <member name="interaction_profile_path" type="String" setter="set_interaction_profile_path" getter="get_interaction_profile_path" default="&quot;&quot;">
  32. The interaction profile path identifying the XR device.
  33. </member>
  34. </members>
  35. </class>