ExtrudeGeometry.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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:Geometry] &rarr;
  11. <h1>[name]</h1>
  12. <div class="desc">Creates extruded geometry from a path shape</div>
  13. <h2>Constructor</h2>
  14. <h3>[name]([page:todo shapes], [page:Object options])</h3>
  15. <div>
  16. shapes — Shape or an array of shapes. <br />
  17. options — Object that can contain the following parameters.
  18. <ul>
  19. <li>curveSegments — int. number of points on the curves</li>
  20. <li>steps — int. number of points used for subdividing segements of extrude spline</li>
  21. <li>amount — int. Depth to extrude the shape</li>
  22. <li>bevelEnabled — bool. turn on bevel</li>
  23. <li>bevelThickness — float. how deep into the original shape bevel goes</li>
  24. <li>bevelSize — float. how far from shape outline is bevel</li>
  25. <li>bevelSegments — int. number of bevel layers</li>
  26. <li>extrudePath — THREE.CurvePath. 3d spline path to extrude shape along. (creates Frames if (frames aren't defined)</li>
  27. <li>frames — THREE.TubeGeometry.FrenetFrames. containing arrays of tangents, normals, binormals</li>
  28. <li>material — int. material index for front and back faces</li>
  29. <li>extrudeMaterial — int. material index for extrusion and beveled faces</li>
  30. <li>uvGenerator — Object. object that provides UV generator functions</li>
  31. </ul>
  32. </div>
  33. <div>
  34. todo
  35. </div>
  36. <h2>Properties</h2>
  37. <h2>Methods</h2>
  38. <h3>.addShapeList ([page:todo shapes], [page:Object options])</h3>
  39. <div>
  40. shapes — todo <br />
  41. options — todo
  42. </div>
  43. <div>todo</div>
  44. <h3>.addShape ([page:todo shape], [page:Object options])</h3>
  45. <div>
  46. shape — todo <br />
  47. options — todo
  48. </div>
  49. <div>todo</div>
  50. <h2>Source</h2>
  51. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  52. </body>
  53. </html>