UNPKG

@loaders.gl/ply

Version:

Framework-independent loader for the PLY format

27 lines (26 loc) 763 B
// __VERSION__ is injected by babel-plugin-version-inline // @ts-ignore TS2304: Cannot find name '__VERSION__'. const VERSION = typeof "4.3.2" !== 'undefined' ? "4.3.2" : 'latest'; /** * 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 const PLYLoader = { dataType: null, batchType: null, name: 'PLY', id: 'ply', module: 'ply', // shapes: ['mesh', 'gltf', 'columnar-table'], version: VERSION, worker: true, extensions: ['ply'], mimeTypes: ['text/plain', 'application/octet-stream'], text: true, binary: true, tests: ['ply'], options: { ply: {} } };