API

Function parseNodeParticleSource

  • Parse a node-particle graph source object (the inner nodeParticle payload) into a ParticleGraph.

    The serialized shape mirrors Babylon.js NodeParticleSystemSet.serialize: a flat blocks array where each block carries customType, id, name, and an inputs array whose entries reference their source via targetBlockId + targetConnectionName. SystemBlock instances are the graph roots.

    Parameters

    • source: unknown

    Returns ParticleGraph