[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > GenerateWidget ( [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [FToolElementRegistrationKey](API\Developer\WidgetRegistration\FToolElementRegistrationKey) > ToolElementKeySR, [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FToolElementRegistrationArgs](API\Developer\WidgetRegistration\FToolElementRegistrationArgs) > RegistrationArgsSP, bool bUpdateRegistrationArgs )