| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="OpenXRSpatialEntityTracker" inherits="XRPositionalTracker" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | Base class for Positional trackers managed by OpenXR's spatial entity extensions. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | 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 [code]TRACKER_ANCHOR[/code]. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <members> |
| 12 | <member name="entity" type="RID" setter="set_entity" getter="get_entity" default="RID()"> |
| 13 | The spatial entity associated with this tracker. |
| 14 | </member> |
| 15 | <member name="spatial_tracking_state" type="int" setter="set_spatial_tracking_state" getter="get_spatial_tracking_state" enum="OpenXRSpatialEntityTracker.EntityTrackingState" default="2"> |
| 16 | The spatial tracking state for this tracker. |
| 17 | </member> |
| 18 | <member name="type" type="int" setter="set_tracker_type" getter="get_tracker_type" overrides="XRTracker" enum="XRServer.TrackerType" default="8" /> |
| 19 | </members> |
| 20 | <signals> |
| 21 | <signal name="spatial_tracking_state_changed"> |
| 22 | <param index="0" name="spatial_tracking_state" type="int" /> |
| 23 | <description> |
| 24 | </description> |
| 25 | </signal> |
| 26 | </signals> |
| 27 | <constants> |
| 28 | <constant name="ENTITY_TRACKING_STATE_STOPPED" value="1" enum="EntityTrackingState"> |
| 29 | This anchor has stopped tracking. |
| 30 | </constant> |
| 31 | <constant name="ENTITY_TRACKING_STATE_PAUSED" value="2" enum="EntityTrackingState"> |
| 32 | Tracking is currently paused. |
| 33 | </constant> |
| 34 | <constant name="ENTITY_TRACKING_STATE_TRACKING" value="3" enum="EntityTrackingState"> |
| 35 | This anchor is currently being tracked. |
| 36 | </constant> |
| 37 | </constants> |
| 38 | </class> |