MeshFaceMaterial.html 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <script src="../../list.js"></script>
  6. <script src="../../page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="../../page.css" />
  8. </head>
  9. <body>
  10. [page:Material] &rarr;
  11. <h1>[name]</h1>
  12. <div class="desc">
  13. A Material to define multiple materials for the same geometry.
  14. The geometry decides which material is used for which faces by the [page:Face3 faces materialindex].
  15. The materialindex corresponds with the index of the material in the materials array.
  16. </div>
  17. <h2>Constructor</h2>
  18. <h3>[name]([page:Array materials])</h3>
  19. <div>
  20. materials -- The materials for the geometry.
  21. </div>
  22. <div>
  23. Creates a MeshFaceMaterial with the correct materials.
  24. </div>
  25. <h2>Properties</h2>
  26. <h3>.[page:Array materials]</h3>
  27. <div>
  28. Get or set the materials for the geometry.
  29. </div>
  30. <h2>Methods</h2>
  31. <h2>Source</h2>
  32. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  33. </body>
  34. </html>