Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine.Experimental.XR
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Provides methods and properties that allow for querying, creating, and removing of reference points. These reference points are cues to the XRSessionSubsystem that indicate areas of interest in the environment which helps assure that tracking of these points remains accurate.
|LastUpdatedFrame||The frame during which the reference points were last updated.|
|GetAllReferencePoints||Retrieves all ReferencePoints added by calls to XRReferencePointSubsystem.TryAddReferencePoint.|
|TryAddReferencePoint||Attempt to add a ReferencePoint that gets tracked by the device.|
|TryGetReferencePoint||Attempt to retrieve a ReferencePoint.|
|TryRemoveReferencePoint||Attempt to remove a ReferencePoint getting tracked by the device.|
|ReferencePointUpdated||Raised each frame for each ReferencePoint that had the values of its position, rotation, or both changed enough by the device correcting its understanding of where the point should be located in Unity space.|
Did you find this page useful? Please give it a rating: