ILegacyEdModeWidgetInterface

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Tools/LegacyEdModeInterfaces.h

Include

#include "Tools/LegacyEdModeInterfaces.h"

Syntax

class ILegacyEdModeWidgetInterface

Functions

Name Description

Public function

bool

 

AllowWidgetMove()

If the EdMode is handling InputDelta (i.e., returning true from it), this allows a mode to indicated whether or not the Widget should also move.

Public function Const

bool

 

CanCycleWidgetMode()

Check to see if the current widget mode can be cycled

Public function Virtual

void

 

DrawHUD

(
    FEditorViewportClient* Viewpor...,
    FViewport* Viewport,
    const FSceneView* View,
    FCanvas* Canvas
)

Public function Const

EAxisList::T...

 

GetCurrentWidgetAxis()

Public function

bool

 

GetCustomDrawingCoordinateSystem

(
    FMatrix& InMatrix,
    void* InData
)

Public function

bool

 

GetCustomInputCoordinateSystem

(
    FMatrix& InMatrix,
    void* InData
)

Public function Virtual

UTexture2D &...

 

GetVertexTexture()

Public function Const

EAxisList::T...

 

GetWidgetAxisToDraw

(
    UE::Widget::EWidgetMode InWidgetMod...
)

Allows each mode to customize the axis pieces of the widget they want drawn.

Public function Const

FVector

 

GetWidgetLocation()

Allows each mode/tool to determine a good location for the widget to be drawn at.

Public function

FVector

 

GetWidgetNormalFromCurrentAxis

(
    void* InData
)

Public function Virtual

void

 

Render

(
    const FSceneView* View,
    FViewport* Viewport,
    FPrimitiveDrawInterface* PDI
)

Public function

void

 

SetCurrentWidgetAxis

(
    EAxisList::Type InAxis
)

Public function Const

bool

 

ShouldDrawWidget()

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

Public function Const

bool

 

ShowModeWidgets()

Public function Const

bool

 

UsesPropertyWidgets()

Lets each mode selectively enable widgets for editing properties tagged with 'Show 3D Widget' metadata.

Public function Const

bool

 

UsesTransformWidget()

Lets each tool determine if it wants to use the editor widget or not.

Public function Const

bool

 

UsesTransformWidget

(
    UE::Widget::EWidgetMode CheckMode
)

Lets each mode selectively exclude certain widget types.