How do I get normals info on a per-vertex basis?

(As a note: I’m currently using 4.9.2, but I’m willing to upgrade if someone has a solution only in a newer version.)

I’ve been messing around in C++ so that I can expose the vertex data of a model to blueprints, in the form of a function library.

So far has so good: I can get the vertices’ locations from PositionVertexBuffer->VertexPosition(), and the vertex normals from StaticMeshVertexBuffer->VertexTangentX().

Here’s the problem: I’m not quite sure how to match the normals with the locations, since VertexTangentX() just gives me the normals themselves without any indication of which normal goes with which vertex.

Any help would be greatly appreciated! :smiley: