What it does
postProcess.enable acts on postProcess: it enables. It takes effect, bool and options. options is optional.
Signature
postProcess.enable(effect, bool, options?)Arguments
effectbooloptionsoptional
Example · generated
function start() { postProcess.enable('bloom', true);}postProcess.enable is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.