UModelingToolsEditorMode

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ModelingToolsEditorMode

Header

/Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Public/ModelingToolsEditorMode.h

Include

#include "ModelingToolsEditorMode.h"

Syntax

UCLASS(Transient)
class UModelingToolsEditorMode : public UBaseLegacyWidgetEdMode

Variables

Name Description

Protected variable

TSharedPtr< FLe...

 

LevelObjectsObserver

Protected variable

FDelegateHandle

 

MeshCreatedEventHandle

Protected variable UProperty

UModelingSceneS...

 

SceneSnappingManager

Protected variable

FDelegateHandle

 

SelectionModifiedEventHandle

Protected variable

TUniquePtr< FSt...

 

StylusStateTracker

Protected variable

FDelegateHandle

 

TextureCreatedEventHandle

Constructors

Destructors

Name Description

Public function

~UModelingToolsEditorMode()

Functions

Overridden from UEdMode

Name Description

Public function Virtual

void

 

ActorSelectionChangeNotify()

Protected function Virtual

void

 

BindCommands()

Public function Virtual Const

bool

 

CanAutoSave()

Check to see if this UEdMode wants to disallow AutoSave

Public function Virtual Const

bool

 

ComputeBoundingBoxForViewportFocus

(
    AActor* Actor,
    UPrimitiveComponent* Primitive...,
    FBox& InOutBox
)

Allows an editor mode to override the bounding box used to focus the viewport on a selection

Protected function Virtual

void

 

CreateToolkit()

Public function Virtual

void

 

Enter()

Called when we "start" this editor mode (ie switch to this tab)

Public function Virtual

void

 

Exit()

Called when we "end" this editor mode (ie switch to another tab)

Public function Virtual Const

bool

 

GetPivotForOrbit

(
    FVector& OutPivot
)

Lets each mode/tool specify a pivot point around which the camera should orbit

Protected function Virtual

void

 

OnToolEnded

(
    UInteractiveToolManager* Manag...,
    UInteractiveTool* Tool
)

Protected function Virtual

void

 

OnToolStarted

(
    UInteractiveToolManager* Manag...,
    UInteractiveTool* Tool
)

Public function Virtual

bool

 

ProcessEditCut()

Public function Virtual

bool

 

ProcessEditDelete()

Public function Virtual Const

bool

 

ShouldToolStartBeAllowed

(
    const FString& ToolIdentifier
)

Subclasses can override this to add additional checks on whether a tool should be allowed to start.

Overridden from ILegacyEdModeWidgetInterface

Name Description

Public function Virtual Const

bool

 

ShouldDrawWidget()

Lets the mode determine if it wants to draw the widget or not.

Overridden from ILegacyEdModeViewportInterface

Name Description

Public function Virtual

void

 

Tick

(
    FEditorViewportClient* Viewpor...,
    float DeltaTime
)

Constants