setDrawMode

fun setDrawMode(drawMode: Int): Shape

Sets the GL draw mode of the shape. Possible draw modes are: 0 = points 1 = lines 2 = line loop 3 = line strip 5 = triangles 5 = triangle strip 6 = triangle fan 7 = quads 8 = quad strip 9 = polygon

Sources

Link copied to clipboard