Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd
Inheritance Hierarchy
- ISlateViewport
- TSharedFromThis
- FAssetThumbnail
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/AssetThumbnail.h |
Include | #include "AssetThumbnail.h" |
Syntax
class FAssetThumbnail :
public ISlateViewport,
public TSharedFromThis< FAssetThumbnail >
Remarks
Interface for rendering a thumbnail in a slate viewport
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FAssetThumbnail
(
UObject* InAsset, |
||
![]() |
FAssetThumbnail
(
const FAssetData& InAsset, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UObject * | GetAsset () |
|
![]() ![]() |
const FAssetData & | GetAssetData () |
|
![]() |
TSharedRef< SWidget > | MakeThumbnailWidget
(
const FAssetThumbnailConfig& InConfig |
|
![]() |
FOnAssetDataChanged & | ||
![]() |
void | Re-renders this thumbnail | |
![]() |
void | Sets the asset to render the thumnail for | |
![]() |
void | SetAsset
(
const FAssetData& InAssetData |
Sets the asset to render the thumnail for |
![]() |
void | SetRealTime
(
bool bRealTime |
Updates if this thumbnail should be realtime rendered via the pool |
Overridden from ISlateViewport
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FIntPoint | GetSize () |
Returns the size of the viewport |
![]() ![]() ![]() |
FSlateShaderResource * | Returns a slate texture used to draw the rendered viewport in Slate. | |
![]() ![]() ![]() |
bool | Returns true if the viewport should be vsynced. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FOnAssetDataChanged |