FFindReferencersArchive::GetReferenceCount

Retrieves the number of references from PotentialReferencer to the object specified.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/FindReferencersArchive.h

Include

#include "Serialization/FindReferencersArchive.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Serialization/FindReferencersArchive.cpp

Syntax

int32 GetReferenceCount
(
    class UObject * TargetObject,
    TArray< class FProperty * > * out_ReferencingProperties
) const

Remarks

Retrieves the number of references from PotentialReferencer to the object specified.

Returns

the number of references to TargetObject which were encountered when PotentialReferencer was serialized.

Parameters

Parameter

Description

TargetObject

the object to might be referenced

out_ReferencingProperties

receives the list of properties which were holding references to TargetObject