This class is designed to facilitate caching of web images and setting a global stand-in so we don't re-download the same image every time the UI shows it again. 更多...
#include <WebImageCache.h>
Public 成员函数 | |
| TSharedRef< const FWebImage > | Download (const FString &Url, const TOptional< FString > &DefaultImageUrl=TOptional< FString >()) |
| Find or create a WebImage object for this URL (you probably just want to call ->Attr() on this) | |
| void | Empty () |
| Removes all cached images | |
| void | PreUnload () |
| Signifies the module is being unloaded and to perform any actions that depend on other modules which may be unloaded as well | |
| FORCEINLINE void | SetDefaultStandInBrush (TAttribute< const FSlateBrush * > StandInBrushIn) |
| Set the brush that will be returned until the download completes (only affects future downloads). | |
This class is designed to facilitate caching of web images and setting a global stand-in so we don't re-download the same image every time the UI shows it again.
See WebImage.h for example usage.