What it does
postProcess.enableDepthOfField enables DepthOfField on a postProcess object. It takes bool.
Signature
postProcess.enableDepthOfField(bool)Arguments
bool
Example · generated
function start() { postProcess.enableDepthOfField(true);}postProcess.enableDepthOfField 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.