UContentBrowserDataSource::Legacy_TryGetAssetData

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

Windows
MacOS
Linux

Override Hierarchy

References

Module

ContentBrowserData

Header

/Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h

Include

#include "ContentBrowserDataSource.h"

Source

/Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.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