Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- TInPropertyBaseClass
- TPropertyTypeFundamentals
- TProperty
- TFObjectPropertyBase
- FObjectProperty
- FClassProperty
- FClassPtrProperty
- FObjectPtrProperty
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, |
|||
FObjectProperty
(
FFieldVariant InOwner, |
Compiled-in property constructor is deprecated, use other constructors instead. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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 | 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 | |||
| UObject * | GetObjectPropertyValue
(
const void* PropertyValueAddress |
||
| UObject * | GetObjectPropertyValue_InContainer
(
const void* ContainerAddress, |
||
| TObjectPtr< UObject > | GetObjectPtrPropertyValue
(
const void* PropertyValueAddress |
||
| TObjectPtr< UObject > * | GetObjectPtrPropertyValuePtr
(
const void* PropertyValueAddress |
||
| TObjectPtr< UObject > & | GetObjectPtrPropertyValueRef
(
const void* PropertyValueAddress |
||
| 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 | SetObjectPropertyValue
(
void* PropertyValueAddress, |
||
| void | SetObjectPropertyValue_InContainer
(
void* ContainerAddress, |
||
| void | SetObjectPtrPropertyValue
(
void* PropertyValueAddress, |
||
| FFieldClass * | StaticClass () |
||
| constexpr uint64 | |||
| constexpr uint64 |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator delete
(
void* InMem |
||
| void * | operator new
(
const size_t InSize |
||
| void * | operator new
(
const size_t InSize, |
Typedefs
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
FObjectProperty
(
FFieldVariant InOwner, |
Compiled-in property constructor is deprecated, use other constructors instead. |