ThreePipe
    Preparing search index...

    Interface IGeometryUserData

    interface IGeometryUserData {
        __importData?: any;
        __needsSourceBuffer?: boolean;
        __sourceBlob?: IFile;
        __sourceBuffer?: ArrayBuffer;
        animationObjects?: AnimationObject<any>[];
        constraints?: ObjectConstraint<keyof ConstraintPropsTypes>[];
        disposeOnIdle?: boolean;
        rootPath?: string;
        rootPathOptions?: Record<string, any>;
        rootPathRefresh?: boolean;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    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)

    animationObjects?: AnimationObject<any>[]
    constraints?: ObjectConstraint<keyof ConstraintPropsTypes>[]
    disposeOnIdle?: boolean

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

    true
    
    rootPath?: string

    The path from which the asset was downloaded/imported.

    rootPathOptions?: Record<string, any>

    Incase files are loaded as different extensions(like for json), this will be set.

    rootPathRefresh?: boolean

    Whether to refresh this object from the asset manager when its loaded as an embedded object