Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FObjectPropertyBase
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PropertyBaseObject.cpp |
UObject * ConstructDefaultObjectValueIfNecessary
(
UObject * ExistingValue
) const
Remarks
Constructs a new object if the existing one is missing or is not compatible with the property class Used for making sure non-nullable properties have valid values. Non-null object that was assigned to this property value address
Parameters
| Name | Description |
|---|---|
| ExistingValue | Previous object value (can be null) |