Navigation
Unreal Engine C++ API Reference > Plugins > ContentBrowserAssetDataSource > UContentBrowserAssetDataSource
- UContentBrowserDataSource::Legacy_TryGetAssetData()
- UContentBrowserAssetDataSource::Legacy_TryGetAssetData()
References
Module | ContentBrowserAssetDataSource |
Header | /Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Public/ContentBrowserAssetDataSource.h |
Include | #include "ContentBrowserAssetDataSource.h" |
Source | /Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Private/ContentBrowserAssetDataSource.cpp |
virtual bool Legacy_TryGetAssetData
&40;
const FContentBrowserItemData & InItem,
FAssetData & OutAssetData
&41;
Remarks
Attempt to retrieve the asset data associated with the given 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.
Only items which historically represented asset data within the Content Browser should return data from this function (ie, assets and classes). True if the asset data was retrieved, false otherwise.
Parameters
Name | Description |
---|---|
InItem | The item to query. |
InOutStr | The asset data to fill. |