Shuriken particle system - changing the emitter mesh programatically

hey guys, i was wondering if anyone knew how to change the emitter mesh through javascript? i want to be able to generate a mesh at runtime and assign it to the emitter.

Thanks :slight_smile:

Is this what youโ€™re looking for?

and how can I add to the list of meshes mesh??