[page:String path] — Base path for loading additional resources e.g. textures, GLSL shaders, .bin data.
[page:String path] — Base path for loading additional resources e.g. textures and .bin data.
</div>
<div>
Set the base path for additional resources.
...
...
@@ -106,7 +107,7 @@
<div>
[page:Object json] — <em>JSON</em> object to parse.<br/>
[page:Function callBack] — Will be called when parse completes.<br/>
[page:String path] — The base path from which to find subsequent glTF resources such as textures, GLSL shaders and .bin data files.<br/>
[page:String path] — The base path from which to find subsequent glTF resources such as textures and .bin data files.<br/>
</div>
<div>
Parse a glTF-based <em>JSON</em> structure and fire [page:Function callback] when complete. The argument to [page:Function callback] will be an [page:object] that contains loaded parts: .[page:Scene scene], .[page:Array scenes], .[page:Array cameras], and .[page:Array animations].