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
| Name | Type | Summary |
|---|---|---|
| EnableRaycastVisualization | bool | - |
| EnableVoxelVisualization | bool | - |
| FarDepth | float | - |
| FullResolutionEnabled | bool | - |
| FullResolutionFramerate | int | - |
| readonly LatestVoxelSize | float | - |
| MinimumVoxelSize | float | - |
| NearDepth | float | - |
| ScanPath | string | - |
| ScanRecordingFramerate | int | - |
| ScanTargetId | string | - |
| UseEstimatedDepth | bool | - |
| readonly VoxelColors | NativeArray<Color32> | - |
| readonly VoxelNormals | NativeArray<Vector3> | - |
| readonly VoxelPositions | NativeArray<Vector3> | - |
Methods
| Name | Type | Summary |
|---|---|---|
| async DiscardScan | Task | - |
| GetCurrentScanId | string | - |
| GetRaycastColorTexture | Texture2D | - |
| GetRaycastNormalTexture | Texture2D | - |
| GetRaycastPositionTexture | Texture2D | - |
| GetScanStore | ScanStore | - |
| RequestVoxelUpdate | void | - |
| async SaveScan | Task | - |
| TryGetVoxelBuffer | bool | - |