ARPersistentAnchor
↳ extends UnityEngine.XR.ARFoundation.ARTrackable
Represents a Persistent Anchor tracked by an XR device.
Declaration
public sealed class ARPersistentAnchor : ARTrackable<XRPersistentAnchor, ARPersistentAnchor>Remarks
Persistent anchors are persistent Poses in the world that are generated by processed scans, and will be in the same real world location in future sessions. By placing virtual content relative to a Persistent Anchor, it can be restored to the same real world location in a future session.
Properties
| Name | Type | Summary |
|---|---|---|
| readonly nativePtr | IntPtr | - |
| PredictedPose | Pose | - |
| readonly TimestampMs | ulong | - |
| readonly trackingConfidence | float | - |
| readonly trackingState | TrackingState | - |
| readonly trackingStateReason | TrackingStateReason | - |
Methods
| Name | Type | Summary |
|---|---|---|
| DeregisterInterpolator | void | - |
| GetDataAsBytes | byte[] | - |
| RegisterInterpolator | void | - |