Initial project import
This commit is contained in:
23
node_modules/three-stdlib/exporters/PLYExporter.d.ts
generated
vendored
Normal file
23
node_modules/three-stdlib/exporters/PLYExporter.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import { Object3D } from 'three';
|
||||
/**
|
||||
* https://github.com/gkjohnson/ply-exporter-js
|
||||
*
|
||||
* Usage:
|
||||
* const exporter = new PLYExporter();
|
||||
*
|
||||
* // second argument is a list of options
|
||||
* exporter.parse(mesh, data => console.log(data), { binary: true, excludeAttributes: [ 'color' ], littleEndian: true });
|
||||
*
|
||||
* Format Definition:
|
||||
* http://paulbourke.net/dataformats/ply/
|
||||
*/
|
||||
export interface PLYExporterOptions {
|
||||
binary?: boolean;
|
||||
excludeAttributes?: string[];
|
||||
littleEndian?: boolean;
|
||||
}
|
||||
declare class PLYExporter {
|
||||
parse(object: Object3D, onDone: ((res: string) => void) | undefined, options: PLYExporterOptions): string | ArrayBuffer | null;
|
||||
private traverseMeshes;
|
||||
}
|
||||
export { PLYExporter };
|
||||
Reference in New Issue
Block a user