FLevelEditorModule::GetFirstActiveViewport

Gets the first active viewport of all the viewports.

Choose your operating system:

Windows

macOS

Linux

References

Module

LevelEditor

Header

/Engine/Source/Editor/LevelEditor/Public/LevelEditor.h

Include

#include "LevelEditor.h"

Source

/Engine/Source/Editor/LevelEditor/Private/LevelEditor.cpp

Syntax

virtual TSharedPtr< class IAssetViewport > GetFirstActiveViewport()

Remarks

Gets the first active viewport of all the viewports.