IMeshUtilities::GenerateUniqueUVsForSkeletalMesh

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

Windows
MacOS
Linux

References

Module

MeshUtilities

Header

/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h

Include

#include "MeshUtilities.h"

Syntax

bool GenerateUniqueUVsForSkeletalMesh
(
    const FSkeletalMeshLODModel & LODModel,
    int32 TextureResolution,
    TArray< FVector2D > & OutTexCoords
) const

Remarks

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

Returns

bool - whether or not generating the UVs succeeded

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss