sej
    Preparing search index...

    Type Alias LoaderManager

    type LoaderManager = {
        loaders: Loaders;
        loadFile: (file: File, manager?: THREE.LoadingManager) => void;
        loadFiles: (files: File, map?: FileMap) => void;
        loadItemList: (items: Item[]) => void;
        texturePath: string;
    }

    Implemented by

    Index

    Properties

    loaders: Loaders

    Supported loaders. The key is the extension of the file.

    E.g. .obj => OBJLoader

    loadFile: (file: File, manager?: THREE.LoadingManager) => void

    Load a file.

    Type declaration

      • (file: File, manager?: THREE.LoadingManager): void
      • Parameters

        • file: File

          File to loaded.

        • Optionalmanager: THREE.LoadingManager

          THREE.LoadingManager | LoadingManager

        Returns void

    loadFiles: (files: File, map?: FileMap) => void

    Load a list of files.

    Type declaration

    loadItemList: (items: Item[]) => void

    Load a list of items.

    Type declaration

      • (items: Item[]): void
      • Parameters

        Returns void

    texturePath: string

    The path to the texture folder.