Skip to content

v1.1.29

Choose a tag to compare

@db-lyon db-lyon released this 23 Jul 20:37

v1.1.29

Niagara emitters can now be authored from scratch through the bridge: add stock engine modules to an emitter's stack, not just tune the ones already there.

Server

  • niagara(action="add_module") - add a stock /Niagara/Modules/ script (SpawnRate, InitializeParticle, SphereLocation, AddVelocity, ColorFromCurve, ScaleSpriteSize, SolveForcesAndVelocity, ...) to an emitter's stack. Params: systemPath, moduleScript (e.g. /Niagara/Modules/Emitter/SpawnRate), stackContext (ParticleSpawn | ParticleUpdate | EmitterSpawn | EmitterUpdate), emitterName?, emitterIndex?, targetIndex? (-1 appends). The module wires into the parameter map and the system is force-compiled so it is immediately usable; tune the new module with set_module_input.

Previously the category could set inputs on modules that already existed and add renderers, but not add the modules that make an emitter do anything - so a working emitter could not be built programmatically. This closes that gap and is the foundation for procedural VFX authoring.

Internals

  • Wraps FNiagaraStackGraphUtilities::AddScriptModuleToStack, mapping stack context to script usage and the emitter graph's output node via the exported FindEquivalentOutputNode.