struct
VisualScriptNode
- Module
- VisualScripting
- Header
#include "VisualScripting/VisualScriptGraph.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
VisualScriptNodeKind | kind | Default VisualScriptNodeKind::CallFunction. |
std::string | name | event name / display label |
std::string | functionName | CallFunction: 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 | |
VisualScriptPureOp | pureOp | Pure: the math/logic operation. GetVar / SetVar: the variable name. Default VisualScriptPureOp::None. |
std::string | varName | |
std::string | locNamespace | MakeText: 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::string | locKey | |
std::string | locSource | |
int | execNext | Primary exec output: the next node (CallFunction/Event), or the TRUE path of a Branch. -1 to end. Default -1. |
int | execElse | Branch: the FALSE path. Default -1. |
std::vector<int> | execList | Sequence: exec outputs fired in declared order; each runs its full downstream chain before the next (depth-first). |
int | execNextPin | Target 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. |
int | execElsePin | Default 0. |
std::vector<int> | execListPins | |
VisualScriptTimeline | timeline | Timeline: the multi-track authoring data. Empty tracks -> the node behaves as the legacy single-alpha pulse (inputs[0] = duration). |
bool | breakpoint | Default false. |
std::string | breakpointCondition | Both 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::string | breakpointLog | |
float | posX | Editor 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. |
float | posY | Default 0.0f. |
float | commentW | Default 0.0f. |
float | commentH | Default 0.0f. |
std::string | guid | Stable 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