Navigation
API > API/Plugins > API/Plugins/GameplayCameras
A utility class for finding outgoing references from a given package to external UObjects of a given class.
| Name | FOutgoingReferenceFinder |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Helpers/OutgoingReferenceFinder.h |
| Include Path | #include "Helpers/OutgoingReferenceFinder.h" |
Syntax
class FOutgoingReferenceFinder : public FArchiveUObject
Inheritance Hierarchy
- FArchiveState → FArchive → FArchiveUObject → FOutgoingReferenceFinder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FOutgoingReferenceFinder
(
UObject* InRootObject, |
Creates a new instance of the reference finder. | Helpers/OutgoingReferenceFinder.h | |
FOutgoingReferenceFinder
(
UObject* InRootObject, |
Creates a new instance of the reference finder. | Helpers/OutgoingReferenceFinder.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ObjectsToVisit | TArray< UObject * > | Helpers/OutgoingReferenceFinder.h | ||
| PackageScope | UPackage * | Helpers/OutgoingReferenceFinder.h | ||
| ReferencedObjects | TMap< UClass *, TSet< UObject * > > | Helpers/OutgoingReferenceFinder.h | ||
| RootObject | UObject * | Helpers/OutgoingReferenceFinder.h | ||
| TargetObjectClasses | TSet< UClass * > | Helpers/OutgoingReferenceFinder.h | ||
| VisitedObjects | TSet< UObject * > | Helpers/OutgoingReferenceFinder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CollectReferences() |
Runs the reference finding. | Helpers/OutgoingReferenceFinder.h | |
| Gets all referenced objects. | Helpers/OutgoingReferenceFinder.h | ||
bool GetReferencesOfClass
(
TArray< ObjectClass* >& OutReferencedObjects |
Gets the references of a given class. | Helpers/OutgoingReferenceFinder.h |