FChartPacker

SECOND PASS: Given a set of charts, pack them in the UV space

Windows
MacOS
Linux

References

Module

MeshUtilitiesCommon

Header

/Engine/Source/Runtime/MeshUtilitiesCommon/Private/LayoutUV.cpp

Include

#include "LayoutUV.cpp"

Syntax

struct FChartPacker

Remarks

SECOND PASS: Given a set of charts, pack them in the UV space

Constructors

Name Description

Public function

FChartPacker

(
    IMeshView& InMeshView,
    ELightmapUVVersion InLayoutVersion,
    uint32 TextureResolution
)

Functions

Name Description

Public function

bool

 

FindBestPacking

(
    const TArray< FVector2D >& TexCoor...,
    const TArray< uint32 >& SortedTris,
    TArray< FMeshChart >& AllCharts
)

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