|
@@ -11,18 +11,22 @@
|
|
|
|
|
|
<h1>[name]</h1>
|
|
|
|
|
|
- <div class="desc">todo</div>
|
|
|
+ <div class="desc">
|
|
|
+ A Material to define multiple materials for the same geometry.
|
|
|
+ The geometry decides which material is used for which faces by the [page:Face3 faces materialindex].
|
|
|
+ The materialindex corresponds with the index of the material in the materials array.
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
|
|
|
|
|
|
|
- <h3>[name]([page:todo materials])</h3>
|
|
|
+ <h3>[name]([page:Array materials])</h3>
|
|
|
<div>
|
|
|
- materials -- todo
|
|
|
+ materials -- The materials for the geometry.
|
|
|
</div>
|
|
|
<div>
|
|
|
- todo
|
|
|
+ Creates a MeshFaceMaterial with the correct materials.
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -30,9 +34,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
- <h3>.[page:array materials]</h3>
|
|
|
+ <h3>.[page:Array materials]</h3>
|
|
|
<div>
|
|
|
- todo
|
|
|
+ Get or set the materials for the geometry.
|
|
|
</div>
|
|
|
|
|
|
<h2>Methods</h2>
|