|
@@ -7,26 +7,24 @@
|
|
|
<link type="text/css" rel="stylesheet" href="../../page.css" />
|
|
|
</head>
|
|
|
<body>
|
|
|
+ [page:Loader] →
|
|
|
<h1>[name]</h1>
|
|
|
|
|
|
- <div class="desc">todo</div>
|
|
|
+ <div class="desc">A loader for loading objects in JSON format.</div>
|
|
|
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
|
|
|
|
- <h3>[name]()</h3>
|
|
|
-
|
|
|
-
|
|
|
- <h2>Properties</h2>
|
|
|
-
|
|
|
- <h3>.[page:Vector3 todo]</h3>
|
|
|
+ <h3>[name]( [page:Boolean showStatus] )</h3>
|
|
|
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
|
|
|
- <h3>.todo( [page:Vector3 todo] )</h3>
|
|
|
+ <h3>.load( [page:String url], [page:Function callback], [page:String texturePath] )</h3>
|
|
|
<div>
|
|
|
- todo — todo<br />
|
|
|
+ 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>
|
|
|
|
|
|
|