Module |
|
Header |
/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h |
Include |
#include "MeshUtilities.h" |
Calculates (new) non-overlapping UV coordinates for the given Raw Mesh
bool - whether or not generating the UVs succeeded
Parameter |
Description |
---|---|
RawMesh |
Raw Mesh to generate UV coordinates for |
TextureResolution |
Texture resolution to take into account while generating the UVs |
bMergeIdenticalMaterials |
Whether faces with identical materials can be treated as one in the resulting set of unique UVs |
OutTexCoords |
New set of UV coordinates |