IContentBrowserSingleton::CaptureThumbnailFromViewport

Capture active viewport to thumbnail and assigns that thumbnail to incoming assets

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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library