Skip to main content

Class: Importer<T>

Core-API.Importer

Type parameters

NameType
Textends Loader & ILoader = Loader & ILoader

Implements

Properties

cls

Optional cls: Class<T>

Defined in

webgi/src/extras/asset_manager/importer/threejs/Importer.ts:6


onCtor

Optional onCtor: (l: undefined | T, ai: IAssetImporter) => undefined | T

Type declaration

▸ (l, ai): undefined | T

Parameters
NameType
lundefined | T
aiIAssetImporter
Returns

undefined | T

Defined in

webgi/src/extras/asset_manager/importer/threejs/Importer.ts:8


ext

ext: string[]

Implementation of

IImporter.ext

Defined in

webgi/src/extras/asset_manager/importer/threejs/Importer.ts:15


root

root: boolean

Implementation of

IImporter.root

Defined in

webgi/src/extras/asset_manager/importer/threejs/Importer.ts:16

Methods

ctor

ctor(assetImporter): undefined | Loader & ILoader<any, any>

Parameters

NameType
assetImporterIAssetImporter

Returns

undefined | Loader & ILoader<any, any>

Implementation of

IImporter.ctor

Defined in

webgi/src/extras/asset_manager/importer/threejs/Importer.ts:10

Constructors

constructor

new Importer<T>(cls, ext, root, onCtor?)

Type parameters

NameType
Textends Loader<T> & ILoader<any, any, T> = Loader & ILoader<any, any>

Parameters

NameType
clsClass<T>
extstring[]
rootboolean
onCtor?(l: undefined | T, ai: IAssetImporter) => undefined | T

Defined in

webgi/src/extras/asset_manager/importer/threejs/Importer.ts:18