$load

$load simplifies the process of loading external data such as models or textures by returning a promise.

<br x-3.primitive="(await $load($loaders.GLTFLoader, 'model.glb')).scene" />

Parameters

NametypeDescription

loader

Loader

A loader instance, see loaders

path

string

The path to what you want to load

Last updated