Module |
|
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 |
virtual EMeshResult SplitVertex
(
int VertexID,
const TArrayView< const int > & TrianglesToUpdate,
FVertexSplitInfo & SplitInfo
)
Clones the given vertex and updates any provided triangles to use the new vertex if/where they used the old one.
Ok on success, or enum value indicates why operation cannot be applied. Mesh remains unmodified on error.
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 |