Skip to content

Commit ba6965b

Browse files
authored
Merge pull request #16360 from Oletus/fix-mtl-docs
Fix documentation related to MTLLoader materials
2 parents 24c519b + c9bf463 commit ba6965b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/examples/loaders/MTLLoader.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h3>[method:MTLLoaderMaterialCreator parse]( [param:String text, param:String pa
9494
[page:String path] — The path to the MTL file.
9595
</p>
9696
<p>
97-
Parse a <em>mtl</em> text structure and return a [page:MTLLoaderMaterialCreator] instance.<br />
97+
Parse a <em>mtl</em> text structure and return a [page:MTLLoaderMaterialCreator MTLLoader.MaterialCreator] instance.<br />
9898
</p>
9999

100100

docs/examples/loaders/OBJLoader.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ <h3>[method:Object3D parse]( [param:String text] )</h3>
8989
If an <em>obj</em> object or group uses multiple materials while declaring faces, geometry groups and an array of materials are used.
9090
</p>
9191

92-
<h3>[method:OBJLoader setMaterials]( [param:Array materials] )</h3>
92+
<h3>[method:OBJLoader setMaterials]( [param:MTLLoader.MaterialCreator materials] )</h3>
9393
<p>
94-
[page:Array materials] - Array of [page:Material Materials].
94+
[page:MTLLoaderMaterialCreator MTLLoader.MaterialCreator materials] - A MaterialCreator instance.
9595
</p>
9696
<p>
97-
Sets materials loaded by MTLLoader or any other supplier of an Array of [page:Material Materials].
97+
Sets materials loaded by MTLLoader or any other supplier of a [page:MTLLoaderMaterialCreator MTLLoader.MaterialCreator].
9898
</p>
9999

100100
<h3>[method:OBJLoader setPath]( [param:String path] )</h3>

0 commit comments

Comments
 (0)