#include "DatasmithExportHelper.h"
#include "DatasmithMesh.h"
#include "DatasmithMeshExporter.h"
{
int32 NumFaces = 6;
int32 NumTriangles = 12;
int32 NumVertex = 8;
Mesh.
SetUV(0, 0, 0.0, 0.0);
Mesh.
SetUV(0, 1, 0.0, 1.0);
Mesh.
SetUV(0, 2, 1.0, 1.0);
Mesh.
SetUV(0, 3, 1.0, 0.0);
int32 FaceId = 0;
FaceId = 1;
}
void FDatasmithExportHelper::CreateSimplePyramid(
FDatasmithMesh& Mesh )
{
int32 NumFaces = 5;
int32 NumTriangles = 6;
int32 NumVertex = 5;
Mesh.
SetUV(0, 0, 0.0, 0.0);
Mesh.
SetUV(0, 1, 0.0, 1.0);
Mesh.
SetUV(0, 2, 1.0, 1.0);
Mesh.
SetUV(0, 3, 1.0, 0.0);
int32 FaceId = 0;
FaceId = 1;
}