SLevelViewport::ToggleViewportTypeActivationWithinLayout

Activates the specified viewport type in the layout, if it's not already, or reverts to default if it is.

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

Deprecated * Moved to internal handling by FViewportTabContent. See FViewportTabContent::BindCommonViewportCommands

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/SLevelViewport.h
Include #include "SLevelViewport.h"
Source /Engine/Source/Editor/LevelEditor/Private/SLevelViewport.cpp
void ToggleViewportTypeActivationWithinLayout
(
    [FName](API\Runtime\Core\UObject\FName) InLayoutType
)

Remarks

Activates the specified viewport type in the layout, if it's not already, or reverts to default if it is.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library