DriftCapture · interface
SurfaceView
One view's opinion: its depth, how well covered each pixel was, and where it stood.
Explained in DriftCapture.
interface SurfaceViewimport type { SurfaceView } from '@driftengine/capture';In depth
Not DepthView, which is the depth model's shape — that one carries a confidence and its
own 3 × 3 intrinsics and does not know the size of its own frame. The two say much the same thing
in two forms, and the pipeline that joins them is the place to convert, not here.
Properties
| Name | Type | Description |
|---|---|---|
depthreadonly | Float32Array | Along the camera's own axis, in metres; zero where nothing was seen. |
coveragereadonly | Float32Array | Nought to one, as renderDepth answers it. |
camerareadonly | RasterCamera |