/Engine/Source/Editor/LevelEditor/Public/LevelEditor.h
Takes the first active viewport and switches it to immersive mode. Designed to be called at editor startup. Optionally forces the viewport into game view mode too.
virtual void GoImmersiveWithActiveLevelViewport ( const bool bForceGameView )