Navigation
Unreal Engine C++ API Reference > Plugins > ContentBrowserAssetDataSource > UContentBrowserAssetDataSource
- UContentBrowserDataSource::Legacy_TryGetPackagePath()
- UContentBrowserAssetDataSource::Legacy_TryGetPackagePath()
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_TryGetPackagePath
&40;
const FContentBrowserItemData & InItem,
FName & OutPackagePath
&41;
Remarks
Attempt to retrieve the package path associated with the given item.
This exists to allow the Content Browser to interface with external callbacks that only operate on package paths and should ideally be avoided for new code.
Only items which historically represented package paths within the Content Browser should return data from this function (ie, assets and classes). True if the package path was retrieved, false otherwise.
Parameters
Name | Description |
---|---|
InItem | The item to query. |
InOutStr | The package path to fill. |