class DepthTester


Controls simulated Depth in unit tests.

Summary

Public properties

Int

the height of the androidx.xr.arcore.Depth

ByteBuffer?

the ByteBuffer containing raw depth confidence

FloatBuffer?

the FloatBuffer containing raw depth data

ByteBuffer?

the ByteBuffer containing smooth depth confidence

FloatBuffer?

the FloatBuffer containing smooth depth data

Int

the width of the androidx.xr.arcore.Depth

Public properties

height

Added in 1.0.0-rc01
var heightInt

the height of the androidx.xr.arcore.Depth

rawConfidenceMap

Added in 1.0.0-rc01
var rawConfidenceMapByteBuffer?

the ByteBuffer containing raw depth confidence

rawDepthMap

Added in 1.0.0-rc01
var rawDepthMapFloatBuffer?

the FloatBuffer containing raw depth data

smoothConfidenceMap

Added in 1.0.0-rc01
var smoothConfidenceMapByteBuffer?

the ByteBuffer containing smooth depth confidence

smoothDepthMap

Added in 1.0.0-rc01
var smoothDepthMapFloatBuffer?

the FloatBuffer containing smooth depth data

width

Added in 1.0.0-rc01
var widthInt

the width of the androidx.xr.arcore.Depth