UNPKG

@loaders.gl/obj

Version:

Framework-independent loader for the OBJ format

29 lines 852 B
import type { LoaderOptions } from '@loaders.gl/loader-utils'; import { Mesh } from '@loaders.gl/schema'; export type OBJLoaderOptions = LoaderOptions & { obj?: { /** Override the URL to the worker bundle (by default loads from unpkg.com) */ workerUrl?: string; }; }; /** * Worker loader for the OBJ geometry format */ export declare const OBJLoader: { readonly dataType: Mesh; readonly batchType: never; readonly name: "OBJ"; readonly id: "obj"; readonly module: "obj"; readonly version: any; readonly worker: true; readonly extensions: ["obj"]; readonly mimeTypes: ["text/plain"]; readonly testText: typeof testOBJFile; readonly options: { readonly obj: {}; }; }; declare function testOBJFile(text: string): boolean; export {}; //# sourceMappingURL=obj-loader.d.ts.map