GetBestDisplayImage
Given an EmergenceInventoryItemsMetaContent array, find the best image's URL. PNGs are best, then JPEGs, then GIFs. If nothing is found, returns an empty string.
Inputs
Type | Name | Description |
---|---|---|
TArray<EmergenceInventoryItemMetaContent> | Contents | The contents to analyse. |
Outputs
Type | Description | |
---|---|---|
FString | return | The URL of the best image. |
Last updated