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

raycastBuffer


Declaration​

fun raycastBuffer(): RaycastBuffer?

Summary​

Get the most recently computed raycast buffers.


Once the session has been started and all the requested data has been sent through the
ARDK session, a buffer should become available after a brief computation period.


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

Returns​

The most recently computed raycast buffers if available, null if not.

See also​

  • configure