DriftCapture · interface

SurfaceView

One view's opinion: its depth, how well covered each pixel was, and where it stood.

Explained in DriftCapture.

interface SurfaceView
import 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

NameTypeDescription
depthreadonlyFloat32ArrayAlong the camera's own axis, in metres; zero where nothing was seen.
coveragereadonlyFloat32ArrayNought to one, as renderDepth answers it.
camerareadonlyRasterCamera