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
{
void UE&58;&58;Geometry&58;&58;UVUnwrapMeshUtil&58;&58;GenerateUVUnwrapMesh
&40;
const FDynamicMeshUVOverlay & UVOverlay,
FDynamicMesh3 & UnwrapMeshOut,
TFunctionRef< FVector3d(const FVector2f &)> UVToVertPosition
&41;
}
}
}
Remarks
Given a UV overlay, generate a mesh out of the overlay using the given UV to 3d position function. The resulting mesh's vertex IDs will match the overlay element IDs, and the triangle IDs will match the overlay triangle IDs. The mesh will have a UV overlay of its own that will match the source overlay except for the parent verts.