Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Parameterization
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/UVUnwrapMeshUtil.h |
| Include | #include "Parameterization/UVUnwrapMeshUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Parameterization/UVUnwrapMeshUtil.cpp |
namespace UE
{
namespace Geometry
{
namespace UVUnwrapMeshUtil
{
template<EValidityCheckFailMode FailMode>
bool UE&58;&58;Geometry&58;&58;UVUnwrapMeshUtil&58;&58;DoesUnwrapMatchOverlay
&40;
const FDynamicMeshUVOverlay & OverlayIn,
const FDynamicMesh3 & UnwrapMeshIn,
TFunctionRef< FVector3d(const FVector2f &)> UVToVertPosition,
double Tolerance
&41;
}
}
}
Remarks
Checks that the vertices in the unwrap correspond to elements in the overlay in both ID and value, and that set triangles in the overlay correspond to triangles in the unwrap.
The fail mode is a template parameter so that we can do compile time branching. The function will return on the first mismatch it finds.
Parameters
| Name | Description |
|---|---|
| Tolerance | Used in comparing the expected unwrap position to the actual unwrap position for an element/vertex |