UStructProperty::ContainsWeakObjectReference

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

Windows
MacOS
Linux

Override Hierarchy

UProperty::ContainsWeakObjectReference()

UStructProperty::ContainsWeakObjectReference()

Syntax

virtual bool ContainsWeakObjectReference() const

Remarks

Returns true if this property, or in the case of e.g. array or struct properties any sub- property, contains a weak UObject reference.

Returns

true if property (or sub- properties) contain a weak UObject reference, false otherwise

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/UnrealType.h

Source

Runtime/CoreUObject/Private/UObject/GarbageCollection.cpp

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