Navigation
API > API/Plugins > API/Plugins/UVEditorTools > API/Plugins/UVEditorTools/Selection > API/Plugins/UVEditorTools/Selection/FUVToolSelection
References
| Module | UVEditorTools |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Selection/UVToolSelection.h |
| Include | #include "Selection/UVToolSelection.h" |
| Source | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Private/Selection/UVToolSelection.cpp |
static TArray < int32 > ConvertAppliedElementIdsToUnwrappedElementIds
(
EType SelectionMode,
const FDynamicMesh3 & AppliedMesh,
const FDynamicMesh3 & UnwrapMesh,
const FDynamicMeshUVOverlay & UVOverlay,
const TArray < int32 > & IDsIn,
TArray < int32 > & AppliedOnlyElementIds
)
Remarks
Utility method to convert element ids from those belonging to the applied mesh to those belonging to equivalent ids on the unwrapped mesh
Parameters
| Name | Description |
|---|---|
| SelectionMode | The type of element the input ids represent |
| AppliedMesh | A dynamic mesh instance representing the applied mesh which the input ids belong to |
| UnwrapMesh | A dynamic mesh instance representing the unwrapped mesh for which the resulting ids will belong to |
| UVOverlay | An overlay representing the current UV mapping linking the unwrapped and applied mesh |
| IDsIn | The ids of the elements from the unwrapped mesh to convert to applied element ids |
| AppliedOnlyElementIds | The ids of any remaining elements that have no direct mappings, due to unset UVs, in the unwrapped mesh |