Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/ObjectTools.h |
| Include | #include "ObjectTools.h" |
namespace ThumbnailTools
{
void ThumbnailTools::RenderThumbnail
(
UObject * InObject,
const uint32 InImageWidth,
const uint32 InImageHeight,
EThumbnailTextureFlushMode::Type InFlushMode,
FTextureRenderTargetResource * InRenderTargetResource,
FObjectThumbnail * OutThumbnail
)
}
Remarks
Renders a thumbnail for the specified object.
Parameters
| Name | Description |
|---|---|
| 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. |
| InRenderTargetResource | if non-NULL, the render target that will receive the thumbnail. |
| OutThumbnail | if non-NULL, the FObjectThumbnail that will receive the thumbnail data. |