: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/OpenXRSpatialCapabilityConfigurationBaseHeader.xml. .. _class_OpenXRSpatialCapabilityConfigurationBaseHeader: OpenXRSpatialCapabilityConfigurationBaseHeader ============================================== **Experimental:** This class may be changed or removed in future versions. **Inherits:** :ref:`RefCounted` **<** :ref:`Object` **Inherited By:** :ref:`OpenXRSpatialCapabilityConfigurationAnchor`, :ref:`OpenXRSpatialCapabilityConfigurationAprilTag`, :ref:`OpenXRSpatialCapabilityConfigurationAruco`, :ref:`OpenXRSpatialCapabilityConfigurationMicroQrCode`, :ref:`OpenXRSpatialCapabilityConfigurationPlaneTracking`, :ref:`OpenXRSpatialCapabilityConfigurationQrCode` Wrapper base class for OpenXR Spatial Capability Configuration headers. .. rst-class:: classref-introduction-group Description ----------- Wrapper base class for OpenXR Spatial Capability Configuration headers. This class needs to be implemented for each capability configuration structure usable within OpenXR's spatial entities system. .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_configuration`\ (\ ) |virtual| | +-------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`_has_valid_configuration`\ (\ ) |virtual| |const| | +-------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_valid_configuration`\ (\ ) |const| | +-------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_OpenXRSpatialCapabilityConfigurationBaseHeader_private_method__get_configuration: .. rst-class:: classref-method :ref:`int` **_get_configuration**\ (\ ) |virtual| :ref:`🔗` Return a pointer (encoded as an ``int64_t``) to a struct holding the spatial capability configuration data. The memory for this struct should remain accessible as long as this object remains instantiated. .. rst-class:: classref-item-separator ---- .. _class_OpenXRSpatialCapabilityConfigurationBaseHeader_private_method__has_valid_configuration: .. rst-class:: classref-method :ref:`bool` **_has_valid_configuration**\ (\ ) |virtual| |const| :ref:`🔗` Return ``true`` if this object contains a valid configuration that can be retrieved when calling :ref:`_get_configuration()`. .. rst-class:: classref-item-separator ---- .. _class_OpenXRSpatialCapabilityConfigurationBaseHeader_method_has_valid_configuration: .. rst-class:: classref-method :ref:`bool` **has_valid_configuration**\ (\ ) |const| :ref:`🔗` Returns ``true`` if this object contains a valid configuration that can be used when calling :ref:`OpenXRSpatialEntityExtension.create_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.)`