/Engine/Source/Editor/UnrealEd/Public/IAssetViewport.h
Swaps the active PIE viewport client with the level editor viewport client for simulate in editor It is not valid to call this unless we have an active play in editor session
void SwapViewportsForSimulateInEditor()