FDynamicMesh3::SplitVertex

Clones the given vertex and updates any provided triangles to use the new vertex if/where they used the old one.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

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

Include

#include "DynamicMesh3.h"

Source

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

Syntax

virtual EMeshResult SplitVertex
(
    int VertexID,
    const TArrayView< const int > & TrianglesToUpdate,
    FVertexSplitInfo & SplitInfo
)

Remarks

Clones the given vertex and updates any provided triangles to use the new vertex if/where they used the old one.

Returns

Ok on success, or enum value indicates why operation cannot be applied. Mesh remains unmodified on error.

Parameters

Parameter

Description

VertexID

the vertex to split

TrianglesToUpdate

triangles that should be updated to use the new vertex anywhere they previously had the old one

SplitInfo

returned info about the new and modified mesh elements

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