FDynamicMeshEditor::CopyAttributes

Copy all attribute-layer values from one triangle to another, using the IndexMaps to track and re-use shared attribute values.

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 CopyAttributes
(
    int FromTriangleID,
    int ToTriangleID,
    FMeshIndexMappings & IndexMaps,
    FDynamicMeshEditResult & ResultOut
)

Remarks

Copy all attribute-layer values from one triangle to another, using the IndexMaps to track and re-use shared attribute values.

Parameters

Parameter

Description

FromTriangleID

source triangle

ToTriangleID

destination triangle

IndexMaps

mappings passed to FindOrCreateDuplicateX functions to track already-created attributes

ResultOut

information about new attributes is stored here (

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