Node to draw simple geometry from code, ala OpenGL 1.x
Simple helper to draw a uvsphere, with given latitudes, longitude and radius.
Add a vertex with the currently set color/uv/etc.
Begin drawing (And optionally pass a texture override). When done call end(). For more information on how this works, search for glBegin() glEnd() references.
For the type of primitive, use the [Mesh].PRIMITIVE_* enumerations.
Clear everything that was drawn using begin/end.
Call this when done adding a batch of geometry, otherwise it can't be displayed.
Set the color that the next vertex will use to be drawn.
Set the normal that the next vertex will use to be drawn.
Set the tangent (and binormal facing) that the next vertex will use to be drawn.
Set the UV that the next vertex will use to be drawn.
Set the second layer of UV that the next vertex will use to be drawn.