Draw XXL documentation


int DrawShapes.LinesPerSphereCircle

This only affects drawing spheres, ellipsoids or capsules. It influences the quality of their "roundness". By default a sphere circle is made from 64 straight lines to achieve the impression of a curved line. If many spheres should be drawn, or if single spheres have many struts then the count of used lines can quickly rise (see DrawBasics.MaxAllowedDrawnLinesPerFrame. You can use this setting to reduce the roundness quality of spheres and capsules and save drawn lines. The only allowed values are 64, 32, 16 and 8. It doesn't affect cylinders. It also doesn't affect two dimensional flat circles. You can replace those with Decagon() to save lines, or use RegularPolygon() to flexibly set any number of lines per circle.