[page:Line] →
[name]
A series of lines.
Constructor
[name]( [page:Geometry geometry], [page:Material material] )
geometry — Vertices representing the line segment(s).
material — Material for the line. Default is [page:LineBasicMaterial LineBasicMaterial].
If no material is supplied, a randomized line material will be created and assigned to the object.
Properties
[property:Geometry geometry]
Vertices representing the line segment(s).
[property:Material material]
Material for the line.
Methods
[method:Array raycast]([page:Raycaster raycaster], [page:Array intersects])
Get intersections between a casted ray and this Line. [page:Raycaster.intersectObject] will call this method.
[method:Object3D clone]([page:Object3D object])
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned LineSegments Object.
Clone a LineSegments Object.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]