Navigation
API > API/Editor > API/Editor/ProjectTargetPlatformEditor > API/Editor/ProjectTargetPlatformEditor/Interfaces > API/Editor/ProjectTargetPlatformEditor/Interfaces/IProjectTargetPl-
References
| Module | ProjectTargetPlatformEditor |
| Header | /Engine/Source/Editor/ProjectTargetPlatformEditor/Public/Interfaces/IProjectTargetPlatformEditorModule.h |
| Include | #include "Interfaces/IProjectTargetPlatformEditorModule.h" |
TSharedRef< SWidget > MakePlatformMenuItemWidget
&40;
const PlatformInfo::FTargetPlatformInfo & PlatformInfo,
const bool bForCheckBox,
const FText & DisplayNameOverride
&41; const
Remarks
Creates the widget to use for a platform entry within a FMenuBuilder.
Parameters
| Name | 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 |