Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Parameterization > API/Plugins/DynamicMesh/Parameterization/FPatchBasedMeshUVGenerator
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/PatchBasedMeshUVGenerator.h |
| Include | #include "Parameterization/PatchBasedMeshUVGenerator.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Parameterization/PatchBasedMeshUVGenerator.cpp |
int32 ComputeUVsFromTriangleSets
&40;
FDynamicMesh3 & TargetMesh,
FDynamicMeshUVOverlay & TargetUVOverlay,
const TArray< TArray< int32 >> & TriangleSets,
TArray< bool > & bValidUVsComputedOut,
FProgressCancel &42; Progress
&41;
Remarks
Calculate UVs for the input mesh patches of TargetMesh and store in TargetUVOVerlay number of failed UV islands, 0 if all were successful, and -1 if Progress was cancelled
Parameters
| Name | Description |
|---|---|
| TriangleSets | the set of desired UV islands, defined as triangle lists |
| bValidUVsComputedOut | output list of booleans the same length as TriangleSets, set to false if UV computation failed for that island |