Navigation
Unreal Engine C++ API Reference > Editor > ContentBrowser > IContentBrowserSingleton
References
Module | ContentBrowser |
Header | /Engine/Source/Editor/ContentBrowser/Public/IContentBrowserSingleton.h |
Include | #include "IContentBrowserSingleton.h" |
void CaptureThumbnailFromViewport ( [FViewport](API\Runtime\Engine\FViewport) * InViewport, [TArray](API\Runtime\Core\Containers\TArray)< [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) > & SelectedAssets )
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 |