struct

VisualScriptNode

Module
VisualScripting
Header
#include "VisualScripting/VisualScriptGraph.h"
Namespace
Mowo

Properties

TypeNameDescription
VisualScriptNodeKindkindDefault VisualScriptNodeKind::CallFunction.
std::stringnameevent name / display label
std::stringfunctionNameCallFunction: the reflected method to invoke on the execution target, and one input per parameter (constant or linked), in order. Branch: inputs[0] is the bool condition. ForLoop: inputs[0] is the count. SetVar: inputs[0] is the value to store.
std::vector<VisualScriptInput>inputs
VisualScriptPureOppureOpPure: the math/logic operation. GetVar / SetVar: the variable name. Default VisualScriptPureOp::None.
std::stringvarName
std::stringlocNamespaceMakeText: the string table coordinates and the English the graph was authored against. Deliberately NOT varName — a variable rename walks varName and would rewrite a localization key that happens to match.
std::stringlocKey
std::stringlocSource
intexecNextPrimary exec output: the next node (CallFunction/Event), or the TRUE path of a Branch. -1 to end. Default -1.
intexecElseBranch: the FALSE path. Default -1.
std::vector<int>execListSequence: exec outputs fired in declared order; each runs its full downstream chain before the next (depth-first).
intexecNextPinTarget exec-IN pin of the node this connection points at. Only nodes with N named exec inputs (macro instances / MacroOutput) look past pin 0; every existing node has a single implicit exec-in, so these default to 0 and old graphs load unchanged. Parallel to execList. Default 0.
intexecElsePinDefault 0.
std::vector<int>execListPins
VisualScriptTimelinetimelineTimeline: the multi-track authoring data. Empty tracks -> the node behaves as the legacy single-alpha pulse (inputs[0] = duration).
boolbreakpointDefault false.
std::stringbreakpointConditionBoth only mean anything while breakpoint is set. The condition is Visual Scripting expression text over the graph's variables and the running function's params/locals; the breakpoint stops only when it reads true. A non-empty log message turns the breakpoint into a logpoint: {expr} placeholders are evaluated and the line is printed, and the run never stops there.
std::stringbreakpointLog
floatposXEditor canvas placement. (0,0) means "never placed" — the editor auto-lays such nodes out, so graphs authored before v4 (and code-built ones) open exactly as before. Comment nodes also carry their box extents. Default 0.0f.
floatposYDefault 0.0f.
floatcommentWDefault 0.0f.
floatcommentHDefault 0.0f.
std::stringguidStable identity across revisions (UE's NodeGuid). Links are indices, and deleting one node renumbers every node after it, so a diff or a merge that matched nodes by index would pair unrelated nodes. A node read from a file written before ids existed gets "idx-<index>", which every revision of that file agrees on until it is saved with real ids.
Generated from VisualScripting/VisualScriptGraph.h via visualscripting.json · Nov 5, 2026Version 1.0.0