Version: 2019.2
Experimental: this API is experimental and might be changed or removed in the future.

ReferencePoint

struct in UnityEngine.Experimental.XR

Switch to Manual

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.

Variables

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.