@loaders.gl/i3s
Version:
i3s .
44 lines • 1.62 kB
TypeScript
import type { StrictLoaderOptions } from '@loaders.gl/loader-utils';
import type { I3STilesetHeader } from "./types.js";
import { COORDINATE_SYSTEM } from "./lib/parsers/constants.js";
import { I3SParseOptions } from "./types.js";
export type I3SLoaderOptions = StrictLoaderOptions & {
i3s?: I3SParseOptions & {
/** For I3SAttributeLoader */
attributeName?: string;
/** For I3SAttributeLoader */
attributeType?: string;
};
};
/**
* Loader for I3S - Indexed 3D Scene Layer
*/
export declare const I3SLoader: {
readonly dataType: I3STilesetHeader;
readonly batchType: never;
readonly name: "I3S (Indexed Scene Layers)";
readonly id: "i3s";
readonly module: "i3s";
readonly version: any;
readonly mimeTypes: ["application/octet-stream"];
readonly parse: typeof parseI3S;
readonly extensions: ["bin"];
readonly options: {
readonly i3s: {
readonly token: undefined;
readonly isTileset: "auto";
readonly isTileHeader: "auto";
readonly tile: undefined;
readonly tileset: undefined;
readonly _tileOptions: undefined;
readonly _tilesetOptions: undefined;
readonly useDracoGeometry: true;
readonly useCompressedTextures: true;
readonly decodeTextures: true;
readonly coordinateSystem: COORDINATE_SYSTEM.METER_OFFSETS;
};
};
};
declare function parseI3S(data: any, options: I3SLoaderOptions | undefined, context: any): Promise<I3STilesetHeader>;
export {};
//# sourceMappingURL=i3s-loader.d.ts.map