@playcanvas/splat-transform
Version:
Library and CLI tool for 3D Gaussian splat format conversion and transformation
24 lines (23 loc) • 782 B
TypeScript
import { DataTable } from '../data-table';
import { type FileSystem } from '../io/write';
import type { DeviceCreator } from '../types';
type WriteHtmlOptions = {
filename: string;
dataTable: DataTable;
viewerSettingsJson?: any;
bundle: boolean;
iterations: number;
createDevice?: DeviceCreator;
};
/**
* Writes Gaussian splat data as a self-contained HTML viewer.
*
* Creates an interactive 3D viewer that can be opened directly in a browser.
* Uses the PlayCanvas SuperSplat viewer for rendering.
*
* @param options - Options including filename, data, and viewer settings.
* @param fs - File system for writing output files.
* @ignore
*/
declare const writeHtml: (options: WriteHtmlOptions, fs: FileSystem) => Promise<void>;
export { writeHtml };