FLegacyEdModeWidgetHelper

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

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

Include

#include "Tools/LegacyEdModeWidgetHelpers.h"

Syntax

class FLegacyEdModeWidgetHelper

Variables

Name Description

Protected variable

bool

 

bEditedPropertyIsTransform

Indicates

Protected variable

EAxisList::Type

 

CurrentWidgetAxis

The current axis that is being dragged on the widget.

Protected variable

int32

 

EditedPropertyIndex

If the property being edited is an array property, this is the index of the element we're currently dealing with

Protected variable

FString

 

EditedPropertyName

Name of the property currently being edited

Protected variable

FEditorModeTool...

 

Owner

Pointer back to the mode tools that we are registered with

Protected variable

TScriptInterfac...

 

ParentModeInterface

Constructors

Name Description

Public function

FLegacyEdModeWidgetHelper()

Destructors

Name Description

Public function Virtual

~FLegacyEdModeWidgetHelper()

Functions

Name Description

Public function Virtual

void

 

ActorSelectionChangeNotify()

Public function Virtual Const

bool

 

AllowsViewportDragTool()

Public function Virtual

bool

 

AllowWidgetMove()

Public function Static

bool

 

CanCreateWidgetForProperty

(
    FProperty* InProp
)

Returns true if this property can support creating a widget in the editor

Public function Static

bool

 

CanCreateWidgetForStructure

(
    const UStruct* InPropStruct
)

Returns true if this structure can support creating a widget in the editor

Public function Virtual Const

bool

 

CanCycleWidgetMode()

Public function Virtual

void

 

DrawHUD

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

Public function Virtual Const

EAxisList::T...

 

GetCurrentWidgetAxis()

Public function Virtual

bool

 

GetCustomDrawingCoordinateSystem

(
    FMatrix& InMatrix,
    void* InData
)

Public function Virtual

bool

 

GetCustomInputCoordinateSystem

(
    FMatrix& InMatrix,
    void* InData
)

Protected function Const

AActor *

 

GetFirstSelectedActorInstance()

Returns the first selected Actor, or NULL if there is no selection.

Protected function Virtual Const

UObject *...

 

GetItemToTryDisplayingWidgetsFor

(
    FTransform& OutWidgetToWorld
)

Finds the best item to display widgets for (preferring selected components over selected actors)

Protected function Const

void

 

GetPropertyWidgetInfos

(
    const UStruct* InStruct,
    const void* InContainer,
    TArray< FPropertyWidgetInfo >& Out...
)

Gets an array of property widget info structures for the given struct/class type for the given container.

Public function Virtual Const

EAxisList::T...

 

GetWidgetAxisToDraw

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

Public function Virtual Const

FVector

 

GetWidgetLocation()

Public function Virtual

FVector

 

GetWidgetNormalFromCurrentAxis

(
    void* InData
)

Public function Virtual

bool

 

HandleClick

(
    FEditorViewportClient* InViewp...,
    HHitProxy* HitProxy,
    const FViewportClick& Click
)

Public function Virtual

bool

 

InputDelta

(
    FEditorViewportClient* InViewp...,
    FViewport* InViewport,
    FVector& InDrag,
    FRotator& InRot,
    FVector& InScale
)

Public function Virtual

void

 

Render

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

Public function Virtual

void

 

SetCurrentWidgetAxis

(
    EAxisList::Type InAxis
)

Public function Static

bool

 

ShouldCreateWidgetForProperty

(
    FProperty* InProp
)

See if we should create a widget for the supplied property when selecting an actor instance

Public function Virtual Const

bool

 

ShouldDrawWidget()

Public function Virtual Const

bool

 

ShowModeWidgets()

Public function Virtual Const

bool

 

UsesPropertyWidgets()

Public function Virtual Const

bool

 

UsesTransformWidget()

Public function Virtual Const

bool

 

UsesTransformWidget

(
    UE::Widget::EWidgetMode CheckMode
)

Classes

Name

Description

Public struct

FPropertyWidgetInfo

Property Widgets.

Constants

Name

Description

MD_MakeEditWidget

: Find a better home for these?

MD_ValidateWidgetUsing

Specifies a function used for validation of the current value of a property.