MeshFaceMaterial.html 1013 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. <h1>[name]</h1>
  11. <div class="desc">
  12. A Material to define multiple materials for the same geometry.
  13. The geometry decides which material is used for which faces by the [page:Face3 faces materialindex].
  14. The materialindex corresponds with the index of the material in the materials array.
  15. </div>
  16. <h2>Constructor</h2>
  17. <h3>[name]([page:Array materials])</h3>
  18. <div>
  19. materials -- The materials for the geometry.
  20. </div>
  21. <div>
  22. Creates a MeshFaceMaterial with the correct materials.
  23. </div>
  24. <h2>Properties</h2>
  25. <h3>[property:Array materials]</h3>
  26. <div>
  27. Get or set the materials for the geometry.
  28. </div>
  29. <h2>Methods</h2>
  30. <h2>Source</h2>
  31. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  32. </body>
  33. </html>