How can I add a Material to Procedural Mesh?

#UVs

well first of all you need UVs

I wrote up the code here:

#Material

setting the material itself is easy!

YourMeshComponent->SetMaterial(0,TheMaterial);
1 Like