Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FTopLevelAssetPath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool TrySetPath
(
const UObject* InObject |
Sets asset path to path of existing object. | UObject/TopLevelAssetPath.h | |
bool TrySetPath
(
FWideStringView Path |
Sets asset path of this reference based on a string path. | UObject/TopLevelAssetPath.h | |
bool TrySetPath
(
FUtf8StringView Path |
UObject/TopLevelAssetPath.h | ||
bool TrySetPath
(
FAnsiStringView Path |
UObject/TopLevelAssetPath.h | ||
bool TrySetPath
(
const CharType* Path |
UObject/TopLevelAssetPath.h | ||
bool TrySetPath
(
const FString& Path |
UObject/TopLevelAssetPath.h | ||
bool TrySetPath
(
FName InPackageName, |
Sets asset path of this reference based on components. | UObject/TopLevelAssetPath.h |
TrySetPath(const UObject *)
Description
Sets asset path to path of existing object. Sets an empty path and returns false if the object is not a package or the direct inner of a package.
| Name | TrySetPath |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/TopLevelAssetPath.h |
| Include Path | #include "UObject/TopLevelAssetPath.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/TopLevelAssetPath.cpp |
bool TrySetPath
(
const UObject * InObject
)
TrySetPath(FWideStringView)
Description
Sets asset path of this reference based on a string path. Resets this object and returns false if the string is empty or does not represent a top level asset path.
| Name | TrySetPath |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/TopLevelAssetPath.h |
| Include Path | #include "UObject/TopLevelAssetPath.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/TopLevelAssetPath.cpp |
bool TrySetPath
(
FWideStringView Path
)
TrySetPath(FUtf8StringView)
| Name | TrySetPath |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/TopLevelAssetPath.h |
| Include Path | #include "UObject/TopLevelAssetPath.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/TopLevelAssetPath.cpp |
bool TrySetPath
(
FUtf8StringView Path
)
TrySetPath(FAnsiStringView)
| Name | TrySetPath |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/TopLevelAssetPath.h |
| Include Path | #include "UObject/TopLevelAssetPath.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/TopLevelAssetPath.cpp |
bool TrySetPath
(
FAnsiStringView Path
)
TrySetPath(const CharType *)
| Name | TrySetPath |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/TopLevelAssetPath.h |
| Include Path | #include "UObject/TopLevelAssetPath.h" |
template<typename CharType, typename>
bool TrySetPath
(
const CharType * Path
)
TrySetPath(const FString &)
| Name | TrySetPath |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/TopLevelAssetPath.h |
| Include Path | #include "UObject/TopLevelAssetPath.h" |
bool TrySetPath
(
const FString & Path
)
TrySetPath(FName, FName)
Description
Sets asset path of this reference based on components.
| Name | TrySetPath |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/TopLevelAssetPath.h |
| Include Path | #include "UObject/TopLevelAssetPath.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/TopLevelAssetPath.cpp |
bool TrySetPath
(
FName InPackageName,
FName InAssetName
)