Skip to content

Commit

Permalink
#15060 Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Oct 16, 2018
1 parent c1016a6 commit 502f581
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
9 changes: 9 additions & 0 deletions docs/examples/loaders/LoaderSupport.html
Expand Up @@ -375,6 +375,15 @@ <h3>[method:null setContent]( [param:Object content )</h3>
<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>

Expand Down
9 changes: 9 additions & 0 deletions docs/examples/loaders/OBJLoader2.html
Expand Up @@ -123,6 +123,15 @@ <h3>[method:null setPath] ( [param:String path] )</h3>
</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
Expand Down
2 changes: 1 addition & 1 deletion examples/js/loaders/LoaderSupport.js
Expand Up @@ -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 ) {
Expand Down
2 changes: 1 addition & 1 deletion examples/js/loaders/OBJLoader2.js
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 502f581

Please sign in to comment.