Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorEngine
Description
Creates a SPIEViewport for the specified instance. This is used for Play in New Window, but not for instances that live in the level editor viewport.
| Name | GeneratePIEViewportWindow |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
| Include Path | #include "Editor/EditorEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/PlayLevel.cpp |
TSharedRef < class SPIEViewport > GeneratePIEViewportWindow
(
const FRequestPlaySessionParams & InSessionParams,
int32 InViewportIndex,
const FWorldContext & InWorldContext,
EPlayNetMode InNetMode,
UGameViewportClient * InViewportClient,
FSlatePlayInEditorInfo & InSlateInfo
)