瀏覽代碼

Docs for BinaryLoader

sole 13 年之前
父節點
當前提交
07da5d7b71
共有 1 個文件被更改,包括 8 次插入10 次删除
  1. 8 10
      docs/api/loaders/BinaryLoader.html

+ 8 - 10
docs/api/loaders/BinaryLoader.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 models generated by the slim OBJ converter with BINARY option <em>(converter_obj_three_slim.py -t binary)</em></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], [page:String binaryPath] )</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.<br />
+		binaryPath — optional. If not specified, the binary file will be assumed to be in the same folder as the Javascript model file.
 		</div>