FContentBrowserItem::Legacy_TryGetAssetData

Attempt to retrieve the asset data associated with this item.

Unreal Engine C++ API Reference > Editor > ContentBrowserData > FContentBrowserItem

References

   
Module ContentBrowserData
Header /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserItem.h
Include #include "ContentBrowserItem.h"
Source /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserItem.cpp
bool Legacy_TryGetAssetData
(
    [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) & OutAssetData
) const

Remarks

Attempt to retrieve the asset data associated with this item.

This exists to allow the Content Browser to interface with external callbacks that only operate on asset data and should ideally be avoided for new code. True if the asset data was retrieved, false otherwise.

Parameters

Name Description
InOutStr The asset data to fill.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library