forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJSONLoader.html
More file actions
70 lines (55 loc) · 1.57 KB
/
Copy pathJSONLoader.html
File metadata and controls
70 lines (55 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!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>.[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>