Navigation
API > API/Runtime > API/Runtime/CoreUObject
A struct that contains a string reference to a class, can be used to make soft references to classes
| Name | FSoftClassPath |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/SoftObjectPath.h |
| Include Path | #include "UObject/SoftObjectPath.h" |
Syntax
USTRUCT (BlueprintType ,
Meta=(HasNativeMake="/Script/Engine.KismetSystemLibrary.MakeSoftClassPath", HasNativeBreak="/Script/Engine.KismetSystemLibrary.BreakSoftClassPath"))
struct FSoftClassPath : public FSoftObjectPath
Inheritance Hierarchy
- FSoftObjectPath → FSoftClassPath
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UObject/SoftObjectPath.h | |||
FSoftClassPath
(
const FSoftClassPath& Other |
UObject/SoftObjectPath.h | ||
FSoftClassPath
(
FSoftClassPath&& Other |
UObject/SoftObjectPath.h | ||
FSoftClassPath
(
const FString& PathString |
Construct from a path string | UObject/SoftObjectPath.h | |
FSoftClassPath
(
const UClass* InClass |
Construct from an existing class, will do some string processing | UObject/SoftObjectPath.h | |
FSoftClassPath
(
const UObject* InObject |
Forbid creation for UObject. | UObject/SoftObjectPath.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSoftClassPath() |
UObject/SoftObjectPath.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UClass * ResolveClass() |
Attempts to find a currently loaded object that matches this object ID | UObject/SoftObjectPath.h | |
bool SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
UObject/SoftObjectPath.h | ||
UClass * TryLoadClass() |
Attempts to load the class. | UObject/SoftObjectPath.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FSoftClassPath GetOrCreateIDForClass
(
const UClass* InClass |
UObject/SoftObjectPath.h | ||
static FSoftObjectPath GetOrCreateIDForObject
(
const UObject* Object |
Forbidden. | UObject/SoftObjectPath.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSoftClassPath & operator=
(
const FSoftClassPath& Path |
UObject/SoftObjectPath.h | ||
FSoftClassPath & operator=
(
FSoftClassPath&& Path |
UObject/SoftObjectPath.h |