OpenXRSpatialEntityTracker (original) (raw)

Godot Engine

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.

Checking the stable version of the documentation...

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


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() 🔗

The spatial entity associated with this tracker.


EntityTrackingState spatial_tracking_state = 2 🔗

The spatial tracking state for this tracker.