Splats · interface
SplatSorterOptions
Explained in Gaussian splats.
interface SplatSorterOptionsimport type { SplatSorterOptions } from '@driftengine/splats';Properties
| Name | Type | Description |
|---|---|---|
splatsreadonly | SplatData | The capture. Its positions, extents and bounds are all read; its packed texels are not. |
sortreadonlyoptional | SplatSortFn | Defaults to a Blob worker, falling back to the main thread. See createDefaultSplatSort. |
budgetreadonlyoptional | number | The most splats to draw. Zero, or anything at or above the capture's count, draws all of them.More
|
moveFractionreadonlyoptional | number | Overrides RESORT_MOVE_FRACTION. Only consulted when there is a budget. |
readyreadonlyoptional | () => number | How many of the capture's splats have actually arrived. Defaults to all of them.MoreA capability rather than a number, because it changes while a capture streams. A
|