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;UpdateUVOverlayFromUnwrapMesh
&40;
const FDynamicMesh3 & UnwrapMeshIn,
FDynamicMeshUVOverlay & UVOverlayOut,
TFunctionRef< FVector2f(const FVector3d &)> VertPositionToUV,
const TArray< int32 > &42; ChangedVids,
const TArray< int32 > &42; ChangedConnectivityTids
&41;
}
}
}
Remarks
Given a mesh that corresponds to an overlay with an exact mapping of triangle IDs and element IDs to vertex IDs (i.e. one generated by GenerateUVUnwrapMesh), update the element values and connectivity of the overlay.
Parameters
| Name | Description |
|---|---|
| ChangedVids | If not null, only update elements corresponding to the given vertex IDs. |
| ChangedConnectivityTids | If not null, only update triangle connectivity corresponding to the given triangle IDs. |