I am using Procedural Mesh Component in a C++ class and I wonder how to use this CreateGridMeshTriangles method. I’ve added #include "KismetProceduralMeshLibrary.h" to my cpp file, and have added
TArray<int32> Triangles;
UKismetProceduralMeshLibrary::CreateGridMeshTriangles(10, 10, true, Triangles);
to a method, but I am not sure how this is going to produce a mesh… any tips or examples of actual usage would be greatly appreciate, I’m also new to C++, although familiar with other programming languages.