@playcanvas/splat-transform
Version:
Library and CLI tool for 3D Gaussian splat format conversion and transformation
15 lines (14 loc) • 556 B
TypeScript
import { DataTable } from '../data-table';
import { ReadSource } from '../io/read';
/**
* Reads an Antimatter15 .splat file containing Gaussian splat data.
*
* The .splat format stores each splat as 32 bytes with position, scale, color,
* opacity, and rotation data in a compact binary format.
*
* @param source - The read source providing access to the .splat file data.
* @returns Promise resolving to a DataTable containing the splat data.
* @ignore
*/
declare const readSplat: (source: ReadSource) => Promise<DataTable>;
export { readSplat };