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