Navigation
API > API/Runtime > API/Runtime/CoreUObject
Wrapper structure for a GUID that uniquely identifies registered UObjects. The actual GUID is stored in an object annotation that is updated when a new reference is made.
| Name | FUniqueObjectGuid |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/LazyObjectPtr.h |
| Include Path | #include "UObject/LazyObjectPtr.h" |
Syntax
struct FUniqueObjectGuid
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUniqueObjectGuid
(
const UObject* InObject |
Construct from an existing object | UObject/LazyObjectPtr.h | |
FUniqueObjectGuid
(
const FGuid& InGuid |
UObject/LazyObjectPtr.h | ||
| UObject/LazyObjectPtr.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Guid | FGuid | Guid representing the object, should be unique | UObject/LazyObjectPtr.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUniqueObjectGuid FixupForPIE
(
int32 PlayInEditorID |
Fixes up this UniqueObjectID to add or remove the PIE prefix depending on what is currently active | UObject/LazyObjectPtr.h | |
void FromString
(
const FString& From |
Converts from a string | UObject/LazyObjectPtr.h | |
const FGuid & GetGuid() |
Returns wrapped Guid | UObject/LazyObjectPtr.h | |
bool IsDefault() |
Returns true is this is the default value | UObject/LazyObjectPtr.h | |
bool IsValid() |
Test if this can ever point to a live UObject | UObject/LazyObjectPtr.h | |
void Reset() |
Reset the guid pointer back to the invalid state | UObject/LazyObjectPtr.h | |
UObject * ResolveObject() |
Attempts to find a currently loaded object that matches this object ID | UObject/LazyObjectPtr.h | |
FString ToString() |
Converts into a string | UObject/LazyObjectPtr.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetCurrentTag() |
UObject/LazyObjectPtr.h | ||
static FUniqueObjectGuid GetOrCreateIDForObject
(
FObjectPtr Object |
UObject/LazyObjectPtr.h | ||
static FUniqueObjectGuid GetOrCreateIDForObject
(
TObjectPtr< T > Object |
UObject/LazyObjectPtr.h | ||
static FUniqueObjectGuid GetOrCreateIDForObject
(
const UObject* Object |
UObject/LazyObjectPtr.h | ||
static int32 InvalidateTag() |
UObject/LazyObjectPtr.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FUniqueObjectGuid& Other |
UObject/LazyObjectPtr.h | ||
bool operator==
(
const FUniqueObjectGuid& Other |
UObject/LazyObjectPtr.h |