Like in the topic, but I don’t want to use any execute command stuff, unless there is no other option, executing command seems like shade solution…
Hi, there! I dont check it by myself, but you can tke a look at FSlateApp (main class of application), get window of type SWindow and use SetWindowMode method.
I found solution that best suits my needs, I will use Unity… I’m fed up with unreal and lost time searching the simplest stuff in the internet. This is how it’s done in unity, with 1 minute search:
using UnityEngine;
public class Example : MonoBehaviour
{
void Start()
{
// Toggle fullscreen
Screen.fullScreen = !Screen.fullScreen;
}
}
One line of code!!!
1 Like
GetWorld()->GetGameViewport()->HandleToggleFullscreenCommand();
2 Likes