FFindReferencedAssets

Windows
MacOS
Linux

Inheritance Hierarchy

FGCObject

FFindReferencedAssets

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/ReferencedAssetsUtils.h

Include

#include "ReferencedAssetsUtils.h"

Syntax

class FFindReferencedAssets : public FGCObject

Variables

Name Description

Protected variable

TArray< UClass ...

 

IgnoreClasses

This is a list of classes that should be ignored when building the asset list as they are always loaded and therefore not pertinent

Protected variable

TArray< UObject...

 

IgnorePackages

This is a list of packages that should be ignored when building the asset list as they are always loaded and therefore not pertinent

Protected variable

FDelegateHandle

 

OnEditorMapChangeDelegateHandle

Handle to the registered OnEditorMapChange delegate.

Protected variable

ObjectReference...

 

ReferenceGraph

The object graph for the assets referenced by the currently selected actors.

Protected variable

TArray< FRefere...

 

Referencers

Holds the list of assets that are being referenced by the current selection

Constructors

Name Description

Public function

FFindReferencedAssets()

  1. Builds the list of items to ignore

Destructors

Name Description

Public function Virtual

~FFindReferencedAssets()

Destructor

Functions

Name Description

Public function Static

void

 

BuildAssetList

(
    UObject* Object,
    const TArray< UClass* >& Igno...,
    const TArray< UObject* >& Ign...,
    TSet< UObject* >& ReferencedA...,
    bool bIncludeDefaultRefs
)

Returns a list of all assets referenced by the specified UObject.

Protected function

void

 

OnEditorMapChange

(
    uint32 Flag
)

Listens for MapChange events. Clears all references to actors in the current level.

Public function Static

bool

 

ShouldSearchForAssets

(
    const UObject* Object,
    const TArray< UClass* >& Clas...,
    const TArray< UObject* >& Pac...,
    bool bIncludeDefaults
)

Checks an object to see if it should be included for asset searching

Overridden from FGCObject

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

=== FGCObject interface ===

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss