The LineSegment is just a rectangle. But what is a "real line" as in we dragged a pencil over a piece of paper? Surely it doesn't look like a rectangle. It need two more things : line cap and line corner.
LineSegment will not support rendering corner or end cap mesh even in the future, but I am thinking of making CornerSegment and LineEndCap for those, and assemble 3 of them into a complete line with one another component (with a list of corner points instead of start-end). In all, line renderer will render 3 kind of meshes in batches. (Assuming vertex resolution of corners and caps are fixed, which you should for batching performance)
The
LineSegmentis just a rectangle. But what is a "real line" as in we dragged a pencil over a piece of paper? Surely it doesn't look like a rectangle. It need two more things : line cap and line corner.LineSegmentwill not support rendering corner or end cap mesh even in the future, but I am thinking of makingCornerSegmentandLineEndCapfor those, and assemble 3 of them into a complete line with one another component (with a list of corner points instead of start-end). In all, line renderer will render 3 kind of meshes in batches. (Assuming vertex resolution of corners and caps are fixed, which you should for batching performance)