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 | <h1>[name]</h1>
|
---|
11 |
|
---|
12 | <div class="desc">Base class for implementing loaders.</div>
|
---|
13 |
|
---|
14 |
|
---|
15 | <h2>Constructor</h2>
|
---|
16 |
|
---|
17 |
|
---|
18 | <h3>[name]([page:Boolean showStatus])</h3>
|
---|
19 | <div>
|
---|
20 | showStatus -- todo
|
---|
21 | </div>
|
---|
22 | <div>
|
---|
23 | todo
|
---|
24 | </div>
|
---|
25 |
|
---|
26 |
|
---|
27 | <h2>Properties</h2>
|
---|
28 |
|
---|
29 | <h3>.[page:Boolean showStatus]</h3>
|
---|
30 | <div>If true, show loading status in the statusDomElement.</div>
|
---|
31 |
|
---|
32 | <h3>.[page:DOMElement statusDomElement]</h3>
|
---|
33 | <div>This is the recipient of status messages.</div>
|
---|
34 |
|
---|
35 | <h3>.[page:Function onLoadStart]</h3>
|
---|
36 | <div>Will be called when load starts.</div>
|
---|
37 | <div>The default is a function with empty body.</div>
|
---|
38 |
|
---|
39 | <h3>.[page:Function onLoadProgress]</h3>
|
---|
40 | <div>Will be called while load progresses.</div>
|
---|
41 | <div>The default is a function with empty body.</div>
|
---|
42 |
|
---|
43 | <h3>.[page:Function onLoadComplete]</h3>
|
---|
44 | <div>Will be called when load completes.</div>
|
---|
45 | <div>The default is a function with empty body.</div>
|
---|
46 |
|
---|
47 | <h3>.[page:string crossOrigin]</h3>
|
---|
48 | <div>
|
---|
49 | todo
|
---|
50 | </div>
|
---|
51 |
|
---|
52 | <h2>Methods</h2>
|
---|
53 |
|
---|
54 | <h3>.needsTangents([page:todo materials]) [page:todo]</h3>
|
---|
55 | <div>
|
---|
56 | materials -- todo
|
---|
57 | </div>
|
---|
58 | <div>
|
---|
59 | todo
|
---|
60 | </div>
|
---|
61 |
|
---|
62 | <h3>.updateProgress([page:todo progress]) [page:todo]</h3>
|
---|
63 | <div>
|
---|
64 | progress -- todo
|
---|
65 | </div>
|
---|
66 | <div>
|
---|
67 | todo
|
---|
68 | </div>
|
---|
69 |
|
---|
70 | <h3>.createMaterial([page:todo m], [page:todo texturePath]) [page:todo]</h3>
|
---|
71 | <div>
|
---|
72 | m -- todo <br />
|
---|
73 | texturePath -- todo
|
---|
74 | </div>
|
---|
75 | <div>
|
---|
76 | todo
|
---|
77 | </div>
|
---|
78 |
|
---|
79 | <h3>.initMaterials([page:todo materials], [page:todo texturePath]) [page:todo]</h3>
|
---|
80 | <div>
|
---|
81 | materials -- todo <br />
|
---|
82 | texturePath -- todo
|
---|
83 | </div>
|
---|
84 | <div>
|
---|
85 | todo
|
---|
86 | </div>
|
---|
87 |
|
---|
88 | <h3>.extractUrlBase([page:todo url]) [page:todo]</h3>
|
---|
89 | <div>
|
---|
90 | url -- todo
|
---|
91 | </div>
|
---|
92 | <div>
|
---|
93 | todo
|
---|
94 | </div>
|
---|
95 |
|
---|
96 | <h3>.addStatusElement() [page:todo]</h3>
|
---|
97 | <div>
|
---|
98 | todo
|
---|
99 | </div>
|
---|
100 |
|
---|
101 |
|
---|
102 | <h2>Source</h2>
|
---|
103 |
|
---|
104 | [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
---|
105 | </body>
|
---|
106 | </html>
|
---|