Deprecated
Use raw pointers or TWeakObjectPtr instead
| FSubobjectPtr
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
Include |
#include "UObject/UObjectGlobals.h" |
class FSubobjectPtr
Name | Description | ||
---|---|---|---|
|
UObject * |
Object |
Subobject pointer. |
Name | Description | |
---|---|---|
|
FSubobjectPtr ( |
Constructor used by TSubobjectPtr. |
Name | Description | ||
---|---|---|---|
|
UObject *... |
Get() |
Gets the pointer to the subobject. |
|
IsInitialized ( |
||
|
IsValid() |
Checks if the subobject != nullptr. |
|
|
Reset() |
Resets the internal pointer to nullptr. |
|
|
Set ( |
Sets the object pointer. Does runtime checks to see if the assignment is allowed. |
Name | Description | ||
---|---|---|---|
|
operator bool() |
Convenience operator. |
|
|
operator!= ( |
||
|
operator== ( |
Compare against nullptr |
Name |
Description |
|
---|---|---|
|
EInvalidPtr |