Navigation
Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSource
- UContentBrowserDataSource::GetItemAttribute()
References
Module | ContentBrowserData |
Header | /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h |
Include | #include "ContentBrowserDataSource.h" |
Source | /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp |
virtual bool GetItemAttribute ( const [FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) & InItem, const bool InIncludeMetaData, const [FName](API\Runtime\Core\UObject\FName) InAttributeKey, [FContentBrowserItemDataAttributeValue](API\Editor\ContentBrowserData\FContentBrowserItemDataAttribute-_1) & OutAttributeValue )
Remarks
Query the value of the given attribute on the given item. True if the attribute was found and its value was filled, false otherwise.
Parameters
Name | Description |
---|---|
InItem | The item to query. |
InIncludeMetaData | True if we should also include any additional meta-data for the value. |
InAttributeKey | The name of the attribute to query. |
OutAttributeValue | The attribute value to fill with the result. |