Navigation
API > API/Plugins > API/Plugins/DynamicMesh
PolygroupRemesh remesh only considering polygroup features (topological corners and bends on polygroup edges) This can help clean up low poly meshes that have extra vertices along straight edges e.g. after mesh Boolean operations
| Name | FPolygroupRemesh |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/PolygroupRemesh.h |
| Include Path | #include "Operations/PolygroupRemesh.h" |
Syntax
class FPolygroupRemesh : public UE::Geometry::FPolygroupRemeshFixLayout
Inheritance Hierarchy
- FPolygroupRemeshFixLayout → FPolygroupRemesh
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPolygroupRemesh
(
FDynamicMesh3* Mesh, |
Operations/PolygroupRemesh.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPolygroupRemesh() |
Operations/PolygroupRemesh.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Mesh | FDynamicMesh3 * | Inputs The mesh to remesh will be updated in place | Operations/PolygroupRemesh.h | |
| PlanarTriangulationFunc | TFunction< TArray< FIndex3i >(const FGeneralPolygon2d &)> | Planar triangulation function (e.g. ConstrainedDelaunayTriangulate |
Operations/PolygroupRemesh.h | |
| Progress | FProgressCancel * | Set this to be able to cancel running operation | Operations/PolygroupRemesh.h | |
| SimplificationAngleTolerance | double | Units are degrees. | Operations/PolygroupRemesh.h | |
| Topology | const FGroupTopology * | Topology of polygroups in the mesh, before the remesh has been computed | Operations/PolygroupRemesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Compute() |
Compute the plane cut by splitting mesh edges that cross the cut plane, and then deleting any triangles on the positive side of the cutting plane. | Operations/PolygroupRemesh.h | |
EOperationValidationResult Validate() |
Operations/PolygroupRemesh.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Cancelled() |
If this returns true, abort computation. | Operations/PolygroupRemesh.h |