Skip to content

ISMGraphGeneration::FCollapseNodesToStateMachineArgs

#include <ISMGraphGeneration.h>

Description

struct ISMGraphGeneration::FCollapseNodesToStateMachineArgs;

Arguments for collapsing a set of nodes into a new nested state machine, the headless equivalent of the editor's "Collapse to State Machine". Boundary transitions (edges crossing the selection) are rewired onto the new container. Fully-interior nodes and edges move inside it.

Public Attributes

Name
TArray< USMGraphNode_Base * > Nodes

Public Attributes Documentation

variable Nodes

TArray< USMGraphNode_Base * > Nodes;

[Required] The nodes to collapse. Must contain at least one state node, and every node must belong to the same state machine graph. Reroute waypoints do not count toward the state-node requirement. Transitions and reroutes between included states are pulled in automatically even if omitted.