UFontThumbnailRenderer::Draw

Draws a thumbnail for the object that was specified.

Windows
MacOS
Linux

Override Hierarchy

References

Module

UnrealEd

Header

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

Include

#include "ThumbnailRendering/FontThumbnailRenderer.h"

Source

/Engine/Source/Editor/UnrealEd/Private/ThumbnailRendering/FontThumbnailRenderer.cpp

Syntax

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

Remarks

Draws a thumbnail for the object that was specified.

Parameters

Parameter

Description

Object

the object to draw the thumbnail for

X

the X coordinate to start drawing at

Y

the Y coordinate to start drawing at

Width

the width of the thumbnail to draw

Height

the height of the thumbnail to draw

Viewport

the viewport being drawn in

Canvas

the render interface to draw with

bAdditionalViewFamily

whether this draw should write over the render target (true) or clear it before (false)

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