DrawSWidgetInRenderTargetForThumbnail(UUserWidget* WidgetInstance,UTextureRenderTarget2D* RenderTarget2D,FVector2D ThumbnailSize,TOptional< FVector2D > ThumbnailCustomSize,EThumbnailPreviewSizeMode ThumbnailSizeMode)