fromLineSegments method

LineSegmentsGeometry fromLineSegments(
  1. LineSegments lineSegments
)

Implementation

LineSegmentsGeometry fromLineSegments(LineSegments lineSegments ) {
	final geometry = lineSegments.geometry;
	this.setPositions( geometry!.attributes['position'].array ); // assumes non-indexed
	// set colors, maybe
	return this;
}