XRPersistentAnchor
Describes session-relative data for an anchor.
Declaration
public struct XRPersistentAnchor : ValueType, ITrackable, IEquatable<XRPersistentAnchor>Constructors
Constructor
public XRPersistentAnchor(TrackableId trackableId)
Overload
public XRPersistentAnchor(TrackableId trackableId, Pose pose, TrackingState trackingState, TrackingStateReason trackingStateReason, XRPersistentAnchorPayload xrPersistentAnchorPayload, ulong timestampMs, float trackingConfidence)
Properties
| Name | Type | Summary |
|---|---|---|
| static readonly defaultValue | XRPersistentAnchor | - |
| readonly nativePtr | IntPtr | - |
| readonly pose | Pose | - |
| readonly timestampMs | ulong | - |
| readonly trackableId | TrackableId | - |
| readonly trackingConfidence | float | - |
| readonly trackingState | TrackingState | - |
| readonly trackingStateReason | TrackingStateReason | - |
| readonly xrPersistentAnchorPayload | XRPersistentAnchorPayload | - |
Methods
| Name | Type | Summary |
|---|---|---|
| Equals | bool | - |
| GetHashCode | int | - |
Operators
| Name | Type | Summary |
|---|---|---|
| static != | bool | - |
| static == | bool | - |
Relationships
implements: UnityEngine.XR.ARSubsystems.ITrackable
implements: System.IEquatable