Appearance
Model(key) â THREE.Object3D â
Async global function which loads and returns an imported 3D model.
js
// Load using imported object name
const model = await Model('meaowy.glb', cache : [optional bool])
// Load using an asset key
const model = await Model('c586e69cc2db0a64c26310...', cache : [optional bool])
world.add(loadedModel)cache â
If you load a model and then to clone it at a later time, use cache.