Navigation
API > API/Editor > API/Editor/UnrealEd
Description
Renders a thumbnail for the specified object. A FObjectThumbnail will be filled once the rendering is complete.
| Name | ThumbnailTools::RenderThumbnailAsync |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/ObjectTools.h |
| Include Path | #include "ObjectTools.h" |
namespace ThumbnailTools
{
TOptional < FAsyncObjectThumbnail > ThumbnailTools::RenderThumbnailAsync
(
UObject * InObject,
const uint32 InImageWidth,
const uint32 InImageHeight,
EThumbnailTextureFlushMode::Type InFlushMode,
FTextureRenderTargetResource * InRenderTargetResource
)
}
Parameters
| Name | Remarks |
|---|---|
| InObject | the rendered thumbnail will represent this object |
| InImageWidth | the maximum width of the thumbnail. It may be smaller when supplying a OutThumbnail. |
| InImageHeight | the maximum height of the thumbnail. It may be smaller when supplying a OutThumbnail. |
| InFlushMode | Flushes or not texture streaming before rendering |
| InRenderTargetResource | if non-NULL, the render target that will receive the thumbnail. |