Last change
on this file since 28897 was 28897, checked in by davidb, 10 years ago |
GUI front-end to server base plus web page content
|
File size:
1.6 KB
|
Line | |
---|
1 | <!DOCTYPE html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <meta charset="utf-8" />
|
---|
5 | <script src="../../list.js"></script>
|
---|
6 | <script src="../../page.js"></script>
|
---|
7 | <link type="text/css" rel="stylesheet" href="../../page.css" />
|
---|
8 | </head>
|
---|
9 | <body>
|
---|
10 | [page:Loader] →
|
---|
11 | <h1>[name]</h1>
|
---|
12 |
|
---|
13 | <div class="desc">A loader for loading objects in JSON format.</div>
|
---|
14 |
|
---|
15 |
|
---|
16 | <h2>Constructor</h2>
|
---|
17 |
|
---|
18 |
|
---|
19 | <h3>[name]([page:Boolean showStatus])</h3>
|
---|
20 | <div>
|
---|
21 | showStatus -- todo
|
---|
22 | </div>
|
---|
23 | <div>
|
---|
24 | todo
|
---|
25 | </div>
|
---|
26 |
|
---|
27 | <h2>Properties</h2>
|
---|
28 |
|
---|
29 |
|
---|
30 | <h3>.[page:boolean withCredentials]</h3>
|
---|
31 | <div>
|
---|
32 | todo
|
---|
33 | </div>
|
---|
34 |
|
---|
35 | <h2>Methods</h2>
|
---|
36 |
|
---|
37 | <h3>.load( [page:String url], [page:Function callback], [page:String texturePath] )</h3>
|
---|
38 | <div>
|
---|
39 | url â required<br />
|
---|
40 | callback â required. This function will be called with the loaded model as an instance of [page:Geometry geometry] when the load is completed.<br />
|
---|
41 | texturePath â optional. If not specified, textures will be assumed to be in the same folder as the Javascript model file.
|
---|
42 | </div>
|
---|
43 |
|
---|
44 |
|
---|
45 | <h3>.parse([page:todo json], [page:todo texturePath]) [page:todo]</h3>
|
---|
46 | <div>
|
---|
47 | json -- todo <br />
|
---|
48 | texturePath -- todo
|
---|
49 | </div>
|
---|
50 | <div>
|
---|
51 | todo
|
---|
52 | </div>
|
---|
53 |
|
---|
54 | <h3>.loadAjaxJSON([page:todo context], [page:todo url], [page:todo callback], [page:todo texturePath], [page:todo callbackProgress]) [page:todo]</h3>
|
---|
55 | <div>
|
---|
56 | context -- todo <br />
|
---|
57 | url -- todo <br />
|
---|
58 | callback -- todo <br />
|
---|
59 | texturePath -- todo <br />
|
---|
60 | callbackProgress -- todo
|
---|
61 | </div>
|
---|
62 | <div>
|
---|
63 | todo
|
---|
64 | </div>
|
---|
65 |
|
---|
66 | <h2>Source</h2>
|
---|
67 |
|
---|
68 | [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
---|
69 | </body>
|
---|
70 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.