Class: Importer<T>
Core-API.Importer
Type parameters
Name | Type |
---|---|
T | extends 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
Name | Type |
---|---|
l | undefined | T |
ai | IAssetImporter |
Returns
undefined
| T
Defined in
webgi/src/extras/asset_manager/importer/threejs/Importer.ts:8
ext
• ext: string
[]
Implementation of
Defined in
webgi/src/extras/asset_manager/importer/threejs/Importer.ts:15
root
• root: boolean
Implementation of
Defined in
webgi/src/extras/asset_manager/importer/threejs/Importer.ts:16
Methods
ctor
▸ ctor(assetImporter
): undefined
| Loader
& ILoader
<any
, any
>
Parameters
Name | Type |
---|---|
assetImporter | IAssetImporter |
Returns
undefined
| Loader
& ILoader
<any
, any
>
Implementation of
Defined in
webgi/src/extras/asset_manager/importer/threejs/Importer.ts:10
Constructors
constructor
• new Importer<T
>(cls
, ext
, root
, onCtor?
)
Type parameters
Name | Type |
---|---|
T | extends Loader <T > & ILoader <any , any , T > = Loader & ILoader <any , any > |
Parameters
Name | Type |
---|---|
cls | Class <T > |
ext | string [] |
root | boolean |
onCtor? | (l : undefined | T , ai : IAssetImporter ) => undefined | T |
Defined in
webgi/src/extras/asset_manager/importer/threejs/Importer.ts:18