Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh > API/Runtime/GeometryCore/DynamicMesh/FDynamicMesh3 > API/Runtime/GeometryCore/DynamicMesh/FDynamicMesh3/CanCollapseEdge
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include | #include "DynamicMesh/DynamicMesh3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMesh3_Edits.cpp |
virtual EMeshResult CanCollapseEdge
(
int vKeep,
int vRemove,
double EdgeParameterT
) const
Remarks
Tests whether collapsing the specified edge using the CollapseEdge function would succeed. Equivalent to calling the options overload with default options. Ok if the edge can be collapsed, or enum value indicating why the operation cannot be applied
Parameters
| Name | 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, EdgeParameterT). Note: Does not currently affect whether the edge is collapsable. |