XRVps2Anchor
Describes session-relative data for an anchor.
Declaration
public struct XRVps2Anchor : ValueType, ITrackable, IEquatable<XRVps2Anchor>Constructors
Constructor
public XRVps2Anchor(TrackableId trackableId)
Overload 1
public XRVps2Anchor(TrackableId trackableId, bool initializing)
Overload 2
public XRVps2Anchor(TrackableId trackableId, Pose pose, TrackingState trackingState, TrackingStateReason trackingStateReason, XRPersistentAnchorPayload xrPersistentAnchorPayload, ulong timestampMs, float trackingConfidence, Nullable<XRGeolocation> geolocation)
Properties
| Name | Type | Summary |
|---|---|---|
| static readonly defaultValue | XRVps2Anchor | - |
| readonly geolocation | Nullable<XRGeolocation> | - |
| readonly nativePtr | IntPtr | - |
| readonly pose | Pose | - |
| readonly timestampMs | ulong | - |
| readonly trackableId | TrackableId | - |
| readonly trackingConfidence | float | - |
| readonly trackingState | TrackingState | - |
| readonly trackingStateReason | TrackingStateReason | - |
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