:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/modules/openxr/doc_classes/OpenXRSpatialCapabilityConfigurationAprilTag.xml. .. _class_OpenXRSpatialCapabilityConfigurationAprilTag: OpenXRSpatialCapabilityConfigurationAprilTag ============================================ **Experimental:** This class may be changed or removed in future versions. **Inherits:** :ref:`OpenXRSpatialCapabilityConfigurationBaseHeader` **<** :ref:`RefCounted` **<** :ref:`Object` Configuration header for April tag markers. .. rst-class:: classref-introduction-group Description ----------- Configuration header for April tag markers. Pass this to :ref:`OpenXRSpatialEntityExtension.create_spatial_context()` to create a spatial context that can detect April tags. .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+-------+ | :ref:`AprilTagDict` | :ref:`april_dict` | ``4`` | +-------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+-------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedInt64Array` | :ref:`get_enabled_components`\ (\ ) |const| | +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_OpenXRSpatialCapabilityConfigurationAprilTag_AprilTagDict: .. rst-class:: classref-enumeration enum **AprilTagDict**: :ref:`🔗` .. _class_OpenXRSpatialCapabilityConfigurationAprilTag_constant_APRIL_TAG_DICT_16H5: .. rst-class:: classref-enumeration-constant :ref:`AprilTagDict` **APRIL_TAG_DICT_16H5** = ``1`` 4 by 4 bits, minimum Hamming distance between any two codes = 5, 30 codes. .. _class_OpenXRSpatialCapabilityConfigurationAprilTag_constant_APRIL_TAG_DICT_25H9: .. rst-class:: classref-enumeration-constant :ref:`AprilTagDict` **APRIL_TAG_DICT_25H9** = ``2`` 5 by 5 bits, minimum Hamming distance between any two codes = 9, 35 codes. .. _class_OpenXRSpatialCapabilityConfigurationAprilTag_constant_APRIL_TAG_DICT_36H10: .. rst-class:: classref-enumeration-constant :ref:`AprilTagDict` **APRIL_TAG_DICT_36H10** = ``3`` 6 by 6 bits, minimum Hamming distance between any two codes = 10, 2320 codes. .. _class_OpenXRSpatialCapabilityConfigurationAprilTag_constant_APRIL_TAG_DICT_36H11: .. rst-class:: classref-enumeration-constant :ref:`AprilTagDict` **APRIL_TAG_DICT_36H11** = ``4`` 6 by 6 bits, minimum Hamming distance between any two codes = 11, 587 codes. .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_OpenXRSpatialCapabilityConfigurationAprilTag_property_april_dict: .. rst-class:: classref-property :ref:`AprilTagDict` **april_dict** = ``4`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_april_dict**\ (\ value\: :ref:`AprilTagDict`\ ) - :ref:`AprilTagDict` **get_april_dict**\ (\ ) Dictionary to use to decode April tags. \ **Note:** Must be set before using this configuration to create a spatial context. .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_OpenXRSpatialCapabilityConfigurationAprilTag_method_get_enabled_components: .. rst-class:: classref-method :ref:`PackedInt64Array` **get_enabled_components**\ (\ ) |const| :ref:`🔗` Returns the components enabled by this configuration. \ **Note:** Only valid after this configuration was used to create a spatial context. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)` .. |void| replace:: :abbr:`void (No return value.)`