Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FAssetThumbnailPool
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/AssetThumbnail.h |
| Include | #include "AssetThumbnail.h" |
FSlateTexture2DRHIRef * AccessTexture
(
const FAssetData & AssetData,
uint32 Width,
uint32 Height
)
Remarks
Accesses the texture for an object. If a thumbnail was recently rendered this function simply returns the thumbnail. If it was not, it requests a new one be generated No assumptions should be made about whether or not it was rendered The thumbnail for the asset or NULL if one could not be produced
Parameters
| Name | Description |
|---|---|
| Asset | The asset to get the thumbnail for |
| Width | The width of the thumbnail |
| Height | The height of the thumbnail |