FGraphSelectionManager

Unreal Engine C++ API Reference > Editor > GraphEditor

Inheritance Hierarchy

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/SNodePanel.h
Include #include "SNodePanel.h"

Syntax

struct FGraphSelectionManager : public [FGCObject](API\Runtime\CoreUObject\UObject\FGCObject)  

Variables

Type Name Description
SGraphEditor::F... OnSelectionChanged Invoked when the selected graph nodes have changed.
TSet< TObjectPt... SelectedNodes  

Functions

Type Name Description
bool AreAnyNodesSelected () Returns true if any nodes are selected
void ClearSelectionSet () Reset the selection state of all nodes
void ClickedOnNode ( SelectedItemType Node, const FPointerEvent& MouseEvent ) Handle the selection mechanics when a node is clicked on.
const FGraph... GetSelectedNodes ()  
bool IsNodeSelected ( SelectedItemType Node )  
void SelectSingleNode ( SelectedItemType Node ) Select just the specified node
void SetNodeSelection ( SelectedItemType Node, bool bSelect ) Add or remove a node from the selection set
void SetSelectionSet ( FGraphPanelSelectionSet& NewSet ) Changes the selection set to contain exactly all of the passed in nodes
void StartDraggingNode ( SelectedItemType NodeBeingDragged, const FPointerEvent& MouseEvent ) Handle the selection mechanics of starting to drag a node.

Overridden from FGCObject

Type Name Description
void AddReferencedObjects ( FReferenceCollector& Collector ) Pure virtual that must be overloaded by the inheriting class.
FString GetReferencerName () Overload this method to report a name for your referencer

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library