Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshEditor.h |
Include |
#include "DynamicMeshEditor.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMeshEditor.cpp |
void AppendUVs
(
const FDynamicMesh3 * AppendMesh,
const FDynamicMeshUVOverlay * FromUVs,
FDynamicMeshUVOverlay * ToUVs,
const FIndexMapi & VertexMap,
const FIndexMapi & TriangleMap,
FIndexMapi & UVMapOut
)
Append UVs from one attribute overlay to another. Assumes that AppendMesh has already been appended to Mesh.
that this function has no dependency on .Mesh, it could be static
Parameter |
Description |
---|---|
AppendMesh |
mesh that owns FromUVs attribute overlay |
FromUVs |
UV overlay we want to append from (owned by AppendMesh) |
ToUVs |
UV overlay we want to append to (owned by Mesh) |
VertexMap |
map from AppendMesh vertex IDs to vertex IDs applicable to ToUVs (ie of .Mesh) |
TriangleMap |
map from AppendMesh triangle IDs to triangle IDs applicable to ToUVs (ie of .Mesh) |
UVMapOut |
Mapping from element IDs of FromUVs to new element IDs in ToUVs |