Best way to create line segments using MeshBuilder.CreateLines (or MeshBuilder.CreateLineSystem)?

Let’s say that I want to draw ten vertical lines that are parallel. What would be the best way to do that? Should I use multiple MeshBuilder elements? Or can I somehow do that using one MeshBuilder and it’s CreateLines method?

One MeshBuilder as it is static and you cannot instantiate it

1 Like

The right tool is MeshBuilder.CreateLineSystem

2 Likes