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

Function getOBJ

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

Source from the content-addressed store, hash-verified

907 * });
908 */
909export function getOBJ(elt) {
910 // force as string
911 elt = "" + elt;
912 if (elt in objList) {
913 return objList[elt];
914 }
915 return null;
916}
917
918/**
919 * a parsed glTF/GLB scene descriptor, as returned by {@link loader.getGLTF}

Callers 1

constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected