Class AssetManager

This class can handle the preloads of assets (gltfModel, texture, cubeTexture, font, etc). You can just write a simple js file to config your assets without caring about various loaders.

Demo: https://kokomi-js.vercel.app/examples/#assetManager

Hierarchy (view full)

Constructors

Properties

base: Base
container: Scene
emitter: Emitter<any>
items: any
loaded: number
loaders: Partial<Loaders>
resourceList: ResoureList
toLoad: number

Accessors

Methods