Module |
|
Header |
/Engine/Source/Editor/ProjectTargetPlatformEditor/Public/Interfaces/IProjectTargetPlatformEditorModule.h |
Include |
#include "Interfaces/IProjectTargetPlatformEditorModule.h" |
TSharedRef< SWidget > MakePlatformMenuItemWidget
(
const PlatformInfo::FPlatformInfo & PlatformInfo,
const bool bForCheckBox,
const FText & DisplayNameOverride
) const
Creates the widget to use for a platform entry within a FMenuBuilder.
Parameter |
Description |
---|---|
PlatformInfo |
The target platform info to build the widget for |
bForCheckBox |
true if the widget is for a checkbox menu item, false if it's for any other menu item (this affects the padding) |
DisplayNameOverride |
An alternate name to use for the platform, otherwise Platform->DisplayName() will be used |