소스 검색

Merge pull request #15071 from kaisalmen/OBJLoader2_V250_Doc

OBJLoader2_V250 documentation update
Mr.doob 6 년 전
부모
커밋
e2dd8ce657
4개의 변경된 파일20개의 추가작업 그리고 2개의 파일을 삭제
  1. 9 0
      docs/examples/loaders/LoaderSupport.html
  2. 9 0
      docs/examples/loaders/OBJLoader2.html
  3. 1 1
      examples/js/loaders/LoaderSupport.js
  4. 1 1
      examples/js/loaders/OBJLoader2.js

+ 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 ) {