sole преди 13 години
родител
ревизия
7e3f3656a8
променени са 1 файла, в които са добавени 7 реда и са изтрити 9 реда
  1. 7 9
      docs/api/loaders/JSONLoader.html

+ 7 - 9
docs/api/loaders/JSONLoader.html

@@ -7,26 +7,24 @@
 		<link type="text/css" rel="stylesheet" href="../../page.css" />
 	</head>
 	<body>
+		[page:Loader] &rarr;
 		<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>