![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DynamicMesh3.h>
Public Attributes | |
| bool | bAllowHoleCollapse = false |
| bool | bAllowCollapsingInternalEdgeWithBoundaryVertices = false |
| bool | bAllowTetrahedronCollapse = false |
| bool UE::Geometry::FDynamicMesh3::FCollapseEdgeOptions::bAllowCollapsingInternalEdgeWithBoundaryVertices = false |
When false, collapse is disallowed if the edge is an interior edge, yet both vertices are connected to boundary edges. In some circumstances this could create a bowtie. In other cases, it could disconnected parts of a mesh that were connected by a bowtie.
When false, collapse is disallowed if the edge is the boundary of a single triangle hole, such that collapsing it would clse the hole. I.e. collapse is dissallowed if there is some vertex that connects vKeep and vRemove that is not part of the triangle(s) being collapsed (note that if such a vertex is connected by a non-boundary edge, collapse will always be disallowed regardless of bAllowHoleCollapse, as it would create non-manifold geometry).
When false, collapse is disallowed if we are collapsing the side of a tetrahedron. Note that a base edge of an open-base tetrahedron could be collapsed even if bAllowTetrahedronCollapse is false if bAllowHoleCollapse is true.