未验证 提交 ba6965ba 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #16360 from Oletus/fix-mtl-docs

Fix documentation related to MTLLoader materials
......@@ -94,7 +94,7 @@
[page:String path] — The path to the MTL file.
</p>
<p>
Parse a <em>mtl</em> text structure and return a [page:MTLLoaderMaterialCreator] instance.<br />
Parse a <em>mtl</em> text structure and return a [page:MTLLoaderMaterialCreator MTLLoader.MaterialCreator] instance.<br />
</p>
......
......@@ -89,12 +89,12 @@
If an <em>obj</em> object or group uses multiple materials while declaring faces, geometry groups and an array of materials are used.
</p>
<h3>[method:OBJLoader setMaterials]( [param:Array materials] )</h3>
<h3>[method:OBJLoader setMaterials]( [param:MTLLoader.MaterialCreator materials] )</h3>
<p>
[page:Array materials] - Array of [page:Material Materials].
[page:MTLLoaderMaterialCreator MTLLoader.MaterialCreator materials] - A MaterialCreator instance.
</p>
<p>
Sets materials loaded by MTLLoader or any other supplier of an Array of [page:Material Materials].
Sets materials loaded by MTLLoader or any other supplier of a [page:MTLLoaderMaterialCreator MTLLoader.MaterialCreator].
</p>
<h3>[method:OBJLoader setPath]( [param:String path] )</h3>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册