UThumbnailRenderer

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/ThumbnailRendering/ThumbnailRenderer.h

Include

#include "ThumbnailRendering/ThumbnailRenderer.h"

Syntax

class UThumbnailRenderer : public UObject

Constructors

Name Description

Public function

UThumbnailRenderer

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual Const

bool

 

AllowsRealtimeThumbnails

(
    UObject* Object
)

Checks to see if the specified asset supports realtime thumbnails, which will cause them to always be rerendered to reflect any changes made to the asset.

Public function Virtual

bool

 

CanVisualizeAsset

(
    UObject* Object
)

Returns true if the renderer is capable of producing a thumbnail for the specified asset.

Public function Virtual

void

 

Draw

(
    UObject* Object,
    int32 X,
    int32 Y,
    uint32 Width,
    uint32 Height,
    FRenderTarget* Viewport,
    FCanvas* Canvas,
    bool bAdditionalViewFamily
)

Draws a thumbnail for the object that was specified.

Public function Virtual Const

void

 

GetThumbnailSize

(
    UObject* Object,
    float Zoom,
    uint32& OutWidth,
    uint32& OutHeight
)

Calculates the size the thumbnail would be at the specified zoom level

Protected function Static

void

 

RenderViewFamily

(
    FCanvas* Canvas,
    FSceneViewFamily* ViewFamily
)

Renders the thumbnail's view family.

Deprecated Functions

Name Description

Public function Virtual

void

 

Draw

(
    UObject* Object,
    int32 X,
    int32 Y,
    uint32 Width,
    uint32 Height,
    FRenderTarget* Viewport,
    FCanvas* Canvas
)

Please override the other prototype of the Draw function.

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