@loaders.gl/ply
Version:
Framework-independent loader for the PLY format
32 lines • 1.08 kB
TypeScript
import type { LoaderOptions } from '@loaders.gl/loader-utils';
import { PLYMesh } from "./lib/ply-types.js";
import type { ParsePLYOptions } from "./lib/parse-ply.js";
export type PLYLoaderOptions = LoaderOptions & {
ply?: ParsePLYOptions & {
/** Override the URL to the worker bundle (by default loads from unpkg.com) */
workerUrl?: string;
};
};
/**
* Worker loader for PLY - Polygon File Format (aka Stanford Triangle Format)'
* links: ['http://paulbourke.net/dataformats/ply/',
* 'https://en.wikipedia.org/wiki/PLY_(file_format)']
*/
export declare const PLYLoader: {
readonly dataType: PLYMesh;
readonly batchType: never;
readonly name: "PLY";
readonly id: "ply";
readonly module: "ply";
readonly version: any;
readonly worker: true;
readonly extensions: ["ply"];
readonly mimeTypes: ["text/plain", "application/octet-stream"];
readonly text: true;
readonly binary: true;
readonly tests: ["ply"];
readonly options: {
readonly ply: {};
};
};
//# sourceMappingURL=ply-loader.d.ts.map