Navigation
API > API/Plugins > API/Plugins/OptimusCore > API/Plugins/OptimusCore/UOptimusNodeGraph
Description
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.
| Name | CollapseNodesToFunction |
| Type | function |
| Header File | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusNodeGraph.h |
| Include Path | #include "OptimusNodeGraph.h" |
| Source | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Private/OptimusNodeGraph.cpp |
UFUNCTION (BlueprintCallable, Category=OptimusNodeGraph)
UOptimusNode * CollapseNodesToFunction
(
const TArray < UOptimusNode * > & InNodes
)