UEditorEngine::GeneratePIEViewportWindow

Creates a SPIEViewport for the specified instance.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/PlayLevel.cpp

Syntax

TSharedRef< class SPIEViewport > GeneratePIEViewportWindow
(
    const FRequestPlaySessionParams & InSessionParams,
    int32 InViewportIndex,
    const FWorldContext & InWorldContext,
    EPlayNetMode InNetMode,
    UGameViewportClient * InViewportClient,
    FSlatePlayInEditorInfo & InSlateInfo
)

Remarks

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.

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