UMeshBoundaryToolBase

Base class for tools that do things with a mesh boundary.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

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

Include

#include "MeshBoundaryToolBase.h"

Syntax

UCLASS()
class UMeshBoundaryToolBase : public USingleSelectionMeshEditingTool

Remarks

Base class for tools that do things with a mesh boundary. Provides ability to select mesh boundaries and some other boilerplate code. TODO: We can refactor to make the HoleFiller tool inherit from this.

Variables

Name Description

Protected variable

UE::Geometry::F...

 

MeshSpatial

Used for hit querying.

Protected variable

TSharedPtr< FDy...

 

OriginalMesh

Protected variable UProperty

TObjectPtr< UPo...

 

SelectionMechanic

Protected variable

TUniquePtr< FBa...

 

Topology

Functions

Name Description

Protected function Virtual

void

 

OnSelectionChanged()

Override in the child to respond to new loop selections.

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

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

Classes

Name

Description

Protected class

FBasicTopology

A variant of group topology that considers all triangles one group, so that group edges are boundary edges in the mesh.