CubeGeometry.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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>CubeGeometry</h1>
  11. <div class="desc">CubeGeometry is the quadrilateral primitive geometry class. It is typically used for creating a cube or irregular quadrilateral of the dimensions provided within the (optional) 'width', 'height', and 'depth' constructor arguments.</div>
  12. <h2>Constructor</h2>
  13. <h3>[name]([page:Float width], [page:Float height], [page:Float depth], [page:Integer widthSegments], [page:Integer heightSegments], [page:Integer depthSegments])</h3>
  14. <div>
  15. width — Width of the sides on the X axis.<br />
  16. height — Height of the sides on the Y axis.<br />
  17. depth — Depth of the sides on the Z axis.<br />
  18. widthSegments — Number of segmented faces along the width of the sides.<br />
  19. heightSegments — Number of segmented faces along the height of the sides.<br />
  20. depthSegments — Number of segmented faces along the depth of the sides.
  21. </div>
  22. <h2>Properties</h2>
  23. <h3>.[page:number heightSegments]</h3>
  24. <div>
  25. todo
  26. </div>
  27. <h3>.[page:number widthSegments]</h3>
  28. <div>
  29. todo
  30. </div>
  31. <h3>.[page:todo height]</h3>
  32. <div>
  33. todo
  34. </div>
  35. <h3>.[page:todo width]</h3>
  36. <div>
  37. todo
  38. </div>
  39. <h3>.[page:todo depth]</h3>
  40. <div>
  41. todo
  42. </div>
  43. <h3>.[page:number depthSegments]</h3>
  44. <div>
  45. todo
  46. </div>
  47. <h2>Methods</h2>
  48. <h2>Source</h2>
  49. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  50. </body>
  51. </html>