IProjectTargetPlatformEditorModule::MakePlatformMenuItemWidget

Creates the widget to use for a platform entry within a [FMenuBuilder](API\Runtime\Slate\Framework\MultiBox\FMenuBuilder).

Windows
MacOS
Linux

References

Module

ProjectTargetPlatformEditor

Header

/Engine/Source/Editor/ProjectTargetPlatformEditor/Public/Interfaces/IProjectTargetPlatformEditorModule.h

Include

#include "Interfaces/IProjectTargetPlatformEditorModule.h"

Syntax

TSharedRef< SWidget > MakePlatformMenuItemWidget
(
    const PlatformInfo::FPlatformInfo & PlatformInfo,
    const bool bForCheckBox,
    const FText & DisplayNameOverride
) const

Remarks

Creates the widget to use for a platform entry within a FMenuBuilder.

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss