Skip to main content
←API Reference ←com.nianticspatial.nsdk.scanning ←ScanningSession

computeVoxels


Declaration​

fun computeVoxels()

Summary​

Compute the voxelization of the scanned scene.


Processing is asynchronous. Call this function and then call voxelBuffer
to retrieve voxel data.


> Note: Voxel visualization must have been enabled in the configuration.

Throws​

  • ARDKStatusException — with code ARDKStatus.invalidOperation if the session was not successfully configured with voxel visualization enabled.

See also​

  • voxelBuffer
  • configure