What would I use to render runtime generated geometry?

What would I use to render runtime generated geometry?

My plan is to use the navmesh to generate where an actor can move to in a turn based strategy game. I think ARecastNavMesh::GetPolysWithinPathingDistance used with ARecastNavMesh::GetPolyVerts returns what I’m after (or at least will after I tweak with the shape of the perimeter). The question is, how do I render it!? :smiley:

Edit: It appears FDynamicMeshBuilder is what I’m after. No docs yet, check github source for examples.

Have you looked at the UNavMeshRenderingComponent?

I assumed that would only deal with rendering the entirety of the navmesh. Is it possible to limit it to a given path distance? :smiley:

Edit: My aim is a free form version of the hexes in this http://www.brasshats.com/screen1.gif

Could tell us where exactly are those examples are located in the Github ?

Regards,
.

You could have a look at this wiki article where they explain how to generate a mesh at runtime from triangles.