Class ARReferencePoint
Represents a Reference Point tracked by an XR device.
Inheritance
ARReferencePoint
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.XR.ARFoundation
Syntax
[DefaultExecutionOrder(-2147483646)]
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.0/api/UnityEngine.XR.ARFoundation.ARReferencePoint.html")]
[Obsolete("ARReferencePoint has been deprecated. Use ARAnchor instead (UnityUpgradable) -> UnityEngine.XR.ARFoundation.ARAnchor", true)]
public sealed class ARReferencePoint : ARTrackable<XRReferencePoint, ARReferencePoint>
Remarks
A reference point is a pose in the physical environment that is tracked by an XR device. As the device refines its understanding of the environment, reference points will be updated, helping you to keep virtual content connected to a real-world position and orientation.
Properties
nativePtr
Get the native pointer associated with this ARReferencePoint.
Declaration
public IntPtr nativePtr { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Remarks
The data pointed to by this pointer is implementation defined. While its lifetime is also implementation defined, it should be valid until at least the next ARSession update.
sessionId
Get the session identifier from which this reference point originated.
Declaration
public Guid sessionId { get; }
Property Value
Type | Description |
---|---|
Guid |