Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/EdGraph > API/Runtime/Engine/EdGraph/UEdGraphNode
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphNode.h |
| Include | #include "EdGraph/EdGraphNode.h" |
| Source | /Engine/Source/Runtime/Engine/Private/EdGraph/EdGraphNode.cpp |
void ForEachNodeDirectlyConnectedIf
&40;
TFunctionRef< bool(const UEdGraphPin &42;Pin)> Filter,
TFunctionRef< void(UEdGraphNode &42;)> Func
&41;
Remarks
Often we are only interested in a subset of our connections (e.g. only output pins, or only output pins except our exec pin) This function provides the ability to execute a provided function once for each node that is directly connected to this node, but first filters out which of this node's pins to consider: