EAutoCenter

Notification that a window has been activated Notification that a window has been deactivated Notification that a window is about to be closed Notification that a window has been moved Override delegate for RequestDestroyWindow Called when we need to switch game worlds for a window Enum to describe how to auto-center an [SWindow](API\Runtime\SlateCore\Widgets\SWindow)

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Syntax

enum EAutoCenter
{
    None,
    PrimaryWorkArea,
    PreferredWorkArea,
}

Values

Name

Description

None

Don't auto-center the window

PrimaryWorkArea

Auto-center the window on the primary work area

PreferredWorkArea

Auto-center the window on the preferred work area, determined using GetPreferredWorkArea()

Remarks

Notification that a window has been activated Notification that a window has been deactivated Notification that a window is about to be closed Notification that a window has been moved Override delegate for RequestDestroyWindow Called when we need to switch game worlds for a window Enum to describe how to auto-center an SWindow

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