UContentBrowserDataSubsystem::Legacy_TryConvertPackagePathToVirtualPaths

Attempt to convert the given package path to virtual paths associated with the active data sources (callback will be called for each successful conversion).

Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSubsystem

References

   
Module ContentBrowserData
Header /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSubsystem.h
Include #include "ContentBrowserDataSubsystem.h"
Source /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSubsystem.cpp
void Legacy_TryConvertPackagePathToVirtualPaths
(
    const [FName](API\Runtime\Core\UObject\FName) InPackagePath,
    [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool([FName](API\Runtime\Core\UObject\FName))> InCallback
)

Remarks

Attempt to convert the given package path to virtual paths associated with the active data sources (callback will be called for each successful conversion).

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.

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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library