Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.VPS2

ARVps2Anchor

↳ extends UnityEngine.XR.ARFoundation.ARTrackable
Represents a Persistent Anchor tracked by an XR device.

Declaration​

public sealed class ARVps2Anchor : ARTrackable<XRVps2Anchor, ARVps2Anchor>

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​

NameTypeSummary
readonly geolocationNullable<XRGeolocation>
-
PredictedPosePose
-
readonly TimestampMsulong
-
readonly trackingConfidencefloat
-
readonly trackingStateTrackingState
-
readonly trackingStateReasonVps2AnchorTrackingStateReason
-

Methods​

NameTypeSummary
GetDataAsBytesbyte[]
-