Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FDynamicMeshUVEditor
Description
Takes the currently selected triangles and makes a separate UV island out of them, i.e. any interior seams are removed, and seams are added around the boundary of the selection. If the selection is not connected in the mesh, islands will be created for each connected component of selected triangles. If some of the selected triangles have unset UVs, they will be initialized to per-vertex zero UVs for the purposes of creating an island.
| Name | MakeIsland |
| 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 MakeIsland
(
const TSet< int32 > & TidsToMakeIntoIsland,
FUVEditResult * Result,
TSet< int32 > * ChangedTrianglesOut
)
true on success
Parameters
| Name | Remarks |
|---|---|
| TidsToMakeIntoIsland | Triangles in the mesh |
| Result | if non-null, list of new UV elements created for new seams, or to initialize UVs. |
| ChangedTrianglesOut | Optional output of triangles that had their UVs changed. Currently this is a conservative superset, so some might not have actually changed. Not cleared before use. |