Language:
Discover
By Skill Level
By Category

BuildViewModeOptionsMenu

Choose your OS:

Syntax

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)TSharedRef < SWidget > BuildViewModeOptionsMenu
(
    TSharedPtr < FUICommandList > CommandList,
    EViewModeIndex ViewModeIndex,
    ERHIFeatureLevel::Type FeatureLevel,
    TMap < int32 , FName > & ParamNameMap
)

Remarks

Build the viewmode otions menu.

The widget containing the viewmode options.

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.

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EditorViewportCommands.h

Source

Editor/UnrealEd/Private/EditorViewportCommands.cpp