class

FVfxGraph

The particle-attribute flow authored as a node graph. Stores the nodes, their connections and their per-node parameter blobs, and serializes the whole thing to a .vfx MDF document. Compilation to a runtime emitter config lives in FVfxGraphCompiler.

Module
Particles
Header
#include "Particles/VfxGraph.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
std::vector<FVfxGraphNode>&Nodes
const std::vector<FVfxGraphNode>&Nodes
std::vector<FVfxGraphConnection>&Connections
const std::vector<FVfxGraphConnection>&Connections
FVfxGraphNode*FindNode
const FVfxGraphNode*FindNode
std::stringAddNodeAppend a node and return its generated id.
voidRemoveNode
boolConnect
voidDisconnect
voidClear
FVfxGraphNode*FindByTypeThe first node carrying the named ModuleType, or null.
const FVfxGraphNode*FindByType
voidWriteDocument
boolReadDocument
const std::string&EmitterNameA .vfx is a system: this graph is its first emitter, and each extra emitter is a graph of its own.
voidSetEmitterName
std::vector<FVfxGraph>&ExtraEmitters
const std::vector<FVfxGraph>&ExtraEmitters
std::vector<const FVfxGraph*>AllEmittersThe first emitter's graph and then every extra one, in order.
FVfxGraph&AddEmitterAdds an extra emitter holding the starter graph under a name no other emitter of the system uses, and returns it.
std::stringUniqueEmitterName
std::stringSerializeToString
boolLoadFromString
const char*StageToString
EVfxStageStageFromString

Function details

Nodes

C++
std::vector<FVfxGraphNode>& Nodes()

Nodes

C++
const std::vector<FVfxGraphNode>& Nodes() const

Connections

C++
std::vector<FVfxGraphConnection>& Connections()

Connections

C++
const std::vector<FVfxGraphConnection>& Connections() const

FindNode

C++
FVfxGraphNode* FindNode(const std::string& id)

FindNode

C++
const FVfxGraphNode* FindNode(const std::string& id) const

AddNode

C++
std::string AddNode(EVfxStage stage, const std::string& moduleType, float x, float y)

Append a node and return its generated id. The new node starts with empty params; the caller fills them (or the compiler defaults them).

RemoveNode

C++
void RemoveNode(const std::string& id)

Connect

C++
bool Connect(const std::string& fromNodeId, const std::string& toNodeId)

Disconnect

C++
void Disconnect(const std::string& fromNodeId, const std::string& toNodeId)

Clear

C++
void Clear()

FindByType

C++
FVfxGraphNode* FindByType(const std::string& moduleType)

The first node carrying the named ModuleType, or null. Settings nodes are unique, so this resolves them.

FindByType

C++
const FVfxGraphNode* FindByType(const std::string& moduleType) const

WriteDocument

C++
void WriteDocument(MDF::MdfDocument& doc) const

ReadDocument

C++
bool ReadDocument(const MDF::MdfDocument& doc)

EmitterName

C++
const std::string& EmitterName() const

A .vfx is a system: this graph is its first emitter, and each extra emitter is a graph of its own. The names are what a SubEmitter node's child_emitter targets; an emitter no SubEmitter claims plays alongside the first at the same transform.

SetEmitterName

C++
void SetEmitterName(const std::string& name)

ExtraEmitters

C++
std::vector<FVfxGraph>& ExtraEmitters()

ExtraEmitters

C++
const std::vector<FVfxGraph>& ExtraEmitters() const

AllEmitters

C++
std::vector<const FVfxGraph*> AllEmitters() const

The first emitter's graph and then every extra one, in order.

AddEmitter

C++
FVfxGraph& AddEmitter(const std::string& baseName)

Adds an extra emitter holding the starter graph under a name no other emitter of the system uses, and returns it.

UniqueEmitterName

C++
std::string UniqueEmitterName(const std::string& baseName) const

SerializeToString

C++
std::string SerializeToString() const

LoadFromString

C++
bool LoadFromString(const std::string& source)

StageToString

C++
static const char* StageToString(EVfxStage stage)

StageFromString

C++
static EVfxStage StageFromString(const std::string& text)
Generated from Particles/VfxGraph.h via particles.json · Oct 31, 2026Version 1.0.0