/Engine/Source/Editor/UnrealEd/Public/EditorModeManager.h
Changes the current widget mode.
void SetWidgetMode ( [UE::Widget::EWidgetMode](API\Editor\EditorFramework\UE__Widget__EWidgetMode) InWidgetMode )