UContentBrowserDataSource::Legacy_TryConvertPackagePathToVirtualPath

Attempt to convert the given package path to a virtual path associated with this data source.

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_TryConvertPackagePathToVirtualPath
(
    const FName InPackagePath,
    FName & OutPath
)

Remarks

Attempt to convert the given package path to a virtual path associated with this data source. @note This exists to allow the Content Browser to interface with public APIs that only operate on package paths and should ideally be avoided for new code. @note This function only adjusts the path to something that could represent a virtualized item within this data source, but it doesn't guarantee that an item actually exists at that path.

Returns

True if the package path was mapped, false otherwise.

Parameters

Parameter

Description

InPackagePath

The package path to query.

OutPath

The virtualized path 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