Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/PolygroupRemesh.h |
| Include | #include "Operations/PolygroupRemesh.h" |
Syntax
class FPolygroupRemesh
Remarks
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
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDynamicMesh3 * | Mesh | InputsThe mesh to remesh will be updated in place | |
| TFunction< TArray< FIndex3i >const FGeneralPolygon2d &)> | PlanarTriangulationFunc | Planar triangulation function (e.g. ConstrainedDelaunayTriangulate |
|
| FProgressCancel * | Progress | Set this to be able to cancel running operation | |
| double | SimplificationAngleTolerance | Units are degrees. | |
| const FGroupTopology * | Topology | Topology of polygroups in the mesh, before the remesh has been computed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPolygroupRemesh
(
FDynamicMesh3* Mesh, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Cancelled () |
If this returns true, abort computation. | |
| 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. | |
| EOperationValidationResult | Validate () |