BuildViewModeOptionsMenu

Build the viewmode otions menu.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "EditorViewportCommands.h"

Source

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

Syntax

TSharedRef< SWidget > BuildViewModeOptionsMenu
(
    TSharedPtr< FUICommandList > CommandList,
    EViewModeIndex ViewModeIndex,
    ERHIFeatureLevel::Type FeatureLevel,
    TMap< int32, FName > & ParamNameMap
)

Remarks

Build the viewmode otions menu.

Returns

The widget containing the viewmode options.

Parameters

Parameter

Description

CommandList

The command list to be used with the menu builder.

ViewModeIndex

The current viewmode, as the options change per viewmode.

FeatureLevel

The feature level to build the option menu for.

ParamNameMaps

A map allowing to convert from each menu index to an asset name.

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