FContentBrowserItemPath

Hold multiple versions of a path as FNames Path conversion each time Set is called

Unreal Engine C++ API Reference > Editor > ContentBrowserData

References

   
Module ContentBrowserData
Header /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserItemPath.h
Include #include "ContentBrowserItemPath.h"

Syntax

struct FContentBrowserItemPath  

Remarks

Hold multiple versions of a path as FNames

Path conversion each time Set is called

Constructors

Type Name Description
  FContentBrowserItemPath ()  
  FContentBrowserItemPath ( const FName InVirtualPath, const FName InInternalPath )  
  FContentBrowserItemPath ( const FStringView InPath, const EContentBrowserPathType InPat... )  
  FContentBrowserItemPath ( const TCHAR* InPath, const EContentBrowserPathType InPat... )  
  FContentBrowserItemPath ( const FName InPath, const EContentBrowserPathType InPat... )  

Functions

Type Name Description
FName GetInternalPathName () Returns internal path if there is one (eg,. "/PluginA/MyFile").
FString GetInternalPathString () Returns internal path as newly allocated FString if there is one or empty FString (eg,. "/PluginA/MyFile").
FName GetVirtualPathName () Returns virtual path as FName (eg, "/All/Plugins/PluginA/MyFile").
FString GetVirtualPathString () Returns virtual path as newly allocated FString (eg, "/All/Plugins/PluginA/MyFile").
bool HasInternalPath () Returns true if there is an internal path
void SetPathFromName ( const FName InPath, const EContentBrowserPathType InPat... ) Set the path being stored
void SetPathFromString ( const FStringView InPath, const EContentBrowserPathType InPat... ) Set the path being stored

Operators

Type Name Description
bool operator== ( const FContentBrowserItemPath& Oth... )  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library