FSetProperty::ContainsObjectReference

Returns true if this property, or in the case of e.g. array or struct properties any sub- property, contains a [UObject](API\Runtime\CoreUObject\UObject\UObject) reference.

Windows
MacOS
Linux

Override Hierarchy

FProperty::ContainsObjectReference()

FSetProperty::ContainsObjectReference()

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/GarbageCollection.cpp

Syntax

virtual bool ContainsObjectReference
(
    TArray< const FStructProperty * > & EncounteredStructProps,
    EPropertyObjectReferenceType InReferenceType
) const

Remarks

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 property (or sub- properties) contain a UObject reference, false otherwise

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss