UnitySwiftKotlinReading this with an AI agent?Read this page as plain text instead: https://www.nianticspatial.com/docs/llms-api-kotlin/com.nianticspatial.nsdk.scanning.ScanningSession.raycastBuffer.txt — same content, easier to parse than this HTML, with each platform's steps kept separate.Every page in the current release follows the same pattern, so you can build the URL directly instead of fetching an index: a page at /api/kotlin/<page>/ is at /llms-api-kotlin/<page>.txt.For every page in this section, read https://www.nianticspatial.com/docs/llms-api-kotlin.txt; for every section of these docs, read https://www.nianticspatial.com/docs/llms.txt.←API Reference Return to API Reference index←packagecom.nianticspatial.nsdk.scanning com.nianticspatial.nsdk.scanning←classScanningSession com.nianticspatial.nsdk.scanning.ScanningSession Function raycastBuffer 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
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.