FDynamicMeshEditor::AppendUVs

Append UVs from one attribute overlay to another.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshEditor.h

Include

#include "DynamicMeshEditor.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMeshEditor.cpp

Syntax

void AppendUVs
(
    const FDynamicMesh3 * AppendMesh,
    const FDynamicMeshUVOverlay * FromUVs,
    FDynamicMeshUVOverlay * ToUVs,
    const FIndexMapi & VertexMap,
    const FIndexMapi & TriangleMap,
    FIndexMapi & UVMapOut
)

Remarks

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

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss