Navigation
API > API/Runtime > API/Runtime/MeshUtilitiesCommon
| Name | FLayoutUV |
| Type | class |
| Header File | /Engine/Source/Runtime/MeshUtilitiesCommon/Public/LayoutUV.h |
| Include Path | #include "LayoutUV.h" |
Syntax
class FLayoutUV
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLayoutUV
(
IMeshView& InMeshView |
LayoutUV.h |
Structs
| Name | Remarks |
|---|---|
| FChartFinder | FIRST PASS: Given a Mesh, build the associated set of charts |
| FChartPacker | SECOND PASS: Given a set of charts, pack them in the UV space |
| IMeshView | Abstract triangle mesh view interface that may be used by any module without introducing a dependency on a concrete mesh type (and thus potentially circular module references). |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FindBestPackingCount | TAtomic< uint64 > | LayoutUV.h | |
| FindBestPackingCycles | TAtomic< uint64 > | LayoutUV.h | |
| FindBestPackingEfficiency | TAtomic< uint64 > | LayoutUV.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LayoutVersion | ELightmapUVVersion | LayoutUV.h | ||
| MeshCharts | TArray< FMeshChart > | LayoutUV.h | ||
| MeshSortedTris | TArray< uint32 > | LayoutUV.h | ||
| MeshTexCoords | TArray< FVector2f > | LayoutUV.h | ||
| MeshView | IMeshView & | LayoutUV.h | ||
| PackedTextureResolution | uint32 | LayoutUV.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CommitPackedUVs() |
LayoutUV.h | ||
bool FindBestPacking
(
uint32 InTextureResolution |
LayoutUV.h | ||
int32 FindCharts
(
const FOverlappingCorners& OverlappingCorners |
LayoutUV.h | ||
void SetVersion
(
ELightmapUVVersion Version |
LayoutUV.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void LogStats() |
LayoutUV.h | ||
static void ResetStats() |
LayoutUV.h |