Skip to content

Commit 502f581

Browse files
committed
mrdoob#15060 Updated documentation
1 parent c1016a6 commit 502f581

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

docs/examples/loaders/LoaderSupport.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,15 @@ <h3>[method:null setContent]( [param:Object content )</h3>
375375
<p>
376376
Set the content of this resource
377377
</p>
378+
379+
380+
<h3>[method:null setResourcePath] ( [param:String resourcePath] )</h3>
381+
<p>
382+
[page:String resourcePath] - URL
383+
</p>
384+
<p>
385+
Allows to specify resourcePath for dependencies of specified resource.
386+
</p>
378387
<br>
379388
<br>
380389

docs/examples/loaders/OBJLoader2.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ <h3>[method:null setPath] ( [param:String path] )</h3>
123123
</p>
124124

125125

126+
<h3>[method:null setResourcePath] ( [param:String resourcePath] )</h3>
127+
<p>
128+
[page:String resourcePath] - URL
129+
</p>
130+
<p>
131+
Allows to specify resourcePath for dependencies of specified resource.
132+
</p>
133+
134+
126135
<h3>[method:null setStreamMeshesTo] ( [param:Object3D streamMeshesTo] )</h3>
127136
<p>
128137
[page:Object3D streamMeshesTo] - Object already attached to scenegraph where new meshes will be attached to

examples/js/loaders/LoaderSupport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ THREE.LoaderSupport.ResourceDescriptor.prototype = {
188188
},
189189

190190
/**
191-
* Allow to specify resourcePath for dependencies of specified resource.
191+
* Allows to specify resourcePath for dependencies of specified resource.
192192
* @param {string} resourcePath
193193
*/
194194
setResourcePath: function ( resourcePath ) {

examples/js/loaders/OBJLoader2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ THREE.OBJLoader2.prototype = {
7878
},
7979

8080
/**
81-
* Allow to specify resourcePath for dependencies of specified resource.
81+
* Allows to specify resourcePath for dependencies of specified resource.
8282
* @param {string} resourcePath
8383
*/
8484
setResourcePath: function ( resourcePath ) {

0 commit comments

Comments
 (0)