UConvertToPolygonsTool

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/ConvertToPolygonsTool.h

Include

#include "ConvertToPolygonsTool.h"

Syntax

UCLASS()
class UConvertToPolygonsTool : public USingleSelectionMeshEditingTool

Variables

Name Description

Protected variable

TSharedPtr< UE:...

 

OriginalDynamicMesh

Protected variable

TArray< int >

 

PolygonEdges

For visualization

Protected variable UProperty

TObjectPtr< UMe...

 

PreviewCompute

Protected variable UProperty

TObjectPtr< UPr...

 

PreviewGeometry

Protected variable UProperty

TObjectPtr< UCo...

 

Settings

Constructors

Name Description

Public function

UConvertToPolygonsTool()

Functions

Name Description

Protected function

void

 

OnSettingsModified()

Public function Const

void

 

UpdateOpParameters

(
    FConvertToPolygonsOp& ConvertToPol...
)

Update parameters in ConvertToPolygonsOp based on current Settings

Protected function

void

 

UpdateVisualization()

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

 

OnTick

(
    float DeltaTime
)

Action support/system

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