Navigation
Unreal Engine C++ API Reference > Developer > AssetTools
References
Module | AssetTools |
Header | /Engine/Source/Developer/AssetTools/Public/AssetViewUtils.h |
Include | #include "AssetViewUtils.h" |
Source | /Engine/Source/Developer/AssetTools/Private/AssetViewUtils.cpp |
namespace AssetViewUtils
{
void AssetViewUtils&58;&58;CaptureThumbnailFromViewport
&40;
FViewport &42; InViewport,
const TArray< FAssetData > & InAssetsToAssign
&41;
}
Remarks
Capture active viewport to thumbnail and assigns that thumbnail to incoming assets
Parameters
Name | Description |
---|---|
InViewport | viewport to sample from |
InAssetsToAssign | assets that should receive the new thumbnail ONLY if they are assets that use GenericThumbnails |