Browse Source

Merge pull request #15071 from kaisalmen/OBJLoader2_V250_Doc

OBJLoader2_V250 documentation update
Mr.doob 6 years ago
parent
commit
e2dd8ce657

+ 9 - 0
docs/examples/loaders/LoaderSupport.html

@@ -375,6 +375,15 @@
 		<p>
 			Set the content of this resource
 		</p>
+
+
+		<h3>[method:null setResourcePath] ( [param:String resourcePath] )</h3>
+		<p>
+			[page:String resourcePath] - URL
+		</p>
+		<p>
+			Allows to specify resourcePath for dependencies of specified resource.
+		</p>
 		<br>
 		<br>
 

+ 9 - 0
docs/examples/loaders/OBJLoader2.html

@@ -123,6 +123,15 @@
 		</p>
 
 
+		<h3>[method:null setResourcePath] ( [param:String resourcePath] )</h3>
+		<p>
+			[page:String resourcePath] - URL
+		</p>
+		<p>
+			Allows to specify resourcePath for dependencies of specified resource.
+		</p>
+
+
 		<h3>[method:null setStreamMeshesTo] ( [param:Object3D streamMeshesTo] )</h3>
 		<p>
 			[page:Object3D streamMeshesTo] - Object already attached to scenegraph where new meshes will be attached to

+ 1 - 1
examples/js/loaders/LoaderSupport.js

@@ -188,7 +188,7 @@ THREE.LoaderSupport.ResourceDescriptor.prototype = {
 	},
 
 	/**
-	 * Allow to specify resourcePath for dependencies of specified resource.
+	 * Allows to specify resourcePath for dependencies of specified resource.
 	 * @param {string} resourcePath
 	 */
 	setResourcePath: function ( resourcePath ) {

+ 1 - 1
examples/js/loaders/OBJLoader2.js

@@ -78,7 +78,7 @@ THREE.OBJLoader2.prototype = {
 	},
 
 	/**
-	 * Allow to specify resourcePath for dependencies of specified resource.
+	 * Allows to specify resourcePath for dependencies of specified resource.
 	 * @param {string} resourcePath
 	 */
 	setResourcePath: function ( resourcePath ) {