DriftCapture · interface

MaskView

Where a model is prompted, and what came back for each prompt.

Explained in DriftCapture.

interface MaskView
import type { MaskView } from '@driftengine/capture';

Properties

NameTypeDescription
maskreadonlyInt32ArrayOne mask index per pixel, or −1 where the model claimed nothing.
widthreadonlynumber
heightreadonlynumber
worldToCamerareadonlyFloat64Array3 × 4 row-major world-to-camera.
intrinsicsreadonlyreadonly [number, number, number, number]fx, fy, cx, cy.