Unity Scripting Reference lacks an entry for GL.lineWidth

There should be an entry for GL.lineWidth denoting NOT IMPLEMENTED.

There is no way to specify line's thickness. (other than color)

Same applies to Gizmos.lineWidth.

search keyword: glLineWidth()

1 Like

You can have a look here for implementing quads using OpenGL
http://wiki.unity3d.com/index.php?title=VectorLine

1 Like

It's quite unlikely we'll expose OpenGL's line width. It only works on OpenGL and nowhere else (not even OpenGL ES), and the drivers internally just "emulate" it anyway, by drawing quads for each line segment.

(btw "GL" class name in Unity is more like a "Graphics Library" -- it does not, and never has, been "expose OpenGL API")

2 Likes