Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMesh3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EMeshResult CollapseEdge
(
int KeepVertID, |
Collapse the edge between the two vertices, if topologically possible. | DynamicMesh/DynamicMesh3.h | |
virtual EMeshResult CollapseEdge
(
int KeepVertID, |
Collapse the edge between the two vertices, if topologically possible. | DynamicMesh/DynamicMesh3.h | |
virtual EMeshResult CollapseEdge
(
int KeepVertID, |
Collapse the edge between the two vertices, if topologically possible. | DynamicMesh/DynamicMesh3.h | |
virtual EMeshResult CollapseEdge
(
int KeepVertID, |
Collapse the edge between the two vertices, if topologically possible. | DynamicMesh/DynamicMesh3.h |
CollapseEdge(int, int, FEdgeCollapseInfo &)
Description
Collapse the edge between the two vertices, if topologically possible. Equivalent to calling the options overload with default options and using 0 for EdgeParameterT.
| Name | CollapseEdge |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
virtual EMeshResult CollapseEdge
(
int KeepVertID,
int RemoveVertID,
FEdgeCollapseInfo & CollapseInfo
)
CollapseEdge(int, int, const FCollapseEdgeOptions &, FEdgeCollapseInfo &)
Description
Collapse the edge between the two vertices, if topologically possible. Equivalent to using the other overload with 0 for EdgeParameterT.
| Name | CollapseEdge |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
virtual EMeshResult CollapseEdge
(
int KeepVertID,
int RemoveVertID,
const FCollapseEdgeOptions & Options,
FEdgeCollapseInfo & CollapseInfo
)
CollapseEdge(int, int, double, FEdgeCollapseInfo &)
Description
Collapse the edge between the two vertices, if topologically possible. Equivalent to calling the options overload with default options.
| Name | CollapseEdge |
| 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 CollapseEdge
(
int KeepVertID,
int RemoveVertID,
double EdgeParameterT,
FEdgeCollapseInfo & CollapseInfo
)
Ok on success, or enum value indicates why operation cannot be applied. Mesh remains unmodified on error.
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) |
| CollapseInfo | returned information about new and modified mesh elements |
CollapseEdge(int, int, double, const FCollapseEdgeOptions &, FEdgeCollapseInfo &)
Description
Collapse the edge between the two vertices, if topologically possible.
| Name | CollapseEdge |
| 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 CollapseEdge
(
int KeepVertID,
int RemoveVertID,
double EdgeParameterT,
const FCollapseEdgeOptions & Options,
FEdgeCollapseInfo & CollapseInfo
)
Ok on success, or enum value indicates why operation cannot be applied. Mesh remains unmodified on error.
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) |
| Options | Sets options for the collapse |
| CollapseInfo | returned information about new and modified mesh elements |