[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > GenerateWidget ( const [TArray](API\Runtime\Core\Containers\TArray)< [UToolMenu](API\Developer\ToolMenus\UToolMenu) * > & Hierarchy, const [FToolMenuContext](API\Developer\ToolMenus\FToolMenuContext) & InMenuContext )