UProperty::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

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 UStructProperty * > & EncounteredStructProps
) 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 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

Parameters

Parameter

Description

EncounteredStructProps

used to check for recursion in arrays

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback