DriftCapture · interface
Volume
A field of samples over a box of the world, x fastest, then y, then z.
Explained in DriftCapture.
interface Volumeimport type { Volume } from '@driftengine/capture';Properties
| Name | Type | Description |
|---|---|---|
dimsreadonly | readonly [number, number, number] | |
originreadonly | readonly [number, number, number] | Where the first sample sits, in the capture's world. |
spacingreadonly | number | Metres between samples, the same on every axis. |
distancereadonly | Float32Array | Truncated signed distance in metres, negative inside. |
weightreadonly | Float32Array | How much evidence each sample has; zero where no view ever saw it. |