IMeshUtilities::GenerateUniqueUVsForSkeletalMesh

Calculates (new) non-overlapping UV coordinates for the given Skeletal Mesh

Unreal Engine C++ API Reference > Developer > MeshUtilities > IMeshUtilities

References

   
Module MeshUtilities
Header /Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h
Include #include "MeshUtilities.h"
bool GenerateUniqueUVsForSkeletalMesh
(
    const [FSkeletalMeshLODModel](API\Runtime\Engine\Rendering\FSkeletalMeshLODModel) & LODModel,
    int32 TextureResolution,
    [TArray](API\Runtime\Core\Containers\TArray)< FVector2f > & OutTexCoords
) const

Remarks

Calculates (new) non-overlapping UV coordinates for the given Skeletal Mesh bool - whether or not generating the UVs succeeded

Parameters

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library