SubdivisionModifier.html 979 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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">Applies Catmull-Clark Subdivision Surfaces for creating smooth geometry meshes</div>
  12. <h2>Constructor</h2>
  13. <h3>[name]( subdivisions )</h3>
  14. <h2>Properties</h2>
  15. <h3>.subdivisions</h3>
  16. <div>Number of time subdivision will be applied</div>
  17. <h3>.useOldVertexColors</h3>
  18. <h3>.supportUVs</h3>
  19. <h3>.debug</h3>
  20. <h2>Methods</h2>
  21. <h3>.modify ( geometry )</h3>
  22. <div>Modifies the geometry by running subdivision surfaces. This calls .smooth() internally</div>
  23. <h3>.smooth ( oldGeometry )</h3>
  24. <div>Performs an iteration of Catmull-Clark Subdivision</div>
  25. <h2>Source</h2>
  26. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  27. </body>
  28. </html>