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

Unreal Engine C++ API Reference > Editor > LevelEditor > SLevelViewport

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/SLevelViewport.h
Include #include "SLevelViewport.h"
Source /Engine/Source/Editor/LevelEditor/Private/SLevelViewport.cpp
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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library