class_openxrinteractionprofile.rst 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. This object stores suggested bindings for an interaction profile. Interaction profiles define the metadata for a tracked XR device such as an XR controller.
  15. 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>`__.
  16. .. rst-class:: classref-reftable-group
  17. Properties
  18. ----------
  19. .. table::
  20. :widths: auto
  21. +-----------------------------+---------------------------------------------------------------------------------------------------+--------+
  22. | :ref:`Array<class_Array>` | :ref:`bindings<class_OpenXRInteractionProfile_property_bindings>` | ``[]`` |
  23. +-----------------------------+---------------------------------------------------------------------------------------------------+--------+
  24. | :ref:`String<class_String>` | :ref:`interaction_profile_path<class_OpenXRInteractionProfile_property_interaction_profile_path>` | ``""`` |
  25. +-----------------------------+---------------------------------------------------------------------------------------------------+--------+
  26. .. rst-class:: classref-reftable-group
  27. Methods
  28. -------
  29. .. table::
  30. :widths: auto
  31. +-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------+
  32. | :ref:`OpenXRIPBinding<class_OpenXRIPBinding>` | :ref:`get_binding<class_OpenXRInteractionProfile_method_get_binding>`\ (\ index\: :ref:`int<class_int>`\ ) |const| |
  33. +-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------+
  34. | :ref:`int<class_int>` | :ref:`get_binding_count<class_OpenXRInteractionProfile_method_get_binding_count>`\ (\ ) |const| |
  35. +-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------+
  36. .. rst-class:: classref-section-separator
  37. ----
  38. .. rst-class:: classref-descriptions-group
  39. Property Descriptions
  40. ---------------------
  41. .. _class_OpenXRInteractionProfile_property_bindings:
  42. .. rst-class:: classref-property
  43. :ref:`Array<class_Array>` **bindings** = ``[]`` :ref:`🔗<class_OpenXRInteractionProfile_property_bindings>`
  44. .. rst-class:: classref-property-setget
  45. - |void| **set_bindings**\ (\ value\: :ref:`Array<class_Array>`\ )
  46. - :ref:`Array<class_Array>` **get_bindings**\ (\ )
  47. Action bindings for this interaction profile.
  48. .. rst-class:: classref-item-separator
  49. ----
  50. .. _class_OpenXRInteractionProfile_property_interaction_profile_path:
  51. .. rst-class:: classref-property
  52. :ref:`String<class_String>` **interaction_profile_path** = ``""`` :ref:`🔗<class_OpenXRInteractionProfile_property_interaction_profile_path>`
  53. .. rst-class:: classref-property-setget
  54. - |void| **set_interaction_profile_path**\ (\ value\: :ref:`String<class_String>`\ )
  55. - :ref:`String<class_String>` **get_interaction_profile_path**\ (\ )
  56. The interaction profile path identifying the XR device.
  57. .. rst-class:: classref-section-separator
  58. ----
  59. .. rst-class:: classref-descriptions-group
  60. Method Descriptions
  61. -------------------
  62. .. _class_OpenXRInteractionProfile_method_get_binding:
  63. .. rst-class:: classref-method
  64. :ref:`OpenXRIPBinding<class_OpenXRIPBinding>` **get_binding**\ (\ index\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_OpenXRInteractionProfile_method_get_binding>`
  65. Retrieve the binding at this index.
  66. .. rst-class:: classref-item-separator
  67. ----
  68. .. _class_OpenXRInteractionProfile_method_get_binding_count:
  69. .. rst-class:: classref-method
  70. :ref:`int<class_int>` **get_binding_count**\ (\ ) |const| :ref:`🔗<class_OpenXRInteractionProfile_method_get_binding_count>`
  71. Get the number of bindings in this interaction profile.
  72. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  73. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  74. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  75. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  76. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  77. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  78. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  79. .. |void| replace:: :abbr:`void (No return value.)`