Navigation
API > API/Plugins > API/Plugins/Paper2DEditor > API/Plugins/Paper2DEditor/UPaperTileSetThumbnailRenderer
- 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 |
virtual void Draw
&40;
UObject &42; Object,
int32 X,
int32 Y,
uint32 Width,
uint32 Height,
FRenderTarget &42; Viewport,
FCanvas &42; Canvas,
bool bAdditionalViewFamily
&41;
Remarks
Draws a thumbnail for the object that was specified.
Parameters
| Name | 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) |