Navigation
API > API/Plugins > API/Plugins/AssetManagerEditor
| Name | UEdGraph_ReferenceViewer |
| Type | class |
| Header File | /Engine/Plugins/Editor/AssetManagerEditor/Source/AssetManagerEditor/Public/ReferenceViewer/EdGraph_ReferenceViewer.h |
| Include Path | #include "ReferenceViewer/EdGraph_ReferenceViewer.h" |
Syntax
UCLASS (MinimalAPI)
class UEdGraph_ReferenceViewer : public UEdGraph
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraph → UEdGraph_ReferenceViewer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UEdGraph_ReferenceViewer
(
const FObjectInitializer& ObjectInitializer |
ReferenceViewer/EdGraph_ReferenceViewer.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDoesAssetPassSearchFilterCallback | TFunction< bool(const FAssetIdentifier &, const FAssetData &)> | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| FIsAssetIdentifierPassingSearchFilterCallback | TFunction< bool(const FAssetIdentifier &)> | ReferenceViewer/EdGraph_ReferenceViewer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetThumbnailPool | TSharedPtr< FAssetThumbnailPool > | Pool for maintaining and rendering thumbnails | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| bBreadthLimitReached | bool | Stores if the breadth limit was reached on the last refilter | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| bShowingContentVersePath | bool | Whether to show Verse paths | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| CurrentClasses | TSet< FTopLevelAssetPath > | A set of the unique class types referenced | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| CurrentCollectionFilterContainer | TSharedPtr< ICollectionContainer > | Current collection filter. NAME_None for no filter | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| CurrentCollectionFilterName | FName | ReferenceViewer/EdGraph_ReferenceViewer.h | ||
| CurrentCollectionPackages | TSet< FName > | List of packages the current collection filter allows | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| CurrentGraphRootIdentifiers | TArray< FAssetIdentifier > | ReferenceViewer/EdGraph_ReferenceViewer.h | ||
| CurrentGraphRootOrigin | FIntPoint | ReferenceViewer/EdGraph_ReferenceViewer.h | ||
| CurrentPluginFilter | TArray< FName > | Current plugin filter. Empty for no filter. | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| DependencyNodeInfos | TMap< FAssetIdentifier, FReferenceNodeInfo > | ReferenceViewer/EdGraph_ReferenceViewer.h | ||
| DoesAssetPassSearchFilterCallback | FDoesAssetPassSearchFilterCallback | ReferenceViewer/EdGraph_ReferenceViewer.h | ||
| EncounteredPluginsAmongNodes | TArray< FName > | Plugin names found among unfiltered nodes. Chose among these when filtering for plugins. | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| FilterCollection | TSharedPtr< TFilterCollection< FReferenceNodeInfo & > > | Current filter collection | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| OnAssetsChangedDelegate | FSimpleMulticastDelegate | A delegate to notify when the underlying assets changed (usually through a root or depth change) | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| ReferencedPropertiesNodes | TMap< uint32, TWeakObjectPtr< UEdGraphNode_ReferencedProperties > > | Keeping track of existing Referencing Properties Nodes | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| ReferencerNodeInfos | TMap< FAssetIdentifier, FReferenceNodeInfo > | Cached Reference Information used to quickly refilter | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| ReferenceViewer | TWeakPtr< SReferenceViewer > | Editor for this pool | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| Settings | UReferenceViewerSettings * | ReferenceViewer/EdGraph_ReferenceViewer.h | ||
| SReferenceViewer | friend | ReferenceViewer/EdGraph_ReferenceViewer.h | ||
| TargetIdentifier | FAssetIdentifier | ReferenceViewer/EdGraph_ReferenceViewer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool BreadthLimitExceeded() |
Returns true if the current graph has overflow nodes | ReferenceViewer/EdGraph_ReferenceViewer.h | |
void CloseReferencedPropertiesNode
(
UEdGraphNode_ReferencedProperties* InNode |
Closes (removes) the specified Referenced Properties Node | ReferenceViewer/EdGraph_ReferenceViewer.h | |
const TSharedPtr< class FAssetThumbnailPool > & GetAssetThumbnailPool() |
Accessor for the thumbnail pool in this graph | ReferenceViewer/EdGraph_ReferenceViewer.h | |
const TSet< FTopLevelAssetPath > & GetAssetTypes() |
Returns a set of unique asset types as UClass* | ReferenceViewer/EdGraph_ReferenceViewer.h | |
void GetCurrentCollectionFilter
(
ICollectionContainer*& OutCollectionContainer, |
ReferenceViewer/EdGraph_ReferenceViewer.h | ||
| ReferenceViewer/EdGraph_ReferenceViewer.h | |||
const TArray< FAssetIdentifier > & GetCurrentGraphRootIdentifiers() |
Returns list of currently focused assets | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| ReferenceViewer/EdGraph_ReferenceViewer.h | |||
| ReferenceViewer/EdGraph_ReferenceViewer.h | |||
bool GetSelectedAssetsForMenuExtender
(
const UEdGraphNode* Node, |
If you're extending the reference viewer via GetAllGraphEditorContextMenuExtender you can use this to get the list of selected assets to use in your menu extender | ReferenceViewer/EdGraph_ReferenceViewer.h | |
bool IsShowingContentVersePath() |
ReferenceViewer/EdGraph_ReferenceViewer.h | ||
FSimpleMulticastDelegate & OnAssetsChanged() |
Delegate type to notify when the assets or NodeInfos have changed as opposed to when the filters changed | ReferenceViewer/EdGraph_ReferenceViewer.h | |
UEdGraphNode_Reference * RebuildGraph() |
Force the graph to rebuild | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| Refilters the nodes, more efficient that a full rebuild. | ReferenceViewer/EdGraph_ReferenceViewer.h | ||
void RefreshReferencedPropertiesNodes() |
Refreshes the information of existing Referenced Properties Nodes | ReferenceViewer/EdGraph_ReferenceViewer.h | |
void SetCurrentCollectionFilter
(
FName NewFilter |
ReferenceViewer/EdGraph_ReferenceViewer.h | ||
void SetCurrentCollectionFilter
(
const TSharedPtr< ICollectionContainer >& CollectionContainer, |
ReferenceViewer/EdGraph_ReferenceViewer.h | ||
void SetCurrentFilterCollection
(
TSharedPtr< TFilterCollection< FReferenceNodeInfo& > > NewFilterCollection |
Not to be confused with the above Content Browser Collection name, this is a TFiltercollection, a list of active filters | ReferenceViewer/EdGraph_ReferenceViewer.h | |
| ReferenceViewer/EdGraph_ReferenceViewer.h | |||
void SetDoesAssetPassSearchFilterCallback
(
const FDoesAssetPassSearchFilterCallback& InDoesAssetPassSearchFilterCallback |
ReferenceViewer/EdGraph_ReferenceViewer.h | ||
void SetGraphRoot
(
const TArray< FAssetIdentifier >& GraphRootIdentifiers, |
Set reference viewer to focus on these assets | ReferenceViewer/EdGraph_ReferenceViewer.h | |
void SetIsAssetIdentifierPassingSearchFilterCallback
(
const TOptional< FIsAssetIdentifierPassingSearchFilterCallback >& InIsAssetIdentifierPassingSearchF... |
ReferenceViewer/EdGraph_ReferenceViewer.h | ||
void SetShowingContentVersePath
(
bool bInShowingContentVersePath |
ReferenceViewer/EdGraph_ReferenceViewer.h | ||
void UpdatePaths() |
ReferenceViewer/EdGraph_ReferenceViewer.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
UObject implementation. | ReferenceViewer/EdGraph_ReferenceViewer.h |