![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FindObjectReferencers.h>
Inheritance diagram for TFindObjectReferencers< T >:Public Member Functions | |
| TFindObjectReferencers (TArray< T * > TargetObjects, UPackage *PackageToCheck=NULL, bool bIgnoreTemplates=true, bool bFindAlsoWeakReferences=false) | |
This class is used to find which objects reference any element from a list of "TargetObjects". When invoked, it will generate a mapping of each target object to an array of objects referencing that target object.
Each key corresponds to an element of the input TargetObjects array which was referenced by some other object. The values for these keys are the objects which are referencing them.
|
inline |
Default constructor
| TargetObjects | the list of objects to find references to |
| PackageToCheck | if specified, only objects contained in this package will be searched for references to |
| bIgnoreTemplates | If true, do not record template objects |
| bFindAlsoWeakReferences | If true, also look into weak references |