This package allow you to procedurally create various wireframe primitives. Generated meshes are native Unity meshes that is created with flag “MeshTopology.Lines”. This meshes are created in 3d space, and they are not UI elements.
2D Primitives:
- Arc
- Circle
- Rectangle
- Chamfer rectangle
- Corners rectangle
- Cross
- Grid
- Ruler
- Protractor
- AutoCAD cursor
3D Primitives:
- Box
- Corner box
- Cross
- Ico Sphere
- Line
IMPORTANT!!!
There is no way to change thickness (stroke) of generated lines – line always renders with thickness of one pixel!
Source code included.
WebGL demo:
Wire primitives demo
Documentation:
WirePrimitivesDocumentationV1.pdf
Unity forum thread:
https://forum.unity.com/threads/released-wire-primitives.554401/