Progamatically creating landscape through C++

Hello, I am trying to convert assets from a custom game engine to work with Unreal Engine.
The main issue I’m having is how I would go about generating the terrain.
What I currently have is an open world tile based terrain split into chunks which has height map and a colour/texture for each tile.
The colour and texture I assume I can just generate a material but how would I go about generating the landscape itself and assigning the material to the “tiles” with C++ as well as piecing it all together?
Preferably using the Landscape API however if not possible I guess I would need to generate a mesh for the landscape?

Thank you

1 Like