class_openxrinteractionprofile.rst 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/modules/openxr/doc_classes/OpenXRInteractionProfile.xml.
  6. .. _class_OpenXRInteractionProfile:
  7. OpenXRInteractionProfile
  8. ========================
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Suggested bindings object for OpenXR.
  11. Description
  12. -----------
  13. This object stores suggested bindings for an interaction profile. Interaction profiles define the meta data for a tracked XR device such as an XR controller.
  14. For more information see the `interaction profiles info in the OpenXR specification <https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#semantic-path-interaction-profiles>`__.
  15. Properties
  16. ----------
  17. +-----------------------------+---------------------------------------------------------------------------------------------------+--------+
  18. | :ref:`Array<class_Array>` | :ref:`bindings<class_OpenXRInteractionProfile_property_bindings>` | ``[]`` |
  19. +-----------------------------+---------------------------------------------------------------------------------------------------+--------+
  20. | :ref:`String<class_String>` | :ref:`interaction_profile_path<class_OpenXRInteractionProfile_property_interaction_profile_path>` | ``""`` |
  21. +-----------------------------+---------------------------------------------------------------------------------------------------+--------+
  22. Methods
  23. -------
  24. +-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  25. | :ref:`OpenXRIPBinding<class_OpenXRIPBinding>` | :ref:`get_binding<class_OpenXRInteractionProfile_method_get_binding>` **(** :ref:`int<class_int>` index **)** |const| |
  26. +-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`int<class_int>` | :ref:`get_binding_count<class_OpenXRInteractionProfile_method_get_binding_count>` **(** **)** |const| |
  28. +-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  29. Property Descriptions
  30. ---------------------
  31. .. _class_OpenXRInteractionProfile_property_bindings:
  32. - :ref:`Array<class_Array>` **bindings**
  33. +-----------+---------------------+
  34. | *Default* | ``[]`` |
  35. +-----------+---------------------+
  36. | *Setter* | set_bindings(value) |
  37. +-----------+---------------------+
  38. | *Getter* | get_bindings() |
  39. +-----------+---------------------+
  40. Action bindings for this interaction profile.
  41. ----
  42. .. _class_OpenXRInteractionProfile_property_interaction_profile_path:
  43. - :ref:`String<class_String>` **interaction_profile_path**
  44. +-----------+-------------------------------------+
  45. | *Default* | ``""`` |
  46. +-----------+-------------------------------------+
  47. | *Setter* | set_interaction_profile_path(value) |
  48. +-----------+-------------------------------------+
  49. | *Getter* | get_interaction_profile_path() |
  50. +-----------+-------------------------------------+
  51. The interaction profile path identifying the XR device.
  52. Method Descriptions
  53. -------------------
  54. .. _class_OpenXRInteractionProfile_method_get_binding:
  55. - :ref:`OpenXRIPBinding<class_OpenXRIPBinding>` **get_binding** **(** :ref:`int<class_int>` index **)** |const|
  56. Retrieve the binding at this index.
  57. ----
  58. .. _class_OpenXRInteractionProfile_method_get_binding_count:
  59. - :ref:`int<class_int>` **get_binding_count** **(** **)** |const|
  60. Get the number of bindings in this interaction profile.
  61. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  62. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  63. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  64. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  65. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  66. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`