FBlueprintEditor::CollapseNodesIntoGraph

Collapses a selection of nodes into a graph for composite, function, or macro nodes.

Unreal Engine C++ API Reference > Editor > Kismet > FBlueprintEditor

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/BlueprintEditor.h
Include #include "BlueprintEditor.h"
Source /Engine/Source/Editor/Kismet/Private/BlueprintEditor.cpp
void CollapseNodesIntoGraph
(
    [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * InGatewayNode,
    class [UK2Node_EditablePinBase](API\Editor\BlueprintGraph\UK2Node_EditablePinBase) * InEntryNode,
    class [UK2Node_EditablePinBase](API\Editor\BlueprintGraph\UK2Node_EditablePinBase) * InResultNode,
    [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * InSourceGraph,
    [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * InDestinationGraph,
    [TSet](API\Runtime\Core\Containers\TSet)< [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * > & InCollapsableNodes,
    bool bCanDiscardEmptyReturnNode,
    bool bCanHaveWeakObjPtrParam
)

Remarks

Collapses a selection of nodes into a graph for composite, function, or macro nodes.

Parameters

Name Description
InGatewayNode The node replacing the selection of nodes
InEntryNode The entry node in the graph
InResultNode The result node in the graph
InSourceGraph The graph the selection is from
InDestinationGraph The destination graph to move the selected nodes to
InCollapsableNodes The selection of nodes being collapsed

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library