How can I access the triangles of a static mesh C++?

Hello, I’m trying to iterate over the triangles of a static mesh to run some sort of edge detection. I followed this link Accessing Vertex Positions of static mesh and was able to access the positions of the vertices, I was expecting to get the indices also from the vertex buffers to reconstruct the triangles, but couldn’t find them. any hint or code snipped would be appreciated.

Hi,
I wonder if you found a solution for this, I’m stuck in the same place than you were!

Cheers