SLevelViewport::SwapViewportsForPlayInEditor

Swaps the active SIE viewport client with the inactive PIE viewport (Swaps back to the game) It is not valid to call this unless we have an active simulate in editor session

Windows
MacOS
Linux

Override Hierarchy

IAssetViewport::SwapViewportsForPlayInEditor()

SLevelViewport::SwapViewportsForPlayInEditor()

References

Module

LevelEditor

Header

/Engine/Source/Editor/LevelEditor/Public/SLevelViewport.h

Include

#include "SLevelViewport.h"

Source

/Engine/Source/Editor/LevelEditor/Private/SLevelViewport.cpp

Syntax

virtual void SwapViewportsForPlayInEditor()

Remarks

Swaps the active SIE viewport client with the inactive PIE viewport (Swaps back to the game) It is not valid to call this unless we have an active simulate in editor session

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