Generate Procedural Mesh

[=Ryvar;50833]
re: Vertex Color - make sure you include the underlined line in your VertexFactory, or the color data will never get copied:
[/]

Added the fix to the wiki article on procedural mesh generation.

EDIT: Anyone, feel free to update the code on that page. I haven’t included 's code on UVs and bounds.