Interface IImportResultUserData

interface IImportResultUserData {
    __importData?: any;
    __needsSourceBuffer?: boolean;
    __sourceBlob?: IFile;
    __sourceBuffer?: ArrayBuffer;
    rootPath?: string;
}

Hierarchy (view full)

Properties

__importData?: any

extra arbitrary data saved by the importer that can be used by the plugins (like gltf material variants)

__needsSourceBuffer?: boolean

This can be set to true in the importer to indicate that the source buffer should be loaded and cached in the userdata during processRaw

__sourceBlob?: IFile

Cached source blob for the asset

__sourceBuffer?: ArrayBuffer

Cached source buffer for the asset (only cached when __needsSourceBuffer is set)

rootPath?: string

Generated using TypeDoc