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 CollapseEdge
(
int KeepVertID,
int RemoveVertID,
double EdgeParameterT,
FEdgeCollapseInfo & CollapseInfo
)
Collapse the edge between the two vertices, if topologically possible.
Ok on success, or enum value indicates why operation cannot be applied. Mesh remains unmodified on error.
Parameter |
Description |
---|---|
KeepVertID |
index of the vertex that should be kept |
RemoveVertID |
index of the vertex that should be removed |
EdgeParameterT |
vKeep is moved to Lerp(KeepPos, RemovePos, collapse_t) |
CollapseInfo |
returned information about new and modified mesh elements |