OpenXRAndroidTrackableTracker
Inherits: XRPositionalTracker
Inherited By: OpenXRAndroidTrackableObjectTracker, OpenXRAndroidTrackablePlaneTracker
Base class for trackable types.
Description
Base class for trackable types.
NOTE: Calling any getter function here or in deriving classes will always ensure the latest state.
Methods
Transform3D |
get_center_pose ( ) |
Signals
updated ( )
Signal emitted when the XR runtime determines that this tracker's state was updated.
Enumerations
enum TrackingState:
TrackingState TRACKING_STATE_PAUSED = 0
Tracking is paused but may be resumed in the future.
TrackingState TRACKING_STATE_STOPPED = 1
Tracking has stopped for this tracker and will never be resumed.
TrackingState TRACKING_STATE_TRACKING = 2
This tracker's pose and other data is being updated and is current.
TrackingState TRACKING_STATE_UNKNOWN = 3
The tracker state is none of the other states, usually due to an error.
Method Descriptions
Transform3D get_center_pose ( )
Return the latest Transform3D from the XR runtime. This may not equal this node's Node3D.global_transform if it's called before OpenXRAndroidTrackablesExtension's process.
TrackingState get_tracking_state ( )
Returns the current TrackingState of this tracker.