Navigation
API > API/Plugins > API/Plugins/ModelingOperatorsEditorOnly > API/Plugins/ModelingOperatorsEditorOnly/CleaningOps
Inheritance Hierarchy
- FDynamicMeshOperator
- FSimplifyMeshOp
References
| Module | ModelingOperatorsEditorOnly |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingOperatorsEditorOnly/Public/CleaningOps/SimplifyMeshOp.h |
| Include | #include "CleaningOps/SimplifyMeshOp.h" |
Syntax
class FSimplifyMeshOp : public UE::Geometry::FDynamicMeshOperator
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAllowSeamCollapse | ||
| bool | bDiscardAttributes | ||
| bool | bGeometricDeviationConstraint | ||
| bool | bPreserveSharpEdges | ||
| bool | bPreventNormalFlips | ||
| bool | bPreventTinyTriangles | ||
| bool | bReproject | ||
| bool | bResultMustHaveAttributesEnabled | When true, result will have attributes object regardless of whether attributes were discarded or present initially. | |
| float | GeometricTolerance | ||
| UE::Geometry::EEdgeRefineFlags | GroupBoundaryConstraint | ||
| UE::Geometry::EEdgeRefineFlags | MaterialBoundaryConstraint | ||
| UE::Geometry::EEdgeRefineFlags | MeshBoundaryConstraint | ||
| IMeshReduction * | MeshReduction | ||
| float | MinimalPlanarAngleThresh | Angle threshold in degrees used for testing if two triangles should be considered coplanar, or two lines collinear | |
| TSharedPtr< FDynamicMesh3, ESPMode::ThreadSafe > | OriginalMesh | Stored for the GeometryProcessing custom simplifier paths (currently precomputed once in tool setup) | |
| TSharedPtr< FMeshDescription, ESPMode::ThreadSafe > | OriginalMeshDescription | Stored for the UEStandard path | |
| TSharedPtr< FDynamicMeshAABBTree3, ESPMode::ThreadSafe > | OriginalMeshSpatial | ||
| float | PolyEdgeAngleTolerance | For minimal polygroup-preserving simplification: Threshold angle change (in degrees) along a polygroup edge, above which a vertex must be added. | |
| ESimplifyType | SimplifierType | ||
| int | TargetCount | ||
| float | TargetEdgeLength | ||
| ESimplifyTargetType | TargetMode | Inputs | |
| int | TargetPercentage |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetTransform
(
const FTransform& Transform |
Set ability on protected transform. |
Overridden from FDynamicMeshOperator
| Type | Name | Description | |
|---|---|---|---|
| void | CalculateResult
(
FProgressCancel* Progress |
FDynamicMeshOperator implementation |