Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FDynamicMeshUVEditor
Warnings * computes a single parameterization, so input triangle set must be connected, however this is not verified internally
Description
Create new UV island for given Triangles, and set UVs for that island using Spectral Conformal Map.
computes a single parameterization, so input triangle set must be connected, however this is not verified internally
| Name | SetTriangleUVsFromFreeBoundarySpectralConformal |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/DynamicMeshUVEditor.h |
| Include Path | #include "Parameterization/DynamicMeshUVEditor.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Parameterization/DynamicMeshUVEditor.cpp |
bool SetTriangleUVsFromFreeBoundarySpectralConformal
(
const TArray < int32 > & Triangles,
bool bUseExistingUVTopology,
bool bPreserveIrregularity,
FUVEditResult * Result
)
Parameters
| Name | Remarks |
|---|---|
| Triangles | list of triangles |
| bUseExistingUVTopology | if true, re-solve for existing UV set, rather than constructing per-vertex UVs from triangle set. Allows for solving w/ partial seams, interior cuts, etc. |
| bPreserveIrregularity | if true, reduces distortion for meshes with triangles of vastly different sizes. |