Can I put generated vertex locations into a mesh?

I’ve some code that builds some shapes procedurally. I’ve vertex locations and the vertex face assignements (counter-clockwise). I was getting ready to write a text export that would just assemble these data into a .obj file format, but now I’m wondering if there is a way to just dump this information into a mesh container and then export the data as an .obj from inside UE4? Any recommendations?

Thanks!

Using CustomMeshComponent or ProceduralMeshComponent allows that.