class

FParticleModuleSerializer

Single source of truth for the MDF representation of a ParticleModule. Both the property-authored .particle asset and the graph-authored .vfx compiler route through here, so a module authored in either front-end serializes and reconstructs to the exact same instance.

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

Public functions

ReturnsNameDescription
voidWriteModuleFill the given node's properties/children from the module.
Scope<ParticleModule>ReadModuleReconstruct a module of the named type, applying every property the node carries.

Function details

WriteModule

C++
static void WriteModule(MDF::MdfNode& node, const ParticleModule& module)

Fill the given node's properties/children from the module. The caller owns the node's type/name (typically AddChild("Module", GetTypeName())).

ReadModule

C++
static Scope<ParticleModule> ReadModule(const std::string& typeName, const MDF::MdfNode& node)

Reconstruct a module of the named type, applying every property the node carries. Returns null when the type name is unknown.

Generated from Particles/ParticleModuleSerializer.h via particles.json · Oct 31, 2026Version 1.0.0