Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FInterfaceProperty
Description
Returns true if this property, or in the case of e.g. array or struct properties any sub- property, contains a UObject reference. Returns true if this property, or in the case of e.g. array or struct properties any sub- property, contains a UObject reference.
Virtual Inheritance
- FProperty::ContainsObjectReference → FInterfaceProperty::ContainsObjectReference
| Name | ContainsObjectReference |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include Path | #include "UObject/UnrealType.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PropertyInterface.cpp |
virtual bool ContainsObjectReference
(
TArray < const FStructProperty * > & EncounteredStructProps,
EPropertyObjectReferenceType InReferenceType
) const
true if property (or sub- properties) contain a UObject reference, false otherwise
Parameters
| Name | Remarks |
|---|---|
| EncounteredStructProps | used to check for recursion in arrays |
| InReferenceType | type of object reference (strong / weak) |