Download

UStaticMesh Vertices in CCW order

Hello,
Do you know how can I get StaticMesh vertices in CCW order?
I can read vertices from LOD by using:
FPositionVertexBuffer* VertexBuffer = &StaticMesh->RenderData->LODResources[0].VertexBuffers.PositionVertexBuffer;

but how can I get it sorted already? Is such option in StaticMesh API available or must I sort it by myself?

Thanks,

Sorted how? You need to use the index buffer of this lod to indirect into the vertex buffer if you want to get the triangles.