The resources data of the game.
The resources loader of the game.
Return a 3D model.
Caller should not modify the object but clone it.
The name of the json resource.
a 3D model if it exists.
Load all the 3D models.
Note that even if a file is already loaded, it will be reloaded (useful for hot-reloading, as files can have been modified without the editor knowing).
The function called after each file is loaded.
The function called when all file are loaded.
Update the resources data of the game. Useful for hot-reloading, should not be used otherwise.
The resources data of the game.
Generated using TypeDoc
Load GLB files (using
Three.js
), using the "model3D" resources registered in the game resources.