Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/RemeshMeshTool.h |
| Include | #include "RemeshMeshTool.h" |
Syntax
UCLASS ()
class URemeshMeshTool :
public UMultiSelectionMeshEditingTool ,
public UE::Geometry::IDynamicMeshOperatorFactory
Remarks
Simple Mesh Remeshing Tool
Note this is a subclass of UMultiSelectionTool, however we currently only ever apply it to one mesh at a time. The function URemeshMeshToolBuilder::CanBuildTool will return true only when a single mesh is selected, and the tool will only be applied to the first mesh in the selection list. The reason we inherit from UMultiSelectionTool is so that subclasses of this class can work with multiple meshes (see, for example, UProjectToTargetTool.)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< URemeshMeshToolProperties > | BasicProperties | ||
| double | InitialMeshArea | ||
| TObjectPtr< UMeshElementsVisualizer > | MeshElementsDisplay | ||
| TObjectPtr< UMeshStatisticsProperties > | MeshStatisticsProperties | ||
| TSharedPtr< UE::Geometry::FDynamicMesh3, ESPMode::ThreadSafe > | OriginalMesh | ||
| TSharedPtr< UE::Geometry::FDynamicMeshAABBTree3, ESPMode::ThreadSafe > | OriginalMeshSpatial | ||
| TObjectPtr< UMeshOpPreviewWithBackgroundCompute > | Preview |
Constructors
| Type | Name | Description | |
|---|---|---|---|
URemeshMeshTool
(
const FObjectInitializer& |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void |
Overridden from UMultiSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnPropertyModified
(
UObject* PropertySet, |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes | |
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |
Overridden from IDynamicMeshOperatorFactory
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< UE::Geometry::FDynamicMeshOperator > | IDynamicMeshOperatorFactory API. |