DriftCapture · interface

PropHulls

A prop's hulls, and how much empty space they added.

Explained in DriftCapture.

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

Properties

NameTypeDescription
hullsreadonlyreadonly Float32Array[]xyz-packed points per hull, as COLL writes them and hullShape takes them.
bloatreadonlynumber(hullVolume − sourceVolume) / sourceVolume, from the decomposition itself.