luma-splatting-for-babylonjs
Version:
LumaAI Web Library for Babylon.js
8 lines (7 loc) • 383 B
TypeScript
import { IGSPointCloudMeta } from './api/types';
/**
* Code from https://github.com/dylanebert/gsplat.js/blob/main/src/loaders/PLYLoader.ts Under MIT license
* Loads a .ply from data array buffer
* if data array buffer is not ply, returns the original buffer
*/
export declare const convertLumaPlyToSplatData: (data: ArrayBufferLike, metadata: IGSPointCloudMeta) => ArrayBuffer;