What it does
render.setClearColor sets ClearColor on a render object. It takes r, g and b.
The API says: 0..255
Signature
render.setClearColor(r, g, b)Arguments
rgb
Example · generated
function start() { render.setClearColor(1, 0.8, 0.4);}render.setClearColor 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.