Version: 2018.4
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

ReferencePoint

struct in UnityEngine.Experimental.XR

/

Implemented in:UnityEngine.XRModule

Suggest a change

Success!

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

Submission failed

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

Cancel

Description

Describes the transform data of a real-world point.

To track and stabilize around important points in the real world, add a ReferencePoint at the point of interest, and respond to updates to that ReferencePoint. Each frame, each ReferencePoint may have its position and rotation updated (see Environment.ReferencePointUpdated) as the device gains a more thorough understanding of where that point is in Unity space.

Properties

IdID for the reference point that is unique across the session.
PoseThe pose (position and rotation) of the reference point. Respond to changes in this pose to correct for changes in the device's understanding of where this point is in the real world.
TrackingStateThe TrackingState of the reference point.