Choose your operating system:
Windows
macOS
Linux
| FSoftObjectPath
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/SoftObjectPath.h |
Include |
#include "UObject/SoftObjectPath.h" |
struct FSoftObjectPath
A struct that contains a string reference to an object, either a top level asset or a subobject. This can be used to make soft references to assets that are loaded on demand. This is stored internally as an FName pointing to the top level asset (/package/path.assetname) and an option a string subobject path. If the MetaClass metadata is applied to a FProperty with this the UI will restrict to that type of asset.
Name | Description | |
---|---|---|
|
FSoftObjectPath() |
|
|
FSoftObjectPath |
|
|
FSoftObjectPath ( |
Construct from an existing object in memory |
|
FSoftObjectPath ( |
|
|
FSoftObjectPath ( |
|
|
FSoftObjectPath |
Construct from an asset FName and subobject pair |
|
FSoftObjectPath ( |
Construct from another soft object path |
|
FSoftObjectPath ( |
Construct from a moveable soft object path |
|
FSoftObjectPath ( |
Construct from a path string. Non-explicit for backwards compatibility. |
|
FSoftObjectPath ( |
|
|
FSoftObjectPath ( |
|
|
FSoftObjectPath ( |
|
|
FSoftObjectPath ( |
|
|
FSoftObjectPath ( |
Name | Description | |
---|---|---|
|
~FSoftObjectPath() |
Name | Description | ||
---|---|---|---|
|
AddPIEPackageName ( |
Adds list of packages names that have been created specifically for PIE, this is used for editor fixup |
|
|
ClearPIEPackageNames() |
Disables special PIE path handling, call when PIE finishes to clear list |
|
|
ExportTextItem ( |
||
|
FixupCoreRedirects() |
Fixes soft object path for CoreRedirects to handle renamed native objects, returns true if it was modified |
|
|
FixupForPIE ( |
Fixes up this SoftObjectPath to add the PIE prefix for the given PIEInstance index, returns true if it was modified |
|
|
FixupForPIE ( |
Fixes up this SoftObjectPath to add the PIE prefix depending on what is currently active, returns true if it was modified. |
|
|
GetAssetName() |
Returns assetname string, leaving off the /package/path part and sub object |
|
|
GetAssetPathName() |
Returns the entire asset path as an FName, including both package and asset but not sub object |
|
|
GetAssetPathString() |
Returns string version of asset path, including both package and asset but not sub object |
|
|
GetCurrentTag() |
Code needed by FSoftObjectPtr internals |
|
|
GetLongPackageFName() |
Returns /package/path, leaving off the asset name and sub object |
|
|
GetLongPackageName() |
Returns /package/path, leaving off the asset name and sub object |
|
|
FSoftObjectP... |
GetOrCreateIDForObject ( |
|
|
const FStrin... |
GetSubPathString() |
Returns the sub path, which is often empty |
|
ImportTextItem ( |
||
|
InvalidateTag() |
||
|
IsAsset() |
Check if this represents an asset, meaning it is not null but does not have a sub path |
|
|
IsNull() |
Checks to see if this is initialized to null |
|
|
IsSubobject() |
Check if this represents a sub object, meaning it has a sub path |
|
|
IsValid() |
Check if this could possibly refer to a real object, or was initialized to null |
|
|
PostLoadPath ( |
Handles when a path has been loaded, call if loading with a method that skips SerializePath. |
|
|
PreSavePath ( |
Fixes up path for saving, call if saving with a method that skips SerializePath. |
|
|
Reset() |
Resets reference to point to null |
|
|
UObject *... |
ResolveObject() |
Attempts to find a currently loaded object that matches this path |
|
Serialize ( |
Struct overrides |
|
|
Serialize ( |
Struct overrides |
|
|
SerializeFromMismatchedTag ( |
||
|
SerializePath ( |
Serializes the internal path and also handles save/PIE fixups. |
|
|
SetAssetPathName ( |
||
|
SetPath ( |
||
|
SetPath ( |
Sets asset path of this reference based on a string path |
|
|
SetPath ( |
Sets asset path of this reference based on a string path |
|
|
SetPath ( |
Sets asset path of this reference based on a string path |
|
|
SetPath ( |
Sets asset path of this reference based on a string path |
|
|
SetPath ( |
||
|
SetPath ( |
||
|
SetSubPathString ( |
||
|
ToString ( |
Append string representation of reference, in form /package/path.assetname[:subpath] |
|
|
ToString() |
Returns string representation of reference, in form /package/path.assetname[:subpath] |
|
|
UObject *... |
TryLoad ( |
Attempts to load the asset, this will call LoadObject which can be very slow |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
FSoftObjectP... |
operator= ( |
|
|
FSoftObjectP... |
operator= ( |
|
|
FSoftObjectP... |
operator= ( |
|
|
FSoftObjectP... |
operator= ( |
|
|
FSoftObjectP... |
operator= ( |
|
|
FSoftObjectP... |
operator= ( |
|
|
FSoftObjectP... |
operator= ( |
|
|
FSoftObjectP... |
operator= |
|
|
FSoftObjectP... |
operator= ( |
|
|
operator== ( |
Name |
Description |
---|---|
CurrentTag |
Global counter that determines when we need to re-search based on path because more objects have been loaded |
PIEPackageNames |
Package names currently being duplicated, needed by FixupForPIE |