Navigation
API > API/Editor > API/Editor/ContentBrowserData
Hold multiple versions of a path as FNames
Path conversion each time Set is called
| Name | FContentBrowserItemPath |
| Type | struct |
| Header File | /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserItemPath.h |
| Include Path | #include "ContentBrowserItemPath.h" |
Syntax
USTRUCT (BlueprintType ,
Meta=(HasNativeBreak="/Script/ContentBrowserData.ContentBrowserItemPathExtensions.BreakContentBrowserItemPath", HasNativeMake="/Script/ContentBrowserData.ContentBrowserItemPathExtensions.MakeContentBrowserItemPath"))
struct FContentBrowserItemPath
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ContentBrowserItemPath.h | |||
FContentBrowserItemPath
(
const FName InVirtualPath, |
ContentBrowserItemPath.h | ||
FContentBrowserItemPath
(
const FStringView InPath, |
ContentBrowserItemPath.h | ||
FContentBrowserItemPath
(
const TCHAR* InPath, |
ContentBrowserItemPath.h | ||
FContentBrowserItemPath
(
const FName InPath, |
ContentBrowserItemPath.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InternalPath | FName | Path as internal (eg,. "/PluginA/MyFile") | ContentBrowserItemPath.h | |
| VirtualPath | FName | Path as virtual (eg, "/All/Plugins/PluginA/MyFile") | ContentBrowserItemPath.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName GetInternalPathName() |
Returns internal path if there is one (eg,. "/PluginA/MyFile"). | ContentBrowserItemPath.h | |
FString GetInternalPathString() |
Returns internal path as newly allocated FString if there is one or empty FString (eg,. "/PluginA/MyFile"). | ContentBrowserItemPath.h | |
FName GetVirtualPathName() |
Returns virtual path as FName (eg, "/All/Plugins/PluginA/MyFile"). | ContentBrowserItemPath.h | |
FString GetVirtualPathString() |
Returns virtual path as newly allocated FString (eg, "/All/Plugins/PluginA/MyFile"). | ContentBrowserItemPath.h | |
bool HasInternalPath() |
Returns true if there is an internal path | ContentBrowserItemPath.h | |
void SetPathFromName
(
const FName InPath, |
Set the path being stored | ContentBrowserItemPath.h | |
void SetPathFromString
(
const FStringView InPath, |
Set the path being stored | ContentBrowserItemPath.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FContentBrowserItemPath& Other |
ContentBrowserItemPath.h |