MultiMaterial.html 1018 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  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 MultiMaterial with the correct materials.
  24. </div>
  25. <h2>Properties</h2>
  26. <h3>[property: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>