Navigation
API > API/Plugins > API/Plugins/OptimusCore > API/Plugins/OptimusCore/UOptimusNodeGraph
References
| Module | OptimusCore |
| Header | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusNodeGraph.h |
| Include | #include "OptimusNodeGraph.h" |
| Source | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Private/OptimusNodeGraph.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;OptimusNodeGraph&41;
UOptimusNode &42; CollapseNodesToFunction
&40;
const TArray< UOptimusNode &42; > & InNodes
&41;
Remarks
Take a set of nodes and collapse them into a single function, replacing the given nodes with the new function node and returning it. A new function definition is made available as a new Function graph in the package.