Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

OpenXRSpatialEntityTracker๏ƒ

Experimental: This class may be changed or removed in future versions.

Inherits: XRPositionalTracker < XRTracker < RefCounted < Object

Inherited By: OpenXRAnchorTracker, OpenXRMarkerTracker, OpenXRPlaneTracker

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

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.

Properties๏ƒ

RID

entity

RID()

EntityTrackingState

spatial_tracking_state

2

TrackerType

type

8 (overrides XRTracker)


Signals๏ƒ

spatial_tracking_state_changed(spatial_tracking_state: int) ๐Ÿ”—

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


Enumerations๏ƒ

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.


Property Descriptions๏ƒ

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.