|
{
GetWorld()- GetWorldSettings()- bEnableWorldBoundsChecks = false;
GEngine- GameViewport- GetWindow()- MoveWindowTo(FVector2D(1920, 0));
HWND hwnd = (HWND)GEngine- GameViewport- GetWindow()- GetNativeWindow()- GetOSWindowHandle();
LONG styleValue = ::GetWindowLong(hwnd, GWL_EXSTYLE);
styleValue |= WS_EX_TOOLWINDOW;
::SetWindowLong(hwnd, GWL_EXSTYLE, styleValue);
UGameUserSettings* UserSettings = GEngine- GetGameUserSettings();
UserSettings- SetVSyncEnabled(true);
UserSettings- SetFullscreenMode(EWindowMode::WindowedFullscreen);
UserSettings- ApplySettings();
}
|
|