Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/AssetSelection.h |
Include |
#include "AssetSelection.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/AssetSelection.cpp |
static void GenerateActorFactoryMenuItems
(
const FAssetData & AssetData,
TArray< FMenuItem > * OutMenuItems,
bool ExcludeStandAloneFactories
)
Builds a list of strings for populating the actor factory context menu items. This menu is shown when the user right-clicks in a level viewport.
Parameter |
Description |
---|---|
AssetData |
The asset the factories should consider when building the menus. |
OutMenuItems |
receives the list of menu items to use for populating an actor factory menu. |
ExcludeStandAloneFactories |
if true, only factories that can create actors with the currently selected assets will be added |