Module |
|
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
(
TFunctionRef< bool *Pin)> Filter,
TFunctionRef< void *)> Func
)
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: