12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <script src="../../list.js"></script>
- <script src="../../page.js"></script>
- <link type="text/css" rel="stylesheet" href="../../page.css" />
- </head>
- <body>
- [page:Loader] →
- <h1>[name]</h1>
- <div class="desc">A loader for loading objects in JSON format.</div>
- <h2>Constructor</h2>
- <h3>[name]([page:Boolean showStatus])</h3>
- <div>
- showStatus -- todo
- </div>
- <div>
- todo
- </div>
-
- <h2>Properties</h2>
- <h3>[property:boolean withCredentials]</h3>
- <div>
- todo
- </div>
- <h2>Methods</h2>
- <h3>[method:todo load]( [page:String url], [page:Function callback], [page:String texturePath] )</h3>
- <div>
- url — required<br />
- callback — required. This function will be called with the loaded model as an instance of [page:Geometry geometry] when the load is completed.<br />
- texturePath — optional. If not specified, textures will be assumed to be in the same folder as the Javascript model file.
- </div>
- <h3>[method:todo parse]([page:todo json], [page:todo texturePath])</h3>
- <div>
- json -- todo <br />
- texturePath -- todo
- </div>
- <div>
- todo
- </div>
- <h3>[method:todo loadAjaxJSON]([page:todo context], [page:todo url], [page:todo callback], [page:todo texturePath], [page:todo callbackProgress])</h3>
- <div>
- context -- todo <br />
- url -- todo <br />
- callback -- todo <br />
- texturePath -- todo <br />
- callbackProgress -- todo
- </div>
- <div>
- todo
- </div>
- <h2>Source</h2>
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
- </body>
- </html>
|