FDynamicMeshEditor::AppendTriangles

Append triangles of an existing mesh.

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 AppendTriangles
(
    const FDynamicMesh3 * SourceMesh,
    const TArrayView< const int > & SourceTriangles,
    FMeshIndexMappings & IndexMaps,
    FDynamicMeshEditResult & ResultOut,
    bool bComputeTriangleMap
)

Remarks

Append triangles of an existing mesh. This duplicates the current groups and also any attributes existing on the triangles.

Parameters

Parameter

Description

SourceMesh

the mesh to copy from

SourceTriangles

the triangles to copy

IndexMaps

returned mappings from old to new triangles/vertices/etc (you may initialize to optimize memory usage, etc)

ResultOut

lists of newly created triangles/vertices/etc

bComputeTriangleMap

if true, computes the triangle map section of IndexMaps (which is not needed for the append to work, so is optional)

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