API / geotoolkit3d / scene / asset / AssetManager / AssetManager
asset.AssetManager.AssetManager
Class to handle the importing and loading logic of models
Constructors
- [new AssetManager()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.scene-3.asset.assetmanager.assetmanager.md#new assetmanager())
Methods
▸ createAssetInstance(options): Asset
Create a new asset instance from loading the 3D model file.
| Name | Type |
|---|---|
options | Options |
▸ dispose(): void
void
▸ getAsset(id): Asset
| Name | Type |
|---|---|
id | string |
▸ removeAsset(id): boolean
| Name | Type |
|---|---|
id | string |
boolean
▸ Static getDefaultInstance(): AssetManager
Returns default instance of the AssetManager
this