LineSegments.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. [page:Object3D] &rarr; [page:Line] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc">
  13. A series of lines drawn between pairs of vertices.<br /><br />
  14. This is nearly the same as [page:Line]; the only difference is that it is rendered using
  15. [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements gl.LINES]
  16. instead of [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements gl.LINE_STRIP].
  17. </p>
  18. <h2>Constructor</h2>
  19. <h3>[name]( [param:BufferGeometry geometry], [param:Material material] )</h3>
  20. <p>
  21. [page:BufferGeometry geometry] — Pair(s) of vertices representing each line segment(s).<br />
  22. [page:Material material] — Material for the line. Default is [page:LineBasicMaterial LineBasicMaterial].
  23. </p>
  24. <h2>Properties</h2>
  25. <p>See the base [page:Line] class for common properties.</p>
  26. <h2>Methods</h2>
  27. <p>See the base [page:Line] class for common methods.</p>
  28. <h2>Source</h2>
  29. <p>
  30. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  31. </p>
  32. </body>
  33. </html>