Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
Inheritance Hierarchy
- TInPropertyBaseClass
- TPropertyTypeFundamentals
- TProperty
- TFObjectPropertyBase
- FObjectProperty
- FClassProperty
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
Include | #include "UObject/UnrealType.h" |
Syntax
class FObjectProperty : public TFObjectPropertyBase< TObjectPtr< UObject > >
Remarks
Describes a reference variable to another object which may be nil.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FObjectProperty
(
UField* InField |
||
![]() |
FObjectProperty
(
EInternal InInernal, |
||
![]() |
FObjectProperty
(
FFieldVariant InOwner, |
Constructor used for constructing compiled in properties | |
![]() |
FObjectProperty
(
FFieldVariant InOwner, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | ||
![]() ![]() |
FField * | Construct
(
const FFieldVariant& InOwner, |
|
![]() ![]() |
EConvertFromTypeResult | ConvertFromType
(
const FPropertyTag& Tag, |
Allows a property to implement backwards compatibility handling for tagged properties |
![]() ![]() ![]() |
void | CopyCompleteValueFromScriptVM
(
void* Dest, |
Copy the value for all elements of this property. From the script VM. |
![]() ![]() ![]() |
void | CopyCompleteValueFromScriptVM_InContainer
(
void* OutContainer, |
|
![]() ![]() ![]() |
void | CopyCompleteValueToScriptVM
(
void* Dest, |
Copy the value for all elements of this property. To the script VM. |
![]() ![]() ![]() |
void | CopyCompleteValueToScriptVM_InContainer
(
void* OutValue, |
Equivalent to the above functions, but using the container and aware of getters/setters when the container has them. |
![]() ![]() ![]() |
void | CopySingleValueFromScriptVM
(
void* Dest, |
Copy the value for a single element of this property. From the script VM. |
![]() ![]() ![]() |
void | CopySingleValueToScriptVM
(
void* Dest, |
Copy the value for a single element of this property. To the script VM. |
![]() ![]() |
void | EmitIntrusiveOptionalReferenceInfo
(
UE::GC::FSchemaBuilder& Schema, |
For properties returning true from HasIntrusiveUnsetOptionalState which also contain object references, emit information for the garbage collector to safely gather the references from the value whether the optional value is set or unset. |
![]() ![]() |
void | EmitReferenceInfo
(
UE::GC::FSchemaBuilder& Schema, |
Emits tokens used by realtime garbage collection code to passed in ReferenceTokenStream. |
![]() ![]() ![]() |
FString | GetCPPMacroType
(
FString& ExtendedTypeText |
|
![]() ![]() ![]() |
FString | GetCPPTypeCustom
(
FString* ExtendedTypeText, |
|
![]() ![]() ![]() |
FString | ||
![]() ![]() ![]() |
SIZE_T | GetFieldSize () |
|
![]() ![]() ![]() |
UObject * | GetObjectPropertyValue
(
const void* PropertyValueAddress |
|
![]() ![]() ![]() |
UObject * | GetObjectPropertyValue_InContainer
(
const void* ContainerAddress, |
|
![]() ![]() ![]() |
TObjectPtr< UObject > | GetObjectPtrPropertyValue
(
const void* PropertyValueAddress |
|
![]() ![]() ![]() |
TObjectPtr< UObject > | GetObjectPtrPropertyValue_InContainer
(
const void* ContainerAddress, |
|
![]() ![]() |
TObjectPtr< UObject > * | GetObjectPtrPropertyValuePtr
(
const void* PropertyValueAddress |
|
![]() ![]() |
TObjectPtr< UObject > & | GetObjectPtrPropertyValueRef
(
const void* PropertyValueAddress |
|
![]() ![]() ![]() |
bool | Determines whether the property values are identical. | |
![]() ![]() ![]() |
const TCHAR * | ImportText_Internal
(
const TCHAR* Buffer, |
|
![]() ![]() |
void | PostSerializeObjectItem
(
FArchive& SerializingArchive, |
Performs post serialization steps after loading a property value |
![]() ![]() ![]() |
void | SerializeItem
(
FStructuredArchive::FSlot Slot, |
|
![]() ![]() ![]() |
void | SetObjectPropertyValueUnchecked
(
void* PropertyValueAddress, |
|
![]() ![]() ![]() |
void | SetObjectPropertyValueUnchecked_InContainer
(
void* ContainerAddress, |
|
![]() ![]() ![]() |
void | SetObjectPtrPropertyValueUnchecked
(
void* PropertyValueAddress, |
|
![]() ![]() ![]() |
void | SetObjectPtrPropertyValueUnchecked_InContainer
(
void* ContainerAddress, |
|
![]() ![]() |
FFieldClass * | StaticClass () |
|
![]() ![]() |
uint64 | ||
![]() ![]() |
uint64 |
Overridden from TProperty
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | ClearIntrusiveOptionalValue
(
void* Data |
Set the value to it's special unset state. |
![]() ![]() ![]() |
bool | Returns whether this type has a special state for an unset TOptional meaning the size TOptional |
|
![]() ![]() ![]() |
void | InitializeIntrusiveUnsetOptionalValue
(
void* Data |
Initialize the value at the given address to an unset TOptional using an intrusive state rather than a trailing boolean. |
![]() ![]() ![]() |
bool | IsIntrusiveOptionalValueSet
(
const void* Data |
Returns whether an optional value of this inner type is unset. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
void | operator delete
(
void* InMem |
|
![]() |
void * | operator new
(
const size_t InSize |
|
![]() |
void * | operator new
(
const size_t InSize, |