UE::UVPacking::CreateUVIslandsFromMeshTopology

Create UV islands from a triangle mesh connectivity.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Parameterization/UVPacking.h

Include

#include "Parameterization/UVPacking.h"

Syntax

namespace UE
{
    namespace UVPacking
    {
        template<typename TriangleMeshType>
        void UE::UVPacking::CreateUVIslandsFromMeshTopology
        (
            TriangleMeshType & Mesh,
            TArray< TArray< int >> & IslandsOut,
            TFunctionRef< bool)> IncludeTri
        )
    }
}

Remarks

Create UV islands from a triangle mesh connectivity. Assumes the triangles are already split at UV seams, but topologically connected otherwise. Not recommended for meshes that already have built-in edge connectivity data.

Parameters

Parameter

Description

Mesh

The mesh to create islands for

IslandsOut

The triangle IDs for each island

IncludeTri

Optional function to filter which tris are assigned to islands

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