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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback