Navigation
API > API/Plugins > API/Plugins/MeshModelingTools
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.)
| Name | URemeshMeshTool |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/RemeshMeshTool.h |
| Include Path | #include "RemeshMeshTool.h" |
Syntax
UCLASS (MinimalAPI)
class URemeshMeshTool :
public UMultiSelectionMeshEditingTool ,
public UE::Geometry::IDynamicMeshOperatorFactory
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → UMultiSelectionTool → UMultiSelectionMeshEditingTool → URemeshMeshTool
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URemeshMeshTool
(
const FObjectInitializer& |
RemeshMeshTool.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BasicProperties | TObjectPtr< URemeshMeshToolProperties > | RemeshMeshTool.h | ||
| MeshElementsDisplay | TObjectPtr< UMeshElementsVisualizer > | RemeshMeshTool.h | ||
| MeshStatisticsProperties | TObjectPtr< UMeshStatisticsProperties > | RemeshMeshTool.h | ||
| Preview | TObjectPtr< UMeshOpPreviewWithBackgroundCompute > | RemeshMeshTool.h |
Functions
Public
Overridden from UMultiSelectionMeshEditingTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnShutdown
(
EToolShutdownType ShutdownType |
RemeshMeshTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAccept() |
RemeshMeshTool.h | ||
virtual bool HasAccept() |
RemeshMeshTool.h | ||
virtual bool HasCancel() |
RemeshMeshTool.h | ||
| RemeshMeshTool.h | |||
virtual void OnTick
(
float DeltaTime |
RemeshMeshTool.h | ||
virtual void Setup() |
RemeshMeshTool.h |
Overridden from IDynamicMeshOperatorFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< UE::Geometry::FDynamicMeshOperator > MakeNewOperator() |
IDynamicMeshOperatorFactory API. | RemeshMeshTool.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateVisualization() |
RemeshMeshTool.h |