UEdGraph_ReferenceViewer::GetSelectedAssetsForMenuExtender

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

Windows
MacOS
Linux

References

Module

AssetManagerEditor

Header

/Engine/Plugins/Editor/AssetManagerEditor/Source/AssetManagerEditor/Public/ReferenceViewer/EdGraph_ReferenceViewer.h

Include

#include "ReferenceViewer/EdGraph_ReferenceViewer.h"

Source

/Engine/Plugins/Editor/AssetManagerEditor/Source/AssetManagerEditor/Private/ReferenceViewer/EdGraph_ReferenceViewer.cpp

Syntax

bool GetSelectedAssetsForMenuExtender
(
    const class UEdGraphNode * Node,
    TArray< FAssetIdentifier > & SelectedAssets
) const

Remarks

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

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