Issue: Lines drawn using the Vectrosity plugin appear at different sizes depending on the size of the Unity Editor’s Scene Panel.
Environment: Windows 7 64-bit; Unity 3.5.2; Vectrosity 2.0.
Details: I create and draw a Vectrosity.VectorLine as follows:
float lineWidth = 12.0f;
VectorLine vectorLine = new VectorLine("Tongue", linePointsArray, color, material, lineWidth , LineType.Continuous, Joins.Weld);
vectorLine.Draw3D(drawSpaceTransform);
It works just fine, except that the lineWidth doesn’t take into account the resolution of the viewing area. This is illustrated in these images:
Pink Tongue is correct here:
Pink Tongue is too large here:
My thinking is that I can use Screen.currentResolution to dynamically change the width; however when resizing the Unity Editor Scene Panel, Screen.currentResolution is unaffected.
I’ve also searched through the Vectrosity documentation and have been unable to find clues there.
Thanks in advance for your help! ![]()

