threepipe
Version:
A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.
21 lines • 566 B
TypeScript
import { ImportResult } from './IAssetImporter';
export type IAssetID = string;
export type IFile = Blob & Partial<File> & {
objectUrl?: string;
ext?: string;
mime?: string;
__loadedAsset?: ImportResult | ImportResult[];
};
export interface IAsset {
id?: IAssetID;
path: string;
file?: IFile;
preImportedRaw?: Promise<ImportResult | ImportResult[] | undefined>;
preImported?: ImportResult[];
[id: string]: any;
}
export interface IAssetList {
basePath?: string;
assets: IAsset[];
}
//# sourceMappingURL=IAsset.d.ts.map