UMirrorTool

Tool for mirroring one or more meshes across a plane.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

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

Include

#include "MirrorTool.h"

Syntax

UCLASS()
class UMirrorTool :
    public UMultiSelectionMeshEditingTool,
    public IModifierToggleBehaviorTarget

Remarks

Tool for mirroring one or more meshes across a plane.

Variables

Name Description

Protected variable

FBox

 

CombinedBounds

Protected variable UProperty

TArray< TObject...

 

MeshesToMirror

Protected variable

FVector3d

 

MirrorPlaneNormal

Protected variable

FVector3d

 

MirrorPlaneOrigin

Protected variable

EMirrorToolActi...

 

PendingAction

Protected variable UProperty

TObjectPtr< UCo...

 

PlaneMechanic

Protected variable UProperty

TArray< TObject...

 

Previews

Protected variable UProperty

TObjectPtr< UMi...

 

Settings

Protected variable UProperty

TObjectPtr< UMi...

 

ToolActions

Public variable

friend

 

UMirrorOperatorFactory

Constructors

Name Description

Public function

UMirrorTool()

Functions

Name Description

Protected function

void

 

ApplyAction

(
    EMirrorToolAction ActionType
)

Protected function

void

 

GenerateAsset

(
    const TArray< FDynamicMeshOpResult ...
)

Public function

void

 

RequestAction

(
    EMirrorToolAction ActionType
)

Protected function

void

 

SetupPreviews()

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

 

OnTick

(
    float DeltaTime
)

Action support/system

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

Overridden from IModifierToggleBehaviorTarget

Name Description

Public function Virtual

void

 

OnUpdateModifierState

(
    int ModifierID,
    bool bIsOn
)

IClickSequenceBehaviorTarget implementation.