SPLATLoader
SPLATLoader parses raw .splat Gaussian splat files and returns a Mesh Arrow table.
| Property | Value |
|---|---|
| File format | SPLAT |
| Extensions | .splat |
| Worker | No |
| Input type | ArrayBuffer |
| Output shape | arrow-table |
Usage​
import {load} from '@loaders.gl/core';
import {SPLATLoader} from '@loaders.gl/splats';
const table = await load(url, SPLATLoader);
The returned table uses GraphDECO-style Gaussian splat columns and can be passed to SplatLayer.
Options​
| Option | Type | Default | Description |
|---|---|---|---|
splats.shape | 'arrow-table' | 'arrow-table' | Selects Mesh Arrow table output. V1 only supports arrow-table. |