What it does
color.rgb takes r, g and b.
The API says: 0..1 floats
Signature
color.rgb(r, g, b)Arguments
rgb
Example · generated
function start() { color.rgb(1, 0.8, 0.4);}color.rgb 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.