SLevelViewport::GetViewportWidget

Returns the [SViewport](API\Runtime\Slate\Widgets\SViewport) widget contained within the [SLevelViewport](API\Editor\LevelEditor\SLevelViewport).

Windows
MacOS
Linux

Override Hierarchy

IAssetViewport::GetViewportWidget()

SLevelViewport::GetViewportWidget()

References

Module

LevelEditor

Header

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

Include

#include "SLevelViewport.h"

Syntax

virtual TWeakPtr< SViewport > GetViewportWidget()

Remarks

Returns the SViewport widget contained within the SLevelViewport. This is the actual viewport widget that renders the level.

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