From 173105596e428cd4cd043a158c10b71f612f9783 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Wed, 19 Jan 2022 19:21:06 +1100 Subject: Adding a tracking confidence state to XRPose --- doc/classes/XRPose.xml | 14 ++++++++++++++ doc/classes/XRPositionalTracker.xml | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'doc/classes') diff --git a/doc/classes/XRPose.xml b/doc/classes/XRPose.xml index 0de2bc9e48..4a09122b40 100644 --- a/doc/classes/XRPose.xml +++ b/doc/classes/XRPose.xml @@ -34,8 +34,22 @@ - [code]grip[/code] defines the location where the user grips the controller - [code]skeleton[/code] defines the root location a hand mesh should be placed when using hand tracking and the animated skeleton supplied by the XR runtime. + + The tracking confidence for this pose, provides insight on how accurate the spatial positioning of this record is. + The transform containing the original and transform as reported by the XR runtime. + + + No tracking information is available for this pose. + + + Tracking information may be inaccurate or estimated. For instance with inside out tracking this would indicate a controller may be (partially) obscured. + + + Tracking information is deemed accurate and up to date. + + diff --git a/doc/classes/XRPositionalTracker.xml b/doc/classes/XRPositionalTracker.xml index 439bcfc382..c39a4aa7a7 100644 --- a/doc/classes/XRPositionalTracker.xml +++ b/doc/classes/XRPositionalTracker.xml @@ -54,8 +54,9 @@ + - Sets the transform, linear velocity and angular velocity for the given pose. This method is called by a [XRInterface] implementation and should not be used directly. + Sets the transform, linear velocity, angular velocity and tracking confidence for the given pose. This method is called by a [XRInterface] implementation and should not be used directly. -- cgit v1.2.3