Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectPtr.h |
| Include | #include "UObject/ObjectPtr.h" |
Syntax
struct FObjectPtr
Remarks
FObjectPtr is the basic, minimally typed version of TObjectPtr
Variables
| Type | Name | Description | |
|---|---|---|---|
| UObject * | DebugPtr | DebugPtr allows for easier dereferencing of a resolved FObjectPtr in watch windows of debuggers. | |
| FObjectHandle | Handle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FObjectPtr () |
|||
FObjectPtr
(
ENoInit |
|||
FObjectPtr
(
TYPE_OF_NULLPTR |
|||
FObjectPtr
(
UObject* Object |
|||
FObjectPtr
(
void* IncompleteObject |
|||
FObjectPtr
(
FObjectHandle Handle |
|||
FObjectPtr
(
FObjectPtr&& |
|||
FObjectPtr
(
const FObjectPtr& |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UObject * | Get () |
||
| UClass * | GetClass () |
||
| FName | GetFName () |
Gets the FName of the object without resolving the object reference. | |
| FString | GetFullName
(
EObjectFullNameFlags Flags |
Returns the full name for the object in the form: Class ObjectPath | |
| FObjectHandle | GetHandle () |
||
| FObjectHandle & | GetHandleRef () |
||
| FString | GetName () |
Gets the string name of the object without resolving the object reference. | |
| FObjectPtr | GetOuter () |
Gets the Outer UObject for this Object returns unresolved if this object ptr is unresolved | |
| FObjectPtr | GetPackage () |
Gets the package for this Object returns unresolved if this object ptr is unresolved | |
| FString | GetPath () |
Gets the PathName of the object without resolving the object reference. OBJPTR: Deprecate this. | |
| FString | GetPathName () |
Gets the PathName of the object without resolving the object reference. | |
| bool | IsA () |
||
| bool | |||
| bool | IsResolved () |
||
| TObjectPtr< UObject > & | ToTObjectPtr () |
||
| const TObjectPtr< UObject > & | ToTObjectPtr () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator! () |
||
| bool | operator!=
(
FObjectPtr Other |
||
| UObject & | operator* () |
||
| FObjectPtr & | operator=
(
TYPE_OF_NULLPTR |
||
| FObjectPtr & | operator=
(
const FObjectPtr& |
||
| FObjectPtr & | operator=
(
FObjectPtr&& |
||
| FObjectPtr & | operator=
(
void* IncompleteOther |
||
| FObjectPtr & | |||
| bool | operator==
(
FObjectPtr Other |
||
| UObject * | operator-> () |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsNull () |
IsNull is deprecated, please use operator bool instead. | |
| bool | IsNullNoResolve is deprecated, please use operator bool instead. |