What it does
postProcess.enableVignette enables Vignette on a postProcess object. It takes bool and weight. weight is optional.
Signature
postProcess.enableVignette(bool, weight?)Arguments
boolweightoptional
Example · generated
function start() { postProcess.enableVignette(true);}postProcess.enableVignette 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.