Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMesh3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EMeshResult CanCollapseEdge
(
int vKeep, |
DynamicMesh/DynamicMesh3.h | ||
virtual EMeshResult CanCollapseEdge
(
int vKeep, |
Tests whether collapsing the specified edge using the CollapseEdge function would succeed. | DynamicMesh/DynamicMesh3.h |
CanCollapseEdge(int, int, const FCollapseEdgeOptions &)
| Name | CanCollapseEdge |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMesh3_Edits.cpp |
virtual EMeshResult CanCollapseEdge
(
int vKeep,
int vRemove,
const FCollapseEdgeOptions & Options
) const
CanCollapseEdge(int, int, double)
Description
Tests whether collapsing the specified edge using the CollapseEdge function would succeed. Equivalent to calling the options overload with default options.
| Name | CanCollapseEdge |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMesh3_Edits.cpp |
virtual EMeshResult CanCollapseEdge
(
int vKeep,
int vRemove,
double EdgeParameterT
) const
Ok if the edge can be collapsed, or enum value indicating why the operation cannot be applied
Parameters
| Name | Remarks |
|---|---|
| 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. |