123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <!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] <!-- &rarr -->;
- <h1>[name]</h1>
- <div class="desc">A loader for loading objects in JSON format.</div>
- <h2>Constructor</h2>
- <h3>[name]( [page:Boolean showStatus] )</h3>
-
- <h2>Properties</h2>
- <h3>.[page:boolean withCredentials]</h3>
- <div>
- todo
- </div>
- <h2>Methods</h2>
- <h3>.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>.parse([page:todo json], [page:todo texturePath]) [page:todo]</h3>
- <div>
- json -- todo <br />
- texturePath -- todo
- </div>
- <div>
- todo
- </div>
- <h3>.loadAjaxJSON([page:todo context], [page:todo url], [page:todo callback], [page:todo texturePath], [page:todo callbackProgress]) [page:todo]</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>
|