Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/EditorViewportCommands.h |
Include |
#include "EditorViewportCommands.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorViewportCommands.cpp |
TSharedRef< SWidget > BuildViewModeOptionsMenu
(
TSharedPtr< FUICommandList > CommandList,
EViewModeIndex ViewModeIndex,
ERHIFeatureLevel::Type FeatureLevel,
TMap< int32, FName > & ParamNameMap
)
Build the viewmode otions menu.
The widget containing the viewmode options.
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. |