Module |
|
Header |
/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h |
Include |
#include "MeshUtilities.h" |
bool GenerateUniqueUVsForSkeletalMesh
(
const FSkeletalMeshLODModel & LODModel,
int32 TextureResolution,
TArray< FVector2D > & OutTexCoords
) const
Calculates (new) non-overlapping UV coordinates for the given Skeletal Mesh
bool - whether or not generating the UVs succeeded
Parameter |
Description |
---|---|
LODModel |
Skeletal Mesh to generate UV coordinates for |
TextureResolution |
Texture resolution to take into account while generating the UVs |
OutTexCoords |
New set of UV coordinates |