UContentBrowserClassDataSource::Legacy_TryGetAssetData

Attempt to retrieve the asset data associated with the given item.

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::Legacy_TryGetAssetData()

UContentBrowserClassDataSource::Legacy_TryGetAssetData()

References

Module

ContentBrowserClassDataSource

Header

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserClassDataSource/Source/ContentBrowserClassDataSource/Public/ContentBrowserClassDataSource.h

Include

#include "ContentBrowserClassDataSource.h"

Source

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserClassDataSource/Source/ContentBrowserClassDataSource/Private/ContentBrowserClassDataSource.cpp

Syntax

virtual bool Legacy_TryGetAssetData
(
    const FContentBrowserItemData & InItem,
    FAssetData & OutAssetData
)

Remarks

Attempt to retrieve the asset data associated with the given item. @note 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. @note Only items which historically represented asset data within the Content Browser should return data from this function (ie, assets and classes).

Returns

True if the asset data was retrieved, false otherwise.

Parameters

Parameter

Description

InItem

The item to query.

InOutStr

The asset data to fill.

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