Skip to content

ISMGraphGeneration::FReplaceNodeArgs

#include <ISMGraphGeneration.h>

Description

struct ISMGraphGeneration::FReplaceNodeArgs;

Arguments for replacing a node in place with a different kind, the headless equivalent of the editor's "Replace With ..." entries. Existing transitions are preserved and the original node is removed.

Public Attributes

Name
USMGraphNode_Base * Node
EReplaceNodeKind TargetKind

Public Attributes Documentation

variable Node

USMGraphNode_Base * Node = nullptr;

[Required] The node to replace. Must be a convertible state node. Entry, transition, any-state, and link nodes are rejected.


variable TargetKind

EReplaceNodeKind TargetKind = EReplaceNodeKind::State;

[Required] The kind of node to replace it with.