: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/OpenXRSpatialEntityTracker.xml. .. _class_OpenXRSpatialEntityTracker: OpenXRSpatialEntityTracker ========================== **Experimental:** This class may be changed or removed in future versions. **Inherits:** :ref:`XRPositionalTracker` **<** :ref:`XRTracker` **<** :ref:`RefCounted` **<** :ref:`Object` **Inherited By:** :ref:`OpenXRAnchorTracker`, :ref:`OpenXRMarkerTracker`, :ref:`OpenXRPlaneTracker` Base class for Positional trackers managed by OpenXR's spatial entity extensions. .. rst-class:: classref-introduction-group Description ----------- These are trackers created and managed by OpenXR's spatial entity extensions that give access to specific data related to OpenXR's spatial entities. They will always be of type ``TRACKER_ANCHOR``. .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------+-------------------------------------------------------------------+ | :ref:`RID` | :ref:`entity` | ``RID()`` | +---------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------+-------------------------------------------------------------------+ | :ref:`EntityTrackingState` | :ref:`spatial_tracking_state` | ``2`` | +---------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------+-------------------------------------------------------------------+ | :ref:`TrackerType` | type | ``8`` (overrides :ref:`XRTracker`) | +---------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------+-------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Signals ------- .. _class_OpenXRSpatialEntityTracker_signal_spatial_tracking_state_changed: .. rst-class:: classref-signal **spatial_tracking_state_changed**\ (\ spatial_tracking_state\: :ref:`int`\ ) :ref:`🔗` .. container:: contribute There is currently no description for this signal. Please help us by `contributing one `__! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_OpenXRSpatialEntityTracker_EntityTrackingState: .. rst-class:: classref-enumeration enum **EntityTrackingState**: :ref:`🔗` .. _class_OpenXRSpatialEntityTracker_constant_ENTITY_TRACKING_STATE_STOPPED: .. rst-class:: classref-enumeration-constant :ref:`EntityTrackingState` **ENTITY_TRACKING_STATE_STOPPED** = ``1`` This anchor has stopped tracking. .. _class_OpenXRSpatialEntityTracker_constant_ENTITY_TRACKING_STATE_PAUSED: .. rst-class:: classref-enumeration-constant :ref:`EntityTrackingState` **ENTITY_TRACKING_STATE_PAUSED** = ``2`` Tracking is currently paused. .. _class_OpenXRSpatialEntityTracker_constant_ENTITY_TRACKING_STATE_TRACKING: .. rst-class:: classref-enumeration-constant :ref:`EntityTrackingState` **ENTITY_TRACKING_STATE_TRACKING** = ``3`` This anchor is currently being tracked. .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_OpenXRSpatialEntityTracker_property_entity: .. rst-class:: classref-property :ref:`RID` **entity** = ``RID()`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_entity**\ (\ value\: :ref:`RID`\ ) - :ref:`RID` **get_entity**\ (\ ) The spatial entity associated with this tracker. .. rst-class:: classref-item-separator ---- .. _class_OpenXRSpatialEntityTracker_property_spatial_tracking_state: .. rst-class:: classref-property :ref:`EntityTrackingState` **spatial_tracking_state** = ``2`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_spatial_tracking_state**\ (\ value\: :ref:`EntityTrackingState`\ ) - :ref:`EntityTrackingState` **get_spatial_tracking_state**\ (\ ) The spatial tracking state for this tracker. .. |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.)`