Skip to content
Last updated

API / geotoolkit3d / scene / asset / AssetManager / AssetManager

Class: AssetManager

asset.AssetManager.AssetManager

Class to handle the importing and loading logic of models

Table of contents

Constructors
  • [new AssetManager()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.scene-3.asset.assetmanager.assetmanager.md#new assetmanager())
Methods

Contents

Constructors

new AssetManager()

• new AssetManager()

Methods

createAssetInstance

▸ createAssetInstance(options): Asset

Create a new asset instance from loading the 3D model file.

Parameters

Name Type
optionsOptions

Returns

Asset


dispose

▸ dispose(): void

Returns

void


getAsset

▸ getAsset(id): Asset

Parameters

Name Type
idstring

Returns

Asset


removeAsset

▸ removeAsset(id): boolean

Parameters

Name Type
idstring

Returns

boolean


getDefaultInstance

▸ Static getDefaultInstance(): AssetManager

Returns default instance of the AssetManager

Returns

AssetManager

this