Skip to main content
API Reference NianticSpatial.NSDK.AR.XRSubsystems

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

NameTypeSummary
static readonly defaultValueXRVps2Anchor
-
readonly geolocationNullable<XRGeolocation>
-
readonly nativePtrIntPtr
-
readonly posePose
-
readonly timestampMsulong
-
readonly trackableIdTrackableId
-
readonly trackingConfidencefloat
-
readonly trackingStateTrackingState
-
readonly trackingStateReasonTrackingStateReason
-

Methods

NameTypeSummary
Equalsbool
-
GetHashCodeint
-

Operators

NameTypeSummary
static !=bool
-
static ==bool
-

Relationships

implements: UnityEngine.XR.ARSubsystems.ITrackable

implements: System.IEquatable