Skip to main content

Class: Importer<T>

Asset-Management.Importer

Type parameters

NameType
Textends Loader = Loader

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

Parameters

NameType
assetImporterIAssetImporter

Returns

undefined | Loader

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> = Loader

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