Files
alexis matte d4384565b8 Interchange: Fix importing multi uv channel that was importing only the first UV channel.
#jira UE-178100
#rb jeanluc.corenthin , richard.talbotwatkin
#preflight 63fe0fb8437ce3e7f38e1d86
#rnx

[CL 24444884 by alexis matte in ue5-main branch]
2023-02-28 12:13:16 -05:00

49 lines
919 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MeshAttributes.h"
namespace MeshAttribute
{
namespace Vertex
{
const FName Position("Position ");
}
namespace VertexInstance
{
const FName VertexIndex("VertexIndex");
}
namespace Edge
{
const FName VertexIndex("VertexIndex");
}
namespace Triangle
{
const FName VertexInstanceIndex("VertexInstanceIndex");
const FName PolygonIndex("PolygonIndex");
const FName EdgeIndex("EdgeIndex");
const FName VertexIndex("VertexIndex");
const FName UVIndex("UVIndex");
const FName PolygonGroupIndex("PolygonGroupIndex");
}
namespace UV
{
const FName UVCoordinate("UVCoordinate");
}
namespace Polygon
{
const FName PolygonGroupIndex("PolygonGroupIndex");
}
}
void FMeshAttributes::Register(bool bKeepExistingAttribute)
{
// Nothing to do here: Vertex positions are already registered by the FMeshDescription constructor
}