Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ThumbnailRendering > API/Editor/UnrealEd/ThumbnailRendering/UThumbnailRenderer > API/Editor/UnrealEd/ThumbnailRendering/UThumbnailRenderer/Draw
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/ThumbnailRendering/ThumbnailRenderer.h |
Include | #include "ThumbnailRendering/ThumbnailRenderer.h" |
virtual void Draw
(
UObject * Object,
int32 X,
int32 Y,
uint32 Width,
uint32 Height,
FRenderTarget * Viewport,
FCanvas * Canvas
)
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 |