/Engine/Source/Developer/ToolMenus/Public/ToolMenus.h
Create a finalized menu that combines all parents used to generate a widget. Advanced special use cases only.
[UToolMenu](API\Developer\ToolMenus\UToolMenu) * GenerateMenu ( const [FName](API\Runtime\Core\UObject\FName) Name, const [FToolMenuContext](API\Developer\ToolMenus\FToolMenuContext) & InMenuContext )