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

voxelBuffer

Get the most recently computed voxel data. Once the session has been started and all the requested data has been sent through the ARDK session, a new buffer should become available after a brief computation period after [computeVoxels] has been called. > Note: Voxel visualization must have been enabled in the configuration.

Declaration

fun voxelBuffer(): VoxelBuffer?

Summary

Get the most recently computed voxel data. Once the session has been started and all the requested data has been sent through the ARDK session, a new buffer should become available after a brief computation period after [computeVoxels] has been called. > Note: Voxel visualization must have been enabled in the configuration.

Returns

The most recently computed voxel data if available, null if not.


ON THIS PAGE