FLevelEditorModule::FactoryViewport

Create an instance of a custom viewport from the specified viewport type name

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

Deprecated * Use FactoryViewport from inside of a FLevelViewportTabContent.

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/LevelEditor.h
Include #include "LevelEditor.h"
Source /Engine/Source/Editor/LevelEditor/Private/LevelEditor.cpp
[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [ILevelViewportLayoutEntity](API\Editor\LevelEditor\ILevelViewportLayoutEntity) > FactoryViewport
(
    [FName](API\Runtime\Core\UObject\FName) InTypeName,
    const [FAssetEditorViewportConstructionArgs](API\Editor\UnrealEd\FAssetEditorViewportConstruction-) & ConstructionArgs
) const

Remarks

Create an instance of a custom viewport from the specified viewport type name


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library