From 502f5816cc44fb69d54ed145863f37e3d245dc4b Mon Sep 17 00:00:00 2001 From: Kai Salmen Date: Tue, 16 Oct 2018 21:21:37 +0200 Subject: [PATCH] #15060 Updated documentation --- docs/examples/loaders/LoaderSupport.html | 9 +++++++++ docs/examples/loaders/OBJLoader2.html | 9 +++++++++ examples/js/loaders/LoaderSupport.js | 2 +- examples/js/loaders/OBJLoader2.js | 2 +- 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/examples/loaders/LoaderSupport.html b/docs/examples/loaders/LoaderSupport.html index ddc2d14226737..f3a561bf3fd61 100644 --- a/docs/examples/loaders/LoaderSupport.html +++ b/docs/examples/loaders/LoaderSupport.html @@ -375,6 +375,15 @@

[method:null setContent]( [param:Object content )

Set the content of this resource

+ + +

[method:null setResourcePath] ( [param:String resourcePath] )

+

+ [page:String resourcePath] - URL +

+

+ Allows to specify resourcePath for dependencies of specified resource. +



diff --git a/docs/examples/loaders/OBJLoader2.html b/docs/examples/loaders/OBJLoader2.html index 0def3566cccd1..f0d0347ed102e 100644 --- a/docs/examples/loaders/OBJLoader2.html +++ b/docs/examples/loaders/OBJLoader2.html @@ -123,6 +123,15 @@

[method:null setPath] ( [param:String path] )

+

[method:null setResourcePath] ( [param:String resourcePath] )

+

+ [page:String resourcePath] - URL +

+

+ Allows to specify resourcePath for dependencies of specified resource. +

+ +

[method:null setStreamMeshesTo] ( [param:Object3D streamMeshesTo] )

[page:Object3D streamMeshesTo] - Object already attached to scenegraph where new meshes will be attached to diff --git a/examples/js/loaders/LoaderSupport.js b/examples/js/loaders/LoaderSupport.js index 874a3479419a5..aed6f4c55d297 100644 --- a/examples/js/loaders/LoaderSupport.js +++ b/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 ) { diff --git a/examples/js/loaders/OBJLoader2.js b/examples/js/loaders/OBJLoader2.js index 52fecf0ce0057..7d3d21a5679bc 100644 --- a/examples/js/loaders/OBJLoader2.js +++ b/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 ) {