12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <base href="../../" />
- <script src="list.js"></script>
- <script src="page.js"></script>
- <link type="text/css" rel="stylesheet" href="page.css" />
- </head>
- <body>
- [page:Line] →
- <h1>[name]</h1>
- <div class="desc">A series of lines drawn between pairs of vertices.</div>
- <h2>Constructor</h2>
- <h3>[name]( [page:Geometry geometry], [page:Material material] )</h3>
- <div>
- geometry — Pair(s) of vertices representing each line segment(s).<br />
- material — Material for the line. Default is [page:LineBasicMaterial LineBasicMaterial].
- </div>
- <div>If no material is supplied, a randomized line material will be created and assigned to the object.</div>
- <h2>Properties</h2>
- <h3>[property:Geometry geometry]</h3>
- <div>
- Pair(s) of vertices representing the line segment(s).
- </div>
- <h3>[property:Material material]</h3>
- <div>
- Material for the line.
- </div>
- <h2>Methods</h2>
- <h3>[method:Array raycast]( [page:Raycaster raycaster], [page:Array intersects] )</h3>
- <div>
- Get intersections between a casted ray and this Line. [page:Raycaster.intersectObject] will call this method.
- </div>
-
- <h3>[method:LineSegments clone]()</h3>
- <div>
- Returns a clone of this LineSegments object and its descendants.
- </div>
- <h2>Source</h2>
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
- </body>
- </html>
|