USmoothMeshTool

Simple Mesh Smoothing Tool

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/SmoothMeshTool.h

Include

#include "SmoothMeshTool.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class USmoothMeshTool :
    public USingleSelectionTool,
    public IDynamicMeshOperatorFactory

Remarks

Simple Mesh Smoothing Tool

Variables

Name Description

Protected variable

IToolsContextAs...

 

AssetAPI

Protected variable

bool

 

bResultValid

Protected variable UProperty

UMeshOpPreviewW...

 

Preview

Protected variable UProperty Category, EditAnywhere, Meta

int32

 

SmoothIterations

Smoothing speed

Protected variable UProperty Category, EditAnywhere, Meta

float

 

SmoothSpeed

Smoothing speed

Protected variable UProperty Category, EditAnywhere

ESmoothMeshTool...

 

SmoothType

Need to update bResultValid if these are modified, so we don't publicly expose them.

Protected variable

FDynamicMesh3

 

SrcDynamicMesh

Protected variable

UWorld *

 

TargetWorld

Constructors

Name Description

Public function

USmoothMeshTool()

Functions

Name Description

Public function Virtual

void

 

SetAssetAPI

(
    IToolsContextAssetAPI* AssetAP...
)

Public function Virtual

void

 

SetWorld

(
    UWorld* World
)

Protected function

void

 

UpdateResult()

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

CanAccept()

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

Public function Virtual

void

 

OnPropertyModified

(
    UObject* PropertySet,
    FProperty* Property
)

Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

Allow the Tool to do any custom drawing (ie via PDI/RHI)

Public function Virtual

void

 

Setup()

Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Allow the Tool to do any necessary processing on Tick

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Overridden from IDynamicMeshOperatorFactory

Name Description

Public function Virtual

TUniquePtr< ...

 

MakeNewOperator()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss