Interface IGeometryUserData

interface IGeometryUserData {
    __importData?: any;
    __needsSourceBuffer?: boolean;
    __sourceBlob?: IFile;
    __sourceBuffer?: ArrayBuffer;
    disposeOnIdle?: boolean;
    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)

disposeOnIdle?: boolean

Automatically dispose geometry when not used by any object in the scene

Default

true
rootPath?: string

Generated using TypeDoc