Module |
|
Header |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/UI/DatasmithUIManager.h |
Include |
#include "UI/DatasmithUIManager.h" |
Source |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/UI/DatasmithUIManager.cpp |
TSharedPtr< FUICommandInfo > AddMenuEntry
(
const FString & CommandName,
const FText & Caption,
const FText & Description,
const FString & IconResourcePath,
FExecuteAction ExecuteAction,
UClass * FactoryClass
)
Add a menu entry to the Datasmith importers drop-down menu
the FUICommandInfo that was created for that menu entry
Parameter |
Description |
---|---|
CommandName |
The command name (for internal references) |
Caption |
The text displayed in the menu entry |
Description |
The tooltip text displayed when hovering over the menu entry |
IconResourcePath |
The relative path to the .png file for the icon to be displayed in the menu |
ExecuteAction |
The action to be executed when the menu entry is selected |
FactoryClass |
The UClass of the factory to associate with the menu entry |