Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshMapBaker
Description
Computes the connected UV triangles and returns an array containing the mapping from triangle ID to unique UV chart ID. If the mesh has no UVs, the UVCharts will be initialized to 0.
| Name | ComputeUVCharts |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshMapBaker.h |
| Include Path | #include "Sampling/MeshMapBaker.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Sampling/MeshMapBaker.cpp |
static void ComputeUVCharts
(
const FDynamicMesh3 & Mesh,
TArray < int32 > & MeshUVCharts
)
Parameters
| Name | Remarks |
|---|---|
| Mesh | the mesh to compute UV charts. |
| MeshUVCharts | the triangle ID to UV Chart ID array. |