Преглед на файлове

Update ImageUtils.html

documentation for loadTexture()
Libert KHE преди 11 години
родител
ревизия
796c3efb48
променени са 1 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 5 5
      docs/api/extras/ImageUtils.html

+ 5 - 5
docs/api/extras/ImageUtils.html

@@ -55,12 +55,12 @@
 		todo
 		</div>
 
-		<h3>.loadTexture([page:todo url], [page:todo mapping], [page:todo onLoad], [page:todo onError]) [page:todo]</h3>
+		<h3>.loadTexture([page:String url], [page:UVMapping mapping], [page:Function onLoad], [page:Function onError]) [page:todo]</h3>
 		<div>
-		url -- todo <br />
-		mapping -- todo <br />
-		onLoad -- todo <br />
-		onError -- todo
+		url -- the url of the texture<br />
+		mapping -- An instance of Three.UVMapping. Describes how the image is applied to the object.<br />Use undefined or new three.UVMapping() instead of null as a default value.
+		onLoad -- callback function<br />
+		onError -- callback function
 		</div>
 		<div>
 		todo