Skip to content

ISMGraphGeneration::FCreateLocalGraphWriteNodeArgs

#include <ISMGraphGeneration.h>

Description

struct ISMGraphGeneration::FCreateLocalGraphWriteNodeArgs;

Arguments for spawning a local-graph-write K2 node into a transition or conduit's local graph.

Public Attributes

Name
ELocalGraphWriteNodeType NodeType
UEdGraph * TargetGraph
FVector2D NodePosition
TOptional< bool > bDefaultValue

Public Attributes Documentation

variable NodeType

ELocalGraphWriteNodeType NodeType = ELocalGraphWriteNodeType::CanEvaluate;

[Required] The type of local-graph-write node to create.


variable TargetGraph

UEdGraph * TargetGraph = nullptr;

[Required] The local graph the node should be placed in. Each NodeType has its own compatibility rules (transition-only, conduit-allowed); the call fails if the NodeType's USMGraphK2Node subclass rejects the supplied graph.


variable NodePosition

FVector2D NodePosition = FVector2D::ZeroVector;

[Optional] Position within the target graph. Defaults to origin.


variable bDefaultValue

TOptional< bool > bDefaultValue;

[Optional] When set, seeds the boolean input pin's literal default. Routed through the pin's schema so the stored string matches the format the compiler expects. Unset leaves the pin at its declared default (false). Ignored if the pin ends up wired to another node.