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

ARScanningManager

↳ extends UnityEngine.XR.ARFoundation.SubsystemLifecycleManager
A manager for recording scans of the AR scene for Playback....

Declaration

public class ARScanningManager : SubsystemLifecycleManager<XRScanningSubsystem, XRScanningSubsystemDescriptor, Provider>

Summary

A manager for recording scans of the AR scene for Playback. The recording will start when the manager is enabled. Use SaveScan() to stop and save the recording into the ScanPath.


Properties

NameTypeSummary
EnableRaycastVisualizationbool
-
EnableVoxelVisualizationbool
-
FarDepthfloat
-
FullResolutionEnabledbool
-
FullResolutionFramerateint
-
readonly LatestVoxelSizefloat
-
MinimumVoxelSizefloat
-
NearDepthfloat
-
ScanPathstring
-
ScanRecordingFramerateint
-
ScanTargetIdstring
-
UseEstimatedDepthbool
-
readonly VoxelColorsNativeArray<Color32>
-
readonly VoxelNormalsNativeArray<Vector3>
-
readonly VoxelPositionsNativeArray<Vector3>
-

Methods

NameTypeSummary
async DiscardScanTask
-
GetCurrentScanIdstring
-
GetRaycastColorTextureTexture2D
-
GetRaycastNormalTextureTexture2D
-
GetRaycastPositionTextureTexture2D
-
GetScanStoreScanStore
-
RequestVoxelUpdatevoid
-
async SaveScanTask
-
TryGetVoxelBufferbool
-