UNPKG

@playcanvas/splat-transform

Version:

Library and CLI tool for 3D Gaussian splat format conversion and transformation

17 lines (16 loc) 705 B
import { DataTable } from '../data-table'; import { Param } from '../types'; /** * Reads splat data from a JavaScript module generator. * * The module must export a `Generator` class with a static `create(params)` method * that returns an object with `count`, `columnNames`, and `getRow(index, row)` properties. * This allows programmatic generation of splat data. * * @param moduleUrl - URL or path to the JavaScript module. * @param params - Parameters to pass to the generator's create method. * @returns Promise resolving to a DataTable containing the generated splat data. * @ignore */ declare const readMjs: (moduleUrl: string, params: Param[]) => Promise<DataTable>; export { readMjs };