FAssetThumbnailPool::AccessTexture

Accesses the texture for an object.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/AssetThumbnail.h

Include

#include "AssetThumbnail.h"

Source

/Engine/Source/Editor/UnrealEd/Private/AssetThumbnail.cpp

Syntax

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

Returns

The thumbnail for the asset or NULL if one could not be produced

Parameters

Parameter

Description

Asset

The asset to get the thumbnail for

Width

The width of the thumbnail

Height

The height of the thumbnail

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss