/Engine/Source/Developer/ToolMenus/Public/ToolMenus.h
Generate either a menu or submenu ready for editing
[UToolMenu](API\Developer\ToolMenus\UToolMenu) * GenerateMenuOrSubMenuForEdit ( const [UToolMenu](API\Developer\ToolMenus\UToolMenu) * InMenu )