Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Parameterization
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/UVTransfer.h |
| Include | #include "Parameterization/UVTransfer.h" |
Syntax
class FDynamicMeshUVTransfer
Remarks
Transfers UVs from a low-resolution mesh to a high-resolution mesh. The source mesh is expected to be a simplified version of the destination mesh, simplified using existing vertices only. Thus, correspondences are found by position.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bClearExistingSeamsInDestination | If true, existing seams in the destination are removed before adding new ones. | |
| FDynamicMesh3 * | DestinationMesh | ||
| double | PathSimilarityWeight | Tuning parameter to make found destination paths follow source edges closer. | |
| const FDynamicMesh3 * | SourceMesh | ||
| int | UVLayerIndex | ||
| double | VertexSearchCellSize | Cell size used in hash grid when finding correspndence (only affects performance) | |
| double | VertexSearchDistance | How far to search for a matching vertex on the destination mesh. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDynamicMeshUVTransfer
(
const FDynamicMesh3* SourceMeshIn, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | TransferSeams
(
FProgressCancel* Progress |
||
| bool | TransferSeamsAndUVs
(
FProgressCancel* Progress |