MCPcopy Create free account
hub / github.com/melonjs/melonJS / getMTL

Function getMTL

packages/melonjs/src/loader/loader.js:1001–1007  ·  view source on GitHub ↗
(elt)

Source from the content-addressed store, hash-verified

999 * });
1000 */
1001export function getMTL(elt) {
1002 elt = "" + elt;
1003 if (elt in mtlList) {
1004 return mtlList[elt];
1005 }
1006 return null;
1007}
1008
1009/**
1010 * return the specified Video Object

Callers 1

constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected