Skip to main content
API Reference com.nianticspatial.nsdk

DepthBuffer

Depth result from ARDK's Depth System after computing disparity.

Declaration

data class DepthBuffer

Properties

NameTypeSummary
disparityMaxFloat
The maximum disparity value of the depth image.
disparityMinFloat
The minimum disparity value of the depth image.
frameIdLong
The unique identifier for the depth frame.
imageFloatArray
The depth image. Each pixel contains the estimated disparity value from 0 to 1. The image size is \ref imageWidth x \ref imageHeight.
imageHeightInt
The height of the depth image.
imageWidthInt
The width of the depth image.
intrinsicsCameraIntrinsics
The camera intrinsics of the depth frame.
orientationOrientation
The device orientation of the depth frame.
posePose
The camera pose of the depth frame.
timestampMsLong
The timestamp of the depth frame.