This is the 9th episode of unreal engine runtime terrain generation system. Today, we are going to write the generate terrain function in C++. Here, we will write c++ code to generate vertices, uvs, normals, triangles and everything required to generate a mesh in runtime.