Generate Procedural Mesh

CustomMeshComponent derives from MeshComponent, which has a Materials array and a SetMaterial function, that should work. CustomMeshComponent currently only have a single material section. Note that CMC is really an example of how to create your own geometry, you may want to create your own component class so you can get full control over UVs, tangents, sections etc.