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

ARVps2Manager

↳ extends UnityEngine.XR.ARFoundation.ARTrackableManager

Declaration

public class ARVps2Manager : ARTrackableManager<XRVps2Subsystem, XRVps2SubsystemDescriptor, Provider, XRVps2Anchor, ARVps2Anchor>

Properties

NameTypeSummary
AnchorDistanceGateMetersfloat
Distance gate in meters for anchor candidate filtering when geo-corrected.
Nodes farther than this distance from the device are skipped during anchor localization.
When only GPS is available (no geo-correction), the effective gate is 2x this value.
Pass 0 to use the default value (50 meters geo-corrected, 100 meters GPS-only).
Pass -1 to disable the distance check entirely.
ContinuousVpsRequestsPerSecondfloat
-
DeviceMapLocalizationEnabledbool
-
DeviceMapLocalizationFramerateint
-
GeolocationSmoothingEnabledbool
-
InitialVpsRequestsPerSecondfloat
-
MaxRequestsInTransitPerTargetuint
Maximum number of concurrent localization requests per target.
Pass 0 to use the default value (2).
UniversalLocalizationEnabledbool
-
UniversalLocalizationRequestsPerSecondfloat
-
VpsDebuggerEnabledbool
-
VpsMapLocalizationEnabledbool
-

Methods

NameTypeSummary
GetSessionIdbool
-
RemoveAnchorvoid
-
TryCreateAnchorbool
-
TryGetAnchorPayloadbool
-
TryGetDeviceGeolocationbool
Attempts to get the geolocation of the device's last known camera pose.
TryGetLatestLocalizationbool
-
TryGetPosebool
-
TryTrackAnchorbool
-

Events

NameTypeSummary
DebuggerDataReceivedAction<VpsDebuggerDataEvent>
-
LocalizationRequestRecordAddedAction<XRVps2LocalizationRequestRecord>
-

Relationships

derived: ARLocationManager