|
| FORCEINLINE UClass * | Get () const |
| | Dereference the soft pointer 更多...
|
| |
|
FORCEINLINE FString | GetAssetName () const |
| | Returns assetname string, leaving off the /package/path part
|
| |
|
FORCEINLINE FString | GetLongPackageName () const |
| | Returns /package/path string, leaving off the asset name
|
| |
|
FORCEINLINE const FSoftObjectPath & | GetUniqueID () const |
| | Returns the StringObjectPath that is wrapped by this SoftObjectPtr
|
| |
| FORCEINLINE bool | IsNull () const |
| | Test if this can never point to a live UObject 更多...
|
| |
| FORCEINLINE bool | IsPending () const |
| | Test if this does not point to a live UObject, but may in the future 更多...
|
| |
| FORCEINLINE bool | IsValid () const |
| | Test if this points to a live UObject 更多...
|
| |
|
UClass * | LoadSynchronous () const |
| | Synchronously load (if necessary) and return the asset object represented by this asset ptr
|
| |
|
FORCEINLINE | operator bool () const |
| | Dereference soft pointer to see if it points somewhere valid
|
| |
|
FORCEINLINE UClass & | operator* () const |
| | Dereference the soft pointer
|
| |
|
FORCEINLINE UClass * | operator-> () const |
| | Dereference the soft pointer
|
| |
|
FORCEINLINE void | operator= (const FSoftObjectPath &ObjectPath) |
| | Copy from a soft object path
|
| |
|
template<class TClassA , class = decltype(ImplicitConv<TClass*>((TClassA*)nullptr))> |
| FORCEINLINE TSoftClassPtr & | operator= (const TSoftObjectPtr< TClassA > &Other) |
| | Copy from another soft pointer
|
| |
|
template<class TClassA , class = decltype(ImplicitConv<TClass*>((TClassA*)nullptr))> |
| FORCEINLINE TSoftClassPtr & | operator= (const TWeakObjectPtr< TClassA > &Other) |
| | Copy from a weak pointer already in memory
|
| |
|
FORCEINLINE void | operator= (const UClass *From) |
| | Copy from a class already in memory
|
| |
|
FORCEINLINE void | Reset () |
| | Reset the soft pointer back to the null state
|
| |
|
FORCEINLINE void | ResetWeakPtr () |
| | Resets the weak ptr only, call this when ObjectId may change
|
| |
|
FORCEINLINE const FSoftObjectPath & | ToSoftObjectPath () const |
| | Returns the StringObjectPath that is wrapped by this SoftObjectPtr
|
| |
|
FORCEINLINE FString | ToString () const |
| | Returns string representation of reference, in form /package/path.assetname
|
| |
|
FORCEINLINE | TSoftClassPtr () |
| | Default constructor, will be null
|
| |
|
FORCEINLINE | TSoftClassPtr (const FSoftObjectPath &ObjectPath) |
| | Construct from a soft object path
|
| |
|
template<class TClassA , class = decltype(ImplicitConv<TClass*>((TClassA*)nullptr))> |
| FORCEINLINE | TSoftClassPtr (const TSoftClassPtr< TClassA > &Other) |
| | Construct from another soft pointer
|
| |
|
FORCEINLINE | TSoftClassPtr (const UClass *From) |
| | Construct from a class already in memory
|
| |
template<class TClass = UObject>
class TSoftClassPtr< TClass >
TSoftClassPtr is a templatized wrapper around FSoftObjectPtr that works like a TSubclassOf, it can be used in UProperties for blueprint subclasses