AssetViewUtils::CaptureThumbnailFromViewport

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

Windows
MacOS
Linux

References

Module

AssetTools

Header

/Engine/Source/Developer/AssetTools/Public/AssetViewUtils.h

Include

#include "AssetViewUtils.h"

Source

/Engine/Source/Developer/AssetTools/Private/AssetViewUtils.cpp

Syntax

namespace AssetViewUtils
{
    void AssetViewUtils::CaptureThumbnailFromViewport
    (
        FViewport * InViewport,
        const TArray< FAssetData > & InAssetsToAssign
    )
}

Remarks

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

Parameters

Parameter

Description

InViewport

viewport to sample from

InAssetsToAssign

assets that should receive the new thumbnail ONLY if they are assets that use GenericThumbnails

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss