MCPcopy Create free account
hub / github.com/achrefelouafi/GrassSystemThreeJS / loadModel

Function loadModel

src/model.js:278–280  ·  view source on GitHub ↗

Swap to one of the bundled models by URL.

(url)

Source from the content-addressed store, hash-verified

276 },
277 /** Swap to one of the bundled models by URL. */
278 loadModel(url) {
279 loadURL(url, (e) => console.error('Failed to load GLB:', e));
280 },
281 /** Re-sync the world->model matrix after a transform change. */
282 refreshMatrix,
283 /** Show/hide the model. */

Callers

nothing calls this directly

Calls 1

loadURLFunction · 0.85

Tested by

no test coverage detected