@voxel-3d/docs
    Preparing search index...

    Interface IImportManager

    ImportManager interface

    interface IImportManager {
        state: ImportManagerState;
        supportedFormats: SupportedFormat[];
        load(url: string): Promise<LoadResultItem>;
        loadMultiple(items: (string | LoadItem)[]): Promise<LoadCompleteInfo>;
        cancel(): void;
        setOptions(options: Partial<ImportManagerOptions>): void;
        setCallbacks(callbacks: ImportManagerCallbacks): void;
        setExternalFileUrlMap(urlMap: Map<string, string>): void;
        clearExternalFileUrlMap(): void;
        modelCache: IModelCache | null;
        clearModelCache(): Promise<boolean>;
        getModelCacheStats(): ModelCacheStats | null;
        dispose(): void;
    }

    Implemented by

    Index

    Methods

    • 단일 파일 load

      Parameters

      • url: string

        파일 URL

      Returns Promise<LoadResultItem>

    • load 취소

      Returns void

    • 외부 파일 (BIN, 텍스처 등) 해석을 위한 URL 맵 설정

      Parameters

      • urlMap: Map<string, string>

        파일명(소문자) → blob URL 매핑

      Returns void

    • 외부 파일 URL 맵 초기화

      Returns void

    • Clears the model cache. 모델 캐시를 초기화합니다.

      Returns Promise<boolean>

      Whether clear succeeded 초기화 성공 여부

    • Returns model cache statistics. 모델 캐시 통계를 반환합니다.

      Returns ModelCacheStats | null

      Cache statistics or null if cache is not available 캐시 통계 또는 null (캐시 미사용 시)

    • 리소스 cleanup

      Returns void

    Properties

    현재 state

    supportedFormats: SupportedFormat[]

    지원 포맷 목록

    modelCache: IModelCache | null

    Returns the model cache instance. 모델 캐시 인스턴스를 반환합니다.