What it does
particles.setBlendMode sets BlendMode on a particles object. It takes id and a value. The accepted values are add, standard and multiply.
Signature
particles.setBlendMode(id, "add"|"standard"|"multiply")Arguments
id"add"|"standard"|"multiply"Accepts:
addstandardmultiply
Example · generated
function start() { particles.create('main', 10); particles.setBlendMode('main', 'add');}particles.create is there to give the call something to act on; particles.setBlendMode is the line that matters. The code sits in start(), which the engine calls once, when the entity spawns.