SLevelViewport::GetWorld

Gets the world this viewport is for

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

SEditorViewport::GetWorld()

SLevelViewport::GetWorld()

References

Module

LevelEditor

Header

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

Include

#include "SLevelViewport.h"

Source

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

Syntax

virtual UWorld * GetWorld() const

Remarks

Gets the world this viewport is for