Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshMapBaker
Description
Set an a Triangle ID to UV Chart ID array for TargetMesh. If this is not set, then the baker will compute it as part of Bake(). Since ComputeUVCharts() is non-trivial, this method is intended to allow a client to externally cache the result of ComputeUVCharts to minimize the overhead per bake.
| Name | SetTargetMeshUVCharts |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshMapBaker.h |
| Include Path | #include "Sampling/MeshMapBaker.h" |
void SetTargetMeshUVCharts
(
TArray < int32 > * UVChartsIn
)
Parameters
| Name | Remarks |
|---|---|
| UVChartsIn | the TriID to UVChartID map |