DriftCapture · interface

DelightOut

What comes back, one entry per vertex of the mesh handed in.

Explained in DriftCapture.

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

Properties

NameTypeDescription
albedoreadonlyFloat32ArrayThree per vertex, linear.
roughnessreadonlyFloat32ArrayOne per vertex.
normalreadonlyFloat32ArrayThree per vertex: the mesh's own, answered here so a caller has one surface to read.
confidencereadonlyFloat32ArrayOne per vertex, 0 to 1.