Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- USingleSelectionTool
- USingleTargetWithSelectionTool
- UConvertToPolygonsTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/ConvertToPolygonsTool.h |
| Include | #include "ConvertToPolygonsTool.h" |
Syntax
UCLASS ()
class UConvertToPolygonsTool : public USingleTargetWithSelectionTool
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< UE::Geometry::FPolygroupSet, ESPMode::ThreadSafe > | ActiveFromGroupSet | Current input group set used in CopyFromLayer mode, relative to ComputeOperatorSharedMesh | |
| bool | bUsingSelection | If there is an active selection, bUsingSelection will be true and the ROI and Submesh will be initialized. | |
| TSharedPtr< UE::Geometry::FSharedConstDynamicMesh3 > | ComputeOperatorSharedMesh | The mesh passed to the Compute operator to base result on, will either be OriginalDynamicMesh or the submesh from OriginalSubmesh if using a selection. | |
| TObjectPtr< UPolygroupLayersProperties > | CopyFromLayerProperties | ||
| TSharedPtr< UE::Geometry::FDynamicMesh3, ESPMode::ThreadSafe > | OriginalDynamicMesh | Copy of the input mesh (possibly does not need to be SharedPtr anymore now that FSharedConstDynamicMesh3 is used below, but then needs PimplPtr...) | |
| TSharedPtr< UE::Geometry::FDynamicSubmesh3, ESPMode::ThreadSafe > | OriginalSubmesh | ||
| TArray< int > | PolygonEdges | Current set of detected polygroup edges, relative to ComputeOperatorSharedMesh | |
| TObjectPtr< UMeshOpPreviewWithBackgroundCompute > | PreviewCompute | ||
| TObjectPtr< UPreviewGeometry > | PreviewGeometry | ||
| TSharedPtr< TSet< int32 > > | SelectionTriangleROI | ||
| TObjectPtr< UConvertToPolygonsToolProperties > | Settings | ||
| TObjectPtr< UPreviewMesh > | UnmodifiedAreaPreviewMesh | If a selection was provided (bUsingSelection = true), UnmodifiedAreaPreviewMesh is used to render the unmodified (non-selected) part of the input mesh, as the PreviewCompute input mesh will be limited to the input selected area |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | |||
| void | UpdateOpParameters
(
FConvertToPolygonsOp& ConvertToPolygonsOp |
Update parameters in ConvertToPolygonsOp based on current Settings | |
| void |
Overridden from USingleTargetWithSelectionTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |