Code:
//defined in my header file const TArray<FVector> Vertices; const TArray<int32> Triangles; const TArray<FVector2D> UV0; //in the cpp file UProceduralMeshComponent::CreateMeshSection(0, Vertices, Triangles, 0, UV0, 0, 0, false);
//defined in my header file const TArray<FVector> Vertices; const TArray<int32> Triangles; const TArray<FVector2D> UV0; //in the cpp file UProceduralMeshComponent::CreateMeshSection(0, Vertices, Triangles, 0, UV0, 0, 0, false);
Comment