OpenXRSpatialEntityTracker

实验性: This class may be changed or removed in future versions.

继承: XRPositionalTracker < XRTracker < RefCounted < Object

派生: OpenXRAnchorTracker, OpenXRMarkerTracker, OpenXRPlaneTracker

Base class for Positional trackers managed by OpenXR's spatial entity extensions.

描述

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.

属性

RID

entity

RID()

EntityTrackingState

spatial_tracking_state

2

TrackerType

type

8 (overrides XRTracker)


信号

spatial_tracking_state_changed(spatial_tracking_state: int) 🔗

There is currently no description for this signal. Please help us by contributing one!


枚举

enum EntityTrackingState: 🔗

EntityTrackingState ENTITY_TRACKING_STATE_STOPPED = 1

This anchor has stopped tracking.

EntityTrackingState ENTITY_TRACKING_STATE_PAUSED = 2

Tracking is currently paused.

EntityTrackingState ENTITY_TRACKING_STATE_TRACKING = 3

This anchor is currently being tracked.


属性说明

RID entity = RID() 🔗

  • void set_entity(value: RID)

  • RID get_entity()

The spatial entity associated with this tracker.


EntityTrackingState spatial_tracking_state = 2 🔗

The spatial tracking state for this tracker.