Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/AssetThumbnail.h |
Include |
#include "AssetThumbnail.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/AssetThumbnail.cpp |
FSlateTexture2DRHIRef * AccessTexture
(
const FAssetData & AssetData,
uint32 Width,
uint32 Height
)
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
Parameter |
Description |
---|---|
Asset |
The asset to get the thumbnail for |
Width |
The width of the thumbnail |
Height |
The height of the thumbnail |