What it does
scene.setFogColor sets FogColor on a scene object. It takes r, g and b.
Signature
scene.setFogColor(r,g,b)Arguments
rgb
Example · generated
function start() { scene.setFogColor(1, 0.8, 0.4);}scene.setFogColor 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.