UPaperTileSetThumbnailRenderer::Draw

Draws a thumbnail for the object that was specified.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UThumbnailRenderer::Draw()

UPaperTileSetThumbnailRenderer::Draw()

References

Module

Paper2DEditor

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Classes/PaperTileSetThumbnailRenderer.h

Include

#include "PaperTileSetThumbnailRenderer.h"

Source

/Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Private/PaperTileSetThumbnailRenderer.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)