IMainFrameModule::RecreateDefaultMainFrame

Recreates the default editor main frame.

Choose your operating system:

Windows

macOS

Linux

References

Module

MainFrame

Header

/Engine/Source/Editor/MainFrame/Public/Interfaces/IMainFrameModule.h

Include

#include "Interfaces/IMainFrameModule.h"

Syntax

void RecreateDefaultMainFrame
(
    const bool bStartImmersive,
    const bool bStartPIE
)

Remarks

Recreates the default editor main frame. I.e., if CreateDefaultMainFrame or RecreateDefaultMainFrame were already called, it would clean the previous default main frame and create it again.

Parameters

Parameter

Description

bStartImmersive

True to force a main frame viewport into immersive mode

bStartPIE

True to start a PIE session right away