Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FAssetThumbnailPool
Description
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
| Name | AccessTexture |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/AssetThumbnail.h |
| Include Path | #include "AssetThumbnail.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/AssetThumbnail.cpp |
FSlateTexture2DRHIRef * AccessTexture
(
const FAssetData & AssetData,
uint32 Width,
uint32 Height
)
The thumbnail for the asset or NULL if one could not be produced
Parameters
| Name | Remarks |
|---|---|
| Asset | The asset to get the thumbnail for |
| Width | The width of the thumbnail |
| Height | The height of the thumbnail |