FEditorPromotionTestUtilities::SendCommandToCurrentEditor

Sends a UI command to the active top level window after focusing on a widget of a given type

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Tests/AutomationEditorPromotionCommon.h

Include

#include "Tests/AutomationEditorPromotionCommon.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Tests/AutomationEditorPromotionCommon.cpp

Syntax

static void SendCommandToCurrentEditor
(
    const FInputChord & InChord,
    const FName & WidgetTypeToFocus
)

Remarks

Sends a UI command to the active top level window after focusing on a widget of a given type

Parameters

Parameter

Description

InChord

The chord to send to the window

WidgetTypeToFocus

The widget type to find and focus on

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