|
@@ -44,7 +44,7 @@
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
- <h3>[method:null setPath]( [param:String path] )</h3>
|
|
|
|
|
|
+ <h3>[method:MTLLoader setPath]( [param:String path] )</h3>
|
|
<p>
|
|
<p>
|
|
[page:String path] — required<br />
|
|
[page:String path] — required<br />
|
|
</p>
|
|
</p>
|
|
@@ -53,7 +53,7 @@
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
- <h3>[method:null setTexturePath]( [param:String path] )</h3>
|
|
|
|
|
|
+ <h3>[method:MTLLoader setTexturePath]( [param:String path] )</h3>
|
|
<p>
|
|
<p>
|
|
[page:String path] — required<br />
|
|
[page:String path] — required<br />
|
|
</p>
|
|
</p>
|
|
@@ -62,16 +62,17 @@
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
- <h3>[method:null setCrossOrigin]( [param:boolean useCrossOrigin] )</h3>
|
|
|
|
|
|
+ <h3>[method:MTLLoader setCrossOrigin]( [param:String value] )</h3>
|
|
<p>
|
|
<p>
|
|
- [page:boolean useCrossOrigin] — required<br />
|
|
|
|
|
|
+ [page:String value] — required<br />
|
|
</p>
|
|
</p>
|
|
<p>
|
|
<p>
|
|
- Set to true if you need to load textures from a different origin.
|
|
|
|
|
|
+ If set, assigns the [link:https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes crossOrigin]
|
|
|
|
+ attribute of the image to the value of *crossOrigin*, prior to starting the load. Default is *"anonymous"*.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
- <h3>[method:null setMaterialOptions]( [param:Object options] )</h3>
|
|
|
|
|
|
+ <h3>[method:MTLLoader setMaterialOptions]( [param:Object options] )</h3>
|
|
<p>
|
|
<p>
|
|
[page:Object options] — required
|
|
[page:Object options] — required
|
|
<ul>
|
|
<ul>
|