UMeshEditorEditCommand

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshEditor

Header

/Engine/Plugins/Editor/MeshEditor/Source/MeshEditor/Public/MeshEditorCommands.h

Include

#include "MeshEditorCommands.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract)
class UMeshEditorEditCommand : public UMeshEditorCommand

Variables

Name Description

Protected variable UProperty Category, EditAnywhere

bool

 

bNeedsDraggingInitiated

Whether this command will kick off regular free translation of the selected mesh elements when dragging starts

Protected variable UProperty Category, EditAnywhere

bool

 

bNeedsHoverLocation

Whether we rely on a hover location under the interactor being updated as we drag during this action

Protected variable UProperty Category, EditAnywhere

FText

 

UndoText

The text to send to the transaction system when creating an undo / redo event for this action

Functions

Name Description

Public function Virtual

void

 

ApplyDuringDrag

(
    IMeshEditorModeEditingContract& Me...,
    UViewportInteractor* ViewportI...
)

Applies this command every frame while dragging

Public function Const

FText

 

GetUndoText()

Gets the text to send to the transaction system when creating an undo/redo event for this action

Public function Const

bool

 

NeedsDraggingInitiated()

Returns whether this command will kick off regular free translation of the selected mesh elements when dragging starts

Public function Const

bool

 

NeedsHoverLocation()

Returns whether we rely on a hover location under the interactor being updated as we drag during this action

Public function Virtual

bool

 

TryStartingToDrag

(
    IMeshEditorModeEditingContract& Me...,
    UViewportInteractor* ViewportI...
)

Called when the user starts to drag on an element.

Overridden from UMeshEditorCommand

Name Description

Public function Virtual

FUIAction

 

MakeUIAction

(
    IMeshEditorModeUIContract& MeshEdi...
)

Creates an UI action for this command

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