ThreePipe
    Preparing search index...

    Interface LoadFileOptions

    interface LoadFileOptions {
        createUniqueNames?: boolean;
        fileExtension?: string;
        fileHandler?: ILoader<any, any>;
        queryString?: string;
        rootPath?: string;
        useMeshLines?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    createUniqueNames?: boolean

    If true, the loader will create unique names for objects in the gltf file when multiple objects with the same name are found.

    Note - Only for gltf, glb files or files loaded with GLTFLoader2. If this flag is not passed, the default value is the value of the static property GLTFLoader2.CreateUniqueNames.

    fileExtension?: string

    The file extension to use for the file. If not specified, the importer will try to determine the file extension from the file name/url.

    fileHandler?: ILoader<any, any>

    The custom ILoader to use for the file. If not specified, the importer will try to determine the loader from the file extension.

    queryString?: string

    Query string to add to the url. Default = undefined

    rootPath?: string

    for internal use

    useMeshLines?: boolean

    Use MeshLine(an extension of three.js Line2) instead of default Line for lines. This allows changing line width(fat lines) and other properties.

    Note - Only for gltf, glb files or files loaded with GLTFLoader2. If this flag is not passed, the default value is the value of the static property GLTFLoader2.UseMeshLines.