FActorFactoryAssetProxy::GenerateActorFactoryMenuItems

Builds a list of strings for populating the actor factory context menu items.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/AssetSelection.h

Include

#include "AssetSelection.h"

Source

/Engine/Source/Editor/UnrealEd/Private/AssetSelection.cpp

Syntax

static void GenerateActorFactoryMenuItems
(
    const FAssetData & AssetData,
    TArray< FMenuItem > * OutMenuItems,
    bool ExcludeStandAloneFactories
)

Remarks

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.

Parameters

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

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