Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- TInPropertyBaseClass
- TPropertyTypeFundamentals
- TProperty
- TFObjectPropertyBase
- FSoftObjectProperty
- FSoftClassProperty
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
Syntax
class FSoftObjectProperty : public TFObjectPropertyBase< FSoftObjectPtr >
Remarks
Describes a reference variable to another object which may be nil, and will become valid or invalid at any point
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSoftObjectProperty
(
UField* InField |
|||
FSoftObjectProperty
(
EInternal InInernal, |
|||
FSoftObjectProperty
(
FFieldVariant InOwner, |
Constructor used for constructing compiled-in properties | ||
FSoftObjectProperty
(
FFieldVariant InOwner, |
|||
FSoftObjectProperty
(
FFieldVariant InOwner, |
Constructor used for constructing compiled-in properties | ||
FSoftObjectProperty
(
FFieldVariant InOwner, |
Compiled-in property constructor is deprecated, use other constructors instead. |
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 | ExportText_Internal
(
FString& ValueStr, |
||
| FString | GetCPPMacroType
(
FString& ExtendedTypeText |
||
| FString | GetCPPTypeCustom
(
FString* ExtendedTypeText, |
||
| FString | |||
| FName | GetID () |
||
| UObject * | GetObjectPropertyValue
(
const void* PropertyValueAddress |
||
| UObject * | GetObjectPropertyValue_InContainer
(
const void* ContainerAddress, |
||
| TObjectPtr< UObject > | GetObjectPtrPropertyValue
(
const void* PropertyValueAddress |
||
| bool | Identical
(
const void* A, |
Determines whether the property values are identical. | |
| const TCHAR * | ImportText_Internal
(
const TCHAR* Buffer, |
||
| UObject * | LoadObjectPropertyValue
(
const void* PropertyValueAddress |
||
| bool | NetSerializeItem
(
FArchive& Ar, |
||
| void | SerializeItem
(
FStructuredArchive::FSlot Slot, |
||
| void | SetObjectPropertyValue
(
void* PropertyValueAddress, |
||
| void | SetObjectPropertyValue_InContainer
(
void* ContainerAddress, |
||
| FFieldClass * | StaticClass () |
||
| constexpr uint64 | |||
| constexpr uint64 |
Overridden from TProperty
| Type | Name | Description | |
|---|---|---|---|
| FString | GetCPPType
(
FString* ExtendedTypeText, |
TProperty::GetCPPType should not be used here. | |
| void | LinkInternal
(
FArchive& Ar |
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 | |
|---|---|---|---|
FSoftObjectProperty
(
FFieldVariant InOwner, |
Compiled-in property constructor is deprecated, use other constructors instead. |