SceneUtils.html 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. <p class="desc">A class containing useful utility functions for scene manipulation.</p>
  13. <h2>Methods</h2>
  14. <h3>[method:Group createMultiMaterialObject]( [param:Geometry geometry], [param:Array materials] )</h3>
  15. <p>
  16. geometry -- The geometry for the set of materials. <br />
  17. materials -- The materials for the object.
  18. </p>
  19. <p>
  20. Creates a new Group that contains a new mesh for each material defined in materials. Beware that this is not the same as an array of materials which defines multiple materials for 1 mesh.<br />
  21. This is mostly useful for objects that need both a material and a wireframe implementation.
  22. </p>
  23. <h2>Source</h2>
  24. <p>
  25. [link:https://github.com/mrdoob/three.js/blob/master/examples/js/utils/SceneUtils.js examples/js/utils/SceneUtils.js]
  26. </p>
  27. </body>
  28. </html>