FFindReferencersArchive::GetReferenceCounts

Retrieves the number of references from PotentialReferencer list of TargetObjects

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 GetReferenceCounts
(
    TMap< class UObject *, int32 > & out_ReferenceCounts,
    TMultiMap< class UObject *, class FProperty * > & out_ReferencingProperties
) const

Remarks

Retrieves the number of references from PotentialReferencer list of TargetObjects

Returns

the number of objects which were referenced by PotentialReferencer.

Parameters

Parameter

Description

out_ReferenceCounts

receives the number of references to each of the TargetObjects

out_ReferencingProperties

receives the map of properties holding references to each referenced object.