Splats · interface
SplatCaptureOptions
Explained in Gaussian splats.
interface SplatCaptureOptionsimport type { SplatCaptureOptions } from '@driftengine/splats';Properties
| Name | Type | Description |
|---|---|---|
totalreadonly | number | Splats in the whole capture. Every array is allocated for this and never grows. |
boundsMinreadonly | ArrayLike<number> | The whole capture's extent, which a .drft block carries in its own header. |
boundsMaxreadonly | ArrayLike<number> | |
sphericalHarmonicsreadonlyoptional | number | Coefficients the source carried, of which the shader reads the first band. Recorded. |
wordsPerSplatreadonlyoptional | number | Words in one record, from the block's own header.MoreTaken from the file rather than assumed, which is what |