Combine procedural generated meshes during runtime

I’m currently procedurally generating meshes and want to combine them into 1 static mesh during runtime. Since they don’t exist beforehand, I’m kind of forced to do it during runtime. Any idea of how I would go about that?

Did you finally finish this function?