![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SoftObjectPtr.h>
Inheritance diagram for FSoftObjectPtr:Additional Inherited Members | |
Public Types inherited from TPersistentObjectPtr< FSoftObjectPath > | |
| using | ElementType = FSoftObjectPath |
FSoftObjectPtr is a type of weak pointer to a UObject, that also keeps track of the path to the object on disk. It will change back and forth between being Valid and Pending as the referenced object loads or unloads. It has no impact on if the object is garbage collected or not.
This is useful to specify assets that you may want to asynchronously load on demand.
|
default |
|
default |
|
default |
|
default |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Returns assetname string, leaving off the /package/path. part
|
inline |
Returns /package/path name, leaving off the asset name
|
inline |
Returns /package/path string, leaving off the asset name
|
inline |
Synchronously load (if necessary) and return the asset object represented by this asset ptr
|
default |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
Returns the StringObjectPath that is wrapped by this SoftObjectPtr
|
inline |
Returns string representation of reference, in form /package/path.assetname