DriftCapture · interface
MaskView
Where a model is prompted, and what came back for each prompt.
Explained in DriftCapture.
interface MaskViewimport type { MaskView } from '@driftengine/capture';Properties
| Name | Type | Description |
|---|---|---|
maskreadonly | Int32Array | One mask index per pixel, or −1 where the model claimed nothing. |
widthreadonly | number | |
heightreadonly | number | |
worldToCamerareadonly | Float64Array | 3 × 4 row-major world-to-camera. |
intrinsicsreadonly | readonly [number, number, number, number] | fx, fy, cx, cy. |