Language:
Discover
By Skill Level
By Category

FAssetThumbnail

Choose your OS:

Inheritance Hierarchy

Syntax

class FAssetThumbnail :
    public ISlateViewport ,
    public TSharedFromThis< FAssetThumbnail >

Remarks

Interface for rendering a thumbnail in a slate viewport

Constructors

Name Description

Public function

FAssetThumbnail

(
    UObject * InAsset,
    uint32 InWidth,
    uint32 InHeight,
    const TSharedPtr < class FAssetThumb ...
)

Public function

FAssetThumbnail

(
    const FAssetData & InAsset,
    uint32 InWidth,
    uint32 InHeight,
    const TSharedPtr < class FAssetThumb ...
)

Destructors

Name Description

Public function

~FAssetThumbnail()

Functions

Name Description

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

GetAsset()

The object we are rendering the thumbnail for

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

GetAssetData()

The asset data for the object we are rendering the thumbnail for

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

MakeThumbnailWidget

(
    const FAssetThumbnailConfig & InCon...
)

A slate widget representing this thumbnail

Public function

FOnAssetData ...

 

OnAssetDataChanged()

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

RefreshThumbnail()

Re-renders this thumbnail

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

SetAsset

(
    const UObject * InAsset
)

Sets the asset to render the thumnail for

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

SetAsset

(
    const FAssetData & InAssetData
)

Sets the asset to render the thumnail for

Overridden from ISlateViewport

Name Description

Public function Virtual

FIntPoint

 

GetSize()

The size of the viewport (thumbnail size)

Public function Virtual

FSlateShader ...

 

GetViewportRenderTargetTexture()

The texture used to display the viewports content

Public function Virtual

bool

 

RequiresVsync()

Returns true if the viewport should be vsynced.

Classes

Name

Description

Public class

FOnAssetDataChanged

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/AssetThumbnail.h