FDynamicMeshEditor::AppendNormals

Append normals 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 AppendNormals
(
    const FDynamicMesh3 * AppendMesh,
    const FDynamicMeshNormalOverlay * FromNormals,
    FDynamicMeshNormalOverlay * ToNormals,
    const FIndexMapi & VertexMap,
    const FIndexMapi & TriangleMap,
    TFunction< FVector3d &)> NormalTransform,
    FIndexMapi & NormalMapOut
)

Remarks

Append normals from one attribute overlay to another. Assumes that AppendMesh has already been appended to Mesh. Note that this function has no dependency on .Mesh, it could be static

Parameters

Parameter

Description

AppendMesh

mesh that owns FromNormals attribute overlay

FromNormals

Normals overlay we want to append from (owned by AppendMesh)

ToNormals

Normals overlay we want to append to (owned by Mesh)

VertexMap

map from AppendMesh vertex IDs to vertex IDs applicable to ToNormals (ie of .Mesh)

TriangleMap

map from AppendMesh triangle IDs to triangle IDs applicable to ToNormals (ie of .Mesh)

NormalTransform

optional transformation function applied to mesh normals

NormalMapOut

Mapping from element IDs of FromNormals to new element IDs in ToNormals

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