Răsfoiți Sursa

Updated CompressedTextureLoader doc

looeee 8 ani în urmă
părinte
comite
51fc1c8f00

+ 1 - 1
docs/api/loaders/AudioLoader.html

@@ -71,7 +71,7 @@
 
 		<h3>[property:LoadingManager manager]</h3>
 		<div>
-			The [page:LoadingManager loadingManager]  the loader is using. Default is [page:DefaultLoadingManager].
+			The [page:LoadingManager loadingManager] the loader is using. Default is [page:DefaultLoadingManager].
 		</div>
 
 

+ 11 - 5
docs/api/loaders/CompressedTextureLoader.html

@@ -11,7 +11,8 @@
 		<h1>[name]</h1>
 
 		<div class="desc">
-		Abstract base class for block based textures loader (dds, pvr, ...).<br /><br />
+		Abstract base class for block based textures loader (dds, pvr, ...).
+		This uses the [page:FileLoader] internally for loading files.
 		</div>
 
 		<h2>Examples</h2>
@@ -19,7 +20,7 @@
 		<div>
 			See the [link:https://github.com/mrdoob/three.js/blob/master/examples/js/loaders/DDSLoader.js DDSLoader]
 			and [link:https://github.com/mrdoob/three.js/blob/master/examples/js/loaders/PVRLoader.js PVRLoader]
-			for examples of a derived classes.
+			for examples of derived classes.
 		</div>
 
 		<h2>Constructor</h2>
@@ -37,9 +38,13 @@
 
 		<h3>[property:LoadingManager manager]</h3>
 		<div>
-		manager — the LoadingManager supplied in the constructor, or the [page:LoadingManager THREE.DefaultLoadingManager].<br />
+			The [page:LoadingManager loadingManager] the loader is using. Default is [page:DefaultLoadingManager].
 		</div>
 
+		<h3>[property:String path]</h3>
+		<div>The base path from which files will be loaded. See [page:.setPath]. Default is *undefined*.</div>
+
+
 
 		<h2>Methods</h2>
 
@@ -54,9 +59,10 @@
 		Begin loading from url and pass the loaded texture to onLoad.
 		</div>
 
-		<h3>[method:null setPath]( [page:String value] )</h3>
+		<h3>[method:FileLoader setPath]( [page:String path] )</h3>
 		<div>
-		Set the path from which to load textures.
+			Set the base path or URL from which to load files. This can be useful if, for example,
+			you are loading many textures from the same directory.
 		</div>
 
 		<h2>Source</h2>