FEditorViewportClient::SetViewModes

Sets how the viewport is displayed (lit, wireframe, etc)

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h

Include

#include "EditorViewportClient.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp

Syntax

void SetViewModes
(
    const EViewModeIndex InPerspViewModeIndex,
    const EViewModeIndex InOrthoViewModeIndex
)

Remarks

Sets how the viewport is displayed (lit, wireframe, etc)

Parameters

Parameter

Description

InPerspViewModeIndex

View mode to set when this viewport is of type LVT_Perspective

InOrthoViewModeIndex

View mode to set when this viewport is not of type LVT_Perspective

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