threepipe
Version:
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
32 lines • 773 B
TypeScript
import { ImportResult } from './IAssetImporter';
export type IAssetID = string;
export type IFile = Blob & Partial<File> & {
objectUrl?: string;
ext?: string;
mime?: string;
filePath?: string;
__loadedAsset?: ImportResult | ImportResult[];
};
export interface IAsset {
id?: IAssetID;
path: string;
file?: IFile;
/**
* @internal
*/
preImportedRaw?: Promise<ImportResult | ImportResult[] | undefined>;
/**
* @internal
*/
preImported?: ImportResult[];
/**
* @internal - serialized options for internal caching
*/
_options?: string;
[id: string]: any;
}
export interface IAssetList {
basePath?: string;
assets: IAsset[];
}
//# sourceMappingURL=../src/assetmanager/IAsset.d.ts.map